/* ==========================================================================
   PTA Civic: PADHO TO AISE colours (logo orange, nav saffron, gold, charcoal,
   logo navy), with an agency-style layout and political science motifs.
   ========================================================================== */

:root {
	--brand: #c5501a;          /* PADHO TO AISE nav saffron */
	--brand-700: #9e3f12;
	--brand-bright: #ef6a27;   /* logo orange */
	--brand-50: #fff5ef;
	--brand-100: #fde4d3;
	--gold: #ec9711;           /* PADHO TO AISE gold */
	--gold-600: #ce922a;
	--gold-50: #fff6e5;
	--navy: #1f2a5c;           /* logo navy */
	--ink: #1f2a5c;
	--text: #3d4650;
	--muted: #5f6b76;
	--line: #efe3d9;
	--surface: #fff8f3;
	--dark: #2e2e2e;           /* PADHO TO AISE footer charcoal */
	--dark-800: #242424;
	--dark-900: #1b1b1b;
	--dark-text: #c3c7cc;
	--grad: linear-gradient(90deg, #ef6a27 0%, #ec9711 100%);
	--grad-dark: radial-gradient(120% 140% at 0% 0%, #3b3633 0%, #262423 50%, #1b1b1b 100%);
	--radius-sm: 10px;
	--radius: 14px;
	--radius-lg: 22px;
	--shadow: 0 10px 30px -12px rgba(46, 32, 20, .2);
	--shadow-lg: 0 30px 60px -22px rgba(46, 32, 20, .38);
	--container: 1200px;
	--gutter: clamp(16px, 4vw, 32px);
	--font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
	--serif: "Playfair Display", Georgia, "Times New Roman", serif;
	--header-h: 76px;

	/* PTA Notes plugin colours, kept in the same family */
	--pta-accent: #c5501a;
	--pta-accent-dark: #9e3f12;
	--pta-soft: #fff5ef;
	--pta-line: #ecd9cd;
	--pta-ink: #1f2a5c;
	--pta-muted: #5f6b76;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
	margin: 0;
	background: #fff;
	color: var(--text);
	font-family: var(--font);
	font-size: 16.5px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}
img, video, iframe { max-width: 100%; }
img { height: auto; }
svg.icon { width: 1.25em; height: 1.25em; flex: 0 0 auto; }
a { color: var(--brand); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--brand-700); }
h1, h2, h3, h4, h5, h6 {
	color: var(--ink);
	font-family: var(--font);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -.01em;
	margin: 0 0 .5em;
}
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(820px + var(--gutter) * 2); }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; margin: 0;
	left: 12px; top: 12px; z-index: 1000; padding: 12px 18px;
	background: #fff; color: var(--ink); border-radius: 10px; box-shadow: var(--shadow);
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	padding: .82em 1.45em; border-radius: 999px; border: 2px solid transparent;
	font-weight: 600; font-size: 15.5px; line-height: 1.2; text-decoration: none; white-space: nowrap;
	cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn svg.icon { width: 18px; height: 18px; }
