:root {
	--color-ink: #17202a;
	--color-muted: #607080;
	--color-border: #dce3ea;
	--color-paper: #f7f9fb;
	--color-brand: #2563eb;
	--color-accent: #0f766e;
	--color-white: #ffffff;
	--shadow-soft: 0 14px 40px rgba(23, 32, 42, 0.08);
	--radius: 8px;
	--container: 1180px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	color: var(--color-ink);
	background: var(--color-white);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.65;
}

a {
	color: var(--color-brand);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

a:hover,
a:focus {
	color: var(--color-accent);
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

button,
input,
select,
textarea {
	font: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.65em;
	line-height: 1.18;
	letter-spacing: 0;
}

p {
	margin: 0 0 1rem;
}

.container {
	width: min(100% - 32px, var(--container));
	margin-inline: auto;
}

.narrow-container {
	width: min(100% - 32px, 820px);
}

.section-pad {
	padding: 72px 0;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	top: 12px;
	left: 12px;
	z-index: 1000;
	width: auto;
	height: auto;
	padding: 10px 14px;
	clip: auto;
	color: var(--color-white);
	background: var(--color-ink);
}

.button,
button,
input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 18px;
	border: 1px solid var(--color-brand);
	border-radius: var(--radius);
	color: var(--color-white);
	background: var(--color-brand);
	text-decoration: none;
	cursor: pointer;
}

.button:hover,
button:hover,
input[type="submit"]:hover {
	color: var(--color-white);
	background: var(--color-accent);
	border-color: var(--color-accent);
}

.eyebrow {
	margin-bottom: 10px;
	color: var(--color-accent);
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.site-main {
	min-height: 55vh;
}

.content-area {
	padding: 56px 0;
}

.layout-with-sidebar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 44px;
	align-items: start;
}

.content-feed {
	display: grid;
	gap: 28px;
}

.section-heading {
	max-width: 760px;
	margin-bottom: 32px;
}

.section-heading h2 {
	font-size: clamp(2rem, 4vw, 3rem);
}

.row-heading {
	display: flex;
	max-width: none;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
}

.text-link {
	font-weight: 700;
}

.feature-grid,
.post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.feature-card,
.post-card,
.widget,
.comment-respond,
.comment-list .comment {
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	background: var(--color-white);
	box-shadow: var(--shadow-soft);
}

.feature-card {
	padding: 24px;
}

.post-card {
	overflow: hidden;
}

.post-card .post-card-body {
	padding: 22px;
}

.entry-meta,
.entry-footer,
.archive-description,
.post-summary,
.hero-copy,
.footer-bottom,
.site-footer p {
	color: var(--color-muted);
}

.entry-title a {
	color: var(--color-ink);
	text-decoration: none;
}

.entry-title a:hover {
	color: var(--color-brand);
}

.wp-post-image {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	background: var(--color-paper);
}

.archive-hero {
	max-width: 820px;
	margin-bottom: 36px;
	padding-bottom: 28px;
	border-bottom: 1px solid var(--color-border);
}

.archive-hero h1 {
	font-size: clamp(2.2rem, 5vw, 4rem);
}

.ai-overview-section {
	background: var(--color-paper);
}

.not-found {
	text-align: center;
}

.not-found form {
	margin: 24px auto;
}

.nav-links {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	margin-top: 20px;
}

.page-numbers {
	display: inline-flex;
	min-width: 40px;
	min-height: 40px;
	align-items: center;
	justify-content: center;
	margin-right: 6px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	text-decoration: none;
}

.page-numbers.current {
	color: var(--color-white);
	background: var(--color-brand);
	border-color: var(--color-brand);
}

.widget-area {
	display: grid;
	gap: 20px;
}

.widget {
	padding: 22px;
}

.widget ul {
	padding-left: 1.2rem;
	margin-bottom: 0;
}

input[type="search"],
input[type="text"],
input[type="email"],
input[type="url"],
textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	color: var(--color-ink);
	background: var(--color-white);
}

.search-form {
	display: flex;
	gap: 10px;
}

.search-form label {
	flex: 1;
}

.comments-area {
	margin-top: 48px;
}

.comment-list {
	display: grid;
	gap: 18px;
	padding: 0;
	list-style: none;
}

.comment-list .comment {
	padding: 18px;
}
