/*
Theme Name: Ahadu Legesse
Theme URI: https://ahadulegesse.com/
Author: Ahadu Legesse
Author URI: https://ahadulegesse.com/about/
Description: A fast, SEO-first personal brand theme for Ahadu Asres Legesse, senior project manager in Anoka, Minnesota. Includes geo meta tags, a complete JSON-LD graph (Person, WebSite, ProfilePage, BlogPosting, FAQPage, PodcastSeries, Place, BreadcrumbList) that merges with Yoast SEO, automatic internal linking, breadcrumbs, responsive WebP images, a career Gantt chart, location pages, a blog, a spam-protected contact form and one-click site setup.
Version: 1.0.0
Requires at least: 6.3
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ahadu-legesse
Tags: blog, one-column, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, accessibility-ready
*/

/* ---------- Fonts (self-hosted, latin subset) ---------- */
@font-face { font-family: "Bitter"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/bitter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Bitter"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/bitter-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/public-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url("assets/fonts/public-sans-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/public-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/public-sans-latin-700-normal.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
	--river: #10363F;
	--river-2: #1D4D58;
	--pine: #2F5D50;
	--gold: #C98A1B;
	--gold-ink: #8A5C0C;
	--ice: #EEF3F4;
	--mist: #D3DEE0;
	--ink: #1C2427;
	--muted: #4D5D62;
	--white: #FFFFFF;

	--serif: "Bitter", "Rockwell", "Roboto Slab", Georgia, serif;
	--sans: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	--step--1: 0.875rem;
	--step-0: 1.0625rem;
	--step-1: 1.25rem;
	--step-2: clamp(1.5rem, 1.2rem + 1.2vw, 1.875rem);
	--step-3: clamp(1.875rem, 1.4rem + 2vw, 2.5rem);
	--step-4: clamp(2.25rem, 1.5rem + 3.4vw, 3.5rem);
	--step-5: clamp(3rem, 1.6rem + 6.2vw, 5.75rem);

	--gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
	--section: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);
	--max: 76rem;
	--narrow: 44rem;
	--radius: 6px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--sans); font-size: var(--step-0); line-height: 1.65; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, picture, svg, video, iframe { display: block; max-width: 100%; height: auto; }
a { color: var(--river); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--pine); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.15; color: var(--river); margin: 0 0 0.6em; letter-spacing: -0.01em; text-wrap: balance; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); font-weight: 600; }
p, ul, ol, dl, figure, blockquote { margin: 0 0 1.15em; }
ul, ol { padding-left: 1.25em; }
li + li { margin-top: 0.35em; }
strong { font-weight: 700; }
address { font-style: normal; }
hr { border: 0; border-top: 1px solid var(--mist); margin: 2.5rem 0; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--river); color: var(--white); padding: 0.6rem 1rem; border-radius: var(--radius); }
.skip-link:focus { top: 1rem; color: var(--white); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(var(--narrow) + var(--gutter) * 2); }
.site-main { display: block; outline: none; }
.site-main > :last-child { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.button, .wp-block-button__link, button[type="submit"] { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.8rem 1.35rem; border-radius: var(--radius); border: 2px solid var(--river); background: var(--river); color: var(--white); font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.button:hover, button[type="submit"]:hover { background: var(--river-2); border-color: var(--river-2); color: var(--white); }
.button--ghost { background: transparent; color: var(--river); }
.button--ghost:hover { background: var(--river); color: var(--white); }
.button--light { background: var(--white); border-color: var(--white); color: var(--river); }
.button--light:hover { background: var(--ice); border-color: var(--ice); color: var(--river); }

.chip { display: inline-flex; align-items: center; gap: 0.4rem; margin-bottom: 1.1rem; padding: 0.3rem 0.75rem 0.3rem 0.6rem; border-radius: 999px; background: var(--ice); color: var(--pine); font-size: var(--step--1); font-weight: 600; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--mist); backdrop-filter: saturate(1.4) blur(6px); }
.admin-bar .site-header { top: 32px; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 4.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; color: var(--river); text-decoration: none; }
.brand:hover { color: var(--river); }
.brand__mark { flex: none; color: var(--river); }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--serif); font-weight: 700; font-size: 1.2rem; }
.brand__role { font-size: 0.78rem; color: var(--muted); white-space: nowrap; }
@media (max-width: 400px) { .brand__role { font-size: 0.7rem; } .brand__name { font-size: 1.1rem; } .nav-toggle__label { display: none; } }
.brand__logo { max-height: 48px; width: auto; }