.btn--lg { padding: .95em 1.7em; font-size: 16px; }
.btn--sm { padding: .62em 1.15em; font-size: 14.5px; }
.btn--block { width: 100%; }
.btn--brand { background: var(--brand); color: #fff; box-shadow: 0 12px 26px -12px rgba(197, 80, 26, .75); }
.btn--brand:hover { background: var(--brand-700); color: #fff; transform: translateY(-2px); }
.btn--ghost { border-color: rgba(255, 255, 255, .32); color: #fff; background: rgba(255, 255, 255, .04); }
.btn--ghost:hover { background: #fff; border-color: #fff; color: var(--dark); transform: translateY(-2px); }
.btn--outline { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn--outline:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }
.btn--white { background: #fff; color: var(--brand-700); box-shadow: 0 14px 28px -14px rgba(0, 0, 0, .45); }
.btn--white:hover { background: var(--dark-900); color: #fff; transform: translateY(-2px); }

/* ---------- Header: dark bar, logo tile, Explore mega menu ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(27, 27, 27, .97);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid rgba(255, 255, 255, .08);
	color: #fff;
	transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .6); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.site-header__in { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 12px; color: #fff; min-width: 0; margin-right: auto; }
.brand:hover { color: #fff; }
.brand__tile {
	display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 48px; height: 48px; padding: 5px;
	background: #fff; border-radius: 12px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .15), 0 6px 14px -6px rgba(0, 0, 0, .5);
}
.brand__img { display: block; width: 38px; height: 38px; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; min-width: 0; }
.brand__name { font-weight: 800; font-size: 19px; line-height: 1.1; letter-spacing: .02em; color: #fff; white-space: nowrap; }
.brand__tag { margin-top: 3px; font-size: 9.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }

/* Phone first: the toggle opens one panel with every link. */
.nav-toggle {
	display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 999px; cursor: pointer;
	border: 1px solid #3a3a3a; background: #262626;
}
.nav-toggle__bars { position: relative; display: block; width: 20px; height: 14px; }
.nav-toggle__bars span { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: #fff; transition: transform .25s ease, opacity .2s ease, top .25s ease; }
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 6px; }
.nav-toggle__bars span:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

.nav-panel {
	display: none; position: absolute; left: 0; right: 0; top: 100%; padding: 6px var(--gutter) 22px;
	background: #1b1b1b; border-top: 1px solid #2e2e2e; box-shadow: 0 24px 40px rgba(0, 0, 0, .4);
	max-height: calc(100vh - var(--header-h)); overflow-y: auto;
}
.nav-panel.is-open { display: block; }
.explore-btn { display: none; }
.bar-links, .mega__list, .mega__sems { list-style: none; margin: 0; padding: 0; }
.bar-links a { display: block; padding: 13px 2px; font-size: 16.5px; font-weight: 600; color: #fff; border-bottom: 1px solid #2a2a2a; }
.bar-links a:hover, .bar-links .current-menu-item > a { color: var(--gold); }
.mega__in { padding: 0; }
.mega__col { padding: 16px 0 6px; border-bottom: 1px solid #2a2a2a; }
.mega__title { margin: 0 0 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.mega__list a, .mega__sems a { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 15px; line-height: 1.35; color: #ecebe8; }
.mega__list a:hover, .mega__sems a:hover { color: #fff; }
.mega__list a:hover .nav-label-text, .mega__sems a:hover span:last-child { text-decoration: underline; text-decoration-color: var(--brand-bright); text-underline-offset: 4px; }
.nav-label-text { flex: 1; }
.nav-badge { flex: 0 0 auto; padding: 2px 8px; border-radius: 999px; border: 1px solid rgba(236, 151, 17, .45); color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.mega__sems { display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; }
.mega__sems a { white-space: nowrap; }
.mega__card { display: none; }
.nav-search { display: flex; align-items: center; gap: 8px; margin: 16px 0 12px; padding: 0 16px; height: 48px; border-radius: 999px; background: #262626; color: #a9a59d; }
.nav-search svg.icon { width: 17px; height: 17px; }
.nav-search input { flex: 1; min-width: 0; border: 0; background: transparent; color: #fff; font-size: 16px; }
.nav-search input::placeholder { color: #a9a59d; }
.nav-search input:focus { outline: none; }
.nav-search:focus-within { box-shadow: 0 0 0 2px var(--brand-bright); }
.header-cta { width: 100%; margin-top: 6px; }

@media (min-width: 1100px) {
	.nav-toggle { display: none; }
	.nav-panel { display: flex; align-items: center; gap: 18px; position: static; flex: 1; padding: 0; background: transparent; border: 0; box-shadow: none; max-height: none; overflow: visible; }
	.main-nav { display: flex; align-items: stretch; gap: 26px; flex: 1; margin-left: 18px; }
	.explore-btn {
		display: inline-flex; align-items: center; gap: 6px; height: var(--header-h); padding: 0; cursor: pointer;
		border: 0; border-bottom: 3px solid transparent; background: transparent; color: #fff; font-size: 15px; font-weight: 600;
	}
	.explore-btn svg.icon { width: 16px; height: 16px; transition: transform .2s ease; }
	.explore-btn:hover, .explore-btn[aria-expanded="true"] { border-bottom-color: var(--brand-bright); }
	.explore-btn[aria-expanded="true"] svg.icon { transform: rotate(180deg); }
	.bar-links { display: flex; align-items: center; gap: 26px; }
	.bar-links a { position: relative; padding: 8px 0; border: 0; font-size: 15px; color: #d6d3cc; white-space: nowrap; }
	.bar-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
	.bar-links a:hover, .bar-links .current-menu-item > a { color: #fff; }
	.bar-links a:hover::after, .bar-links .current-menu-item > a::after { transform: scaleX(1); }

	.mega { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #222; border-top: 1px solid #2e2e2e; box-shadow: 0 30px 60px rgba(0, 0, 0, .45); }
	.mega.is-open { display: block; animation: pta-drop .2s ease; }
	.mega__in { display: grid; grid-template-columns: 1.05fr 1fr 1.05fr 290px; gap: 40px; padding: 32px var(--gutter) 36px; }
	.mega__col { padding: 0; border: 0; }
	.mega__title { margin-bottom: 12px; }
	.mega__list a, .mega__sems a { padding: 6px 0; font-size: 14.5px; }
	.mega__card { display: flex; flex-direction: column; overflow: hidden; border-radius: 16px; background: #2a2a2a; border: 1px solid #383838; color: #fff; transition: border-color .2s ease, transform .2s ease; }
	.mega__card:hover { border-color: var(--brand-bright); color: #fff; transform: translateY(-2px); }
	.mega__art { position: relative; display: grid; place-items: center; height: 150px; background: radial-gradient(circle at 50% 60%, rgba(239, 106, 39, .45), transparent 65%), var(--grad-dark); }
	.mega__art > svg.icon { position: absolute; right: -14px; bottom: -22px; width: 150px; height: 150px; color: #fff; opacity: .08; stroke-width: 1; }
	.mega__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; }
	.mega__cardtitle { font-family: var(--serif); font-size: 21px; font-weight: 700; line-height: 1.2; }
	.mega__cardtext { font-size: 13.5px; color: #c3c7cc; }
	.mega__cardgo { font-size: 14px; font-weight: 700; color: var(--gold); }

	.nav-search { width: 220px; height: 42px; margin: 0; padding: 0 14px; }
	.nav-search input { font-size: 14px; }
	.header-cta { width: auto; margin: 0; }
}
@media (min-width: 1100px) and (max-width: 1260px) {
	.nav-search { width: 160px; }
	.main-nav, .bar-links { gap: 18px; }
	.main-nav { margin-left: 8px; }
}
@keyframes pta-drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 480px) {
	.brand__name { font-size: 16px; }
	.brand__tag { font-size: 8px; letter-spacing: .1em; }
	.brand__tile { width: 42px; height: 42px; }
	.brand__img { width: 32px; height: 32px; }
}

/* ---------- Thinker portraits ---------- */
.av { --s: 56px; position: relative; display: inline-block; flex: 0 0 auto; width: var(--s); height: var(--s); vertical-align: middle; }
.av--xs { --s: 26px; }
.av--sm { --s: 44px; }
.av--md { --s: 54px; }
.av--lg { --s: 66px; }
.av--xl { --s: 104px; }
.av--hero { --s: 150px; }
.av__img {
	display: block; width: 100%; height: 100%; overflow: hidden; border-radius: 50%;
	background: radial-gradient(circle at 50% 32%, #fffaf5 0%, #fde6d3 62%, #f6cfb1 100%);
	box-shadow: 0 0 0 3px #fff, 0 8px 18px -8px rgba(46, 32, 20, .45);
	transition: box-shadow .25s ease, transform .25s ease;
}
.av--xs .av__img { box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .85); }
.av--plato .av__img, .av--aristotle .av__img { background: radial-gradient(circle at 50% 30%, #f6b98d 0%, #e5844c 70%, #c5501a 100%); }
.av__img svg { display: block; width: 100%; height: 100%; }
.av__badge {
	position: absolute; right: -3px; bottom: -3px; width: max(20px, calc(var(--s) * .38)); height: max(20px, calc(var(--s) * .38));
	display: grid; place-items: center; border-radius: 50%; background: var(--brand); color: #fff; box-shadow: 0 0 0 2.5px #fff;
}
.av__badge svg.icon { width: 58%; height: 58%; stroke-width: 2.1; }

/* ---------- Shared section parts ---------- */
.section { padding: clamp(64px, 8vw, 104px) 0; position: relative; }
.section--tint { background: var(--surface); }
.section--pattern { background-image: radial-gradient(rgba(197, 80, 26, .09) 1.2px, transparent 1.2px); background-size: 22px 22px; background-color: var(--surface); }
.section-head { max-width: 740px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section-head--row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 20px; text-align: left; }
.section-title { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; margin: 0; }
.section-lead { font-size: 17.5px; color: var(--muted); margin: 14px 0 0; }
.eyebrow {
	display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
	font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brand);
}
.eyebrow::before { content: ""; width: 24px; height: 2px; border-radius: 2px; background: var(--grad); }
.eyebrow--light { color: var(--gold); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }

/* ---------- Hero ---------- */
.hero {
	position: relative; overflow: hidden; color: #e7e9ec;
	background: var(--grad-dark);
	padding: clamp(56px, 8vw, 100px) 0 clamp(96px, 10vw, 132px);
}
.hero::before, .page-hero::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: radial-gradient(ellipse at 70% 35%, #000 15%, transparent 72%);
	mask-image: radial-gradient(ellipse at 70% 35%, #000 15%, transparent 72%);
}
.hero::after, .page-hero::after {
	content: ""; position: absolute; width: 640px; height: 640px; right: -160px; top: -220px; pointer-events: none;
	background: radial-gradient(circle, rgba(239, 106, 39, .32), transparent 65%);
}
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.eyebrow-pill {
	display: inline-flex; align-items: center; gap: 10px; padding: 7px 15px; border-radius: 999px;
	background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
	font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #f6d5bf;
}
.eyebrow-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(236, 151, 17, .22); }
.hero__title { color: #fff; font-size: clamp(38px, 5.6vw, 64px); font-weight: 800; line-height: 1.06; letter-spacing: -.025em; margin: 22px 0 20px; }
.hero__title .grad-text { display: inline-block; padding-bottom: .06em; }
.hero__lead { font-size: clamp(16.5px, 1.6vw, 19px); color: #c9ccd1; max-width: 580px; margin: 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__exams { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 34px 0 0; padding: 26px 0 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.chip {
	display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: 999px;
	background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #e3e5e8; font-size: 13px; font-weight: 500;
}
.chip svg.icon { width: 15px; height: 15px; color: var(--gold); }

.hero-art { position: relative; width: 100%; max-width: 540px; margin-inline: auto; }
.hero-art__svg { display: block; width: 100%; height: auto; }
.float-card {
	position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px;
	background: #fff; color: var(--ink); border-radius: 16px; box-shadow: var(--shadow-lg);
	font-size: 13px; line-height: 1.3; animation: pta-float 6s ease-in-out infinite;
}
.float-card strong { display: block; font-size: 14.5px; font-weight: 700; color: var(--ink); }
.float-card span span { color: var(--muted); font-size: 12.5px; }
.float-card .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); }
.float-card .ic--gold { background: var(--gold-50); color: #b06f00; }
.float-card .ic--navy { background: #e9ebf5; color: var(--navy); }
.float-card .ic svg.icon { width: 22px; height: 22px; }
.float-card--a { left: -6%; top: 6%; }
.float-card--b { right: -4%; top: 44%; animation-delay: -2s; }
.float-card--c { left: 4%; bottom: 0; animation-delay: -4s; }
@keyframes pta-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (max-width: 980px) {
	.hero__grid { grid-template-columns: 1fr; }
	.hero-art { max-width: 460px; }
	.float-card--a { left: 0; }
	.float-card--b { right: 0; }
}
@media (max-width: 520px) {
	.float-card { padding: 8px 12px 8px 8px; gap: 8px; }
	.float-card strong { font-size: 12.5px; }
	.float-card span span { font-size: 11px; }
	.float-card .ic { width: 32px; height: 32px; border-radius: 10px; }
	.float-card .ic svg.icon { width: 18px; height: 18px; }
	.hero__actions .btn { width: 100%; }
}

/* ---------- Highlights strip ---------- */
.highlights { position: relative; z-index: 2; margin-top: -56px; }
.highlights__card {
	display: grid; grid-template-columns: repeat(4, 1fr); background: #fff;
	border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden;
}
.hl { display: flex; align-items: center; gap: 14px; padding: 24px 22px; }
.hl + .hl { border-left: 1px solid var(--line); }
.hl__icon { width: 50px; height: 50px; flex: 0 0 50px; border-radius: 14px; display: grid; place-items: center; background: var(--grad); color: #fff; }
.hl__icon svg.icon { width: 24px; height: 24px; }
.hl__text strong { display: block; color: var(--ink); font-size: 15.5px; line-height: 1.3; }
.hl__text span { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.4; margin-top: 2px; }
@media (max-width: 980px) {
	.highlights__card { grid-template-columns: repeat(2, 1fr); }
	.hl:nth-child(3) { border-left: 0; }
	.hl:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 540px) {
	.highlights__card { grid-template-columns: 1fr; }
	.hl + .hl { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Grids and cards ---------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid--3 { grid-template-columns: 1fr; } }

.card {
	position: relative; display: flex; flex-direction: column; padding: 30px 28px 26px;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
	box-shadow: 0 1px 2px rgba(46, 32, 20, .04); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card::before {
	content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: var(--radius-lg) var(--radius-lg) 0 0;
	background: var(--grad); opacity: 0; transition: opacity .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { opacity: 1; }
.card__icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); margin-bottom: 22px; transition: all .25s ease; }
.card__icon svg.icon { width: 28px; height: 28px; }
.card:hover .card__icon { background: var(--brand); color: #fff; }
.card__tag {
	position: absolute; top: 26px; right: 24px; padding: 5px 11px; border-radius: 999px;
	font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--gold-50); color: #8a5600;
}
.card__title { font-size: 19.5px; line-height: 1.3; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; margin-bottom: 22px; }
.card__count { display: inline-block; margin: -8px 0 20px; font-size: 13px; font-weight: 600; color: var(--brand); }
.card__link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--brand); }
.card__link svg.icon { width: 18px; height: 18px; transition: transform .2s ease; }
.card:hover .card__link svg.icon, .post-card:hover .card__link svg.icon, .card__link:hover svg.icon { transform: translateX(4px); }
.stretched::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

/* ---------- Semester tiles ---------- */
.sem-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 980px) { .sem-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 400px) { .sem-grid { gap: 12px; } }
.sem {
	position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 4px; padding: 24px 22px 22px;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); color: var(--ink);
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.sem:hover { color: var(--ink); transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(197, 80, 26, .35); }
.sem__num { font-family: var(--serif); font-size: clamp(40px, 4.4vw, 54px); font-weight: 700; line-height: 1; margin-bottom: 10px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.sem__title { font-weight: 700; font-size: 17px; }
.sem__meta { font-size: 13.5px; color: var(--muted); }
.sem__go { position: absolute; top: 20px; right: 18px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); transition: all .25s ease; }
.sem__go svg.icon { width: 17px; height: 17px; }
.sem:hover .sem__go { background: var(--brand); color: #fff; transform: rotate(-45deg); }
.sem__pillar { position: absolute; right: -10px; bottom: -14px; color: var(--brand); opacity: .07; transition: opacity .25s ease; }
.sem__pillar svg.icon { width: 110px; height: 110px; stroke-width: 1.2; }
.sem:hover .sem__pillar { opacity: .15; }
.sem-grid--compact { margin-top: 40px; }

.preamble {
	margin: 48px 0 0; display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: center;
	padding: 28px 32px; border-radius: var(--radius-lg); background: #fff; border: 1px dashed rgba(197, 80, 26, .4);
}
.preamble__icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--dark); color: var(--gold); }
.preamble__icon svg.icon { width: 32px; height: 32px; }
.preamble__quote { margin: 0; }
.preamble__quote p { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: clamp(21px, 2.4vw, 28px); line-height: 1.25; color: var(--ink); letter-spacing: .01em; }
.preamble__quote figcaption { margin-top: 6px; font-size: 14px; color: var(--muted); }
@media (max-width: 820px) {
	.preamble { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}

/* ---------- Dark features band ---------- */
.section--dark { background: var(--grad-dark); color: var(--dark-text); overflow: hidden; }
.section--dark::before {
	content: ""; position: absolute; left: -200px; bottom: -260px; width: 620px; height: 620px; pointer-events: none;
	background: radial-gradient(circle, rgba(236, 151, 17, .18), transparent 65%);
}
.section--dark .section-title { color: #fff; }
.section--dark .section-lead { color: #b5bac0; }
.section--dark .eyebrow { color: var(--gold); }
.feat-grid { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1100px) { .feat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 440px) { .feat-grid { grid-template-columns: 1fr; } }
.feat {
	padding: 28px 22px 24px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .04);
	border: 1px solid rgba(255, 255, 255, .09); transition: transform .25s ease, background-color .25s ease, border-color .25s ease;
}
.feat:hover { transform: translateY(-5px); background: rgba(255, 255, 255, .07); border-color: rgba(236, 151, 17, .5); }
.feat__icon { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 20px; background: linear-gradient(135deg, rgba(239, 106, 39, .25), rgba(236, 151, 17, .12)); color: var(--gold); }
.feat__icon svg.icon { width: 26px; height: 26px; }
.feat h3 { color: #fff; font-size: 17.5px; margin-bottom: 8px; }
.feat p { margin: 0; font-size: 14.5px; color: #aeb3b9; line-height: 1.6; }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.steps::before {
	content: ""; position: absolute; top: 31px; left: 12.5%; right: 12.5%; height: 2px;
	background: repeating-linear-gradient(90deg, rgba(197, 80, 26, .4) 0 8px, transparent 8px 16px);
}
.step { position: relative; text-align: center; padding: 0 6px; }
.step__num {
	position: relative; z-index: 1; width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center;
	background: #fff; border: 2px solid var(--brand); color: var(--brand); font-weight: 800; font-size: 19px;
	box-shadow: 0 0 0 8px #fff, var(--shadow); transition: all .25s ease;
}
.step:hover .step__num { background: var(--brand); color: #fff; }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { margin: 0; font-size: 15px; color: var(--muted); }
@media (max-width: 900px) {
	.steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
	.steps::before { display: none; }
}
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Post cards ---------- */
.post-card {
	display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
	transition: transform .25s ease, box-shadow .25s ease;
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.post-card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--dark); }
.post-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__ph {
	width: 100%; height: 100%; display: grid; place-items: center; color: var(--gold);
	background: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px) 0 0 / 18px 18px, var(--grad-dark);
}
.post-card__ph svg.icon { width: 54px; height: 54px; stroke-width: 1.3; }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.post-card__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 10px; font-size: 12px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.post-card__cat { color: var(--brand); }
.post-card__title { font-size: 19px; line-height: 1.35; margin-bottom: 10px; }
.post-card__title a { color: var(--ink); }
.post-card__title a:hover { color: var(--brand); }
.post-card__excerpt { font-size: 15px; color: var(--muted); margin-bottom: 18px; }

/* ---------- App CTA band ---------- */
.section--cta { padding-top: 0; }
.section--tint + .section--cta, .section--dark + .section--cta { padding-top: clamp(64px, 8vw, 104px); }
.cta-band {
	position: relative; overflow: hidden; display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center;
	padding: clamp(34px, 5vw, 56px); border-radius: 28px; color: #fff;
	background: linear-gradient(115deg, #b0441a 0%, #c5501a 45%, #e0611f 80%, #ec9711 125%);
	box-shadow: var(--shadow-lg);
}
.cta-band__copy { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; margin: 0 0 10px; }
.cta-band p { margin: 0; color: #ffece0; font-size: 17px; max-width: 560px; }
.cta-band .eyebrow--light { color: #ffe1c7; }
.cta-band .eyebrow--light::before { background: #fff; }
.cta-band__actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.cta-band__art { position: absolute; right: -30px; bottom: -60px; color: #fff; opacity: .1; pointer-events: none; }
.cta-band__art svg.icon { width: 300px; height: 300px; stroke-width: 1; }
@media (max-width: 900px) {
	.cta-band { grid-template-columns: 1fr; }
	.cta-band__actions { justify-content: flex-start; }
}

/* ---------- Footer ---------- */
.site-footer { position: relative; background: #222; color: #b6bbc1; font-size: 15px; padding-top: 72px; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad); }
.footer-grid { display: grid; grid-template-columns: 1.45fr 1fr 1.1fr 1.05fr; gap: 40px; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { margin: 18px 0 0; max-width: 360px; }
.brand--footer { margin-right: 0; }
.brand--footer .brand__tag { color: #9aa0a7; }
.footer-title { color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin: 6px 0 20px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-links--2col { grid-template-columns: 1fr 1fr; column-gap: 16px; }
.footer-links a { color: #b6bbc1; transition: color .2s ease, padding-left .2s ease; }
.footer-links a:hover { color: var(--gold); padding-left: 4px; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .07); color: #fff; transition: all .2s ease; }
.socials a:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }
.socials svg.icon { width: 20px; height: 20px; }
.footer-app p { margin: 0 0 18px; }
.store-btn {
	display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px 10px 16px; border-radius: 14px;
	background: #111; border: 1px solid rgba(255, 255, 255, .18); color: #fff; line-height: 1.15; font-weight: 600; font-size: 17px;
	transition: all .2s ease;
}
.store-btn small { display: block; font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: #c9ccd1; }
.store-btn svg.icon { width: 26px; height: 26px; color: var(--gold); fill: rgba(236, 151, 17, .18); }
.store-btn:hover { color: #fff; border-color: var(--gold); transform: translateY(-2px); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; margin-top: 56px; padding-top: 22px; padding-bottom: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; color: #969ca3; }
.footer-bottom p { margin: 0; }
.footer-bottom__tag { display: inline-flex; align-items: center; gap: 8px; letter-spacing: .12em; text-transform: uppercase; font-size: 12px; font-weight: 600; }
.footer-bottom__tag svg.icon { color: var(--gold); width: 18px; height: 18px; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--grad-dark); color: #c9ccd1; padding: clamp(40px, 6vw, 76px) 0 clamp(44px, 6vw, 72px); }
.page-hero__in { position: relative; z-index: 1; }
.page-hero__title { color: #fff; font-size: clamp(30px, 4.2vw, 48px); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; max-width: 920px; margin: 0 0 12px; }
.page-hero .eyebrow { margin-top: 18px; }
.page-hero__desc { max-width: 720px; font-size: 17px; color: #c9ccd1; }
.page-hero__desc p:last-child { margin-bottom: 0; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 16px; font-size: 14px; color: #b3b8be; }
.meta-item { display: inline-flex; align-items: center; gap: 7px; }
.meta-item svg.icon { width: 17px; height: 17px; color: var(--gold); }
.page-hero__search { margin-top: 22px; }
.page-hero__search .search-field { background: rgba(255, 255, 255, .96); }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; font-size: 13.5px; color: #aab0b7; }
.breadcrumbs li { display: inline-flex; align-items: center; }
.breadcrumbs li + li::before { content: "/"; margin: 0 10px; color: rgba(255, 255, 255, .3); }
.breadcrumbs a { color: #f0c7a9; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs [aria-current] { max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; }

/* ---------- Content ---------- */
.content-wrap { padding-block: clamp(40px, 6vw, 72px); }
.site-main--builder { overflow: hidden; }
.entry-thumb { margin: 0 0 32px; }
.entry-thumb img { display: block; width: 100%; border-radius: var(--radius-lg); }

.entry-content { font-size: 17.5px; line-height: 1.8; color: #2f3842; }
.entry-content::after { content: ""; display: table; clear: both; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { position: relative; font-size: clamp(24px, 2.6vw, 30px); margin: 1.9em 0 .65em; padding-left: 18px; }
.entry-content h2::before { content: ""; position: absolute; left: 0; top: .18em; bottom: .18em; width: 5px; border-radius: 4px; background: var(--grad); }
.entry-content h3 { font-size: 21.5px; margin: 1.6em 0 .55em; }
.entry-content h4 { font-size: 18.5px; margin: 1.4em 0 .5em; }
.entry-content ul, .entry-content ol { padding-left: 1.35em; margin: 0 0 1.25em; }
.entry-content li { margin: .4em 0; }
.entry-content li::marker { color: var(--brand); font-weight: 700; }
.entry-content a { text-decoration: underline; text-decoration-color: rgba(197, 80, 26, .35); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.entry-content a:hover { text-decoration-color: var(--brand); }
.entry-content a.btn, .entry-content .wp-block-button__link { text-decoration: none; }
.entry-content strong { color: var(--ink); }
.entry-content blockquote, .entry-content .wp-block-quote {
	margin: 1.8em 0; padding: 22px 26px; border-left: 4px solid var(--brand); border-radius: 0 16px 16px 0; background: var(--surface);
	font-family: var(--serif); font-size: 20px; font-style: italic; line-height: 1.55; color: var(--ink);
}
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content blockquote cite, .entry-content .wp-block-quote cite { display: block; margin-top: 10px; font-family: var(--font); font-size: 14px; font-style: normal; color: var(--muted); }
.entry-content .wp-block-pullquote { border-top: 4px solid var(--brand); border-bottom: 4px solid var(--brand); padding: 1.6em 0; text-align: center; }
.entry-content img { border-radius: 14px; }
.entry-content figure { margin: 1.8em 0; }
.entry-content figcaption, .wp-caption-text { margin-top: 8px; font-size: 14px; color: var(--muted); text-align: center; }
.entry-content hr, .entry-content .wp-block-separator { border: 0; height: 2px; background: var(--line); margin: 2.4em 0; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: 15.5px; line-height: 1.55; }
.entry-content .wp-block-table { overflow-x: auto; }
.entry-content th, .entry-content td { padding: 12px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.entry-content th, .entry-content thead td { background: var(--brand-50); color: var(--ink); font-weight: 700; }
.entry-content tbody tr:nth-child(even) td { background: #fffcf9; }
.entry-content code { padding: .15em .4em; border-radius: 6px; background: #f6eee8; font-size: .9em; }
.entry-content pre { overflow-x: auto; padding: 18px 20px; border-radius: 14px; background: var(--dark-900); color: #f1f1f1; font-size: 14.5px; }
.entry-content pre code { background: none; padding: 0; }
.entry-content .wp-block-button__link { background: var(--brand); color: #fff; border-radius: 999px; padding: .8em 1.5em; font-weight: 600; }
.entry-content .wp-block-button__link:hover { background: var(--brand-700); color: #fff; }
.entry-content .is-style-outline .wp-block-button__link { background: transparent; border: 2px solid var(--brand); color: var(--brand); }
.entry-content iframe { border-radius: 14px; }
.alignleft { float: left; margin: .3em 1.6em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.6em; }
.aligncenter { display: block; margin-inline: auto; }
@media (min-width: 1100px) {
	.container--narrow .alignwide { margin-inline: -110px; max-width: none; }
}
.alignfull { margin-inline: calc(50% - 50vw); max-width: 100vw; width: 100vw; }
.alignfull img { border-radius: 0; }
.wp-caption { max-width: 100%; }
.gallery-caption, .sticky, .bypostauthor { display: block; }
.page-links { margin-top: 28px; display: flex; gap: 8px; align-items: center; font-weight: 600; }

.entry-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.entry-tags a { padding: 6px 13px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 13.5px; color: var(--text); }
.entry-tags a:hover { border-color: var(--brand); color: var(--brand); }

.post-navigation, .note-pager { margin-top: 44px; }
.post-navigation .nav-links, .note-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.post-navigation .nav-next, .note-pager__link--next { grid-column: 2; text-align: right; }
.post-navigation a, .note-pager__link {
	display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 18px 20px; border-radius: 16px;
	background: #fff; border: 1px solid var(--line); color: var(--ink); transition: all .2s ease;
}
.note-pager__link--next { align-items: flex-end; }
.post-navigation a:hover, .note-pager__link:hover { border-color: var(--brand); box-shadow: var(--shadow); color: var(--ink); }
.nav-label { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.nav-label svg.icon { width: 16px; height: 16px; }
.nav-title { font-weight: 600; line-height: 1.4; }
@media (max-width: 560px) {
	.post-navigation .nav-links, .note-pager { grid-template-columns: 1fr; }
	.post-navigation .nav-next, .note-pager__link--next { grid-column: auto; }
}

/* ---------- Notes layout ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; padding-block: clamp(40px, 6vw, 72px); }
.sidebar { position: sticky; top: 100px; display: grid; gap: 20px; }
.admin-bar .sidebar { top: 132px; }
@media (max-width: 1000px) {
	.layout { grid-template-columns: minmax(0, 1fr); }
	.sidebar { position: static; }
}
.side-card { position: relative; padding: 22px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.side-card__title { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin: 0 0 14px; }
.side-card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 14px; font-weight: 600; }
.side-card__more svg.icon { width: 16px; height: 16px; }
.side-card--dark { background: var(--grad-dark); border: 0; color: #c3c7cc; }
.side-card--dark .side-card__title { color: var(--gold); font-size: 18px; letter-spacing: 0; text-transform: none; color: #fff; }
.side-card--dark p { font-size: 14.5px; }
.side-card__icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 14px; background: rgba(236, 151, 17, .15); color: var(--gold); }
.toc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; max-height: 60vh; overflow-y: auto; }
.toc-list a { display: flex; align-items: flex-start; gap: 10px; padding: 8px 10px; border-radius: 10px; color: var(--text); font-size: 14.5px; line-height: 1.4; }
.toc-list a:hover { background: var(--surface); color: var(--brand); }
.toc-list .is-current a { background: var(--brand-50); color: var(--brand); font-weight: 600; }
.toc-list .n { flex: 0 0 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--surface); color: var(--brand); font-size: 12.5px; font-weight: 700; }
.toc-list .is-current .n { background: var(--brand); color: #fff; }

.unit-list { display: grid; gap: 16px; max-width: 920px; margin-inline: auto; }
.unit {
	display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px; padding: 22px 24px;
	background: #fff; border: 1px solid var(--line); border-radius: 18px; color: var(--text); transition: all .25s ease;
}
.unit:hover { color: var(--text); border-color: rgba(197, 80, 26, .4); box-shadow: var(--shadow); transform: translateY(-2px); }
.unit__n { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); font-family: var(--serif); font-size: 23px; font-weight: 700; transition: all .25s ease; }
.unit:hover .unit__n { background: var(--brand); color: #fff; }
.unit__title { display: block; color: var(--ink); font-weight: 700; font-size: 18px; line-height: 1.35; }
.unit__excerpt { display: block; margin-top: 4px; font-size: 14.5px; color: var(--muted); }
.unit__go { color: var(--brand); }
.unit__go svg.icon { width: 22px; height: 22px; }
@media (max-width: 560px) { .unit { grid-template-columns: auto minmax(0, 1fr); } .unit__go { display: none; } }

/* ---------- Search, pagination, empty states ---------- */
.search-form { display: flex; gap: 8px; width: 100%; max-width: 560px; }
.search-field {
	flex: 1; min-width: 0; padding: 13px 20px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 15.5px;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.search-field:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(197, 80, 26, .14); }
@media (max-width: 480px) { .search-submit span { display: none; } .search-submit { padding-inline: 1em; } }
.pagination { margin-top: 52px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.page-numbers { min-width: 46px; height: 46px; padding: 0 14px; display: inline-grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; }
.page-numbers svg.icon { width: 18px; height: 18px; }
a.page-numbers:hover, .page-numbers.current { background: var(--brand); border-color: var(--brand); color: #fff; }
.page-numbers.dots { border: 0; background: none; }
.empty-state { max-width: 620px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.empty-state__icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px; background: var(--brand-50); color: var(--brand); }
.empty-state__icon svg.icon { width: 32px; height: 32px; }
.empty-state p { color: var(--muted); }
.empty-state .search-form { margin-top: 6px; }
.notfound { display: flex; justify-content: center; }
.notfound__home { text-align: center; margin-top: 40px; }

/* ---------- Comments ---------- */
.comments { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.comments__title, .comment-reply-title { font-size: 24px; }
.comment-list, .comment-list .children { list-style: none; margin: 0 0 32px; padding: 0; }
.comment-list .children { margin: 16px 0 0 28px; }
.comment-body { padding: 20px 22px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 16px; }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); }
.comment-author img { border-radius: 50%; }
.comment-metadata { font-size: 13px; margin: 4px 0 10px; }
.comment-metadata a { color: var(--muted); }
.reply a { font-size: 14px; font-weight: 600; }
.comment-form { display: grid; gap: 14px; }
.comment-form label { display: block; font-weight: 600; font-size: 14.5px; color: var(--ink); margin-bottom: 4px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line); background: #fff;
}
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(197, 80, 26, .14); }
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.comment-form-cookies-consent label { font-weight: 400; }

/* ---------- Thinkers inside cards ---------- */
.card__icon--av { display: inline-flex; align-self: flex-start; width: auto; height: auto; background: none; border-radius: 0; }
.card:hover .card__icon--av { background: none; }
.card:hover .av__img, .sem:hover .av__img, .feat:hover .av__img, .hl:hover .av__img { box-shadow: 0 0 0 3px var(--brand-bright), 0 10px 22px -8px rgba(197, 80, 26, .55); transform: scale(1.04); }
.hl .av { margin-right: 2px; }
.float-card .av { margin-right: 2px; }
.feat__icon { width: auto; height: auto; background: none; border-radius: 0; margin-bottom: 18px; }
.section--dark .av__img { box-shadow: 0 0 0 3px rgba(255, 255, 255, .16), 0 10px 20px -10px rgba(0, 0, 0, .6); }
.section--dark .av__badge { box-shadow: 0 0 0 2.5px #2a2725; }
.preamble__icon { width: auto; height: auto; background: none; border-radius: 0; }

.sem { gap: 2px; padding: 22px 22px 20px; }
.sem__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.sem__top .sem__num { margin: 4px 0 0; }
@media (max-width: 420px) {
	.sem { padding: 18px 16px 16px; }
	.sem .av--lg { --s: 50px; }
	.sem__title { font-size: 15.5px; }
}

.post-card__ph { position: relative; overflow: hidden; }
.post-card__ph > svg.icon { position: absolute; right: -12px; bottom: -26px; width: 150px; height: 150px; color: #fff; opacity: .07; stroke-width: 1; }

.page-hero__thinker { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.page-hero__thinker .av__img { box-shadow: 0 0 0 4px rgba(255, 255, 255, .9), 0 0 0 10px rgba(239, 106, 39, .25), 0 20px 40px -14px rgba(0, 0, 0, .6); }
.page-hero--thinker .page-hero__title, .page-hero--thinker .page-hero__desc { max-width: calc(100% - 230px); }
@media (max-width: 820px) {
	.page-hero--thinker .page-hero__in { display: flex; flex-direction: column; }
	.page-hero__thinker { position: static; transform: none; order: 10; flex-direction: row; gap: 12px; margin-top: 18px; text-align: left; }
	.page-hero__thinker .av--hero { --s: 72px; }
	.page-hero--thinker .page-hero__title, .page-hero--thinker .page-hero__desc { max-width: none; }
}

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in, .reveal-done .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.js .reveal { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */
@media print {
	.site-header, .site-footer, .sidebar, .section--cta, .note-pager, .comments { display: none !important; }
	.page-hero { background: none; color: #000; padding: 0 0 12px; }
	.page-hero::before, .page-hero::after { display: none; }
	.page-hero__title { color: #000; }
	.layout { display: block; padding: 0; }
}