.primary-nav .menu { display: flex; align-items: center; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.primary-nav li { margin: 0; position: relative; }
.primary-nav a { display: block; padding: 0.5rem 0.7rem; border-radius: var(--radius); color: var(--ink); font-weight: 600; font-size: 0.95rem; text-decoration: none; }
.primary-nav a:hover, .primary-nav .current-menu-item > a, .primary-nav .current_page_item > a, .primary-nav .current-page-ancestor > a { color: var(--river); background: var(--ice); }
.primary-nav .menu-cta > a { background: var(--river); color: var(--white); margin-left: 0.4rem; }
.primary-nav .menu-cta > a:hover, .primary-nav .menu-cta.current-menu-item > a { background: var(--river-2); color: var(--white); }
.primary-nav .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 14rem; list-style: none; margin: 0; padding: 0.4rem; background: var(--white); border: 1px solid var(--mist); border-radius: 8px; }
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { display: block; }
.nav-toggle { display: none; align-items: center; gap: 0.5rem; padding: 0.55rem 0.8rem; border: 1px solid var(--mist); border-radius: var(--radius); background: var(--white); color: var(--river); font: 600 0.95rem var(--sans); cursor: pointer; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s ease; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; width: 11px; }
.nav-toggle__bars::after { top: 6px; width: 14px; left: 4px; }

@media (max-width: 1040px) {
	.nav-toggle { display: inline-flex; }
	.primary-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--mist); padding: 0.75rem var(--gutter) 1.25rem; max-height: calc(100vh - 4.5rem); overflow-y: auto; }
	.nav-open .primary-nav { display: block; }
	.primary-nav .menu { flex-direction: column; align-items: stretch; gap: 0.15rem; }
	.primary-nav a { padding: 0.8rem 0.75rem; font-size: 1.05rem; }
	.primary-nav .menu-cta > a { margin: 0.5rem 0 0; text-align: center; }
	.primary-nav .sub-menu { display: block; position: static; border: 0; padding: 0 0 0 1rem; }
	.nav-open .nav-toggle__bars { background: transparent; }
	.nav-open .nav-toggle__bars::before { top: 0; width: 18px; transform: rotate(45deg); }
	.nav-open .nav-toggle__bars::after { top: 0; left: 0; width: 18px; transform: rotate(-45deg); }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; position: relative; } }

/* ---------- Breadcrumbs & page header ---------- */
.breadcrumbs { font-size: var(--step--1); color: var(--muted); margin-bottom: 1.25rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li { margin: 0; display: inline-flex; align-items: center; gap: 0.5rem; }
.breadcrumbs li + li::before { content: ""; width: 6px; height: 6px; border-top: 1.5px solid var(--muted); border-right: 1.5px solid var(--muted); transform: rotate(45deg); opacity: .6; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs [aria-current] { color: var(--ink); }

.page-header { padding: clamp(2rem, 1.5rem + 2.5vw, 3.75rem) 0 clamp(1.5rem, 1rem + 2vw, 2.75rem); background: linear-gradient(var(--ice), var(--ice)) no-repeat top / 100% calc(100% - 0px); border-bottom: 1px solid var(--mist); margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.page-title { font-size: var(--step-4); max-width: 22ch; margin-bottom: 0.4em; }
.page-lead { font-size: var(--step-1); color: var(--muted); max-width: 60ch; margin: 0; }
.page-header--post { background: var(--white); border-bottom: 0; margin-bottom: 1.5rem; }
.page-header--post .page-title { max-width: none; font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem); }

/* ---------- Hero (front page) ---------- */
.hero { padding: clamp(2.5rem, 1.5rem + 4vw, 5rem) 0 clamp(2rem, 1rem + 3vw, 3.5rem); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.hero__title { margin: 0 0 1.25rem; }
.hero__name { display: block; font-size: var(--step-5); line-height: 0.98; letter-spacing: -0.025em; color: var(--river); }
.hero__role { display: block; margin-top: 0.75rem; font-size: var(--step-2); font-weight: 600; color: var(--pine); letter-spacing: 0; }
.hero__lead { font-size: var(--step-1); line-height: 1.6; color: var(--ink); max-width: 36em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.hero__figure { position: relative; margin: 0; max-width: 420px; justify-self: end; }
.hero__figure::before { content: ""; position: absolute; inset: 1.5rem -1.5rem -1.5rem 1.5rem; background: var(--river); border-radius: 8px; z-index: -1; }
.hero__photo img { border-radius: 8px; width: 100%; }
.hero__note { position: absolute; left: -2rem; bottom: 2rem; display: flex; flex-direction: column; padding: 0.85rem 1.1rem; background: var(--white); border-left: 4px solid var(--gold); border-radius: 4px; box-shadow: 0 10px 30px -12px rgba(16,54,63,.45); line-height: 1.25; }
.hero__note strong { font-family: var(--serif); font-size: 1.6rem; color: var(--river); }
.hero__note span { font-size: var(--step--1); color: var(--muted); max-width: 13em; }
.hero { position: relative; isolation: isolate; }

@media (max-width: 860px) {
	.hero__grid { grid-template-columns: 1fr; }
	.hero__figure { justify-self: start; max-width: min(78vw, 360px); margin-left: 0.25rem; margin-bottom: 2rem; order: -1; }
	.hero__figure::before { inset: 1rem -1rem -1rem 1rem; }
	.hero__note { left: auto; right: -0.5rem; bottom: -1.25rem; }
}

/* ---------- Career Gantt (signature) ---------- */
.gantt { padding: clamp(2rem, 1.5rem + 2vw, 3rem) 0 var(--section); }
.gantt__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem 3rem; align-items: end; margin-bottom: 1.5rem; }
.gantt__head h2 { margin: 0; max-width: 20ch; }
.gantt__head p { margin: 0; color: var(--muted); max-width: 40ch; }
.gantt__chart { --label: 19rem; position: relative; }
.gantt__axis { position: relative; height: 1.75rem; margin-left: var(--label); border-bottom: 2px solid var(--river); }
.gantt__axis span { position: absolute; left: calc(var(--xn) * 100%); bottom: 0.35rem; font-size: 0.8rem; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.gantt__axis span::after { content: ""; position: absolute; left: 0; top: calc(100% + 0.35rem); width: 1px; height: 0.4rem; background: var(--river); }
.gantt__rows { list-style: none; margin: 0; padding: 0; }
.gantt__row { display: grid; grid-template-columns: var(--label) minmax(0, 1fr); align-items: center; margin: 0; padding: 1rem 0; border-bottom: 1px solid var(--mist); }
.gantt__label { display: flex; flex-direction: column; padding-right: 1.5rem; line-height: 1.35; }
.gantt__label strong { font-family: var(--serif); font-size: 1.15rem; color: var(--river); }
.gantt__roles { font-size: 0.9rem; color: var(--ink); }
.gantt__place { font-size: 0.82rem; color: var(--muted); }
.gantt__track { position: relative; height: 2.6rem; background-image: repeating-linear-gradient(to right, var(--mist) 0 1px, transparent 1px var(--tick)); }
.gantt__bar { position: absolute; top: 0.3rem; bottom: 0.3rem; left: var(--s); width: calc(var(--e) - var(--s)); min-width: 0.75rem; display: flex; align-items: center; padding: 0 0.6rem; background: var(--river); color: var(--white); border-radius: 5px; font-size: 0.8rem; font-weight: 600; white-space: nowrap; overflow: hidden; transform-origin: left center; animation: gantt-grow .9s cubic-bezier(.2,.7,.2,1) both; }
.gantt__row:nth-child(2) .gantt__bar { animation-delay: .12s; }
.gantt__row:nth-child(3) .gantt__bar { animation-delay: .24s; }
.gantt__row:nth-child(4) .gantt__bar { animation-delay: .36s; }
.gantt__bar.is-early { background: var(--pine); }
.gantt__bar.is-current { background: var(--gold); color: var(--ink); }
.gantt__today { position: absolute; top: 0; bottom: 0; left: calc(var(--label) + (100% - var(--label)) * var(--xn)); border-left: 2px dashed var(--gold); pointer-events: none; }
.gantt__today span { position: absolute; top: 0.1rem; right: 0.4rem; font-size: 0.75rem; font-weight: 700; color: var(--gold-ink); background: var(--white); padding: 0 0.25rem; }
.gantt__more { margin: 1.25rem 0 0; font-weight: 600; }
@keyframes gantt-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (max-width: 760px) {
	.gantt__head { grid-template-columns: 1fr; }
	.gantt__chart { --label: 0rem; }
	.gantt__axis { margin-left: 0; }
	.gantt__axis span:nth-child(even), .gantt__axis span:last-child { display: none; }
	.gantt__row { grid-template-columns: 1fr; gap: 0.6rem; }
	.gantt__label { padding-right: 0; }
	.gantt__years { display: none; }
	.gantt__track { height: 1.5rem; }
	.gantt__bar { top: 0.25rem; bottom: 0.25rem; }
	.gantt__today { left: calc(100% * var(--xn)); }
}

/* ---------- Front page sections ---------- */
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 0.5rem 2rem; margin-bottom: 2rem; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--muted); max-width: 40ch; }
.section-head a { font-weight: 600; }
.section-more { margin-top: 2rem; font-weight: 600; }

.intro { padding-bottom: var(--section); }
.intro__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }

.facts { margin: 0; display: grid; gap: 0; border-top: 3px solid var(--river); }
.facts > div { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 1rem; padding: 0.85rem 0; border-bottom: 1px solid var(--mist); }
.facts dt { font-size: var(--step--1); font-weight: 700; color: var(--pine); }
.facts dd { margin: 0; }
.facts--compact > div { grid-template-columns: 1fr; gap: 0.1rem; padding: 0.65rem 0; }

.expertise { padding: var(--section) 0; background: var(--ice); }
.expertise__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.25rem 2.5rem; }
.expertise__list li { margin: 0; padding-top: 1.1rem; position: relative; }
.expertise__list li::before { content: ""; position: absolute; top: 0; left: 0; width: 2.5rem; height: 4px; border-radius: 2px; background: var(--gold); }
.expertise__list h3 { margin-bottom: 0.35rem; }
.expertise__list p { margin: 0; color: var(--muted); }

.philosophy { padding: var(--section) 0; background: var(--river); color: var(--white); }
.philosophy__quote { margin: 0 auto; max-width: 54rem; position: relative; padding-top: 2.75rem; }
.philosophy__quote::before { content: ""; position: absolute; top: 0; left: 0; width: 7rem; height: 1.6rem; background:
	linear-gradient(var(--gold), var(--gold)) 0 0 / 40% 5px no-repeat,
	linear-gradient(var(--gold), var(--gold)) 30% 50% / 40% 5px no-repeat,
	linear-gradient(var(--gold), var(--gold)) 100% 100% / 42% 5px no-repeat; }
.philosophy__quote p { font-family: var(--serif); font-weight: 600; font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.4rem); line-height: 1.3; margin-bottom: 1.25rem; }
.philosophy__quote footer { color: #B9CCD0; font-size: var(--step-0); }

.local { padding: var(--section) 0; }
.local__grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.local__grid--page { margin-bottom: var(--section); }
.local__figure { margin: 0; }
.local__figure img { border-radius: 8px; }
.places { list-style: none; padding: 0; margin: 1.5rem 0; border-top: 1px solid var(--mist); }
.places li { display: flex; justify-content: space-between; gap: 1rem; margin: 0; padding: 0.7rem 0; border-bottom: 1px solid var(--mist); }
.places span { color: var(--muted); font-size: var(--step--1); text-align: right; }
.local__links { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.podcast-teaser { padding: 0 0 var(--section); }
.podcast-teaser__inner { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: center; padding: clamp(1.75rem, 1rem + 3vw, 3rem); border: 2px solid var(--river); border-radius: 10px; }
.podcast-teaser__inner h2 { font-size: var(--step-2); margin-bottom: 0.4rem; }
.podcast-teaser__inner p { color: var(--muted); }
.podcast-teaser__inner a { font-weight: 600; }
.podcast-teaser__mark { display: flex; flex-direction: column; font-family: var(--serif); font-weight: 700; font-size: 1.6rem; line-height: 1.05; color: var(--river); }
.podcast-teaser__mark span:nth-child(2) { padding-left: 1.2em; }
.podcast-teaser__mark span:nth-child(3) { padding-left: 2.4em; color: var(--gold-ink); }
.podcast-teaser__mark--large { font-size: 2.1rem; margin-bottom: 1.5rem; }

.latest { padding: 0 0 var(--section); }

/* ---------- Layouts ---------- */
.layout { display: grid; gap: clamp(2rem, 1rem + 4vw, 4.5rem); margin-bottom: var(--section); }
.layout--aside { grid-template-columns: minmax(0, 1fr) minmax(0, 20rem); align-items: start; }
.layout--aside > .entry-content, .layout--aside > div:first-child { max-width: var(--narrow); }
.layout--post { grid-template-columns: minmax(0, var(--narrow)) minmax(0, 18rem); justify-content: space-between; align-items: start; }
.sidebar { display: grid; gap: 1.75rem; position: sticky; top: 6rem; }
.sidebar__photo img { border-radius: 8px; }
.panel { padding: 1.4rem 1.5rem; background: var(--ice); border-radius: 8px; }
.panel h2 { font-size: 1.15rem; margin-bottom: 0.65rem; }
.panel p:last-child, .panel ul:last-child { margin-bottom: 0; }
.plain { list-style: none; padding: 0; }
.plain li { padding-left: 1rem; position: relative; }
.plain li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 0.45rem; height: 3px; background: var(--gold); border-radius: 2px; }
@media (max-width: 960px) {
	.layout--aside, .layout--post, .intro__grid, .local__grid { grid-template-columns: 1fr; }
	.sidebar { position: static; }
	.expertise__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sidebar__photo { max-width: 320px; }
}
@media (max-width: 600px) {
	.expertise__list { grid-template-columns: 1fr; }
	.podcast-teaser__inner { grid-template-columns: 1fr; }
	.facts > div { grid-template-columns: 1fr; gap: 0.1rem; }
	.places li { flex-direction: column; gap: 0; }
	.places span { text-align: left; }
}

/* ---------- Entry content (pages & posts) ---------- */
.entry-content > * { max-width: var(--narrow); }
.entry-content h2 { font-size: var(--step-2); margin-top: 2.2em; }
.entry-content h2:first-child { margin-top: 0; }
.entry-content h3 { margin-top: 1.8em; }
.entry-content p, .entry-content li { font-size: 1.0625rem; }
.single-post .entry-content p, .single-post .entry-content li { font-size: 1.125rem; line-height: 1.72; }
.entry-content a.autolink { text-decoration-style: dotted; }
.entry-content blockquote { border-left: 4px solid var(--gold); padding: 0.25rem 0 0.25rem 1.25rem; font-family: var(--serif); font-size: 1.3rem; color: var(--river); }
.entry-content img { border-radius: 6px; }
.entry-content figure figcaption, .wide-figure figcaption { font-size: var(--step--1); color: var(--muted); margin-top: 0.6rem; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.entry-content th, .entry-content td { text-align: left; padding: 0.7rem 0.75rem; border-bottom: 1px solid var(--mist); vertical-align: top; }
.entry-content thead th { background: var(--river); color: var(--white); font-weight: 600; border: 0; }
.entry-content tbody tr:nth-child(even) td { background: #F6F9F9; }
.entry-content .wp-block-table, .entry-content figure:has(table) { overflow-x: auto; margin: 2rem 0; }
.quick-answer { margin: 0 0 2rem; padding: 1.25rem 1.4rem; background: var(--ice); border-left: 5px solid var(--gold); border-radius: 0 8px 8px 0; }
.quick-answer p { margin: 0; }

.post-hero { margin: 0 auto 2.5rem; }
.post-hero img { width: 100%; border-radius: 8px; aspect-ratio: 2 / 1; object-fit: cover; }
.post-meta { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; color: var(--muted); font-size: var(--step--1); margin: 0; }
.post-tags { margin-top: 2rem; }

.wide-figure { margin: 0 0 var(--section); max-width: 600px; }
.wide-figure img { border-radius: 8px; }
.mission { max-width: var(--narrow); margin-bottom: var(--section); padding: 1.75rem; border: 2px solid var(--river); border-radius: 10px; }
.mission h2 { font-size: var(--step-2); }
.mission p { font-family: var(--serif); font-size: 1.3rem; line-height: 1.45; color: var(--river); margin: 0; }

/* ---------- Roles, schools, episodes, lists ---------- */
.roles { margin-bottom: var(--section); }
.roles__list { list-style: none; padding: 0; margin: 0; border-top: 3px solid var(--river); }
.role { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 2rem; margin: 0; padding: 2rem 0; border-bottom: 1px solid var(--mist); }
.role__when { display: flex; flex-direction: column; gap: 0.2rem; }
.role__dates { font-weight: 700; color: var(--pine); }
.role__place { font-size: var(--step--1); color: var(--muted); }
.role h3 { font-size: var(--step-1); margin-bottom: 0.5rem; }
.role__org { display: block; font-family: var(--sans); font-size: 1rem; font-weight: 600; color: var(--muted); margin-top: 0.2rem; }
.role ul { margin: 0; color: var(--ink); }
@media (max-width: 760px) { .role { grid-template-columns: 1fr; gap: 0.5rem; } }

.skills { margin-bottom: var(--section); }
.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; margin: 0 0 1.5rem; }
.tag-list li { margin: 0; padding: 0.45rem 0.85rem; border-radius: 999px; background: var(--river); color: var(--white); font-size: 0.92rem; font-weight: 600; }
.tag-list--quiet li { background: var(--white); color: var(--river); border: 1px solid var(--mist); font-weight: 400; }
.tag-list--quiet a { text-decoration: none; }

.schools { list-style: none; padding: 0; margin: 2.5rem 0 var(--section); border-left: 3px solid var(--river); }
.school { position: relative; margin: 0; padding: 0 0 2.25rem 1.75rem; }
.school::before { content: ""; position: absolute; left: -0.6rem; top: 0.35rem; width: 0.9rem; height: 0.9rem; border-radius: 50%; background: var(--gold); border: 3px solid var(--white); }
.school h2 { font-size: var(--step-2); margin-bottom: 0.25rem; }
.school__years { margin: 0 0 0.25rem; font-weight: 700; color: var(--pine); font-size: var(--step--1); }
.school__credential { font-weight: 600; margin-bottom: 0.4rem; }
.school__credential span { display: block; font-weight: 400; color: var(--muted); font-size: var(--step--1); }

.episodes { margin-bottom: var(--section); }
.episodes__list { counter-reset: ep; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.5rem; border-top: 3px solid var(--river); }
.episodes__list li { counter-increment: ep; display: flex; gap: 1rem; align-items: baseline; margin: 0; padding: 1rem 0; border-bottom: 1px solid var(--mist); font-family: var(--serif); font-weight: 600; font-size: 1.15rem; color: var(--river); }
.episodes__list li::before { content: "Ep. " counter(ep); flex: none; width: 3.5rem; font-family: var(--sans); font-size: 0.85rem; font-weight: 700; color: var(--gold-ink); }
@media (max-width: 700px) { .episodes__list { grid-template-columns: 1fr; } }

.local-list { margin-bottom: var(--section); }
.place-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.5rem; border-top: 3px solid var(--river); }
.place-list li { display: flex; flex-direction: column; margin: 0; padding: 1rem 0; border-bottom: 1px solid var(--mist); }
.place-list strong { font-family: var(--serif); color: var(--river); font-size: 1.1rem; }
.place-list span { color: var(--muted); }
.place-list--single { grid-template-columns: 1fr; }
@media (max-width: 700px) { .place-list { grid-template-columns: 1fr; } }

.map { position: relative; display: grid; place-items: center; min-height: 15rem; padding: 1rem; border-radius: 8px; overflow: hidden; text-align: center;
	background:
		radial-gradient(circle at 46% 44%, var(--gold) 0 7px, transparent 8px),
		radial-gradient(circle at 46% 44%, rgba(201,138,27,.25) 0 22px, transparent 23px),
		linear-gradient(115deg, transparent 0 38%, #C9DCE0 38% 41%, transparent 41%),
		linear-gradient(160deg, transparent 0 55%, #C9DCE0 55% 57.5%, transparent 57.5%),
		repeating-linear-gradient(0deg, #E3ECEE 0 1px, transparent 1px 28px),
		repeating-linear-gradient(90deg, #E3ECEE 0 1px, transparent 1px 28px),
		var(--ice); }
.map__button { margin-top: 4rem; padding: 0.6rem 1rem; border-radius: var(--radius); border: 2px solid var(--river); background: var(--white); color: var(--river); font: 600 0.95rem var(--sans); cursor: pointer; }
.map__note { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 0.5rem; font-size: 0.78rem; color: var(--muted); background: rgba(255,255,255,.85); }
.map.is-loaded { padding: 0; min-height: 0; background: none; }
.map iframe { width: 100%; height: 18rem; border: 0; }
.map.is-loaded .map__note { position: static; }

/* ---------- Posts ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem 2rem; margin-bottom: 2.5rem; }
@media (max-width: 960px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; margin: 0; }
.post-card__media { display: block; margin-bottom: 1rem; overflow: hidden; border-radius: 6px; background: var(--ice); }
.post-card__media img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; transition: transform .35s ease; }
.post-card:hover .post-card__media img { transform: scale(1.03); }
.post-card__cat { display: inline-block; margin-bottom: 0.4rem; font-size: var(--step--1); font-weight: 700; color: var(--gold-ink); text-decoration: none; }
.post-card__title { font-size: 1.3rem; line-height: 1.25; margin: 0 0 0.5rem; }
.post-card__title a { color: var(--river); text-decoration: none; }
.post-card__title a:hover { text-decoration: underline; }
.post-card__excerpt { color: var(--muted); margin-bottom: 0.6rem; font-size: 1rem; }
.post-card__meta { display: flex; gap: 1rem; margin: auto 0 0; font-size: var(--step--1); color: var(--muted); }

.cat-filter { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.25rem; }
.cat-filter a { padding: 0.45rem 0.9rem; border: 1px solid var(--mist); border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 0.92rem; }
.cat-filter a[aria-current], .cat-filter a:hover { background: var(--river); border-color: var(--river); color: var(--white); }

.author-box { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 1.25rem; align-items: start; margin-top: 3rem; padding: 1.5rem; border: 2px solid var(--river); border-radius: 10px; }
.author-box__photo img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.author-box p { font-size: 1rem !important; margin-bottom: 0.5rem; }
.author-box__name { font-family: var(--serif); font-weight: 700; font-size: 1.2rem !important; }
.author-box__links { display: flex; gap: 1.25rem; flex-wrap: wrap; margin: 0 !important; font-weight: 600; }
@media (max-width: 520px) { .author-box { grid-template-columns: 1fr; } }

.related { padding: var(--section) 0; background: var(--ice); }
.post-nav { margin: 3rem auto; }
.post-nav .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.post-nav a { display: block; text-decoration: none; font-family: var(--serif); font-weight: 600; font-size: 1.1rem; }
.post-nav a span { display: block; font-family: var(--sans); font-weight: 600; font-size: var(--step--1); color: var(--muted); }
.post-nav .nav-next { text-align: right; }

.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 3rem; }
.pagination .page-numbers { padding: 0.5rem 0.9rem; border: 1px solid var(--mist); border-radius: var(--radius); text-decoration: none; }
.pagination .current { background: var(--river); color: var(--white); border-color: var(--river); }

.empty { padding: 2rem 0 4rem; font-size: var(--step-1); }

/* ---------- FAQ ---------- */
.faq { margin: 3rem 0 var(--section); }
.faq h2 { font-size: var(--step-2); }
.faq__item { border-bottom: 1px solid var(--mist); }
.faq__item:first-of-type { border-top: 3px solid var(--river); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; font-weight: 700; font-size: 1.08rem; color: var(--river); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; flex: none; width: 0.85rem; height: 0.85rem; margin-top: 0.4rem; background: linear-gradient(var(--gold), var(--gold)) center / 100% 2.5px no-repeat, linear-gradient(var(--gold), var(--gold)) center / 2.5px 100% no-repeat; transition: transform .2s ease; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__answer { padding: 0 0 1.25rem; }
.faq__answer p { margin: 0; color: var(--ink); }

/* ---------- Explore + CTA ---------- */
.explore { padding: var(--section) 0; border-top: 1px solid var(--mist); }
.explore h2 { font-size: var(--step-2); }
.explore__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.explore__list li { margin: 0; }
.explore__list a { display: flex; flex-direction: column; gap: 0.35rem; height: 100%; padding-top: 1rem; border-top: 4px solid var(--gold); text-decoration: none; }
.explore__title { font-family: var(--serif); font-weight: 700; font-size: 1.15rem; color: var(--river); }
.explore__text { color: var(--muted); font-size: 0.95rem; }
.explore__list a:hover .explore__title { text-decoration: underline; }
@media (max-width: 960px) { .explore__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .explore__list { grid-template-columns: 1fr; } }

.cta { background: var(--pine); color: var(--white); padding: clamp(2.5rem, 1.5rem + 3vw, 4rem) 0; }
.cta__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem 3rem; }
.cta h2 { color: var(--white); font-size: var(--step-2); margin-bottom: 0.4rem; }
.cta p { margin: 0; max-width: 52ch; color: #DCE8E4; }

/* ---------- Forms ---------- */
.contact-form { display: grid; gap: 1.1rem; max-width: 36rem; margin-top: 1.5rem; }
.field { display: grid; gap: 0.35rem; }
.field label { font-weight: 600; font-size: 0.95rem; }
input[type="text"], input[type="email"], input[type="search"], input[type="url"], select, textarea { width: 100%; padding: 0.75rem 0.85rem; border: 1.5px solid #AFC0C4; border-radius: var(--radius); background: var(--white); color: var(--ink); font: 1rem/1.4 var(--sans); }
input:focus, select:focus, textarea:focus { border-color: var(--river); outline: 3px solid rgba(201,138,27,.45); outline-offset: 0; }
.field--hp { position: absolute; left: -9999px; }
.contact-form .button { justify-self: start; }
.notice { padding: 0.9rem 1.1rem; border-radius: var(--radius); font-weight: 600; }
.notice--ok { background: #E3F1EA; color: #1D4E37; }
.notice--error { background: #FBEAE5; color: #7A2615; }
.search-form { display: flex; gap: 0.5rem; max-width: 34rem; }
.search-again { margin-bottom: 2.5rem; }

/* ---------- Sitemap ---------- */
.sitemap-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem; margin-bottom: var(--section); }
.sitemap-grid h2 { font-size: var(--step-2); }
.sitemap-list { padding-left: 1.1rem; }
@media (max-width: 700px) { .sitemap-grid { grid-template-columns: 1fr; } }

/* ---------- Social ---------- */
.social { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; margin: 0; }
.social li { margin: 0; }
.social a { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.35rem 0.75rem; border: 1px solid currentColor; border-radius: 999px; font-size: 0.88rem; font-weight: 600; text-decoration: none; }
.social--stack { gap: 0.4rem; }
.social--author { margin: 0.25rem 0 0.75rem; }
.social--author a { padding: 0.3rem 0.65rem; font-size: 0.82rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--river); color: #CFDDE0; padding-top: clamp(3rem, 2rem + 3vw, 4.5rem); font-size: 0.95rem; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: #F2D9A6; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; padding-bottom: 2.5rem; }
.site-footer__name { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; color: var(--white); margin-bottom: 0.5rem; }
.site-footer__heading { font-family: var(--serif); font-weight: 700; color: var(--white); margin-bottom: 0.75rem; }
.site-footer__place { display: flex; flex-direction: column; margin-bottom: 1.25rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 0.45rem; }
.site-footer__recent a, .footer-menu a { text-decoration: none; }
.site-footer__recent a:hover, .footer-menu a:hover { text-decoration: underline; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.75rem 2rem; padding-top: 1.25rem; padding-bottom: 1.5rem; border-top: 1px solid rgba(255,255,255,.15); font-size: 0.85rem; }
.site-footer__bottom p { margin: 0; }
.legal-menu { display: flex; gap: 1.25rem; }
.legal-menu li { margin: 0 !important; }
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__about { grid-column: 1 / -1; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ---------- WordPress core classes ---------- */
.alignleft { float: left; margin: 0.3rem 1.5rem 1rem 0; }
.alignright { float: right; margin: 0.3rem 0 1rem 1.5rem; }
.aligncenter { margin-inline: auto; }
.alignwide { max-width: 60rem !important; }
.alignfull { max-width: none !important; }
.wp-caption-text, .wp-element-caption { font-size: var(--step--1); color: var(--muted); }
.sticky .post-card__title::after { content: " (featured)"; font-size: 0.8rem; color: var(--gold-ink); }
.bypostauthor > article { border-left: 3px solid var(--gold); padding-left: 1rem; }
.comments { margin: 3rem 0; }
.comment-list { padding-left: 0; list-style: none; }
.widget { padding: 1.4rem 1.5rem; background: var(--ice); border-radius: 8px; }
.widget-title, .widget h2, .widget .wp-block-heading { font-size: 1.15rem !important; }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget li { font-size: 0.95rem; }
.widget .wp-block-search__inside-wrapper { display: flex; gap: 0.5rem; }
.widget .wp-block-search__button { padding: 0.5rem 0.9rem; border: 0; border-radius: var(--radius); background: var(--river); color: #fff; font-weight: 600; }

/* ---------- Motion & print ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
	.site-header, .site-footer, .cta, .explore, .nav-toggle, .breadcrumbs, .map, .sidebar--post { display: none !important; }
	body { font-size: 11pt; color: #000; }
	a { color: #000; }
	.gantt__bar { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}
