/* ==========================================================================
   UNGRIDNOW — main.css
   Tokens → base → layout → header → cards/modules → article → pages → footer
   Mobile-first. Brand tokens are overridden inline from the Customizer.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
	--c-ink: #0D0D0D;
	--c-red: #E4262C;
	--c-red-dark: #C41A20;
	--c-white: #FFFFFF;
	--c-surface: #F6F6F7;
	--c-border: #E4E4E7;
	--c-meta: #6B6B70;
	--radius: 2px;
	--container: 1280px;
	--gutter: 20px;
	--f-head: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
	--f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--track: 0.08em;
	--nav-h: 56px;
	--anchor-h: 0px;
}
@media (min-width: 900px) { :root { --gutter: 32px; --nav-h: 64px; } }

@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin.woff2") format("woff2"); font-weight: 400 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-ext.woff2") format("woff2"); font-weight: 400 900; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-ext.woff2") format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 8px); }
body { margin: 0; background: var(--c-white); color: var(--c-ink); font: 400 17px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; padding-bottom: var(--anchor-h); }
img, svg, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--c-red); }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 800; line-height: 1.08; letter-spacing: -0.015em; margin: 0; }
h1 { font-weight: 900; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, textarea, select { font: inherit; }
::selection { background: var(--c-red); color: #fff; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 1000; width: auto; height: auto; clip: auto; padding: 8px 12px; background: var(--c-ink); color: #fff; }
:focus-visible { outline: 2px solid var(--c-red); outline-offset: 2px; }

.wrap { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* Labels (kicker / uppercase tracked) */
.kicker, .label, .sec-head__more, .btn, .chip, .subchip, .share__label, .tags__label, .nl__kicker, .site-footer__h, .toc__label, .az__bar a, .az__bar span, .flag {
	font-family: var(--f-body); font-weight: 700; font-size: 11px; letter-spacing: var(--track); text-transform: uppercase; line-height: 1.2;
}
.kicker { color: var(--c-red); display: inline-block; margin-bottom: 6px; }
.kicker--sponsored { color: var(--c-meta); }
.flag { display: inline-block; background: var(--c-red); color: #fff; padding: 6px 10px; }
.flag--breaking { position: absolute; top: 0; left: 0; z-index: 1; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: var(--radius); border: 2px solid transparent; transition: background .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn--red { background: var(--c-red); color: #fff; }
.btn--red:hover { background: var(--c-red-dark); color: #fff; }
.btn--dark { background: var(--c-ink); color: #fff; }
.btn--dark:hover { background: var(--c-red); color: #fff; }
.btn--outline { border-color: var(--c-ink); color: var(--c-ink); background: #fff; }
.btn--outline:hover { background: var(--c-ink); color: #fff; }
.btn--sm { padding: 8px 12px; font-size: 10px; }

/* Thumbs — fixed ratio, never shifts */
.thumb { display: block; position: relative; width: 100%; aspect-ratio: var(--ratio, 16/9); overflow: hidden; background: var(--c-surface); border-radius: var(--radius); }
.thumb__img, .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.thumb__ph { position: absolute; inset: 0; background: repeating-linear-gradient(135deg, #ececee 0 10px, #f6f6f7 10px 20px); }
.thumb-link { display: block; }
.card:hover .thumb__img { transform: scale(1.02); transition: transform .35s ease; }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 50; background: #fff; }
.masthead { border-bottom: 1px solid var(--c-border); }
.masthead__inner { display: flex; flex-direction: column; align-items: center; padding-top: 22px; padding-bottom: 18px; }
.masthead__logo .wordmark, .masthead__logo img { font-size: clamp(30px, 6vw, 44px); }
.masthead__logo img { max-height: clamp(64px, 11vw, 100px); width: auto; max-width: 100%; }
.masthead__tagline { display: flex; align-items: center; gap: 12px; margin: 6px 0 0; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--c-ink); font-weight: 500; }
.masthead__tagline .dash { width: 26px; height: 2px; background: var(--c-red); }
.logo { margin: 0; line-height: 1; }
.wordmark { font-family: var(--f-head); font-weight: 900; letter-spacing: -0.03em; font-size: 22px; line-height: 1; display: inline-block; }
.wordmark__a { color: var(--c-ink); }
.wordmark__b { color: var(--c-red); }
.logo--inverse .wordmark__a { color: #fff; }
.logo img { max-height: 40px; width: auto; max-width: 100%; }

.navbar { background: #fff; border-bottom: 1px solid var(--c-border); }
.has-sticky .site-header { position: sticky; top: 0; z-index: 60; }
.navbar__inner { display: flex; align-items: center; gap: 12px; height: var(--nav-h); }
.navbar__burger { display: flex; flex-direction: column; justify-content: center; gap: 4px; width: 40px; height: 40px; margin-left: -8px; }
.navbar__burger span { display: block; width: 20px; height: 2px; background: var(--c-ink); margin: 0 auto; transition: transform .2s, opacity .2s; }
.navbar__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.navbar__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.navbar__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.navbar__logo { flex: 1; }
.navbar__nav { display: none; }
.navbar__actions { display: flex; align-items: center; gap: 8px; }
.navbar__search { width: 40px; height: 40px; display: grid; place-items: center; }
.navbar__cta { display: none; }
.navbar__search-bar { border-top: 1px solid var(--c-border); background: #fff; padding: 12px 0; }
.navbar__search-bar[hidden] { display: none; }
.searchform { display: flex; gap: 8px; }
.searchform input { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid var(--c-border); border-radius: var(--radius); background: #fff; }
.searchform input:focus { border-color: var(--c-ink); outline: none; }
.searchform--big input { padding: 16px 18px; font-size: 18px; }

@media (min-width: 900px) {
	/* One-row bar at all times: geometry is identical whether stuck or not,
	   so the header never changes height and nothing jumps as it sticks. */
	.navbar__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); grid-template-areas: "logo nav actions"; height: auto; gap: 0; align-items: stretch; }
	.navbar__burger { display: none; }
	.navbar__logo { grid-area: logo; justify-self: start; padding: 10px 24px 10px 0; display: flex; align-items: center; }
	.navbar__actions { grid-area: actions; justify-self: end; }
	.navbar__cta { display: inline-flex; }
	.navbar__nav { grid-area: nav; display: block; border-top: 0; min-width: 0; }
	.nav { display: flex; justify-content: center; align-items: stretch; gap: 2px; }
	.nav > .mi { position: relative; }
	.nav > .mi > a { display: block; padding: 18px 8px; font: 700 12px/1 var(--f-body); letter-spacing: var(--track); text-transform: uppercase; border-bottom: 2px solid transparent; }
	.nav > .mi.is-current > a { color: var(--c-red); border-bottom-color: var(--c-red); }
	.nav > .mi:hover > a { color: var(--c-red); }
	.nav > .mi--latest > a { color: var(--c-meta); }
	.nav .sub { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); min-width: 200px; background: #fff; border: 1px solid var(--c-border); box-shadow: 0 8px 24px rgba(0,0,0,.08); padding: 8px 0; display: none; z-index: 70; }
	.nav .mi:hover > .sub, .nav .mi:focus-within > .sub { display: block; }
	.nav .sub a { display: block; padding: 8px 16px; font-size: 14px; font-weight: 500; white-space: nowrap; }
	.nav .sub a:hover { background: var(--c-surface); color: var(--c-red); }
}

/* Chip row (mobile) */
.chips { display: block; border-bottom: 1px solid var(--c-border); background: #fff; }
.chips__track { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 10px var(--gutter); scroll-snap-type: x proximity; }
.chips__track::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; padding: 8px 12px; border: 1px solid var(--c-border); border-radius: 999px; scroll-snap-align: start; }
.chip.is-active { background: var(--c-ink); color: #fff; border-color: var(--c-ink); }
@media (min-width: 900px) { .chips { display: none; } }
/* Front page only: the big masthead carries the brand, so the small navbar
   logo stays invisible until the bar sticks, then fades in. visibility keeps
   the grid/flex space reserved, so the fade causes no layout shift. */
.has-masthead .navbar__logo { opacity: 0; visibility: hidden; transition: opacity .22s ease, visibility .22s ease; }
.has-masthead .navbar.is-stuck .navbar__logo { opacity: 1; visibility: visible; }
@media (prefers-reduced-motion: reduce) { .has-masthead .navbar__logo { transition: none; } }

/* Mobile menu */
.mmenu { position: fixed; inset: var(--nav-h) 0 0 0; z-index: 55; background: #fff; overflow-y: auto; }
.mmenu[hidden] { display: none; }
.mmenu__inner { padding: 20px var(--gutter) 40px; display: flex; flex-direction: column; gap: 20px; }
.mnav > .mi { border-bottom: 1px solid var(--c-border); display: flex; flex-wrap: wrap; align-items: center; }
.mnav > .mi > a { flex: 1; padding: 16px 0; font: 800 20px/1 var(--f-head); }
.mi__toggle { width: 44px; height: 44px; font-size: 24px; color: var(--c-meta); }
.mnav .sub { flex-basis: 100%; display: none; padding: 0 0 12px 12px; }
.mnav .mi.is-open .sub { display: block; }
.mnav .sub a { display: block; padding: 8px 0; font-size: 15px; color: var(--c-meta); }
.mmenu__cta { align-self: flex-start; }
body.menu-open { overflow: hidden; }
@media (min-width: 900px) { .mmenu { display: none !important; } }

/* ---------- Section head / rules ---------- */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; border-top: 3px solid var(--c-red); padding-top: 12px; margin-bottom: 18px; }
.sec-head__title { font-size: 20px; text-transform: uppercase; letter-spacing: -0.01em; }
.sec-head__sub { margin: 4px 0 0; color: var(--c-meta); font-size: 14px; }
.sec-head__more { color: var(--c-red); font-size: 10px; }
.rule-head { display: flex; align-items: center; gap: 12px; font-size: 18px; text-transform: uppercase; margin-bottom: 18px; }
.rule-head::before { content: ""; width: 28px; height: 3px; background: var(--c-red); }
@media (min-width: 900px) { .sec-head__title { font-size: 22px; } }

/* ---------- Cards ---------- */
.card { position: relative; }
.card__title { font-size: 17px; line-height: 1.2; }
.card__title a:hover { color: var(--c-red); }
.card__meta { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 12px; color: var(--c-meta); }
.card__meta .kicker { margin: 0; }
.card--standard .card__body { padding-top: 12px; }
.card--compact { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--c-border); }
.card--compact .card__title { font-size: 15px; }
.card--compact-r { grid-template-columns: 1fr 96px; }
.card--compact-r .thumb-link { order: 2; }
.card--compact-r .card__body { order: 1; }
.card--compact .card__meta { margin-top: 6px; }
.card--hero .card__body { padding-top: 14px; }
.card--hero .card--hero__media { position: relative; }
.card__title--hero { font-size: clamp(26px, 6.2vw, 48px); letter-spacing: -0.03em; line-height: 1.02; }
.card__dek { font-size: 16px; color: var(--c-meta); line-height: 1.5; margin: 10px 0 0; }
.card--hero .card__meta { margin-top: 10px; }
.card--native { border: 1px dashed var(--c-border); padding: 12px; }
.card--sponsored .kicker { color: var(--c-meta); }
@media (min-width: 900px) {
	.card--hero-side { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; align-items: start; }
	.card--hero-side .card__body { padding-top: 0; }
	.card--hero-side .card__title--hero { font-size: 36px; }
	.card__title { font-size: 16px; }
	.card--compact { grid-template-columns: 112px 1fr; }
	.card--compact-r { grid-template-columns: 1fr 112px; }
	.mod--top .card__title--hero { font-size: 46px; }
}

/* Grid + list */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 16px; }
.list { display: block; }
.list .card--compact:last-child { border-bottom: 0; }
.list__day { font-size: 13px; text-transform: uppercase; letter-spacing: var(--track); color: var(--c-meta); border-bottom: 2px solid var(--c-ink); padding-bottom: 8px; margin: 28px 0 4px; }
@media (min-width: 640px)  { .grid { grid-template-columns: repeat(min(var(--cols, 4), 3), 1fr); } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 24px 24px; } }
.mod--cat .card__title, .mod--picks .card__title { font-size: 15px; }
@media (min-width: 1000px) { .mod--cat .card__title, .mod--picks .card__title { font-size: 16px; } .mod--cat[style*="--cols:2"] .card__title { font-size: 20px; } .mod--cat[style*="--cols:3"] .card__title { font-size: 18px; } }

/* ---------- Modules ---------- */
.mod { margin: 32px 0; }
.mod--band { background: var(--c-surface); padding: 24px var(--gutter); margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); }
.mod--ad { display: flex; justify-content: center; margin: 24px 0; }
@media (min-width: 900px) { .mod { margin: 40px 0; } .mod--band { padding: 32px; margin-left: 0; margin-right: 0; } }

/* Top story */
.mod--top { margin-top: 20px; }
.mod--top-has-side .mod--top__side .card--standard .card__title { font-size: 17px; }
.mod--top__side { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mod--top__side .card--compact { grid-column: 1 / -1; }
@media (min-width: 900px) {
	.mod--top-has-side { display: grid; grid-template-columns: 1fr 1fr; grid-template-columns: 1.55fr 1fr; gap: 32px; }
	.mod--top__side { margin-top: 0; align-content: start; }
	.mod--top__side .card--standard .card__title { font-size: 20px; }
	.mod--top__side .card--compact { border-top: 1px solid var(--c-border); border-bottom: 0; }
}

/* Latest w/ sidebar */
.mod--latest.has-side { display: block; }
.mod--latest__side { display: none; }
@media (min-width: 1000px) {
	.mod--latest.has-side { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
	.mod--latest__side { display: block; }
}

/* Popular */
.numlist { display: grid; grid-template-columns: 1fr; gap: 0 32px; }
.numlist li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--c-border); font: 700 15px/1.3 var(--f-body); }
.numlist__n { font: 900 24px/1 var(--f-head); color: var(--c-red); }
.numlist--sm li { font-size: 14px; padding: 10px 0; }
.numlist--sm .numlist__n { font-size: 18px; }
@media (min-width: 900px) { .mod--popular .numlist { grid-template-columns: repeat(var(--cols, 2), 1fr); } }

/* Newsletter band */
.nl { background: var(--c-red); color: #fff; padding: 28px var(--gutter); margin: 32px calc(-1 * var(--gutter)); border-radius: 0; }
.nl__kicker { display: block; opacity: .85; margin-bottom: 8px; }
.nl__heading { font-size: clamp(22px, 5vw, 30px); color: #fff; }
.nl__text { margin: 8px 0 0; opacity: .92; font-size: 15px; }
.nl__form { display: flex; gap: 8px; margin-top: 16px; }
.nl__input { flex: 1; min-width: 0; padding: 12px 14px; border: 0; border-radius: var(--radius); }
.nl__form .btn { flex-shrink: 0; }
.nl--article { margin-top: 32px; }
.nl__msg { margin-top: 8px; font-size: 14px; }
@media (min-width: 900px) {
	.nl { display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 32px; padding: 32px 36px; margin-left: 0; margin-right: 0; }
	.nl__form { margin-top: 0; }
	.nl--article { grid-template-columns: 1fr; padding: 24px 28px; }
	.nl--article .nl__form { margin-top: 14px; }
}

/* CTA / promo band */
.cta { display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: var(--radius); }
.cta--red { background: var(--c-red); color: #fff; }
.cta--dark { background: var(--c-ink); color: #fff; }
.cta--surface { background: var(--c-surface); }
.cta__heading { font-size: 24px; }
.cta__text { margin: 6px 0 0; opacity: .9; }
@media (min-width: 900px) { .cta { flex-direction: row; align-items: center; justify-content: space-between; padding: 28px 36px; } }

/* ---------- Ads ---------- */
.ad { display: flex; flex-direction: column; align-items: center; margin: 0 auto; }
.ad__label { color: var(--c-meta); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 4px; }
.ad__unit { width: var(--ad-mw, var(--ad-w)); height: var(--ad-mh, var(--ad-h)); max-width: 100%; background: var(--c-surface); border: 1px dashed var(--c-border); display: grid; place-items: center; overflow: hidden; }
.ad__unit:empty::after { content: attr(data-note); }
@media (min-width: 900px) { .ad__unit { width: var(--ad-w, var(--ad-mw)); height: var(--ad-h, var(--ad-mh)); } }
.ad--desktop-only { display: none; }
@media (min-width: 900px) { .ad--desktop-only { display: flex; } .ad--mobile-only { display: none; } }
.ad--sticky { position: sticky; top: calc(var(--nav-h) + 16px); }
.ad--in-article { margin: 32px auto; }
.anchor-ad { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; border-top: 1px solid var(--c-border); display: flex; justify-content: center; padding: 4px 0; box-shadow: 0 -4px 16px rgba(0,0,0,.06); }
.anchor-ad .ad__label { display: none; }
.anchor-ad__close { position: absolute; top: -26px; right: 8px; width: 26px; height: 26px; background: #fff; border: 1px solid var(--c-border); border-bottom: 0; font-size: 16px; line-height: 1; }
.anchor-ad.is-closed { display: none; }
@media (min-width: 900px) { .anchor-ad { display: none; } }

/* ---------- Article ---------- */
.article-layout { padding-top: 16px; }
.article__head .crumbs { margin-bottom: 14px; }
.article__title { font-size: clamp(28px, 7vw, 48px); letter-spacing: -0.03em; margin: 4px 0 14px; }
.article__dek { font-size: 19px; line-height: 1.45; color: var(--c-meta); margin: 0 0 20px; }
.byline { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); }
.byline__text { display: flex; flex-direction: column; font-size: 13px; color: var(--c-meta); line-height: 1.4; }
.byline__by { color: var(--c-ink); font-weight: 600; }
.byline__by a { color: var(--c-red); }
.avatar { display: inline-grid; place-items: center; width: var(--s, 40px); height: var(--s, 40px); border-radius: 50%; overflow: hidden; background: var(--c-surface); flex-shrink: 0; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar--ini { font: 700 calc(var(--s, 40px) * .34) / 1 var(--f-body); color: var(--c-meta); letter-spacing: 0; }
.share { display: flex; align-items: center; gap: 8px; padding: 14px 0; flex-wrap: wrap; }
.share__label { color: var(--c-meta); margin-right: 4px; }
.share__btn { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--c-border); border-radius: var(--radius); font-size: 13px; font-weight: 700; color: var(--c-ink); background: #fff; transition: background .15s, color .15s, border-color .15s; }
.share__btn:hover { border-color: var(--c-ink); }
.share__btn--icon { width: 40px; padding: 0; color: var(--c-meta); }
.share__btn--icon svg { width: 18px; height: 18px; display: block; }
.share__btn--facebook:hover { background: #1877F2; border-color: #1877F2; color: #fff; }
.share__btn--x:hover { background: #000; border-color: #000; color: #fff; }
.share__btn--whatsapp:hover { background: #25D366; border-color: #25D366; color: #fff; }
.share__btn--email:hover { background: var(--c-ink); border-color: var(--c-ink); color: #fff; }
.share__btn--copy:hover { background: var(--c-red); border-color: var(--c-red); color: #fff; }
.share__btn--copy.is-copied { background: var(--c-ink); border-color: var(--c-ink); color: #fff; }
.article__hero { margin: 8px calc(-1 * var(--gutter)) 24px; }
.article__hero img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.article__cap { font-size: 12px; color: var(--c-meta); padding: 8px var(--gutter) 0; }
.article__credit { opacity: .8; }
.disclosure { font-size: 13px; color: var(--c-meta); background: var(--c-surface); padding: 12px 14px; border-left: 3px solid var(--c-red); }
.sponsor-bar { display: flex; align-items: center; gap: 12px; background: var(--c-surface); padding: 10px 14px; margin-bottom: 16px; font-size: 13px; color: var(--c-meta); }
.sponsor-bar .kicker { margin: 0; }
@media (min-width: 900px) { .article__hero { margin-left: 0; margin-right: 0; } .article__cap { padding-left: 0; padding-right: 0; } .article__dek { font-size: 21px; } }

/* Prose (article body + page content) — styles the core blocks we allow */
.prose { font-size: 18px; line-height: 1.65; }
.prose > * { margin: 0 0 1.25em; }
.prose > *:last-child { margin-bottom: 0; }
.prose h2 { font-size: 26px; margin-top: 1.6em; }
.prose h3 { font-size: 21px; margin-top: 1.4em; }
.prose a { color: var(--c-red); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.prose a:hover { color: var(--c-red-dark); }
.prose ul { list-style: disc; padding-left: 1.3em; }
.prose ol { list-style: decimal; padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose blockquote, .prose .wp-block-pullquote { border-left: 4px solid var(--c-red); padding: 4px 0 4px 20px; margin: 1.6em 0; }
.prose blockquote p, .prose .wp-block-pullquote p { font: 700 22px/1.3 var(--f-head); letter-spacing: -0.01em; margin: 0 0 .5em; }
.prose blockquote cite, .prose .wp-block-pullquote cite { font: 700 11px/1 var(--f-body); letter-spacing: var(--track); text-transform: uppercase; color: var(--c-meta); font-style: normal; }
.prose .wp-block-pullquote { border-left-width: 4px; padding-left: 20px; text-align: left; }
.prose figure { margin: 1.6em calc(-1 * var(--gutter)); }
.prose figure img { width: 100%; }
.prose figcaption { font-size: 12px; color: var(--c-meta); padding: 8px var(--gutter) 0; }
.prose .wp-block-image.alignwide, .prose .wp-block-image.alignfull { margin-left: 0; margin-right: 0; }
.prose .embed, .prose .wp-block-embed { margin: 1.6em 0; border: 1px solid var(--c-border); padding: 16px; border-radius: var(--radius); }
.prose .wp-block-embed__wrapper { position: relative; }
.prose .wp-block-embed iframe { width: 100%; }
.prose .wp-block-embed-youtube .wp-block-embed__wrapper, .prose .wp-block-embed-vimeo .wp-block-embed__wrapper { aspect-ratio: 16/9; }
.prose .wp-block-embed-youtube iframe, .prose .wp-block-embed-vimeo iframe { position: absolute; inset: 0; height: 100%; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--c-border); }
.prose th { font-size: 11px; letter-spacing: var(--track); text-transform: uppercase; border-bottom: 2px solid var(--c-ink); }
.prose hr { border: 0; border-top: 1px solid var(--c-border); margin: 2em 0; }
.prose .wp-block-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.prose .wp-block-button__link { display: inline-block; padding: 12px 20px; background: var(--c-red); color: #fff; text-decoration: none; font: 700 11px/1.2 var(--f-body); letter-spacing: var(--track); text-transform: uppercase; border-radius: var(--radius); }
.prose .wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--c-ink); border: 2px solid var(--c-ink); }
.prose .wp-block-details summary { font-weight: 700; cursor: pointer; padding: 14px 0; border-bottom: 1px solid var(--c-border); }
.prose .wp-block-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.prose .wp-block-gallery figure { margin: 0; }
@media (min-width: 900px) { .prose { font-size: 19px; } .prose figure { margin-left: 0; margin-right: 0; } .prose figcaption { padding-left: 0; padding-right: 0; } .prose h2 { font-size: 30px; } }

.article__foot { margin-top: 32px; }
.article__source, .article__credit-line { font-size: 13px; color: var(--c-meta); margin: 0 0 6px; }
.tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 20px 0; }
.tags__label { color: var(--c-meta); margin-right: 4px; }
.tag { font-size: 12px; font-weight: 600; padding: 6px 10px; border: 1px solid var(--c-border); border-radius: var(--radius); }
.tag:hover { border-color: var(--c-ink); }
.author-card { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 20px; border: 1px solid var(--c-border); border-radius: var(--radius); margin: 24px 0; }
.author-card__name { font-size: 17px; }
.author-card__role { display: block; font-size: 11px; letter-spacing: var(--track); text-transform: uppercase; color: var(--c-red); font-weight: 700; margin: 4px 0 8px; }
.author-card__bio { font-size: 14px; color: var(--c-meta); margin: 0 0 8px; }
.author-card__more { font-size: 11px; font-weight: 700; letter-spacing: var(--track); text-transform: uppercase; color: var(--c-red); }
.mod--related .card__title { font-size: 15px; }
.mod--more .card__title { font-size: 15px; }

/* Article layout w/ sidebar */
.side { display: none; }
@media (min-width: 1000px) {
	.article-layout.has-side { display: grid; grid-template-columns: minmax(0, 720px) 300px; justify-content: space-between; gap: 48px; align-items: start; }
	.article-layout:not(.has-side) .article { max-width: 720px; margin: 0 auto; }
	.side { display: block; }
	.side__sticky { position: sticky; top: calc(var(--nav-h) + 16px); }
	.trending { margin-top: 24px; border-top: 3px solid var(--c-red); padding-top: 12px; }
	.trending__h { font-size: 15px; text-transform: uppercase; margin-bottom: 4px; }
	.article__hero img { max-height: 480px; }
}
@media (min-width: 1240px) { .article-layout.has-side { grid-template-columns: 720px 300px; } }

/* ---------- Breadcrumbs / archive heads ---------- */
.crumbs { font-size: 12px; color: var(--c-meta); margin: 16px 0 12px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "›"; margin-right: 6px; opacity: .6; }
.crumbs a:hover { color: var(--c-red); }
.crumbs [aria-current] { color: var(--c-ink); }
.arch-head { border-top: 3px solid var(--c-red); padding-top: 18px; margin-bottom: 24px; }
.arch-head__title { font-size: clamp(30px, 8vw, 52px); text-transform: uppercase; letter-spacing: -0.03em; }
.arch-head__desc { color: var(--c-meta); font-size: 16px; margin: 8px 0 0; max-width: 60ch; }
.arch-head--search { border-top: 0; padding-top: 0; }
.subchips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.subchip { padding: 8px 12px; border: 1px solid var(--c-border); border-radius: var(--radius); }
.subchip.is-active { background: var(--c-ink); color: #fff; border-color: var(--c-ink); }
.arch__lead { margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--c-border); }
.arch__grid { margin-bottom: 24px; }
.arch__side { display: none; }
@media (min-width: 1000px) {
	.arch.has-side { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
	.arch__side { display: block; }
}
.loadmore { display: flex; justify-content: center; margin: 24px 0 8px; }
.loadmore .btn.is-loading { opacity: .5; pointer-events: none; }
.author-head { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; border-top: 3px solid var(--c-red); padding-top: 20px; margin-bottom: 28px; }
.author-head__name { font-size: clamp(26px, 6vw, 40px); }
.author-head__role { display: block; color: var(--c-red); font: 700 11px/1 var(--f-body); letter-spacing: var(--track); text-transform: uppercase; margin: 6px 0 10px; }
.author-head__bio { color: var(--c-meta); max-width: 60ch; }
.author-head__meta { font-size: 13px; color: var(--c-meta); }
.author-head__meta a { color: var(--c-red); }
.empty, .empty-state { text-align: center; padding: 48px 0; }
.empty-state__code { display: block; font: 900 clamp(80px, 25vw, 160px)/1 var(--f-head); color: var(--c-red); letter-spacing: -0.05em; }
.empty-state__h { font-size: 28px; margin: 8px 0 12px; }
.empty-state .searchform { max-width: 520px; margin: 20px auto 0; }
.empty-state .subchips { justify-content: center; }

/* ---------- Pages / patterns ---------- */
.page-hero { background: var(--c-surface); padding: 40px 0 36px; margin: 28px 0 36px; }
.page-hero__title { font-size: clamp(30px, 7vw, 46px); letter-spacing: -0.03em; line-height: 1.1; }
.page-hero__intro { color: var(--c-meta); font-size: 17px; margin: 14px 0 0; max-width: 60ch; }
.page-content { padding-bottom: 40px; }
.prose-wide > * { max-width: 100%; }
.prose-wide > p, .prose-wide > h2, .prose-wide > h3, .prose-wide > ul, .prose-wide > ol, .prose-wide > blockquote { max-width: 720px; }
.prose-wide { font-size: 18px; line-height: 1.65; }
.prose-wide h2 { font-size: 26px; margin: 1.6em 0 .6em; }
.prose-wide h3 { font-size: 20px; margin: 1.4em 0 .5em; }
.prose-wide p, .prose-wide ul, .prose-wide ol { margin: 0 0 1.2em; }
.prose-wide ul { list-style: disc; padding-left: 1.3em; }
.prose-wide ol { list-style: decimal; padding-left: 1.3em; }
.prose-wide a { color: var(--c-red); text-decoration: underline; text-underline-offset: 2px; }
.prose-wide .wp-block-columns { display: flex; flex-wrap: wrap; gap: 32px; margin: 0 0 32px; }
.prose-wide .wp-block-column { flex: 1 1 280px; min-width: 0; }
.prose-wide .wp-block-group { margin: 0 0 32px; }
.prose-wide .wp-block-group.has-background { padding: 24px; }
.prose-wide .wp-block-group.has-surface-background-color { background: var(--c-surface); }
.prose-wide .wp-block-group.has-red-background-color { background: var(--c-red); color: #fff; }
.prose-wide .wp-block-group.has-ink-background-color { background: var(--c-ink); color: #fff; }
.prose-wide .wp-block-group.has-red-background-color a, .prose-wide .wp-block-group.has-ink-background-color a { color: inherit; }
.prose-wide .wp-block-separator { border: 0; border-top: 1px solid var(--c-border); margin: 32px 0; }
.prose-wide .wp-block-separator.is-style-wide { max-width: 100%; }
.prose-wide .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 24px; }
.prose-wide .wp-block-button__link { display: inline-block; padding: 12px 20px; background: var(--c-ink); color: #fff; text-decoration: none; font: 700 11px/1.2 var(--f-body); letter-spacing: var(--track); text-transform: uppercase; border-radius: var(--radius); }
.prose-wide .wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--c-ink); border: 2px solid var(--c-ink); }
.prose-wide .wp-block-button.is-style-red .wp-block-button__link { background: var(--c-red); }
.prose-wide .wp-block-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose-wide .wp-block-table th, .prose-wide .wp-block-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--c-border); }
.prose-wide .wp-block-table th { font-size: 11px; letter-spacing: var(--track); text-transform: uppercase; border-bottom: 2px solid var(--c-ink); }
.prose-wide .wp-block-details { border-bottom: 1px solid var(--c-border); }
.prose-wide .wp-block-details summary { font-weight: 700; padding: 16px 0; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.prose-wide .wp-block-details summary::after { content: "+"; color: var(--c-red); font-size: 20px; line-height: 1; }
.prose-wide .wp-block-details[open] summary::after { content: "–"; }
.prose-wide .wp-block-details > *:not(summary) { color: var(--c-meta); padding-bottom: 16px; }
.prose-wide .wp-block-media-text { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; margin: 0 0 32px; }
.prose-wide .wp-block-media-text .wp-block-media-text__media img { width: 100%; }
@media (min-width: 900px) { .prose-wide .wp-block-media-text { grid-template-columns: 1fr 1fr; } .prose-wide .wp-block-media-text.has-media-on-the-right .wp-block-media-text__media { order: 2; } .prose-wide { font-size: 19px; } .prose-wide h2 { font-size: 30px; } }

/* Pattern classes (from patterns/*.php) */
.pat-hero { background: var(--c-surface); padding: 44px var(--gutter) 38px; margin: 24px calc(-1 * var(--gutter)) 40px; }
.pat-hero .crumbs { margin-top: 0; }
.pat-hero h1 { font-size: clamp(30px, 7vw, 46px); letter-spacing: -0.03em; line-height: 1.1; }
.pat-hero p { color: var(--c-meta); font-size: 17px; margin: 14px 0 0; max-width: 60ch; }
.pat-feature { display: grid; grid-template-columns: 1fr; gap: 24px; margin: 0 0 32px; }
.pat-feature > * { border-top: 3px solid var(--c-red); padding-top: 14px; }
.pat-feature h3 { font-size: 18px; margin-bottom: 8px; }
.pat-feature p { color: var(--c-meta); font-size: 15px; margin: 0; }
.pat-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 0 0 32px; }
.pat-stats > * { border-top: 3px solid var(--c-red); padding-top: 12px; }
.pat-stats strong, .pat-stats .stat__n { display: block; font: 900 clamp(32px, 6vw, 44px)/1 var(--f-head); letter-spacing: -0.03em; }
.pat-stats p { color: var(--c-meta); font-size: 13px; margin: 6px 0 0; }
.pat-callout { border-left: 3px solid var(--c-red); background: var(--c-surface); padding: 16px 20px; margin: 0 0 24px; }
.pat-callout.is-quiet { border-left: 0; }
.pat-callout h3 { font-size: 16px; margin-bottom: 4px; }
.pat-callout p { color: var(--c-meta); font-size: 15px; margin: 0; }
.pat-cta { display: flex; flex-direction: column; gap: 16px; background: var(--c-red); color: #fff; padding: 24px; margin: 0 0 32px; }
.pat-cta h2 { color: #fff; font-size: 24px; margin: 0; }
.pat-cta p { margin: 4px 0 0; opacity: .9; }
.pat-people { display: grid; grid-template-columns: 1fr; gap: 20px; margin: 0 0 32px; }
.pat-toc-layout { display: grid; grid-template-columns: 1fr; gap: 32px; }
.pat-download { display: inline-flex; align-items: center; gap: 12px; }
.pat-download small { opacity: .7; font-weight: 500; letter-spacing: 0; text-transform: none; }
.pat-contact-cards { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 0 0 24px; }
.pat-contact-cards > * { border: 1px solid var(--c-border); padding: 14px 16px; }
.pat-contact-cards h3 { font-size: 15px; margin-bottom: 2px; }
.pat-contact-cards p { margin: 0; font-size: 14px; }
.pat-contact-cards a { color: var(--c-red); text-decoration: none; }
.pat-adformats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 0 0 32px; }
.pat-adformats > * { border: 1px solid var(--c-border); padding: 16px; }
.pat-adformats .adf__box { background: var(--c-surface); border: 1px dashed var(--c-border); aspect-ratio: 16/9; margin-bottom: 12px; display: grid; place-items: center; font-size: 10px; letter-spacing: var(--track); text-transform: uppercase; color: var(--c-meta); }
.pat-adformats h3 { font-size: 15px; margin-bottom: 4px; }
.pat-adformats p { font-size: 13px; color: var(--c-meta); margin: 0; }
.pat-phone { border: 8px solid var(--c-ink); border-radius: 28px; padding: 16px; max-width: 320px; margin: 0 auto 32px; background: #fff; }
.pat-phone .pat-phone__hd { font: 900 18px/1 var(--f-head); margin-bottom: 12px; }
.pat-phone .pat-phone__hd b { color: var(--c-red); }
.pat-phone .pat-phone__row { display: grid; grid-template-columns: 56px 1fr; gap: 10px; padding: 8px 0; border-top: 1px solid var(--c-border); font-size: 12px; font-weight: 700; line-height: 1.3; }
.pat-phone .pat-phone__row span { background: var(--c-surface); aspect-ratio: 16/9; }
@media (min-width: 900px) {
	.pat-hero { padding: 56px 40px 48px; margin: 32px 0 48px; }
	.pat-feature { grid-template-columns: repeat(3, 1fr); gap: 32px; }
	.pat-feature.is-4 { grid-template-columns: repeat(4, 1fr); }
	.pat-stats { grid-template-columns: repeat(4, 1fr); }
	.pat-cta { flex-direction: row; align-items: center; justify-content: space-between; padding: 28px 36px; }
	.pat-people { grid-template-columns: repeat(3, 1fr); }
	.pat-toc-layout { grid-template-columns: 240px minmax(0, 720px); gap: 48px; align-items: start; }
	.pat-contact-cards { grid-template-columns: repeat(2, 1fr); }
	.pat-adformats { grid-template-columns: repeat(3, 1fr); }
}

/* Forms (contact / enquiry via a forms plugin or the pattern's plain form) */
.form { display: grid; gap: 12px; }
.form .row { display: grid; gap: 12px; }
.form input, .form textarea, .form select { width: 100%; padding: 12px 14px; border: 1px solid var(--c-border); border-radius: var(--radius); background: #fff; }
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--c-ink); outline: none; }
.form textarea { min-height: 140px; resize: vertical; }
@media (min-width: 640px) { .form .row { grid-template-columns: 1fr 1fr; } }
/* Labelled fields for the built-in enquiry form */
.form .field { display: grid; gap: 6px; }
.form .field__label { font: 700 11px/1.2 var(--f-body); letter-spacing: var(--track); text-transform: uppercase; color: var(--c-meta); }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 4px; }
.form__note { margin: 0; font-size: 13px; color: var(--c-meta); flex: 1 1 220px; }
.form__note a { color: var(--c-red); text-decoration: underline; text-underline-offset: 2px; }
.form__status { margin: 4px 0 0; padding: 12px 14px; border-radius: var(--radius); font-size: 14px; border-left: 3px solid var(--c-border); background: var(--c-surface); }
.form__status.is-ok { border-left-color: #1a7f37; background: #e9f6ec; color: #0f5323; }
.form__status.is-err { border-left-color: var(--c-red); background: #fdeaea; color: var(--c-red-dark); }

/* Contact page — two-column layout, icon method cards, address block */
.pat-contact { display: flex; flex-direction: column; gap: 32px; margin: 8px 0 40px; }
.pat-contact .wp-block-column { flex-basis: auto; }
.pat-contact__main > h2, .pat-contact__aside > h2 { font-size: 22px; margin: 0 0 16px; letter-spacing: -0.02em; }
.pat-contact__main .form { border: 1px solid var(--c-border); border-top: 3px solid var(--c-red); padding: 24px; }
.contact-methods { display: grid; grid-template-columns: 1fr; gap: 12px; }
.contact-card { display: flex; align-items: flex-start; gap: 14px; padding: 16px; border: 1px solid var(--c-border); background: #fff; color: var(--c-ink); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.contact-card:hover { border-color: var(--c-ink); box-shadow: 0 6px 20px rgba(0,0,0,.06); color: var(--c-ink); }
.contact-card__icon { flex: 0 0 44px; width: 44px; height: 44px; display: grid; place-items: center; background: var(--c-surface); color: var(--c-red); border-radius: var(--radius); }
.contact-card:hover .contact-card__icon { background: var(--c-red); color: #fff; }
.contact-card__body { display: grid; gap: 2px; min-width: 0; }
.contact-card__label { font-weight: 700; font-size: 15px; }
.contact-card__desc { font-size: 13px; color: var(--c-meta); line-height: 1.4; }
.contact-card__mail { font-size: 13px; color: var(--c-red); font-weight: 600; word-break: break-word; }
.contact-address { margin-top: 16px; border-left: 3px solid var(--c-red); background: var(--c-surface); padding: 16px 20px; }
.contact-address__label { display: block; font: 700 11px/1.2 var(--f-body); letter-spacing: var(--track); text-transform: uppercase; color: var(--c-meta); margin-bottom: 6px; }
.contact-address p { margin: 0; font-size: 15px; line-height: 1.6; }
@media (min-width: 900px) {
	.pat-contact { flex-direction: row; align-items: flex-start; gap: 40px; }
	.pat-contact__main { flex: 1 1 58%; }
	.pat-contact__aside { flex: 1 1 42%; position: sticky; top: calc(var(--nav-h) + 16px); }
}

/* FAQ accordion (core/details) inside page prose */
.prose-wide .wp-block-details { border: 1px solid var(--c-border); border-left: 3px solid var(--c-red); padding: 0 18px; margin: 0 0 12px; background: #fff; }
.prose-wide .wp-block-details summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 700; font-size: 17px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.prose-wide .wp-block-details summary::-webkit-details-marker { display: none; }
.prose-wide .wp-block-details summary::after { content: "+"; font-weight: 400; font-size: 24px; line-height: 1; color: var(--c-red); flex: 0 0 auto; }
.prose-wide .wp-block-details[open] summary::after { content: "–"; }
.prose-wide .wp-block-details[open] summary { border-bottom: 1px solid var(--c-border); }
.prose-wide .wp-block-details > *:not(summary) { margin: 14px 0; }
.prose-wide .wp-block-details p { color: var(--c-meta); }

/* Legal / policy pages — "Last updated" reads as a quiet chip */
.prose-wide p > em:only-child { display: inline-block; margin-top: 8px; font-style: normal; font-size: 12px; letter-spacing: var(--track); text-transform: uppercase; color: var(--c-meta); background: var(--c-surface); border: 1px solid var(--c-border); padding: 6px 10px; border-radius: 999px; }
/* Fluent Forms / WPForms light reset */
.frm-fluent-form input, .frm-fluent-form textarea, .frm-fluent-form select, .wpforms-field input, .wpforms-field textarea, .wpforms-field select { border: 1px solid var(--c-border) !important; border-radius: var(--radius) !important; padding: 12px 14px !important; }
.ff-btn-submit, .wpforms-submit { background: var(--c-red) !important; color: #fff !important; border: 0 !important; font: 700 11px/1.2 var(--f-body) !important; letter-spacing: var(--track) !important; text-transform: uppercase !important; padding: 14px 22px !important; border-radius: var(--radius) !important; }

/* People / authors grid */
.people { display: grid; grid-template-columns: 1fr; gap: 20px; }
.person { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; }
.person__name { font-size: 16px; }
.person__role { display: block; font: 700 11px/1 var(--f-body); letter-spacing: var(--track); text-transform: uppercase; color: var(--c-red); margin: 4px 0 6px; }
.person__bio { font-size: 14px; color: var(--c-meta); margin: 0 0 6px; }
.person__more { font: 700 11px/1 var(--f-body); letter-spacing: var(--track); text-transform: uppercase; }
@media (min-width: 640px) { .people { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .people { grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 28px; } }

/* Topics A–Z */
.az__bar { position: sticky; top: var(--nav-h); z-index: 5; display: flex; flex-wrap: wrap; gap: 4px; background: #fff; padding: 12px 0; border-bottom: 1px solid var(--c-border); margin-bottom: 24px; }
.az__bar a, .az__bar span { display: inline-grid; place-items: center; width: 30px; height: 30px; font-size: 12px; }
.az__bar a { background: var(--c-ink); color: #fff; }
.az__bar a:hover { background: var(--c-red); }
.az__bar span { color: var(--c-border); }
.az__group { margin-bottom: 28px; scroll-margin-top: calc(var(--nav-h) + 60px); }
.az__letter { font-size: 28px; color: var(--c-red); border-bottom: 2px solid var(--c-ink); padding-bottom: 6px; margin-bottom: 12px; }
.az__list { columns: 2; column-gap: 24px; }
.az__list li { break-inside: avoid; padding: 4px 0; font-size: 15px; }
.az__count { color: var(--c-meta); font-size: 12px; margin-left: 4px; }
@media (min-width: 900px) { .az__list { columns: 4; } }

/* TOC */
.toc { border-top: 2px solid var(--c-ink); padding-top: 12px; }
.toc__label { display: block; color: var(--c-meta); margin-bottom: 8px; }
.toc__list, .prose-wide .toc__list { list-style: none; padding: 0; margin: 0; }
.toc__list li { border-left: 2px solid var(--c-border); }
.toc__list a { display: block; padding: 6px 0 6px 12px; font-size: 14px; color: var(--c-meta); margin-left: -2px; border-left: 2px solid transparent; }
.toc__list li.is-active a { color: var(--c-ink); font-weight: 600; border-left-color: var(--c-red); }
@media (min-width: 900px) { .toc { position: sticky; top: calc(var(--nav-h) + 24px); } }

/* Popup */
.popup { position: fixed; inset: 0; z-index: 90; background: rgba(13,13,13,.55); display: grid; place-items: end center; padding: 16px; }
.popup[hidden] { display: none; }
.popup__box { position: relative; background: #fff; max-width: 480px; width: 100%; padding: 28px 24px; border-radius: var(--radius); }
.popup__close { position: absolute; top: 8px; right: 12px; font-size: 24px; color: var(--c-meta); }
.popup__h { font-size: 24px; margin: 6px 0 8px; }
.popup .nl__form { margin-top: 12px; }
.popup .nl__input { border: 1px solid var(--c-border); }
@media (min-width: 640px) { .popup { place-items: center; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-ink); color: #fff; margin-top: 56px; padding: 40px 0 28px; }
.site-footer__top { margin-bottom: 28px; }
.site-footer__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 20px; margin-bottom: 28px; }
.site-footer__h { color: rgba(255,255,255,.55); margin-bottom: 12px; }
.flist li { margin-bottom: 8px; font-size: 14px; }
.flist a { color: #fff; }
.flist a:hover { color: var(--c-red); }
.social { display: flex; gap: 8px; margin: 8px 0 24px; }
.social__item { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.25); font: 700 11px/1 var(--f-body); }
.social--dark .social__item { color: #fff; }
.social__item:hover { border-color: var(--c-red); color: var(--c-red); }
.mmenu .social__item { color: var(--c-ink); border-color: var(--c-border); }
.site-footer__legal { border-top: 1px solid rgba(255,255,255,.15); padding-top: 20px; font-size: 12px; color: rgba(255,255,255,.55); }
@media (min-width: 900px) { .site-footer__cols { grid-template-columns: repeat(4, 1fr); } }

/* Editor-only helpers */
.ungn-empty { color: var(--c-meta); border: 1px dashed var(--c-border); padding: 16px; text-align: center; font-size: 14px; }
.ungn-block-loading { color: var(--c-meta); padding: 16px; font-size: 13px; }

/* Print */
@media print { .site-header, .site-footer, .ad, .anchor-ad, .share, .nl, .side, .mod--related, .mod--more, .loadmore { display: none !important; } }

/* ---------- Page hero alignment ----------
   WP's constrained group layout centres any child narrower than the column, so
   the 60ch intro drifted to the middle beneath a left-aligned title. Pin every
   child to one left edge. */
.pat-hero > * { max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }
.pat-hero p { max-width: 60ch !important; }

/* ---------- People cards ----------
   One composed object per person — red rule on top, name in ink, red kept for
   hover only — instead of a stack of red underlined links. */
.person { grid-template-columns: 56px 1fr; gap: 16px; padding-top: 16px; border-top: 3px solid var(--c-red); }
.person .avatar { width: 56px; height: 56px; }
.person__name { font-size: 17px; line-height: 1.2; margin: 0; }
.people .person__name a { color: var(--c-ink); text-decoration: none; }
.people .person__name a:hover { color: var(--c-red); }
.person__role { color: var(--c-meta); margin: 5px 0 8px; }
.people .person__more { color: var(--c-meta); text-decoration: none; }
.people .person__more:hover { color: var(--c-red); }

/* Tighter nav on narrow desktops so seven sections + search still fit centred. */
@media (min-width: 900px) and (max-width: 1140px) {
	.nav > .mi > a { padding: 18px 5px; font-size: 11px; }
	.navbar__logo { padding-right: 12px; }
}

/* ---------- Product box (affiliate) ---------- */
.pbox { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 28px 0; padding: 18px; border: 1px solid var(--c-border); border-top: 3px solid var(--c-red); border-radius: var(--radius); background: var(--c-white); }
.pbox--noimg { grid-template-columns: 1fr; }
.pbox__media { margin: 0; }
.pbox__img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: calc(var(--radius) - 2px); }
.pbox__badge { display: inline-block; font: 700 10px/1 var(--f-body); letter-spacing: var(--track); text-transform: uppercase; color: var(--c-red); margin: 0 0 8px; }
.pbox__title { font-family: var(--f-head); font-size: 20px; line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 6px; }
.pbox__verdict { font-size: 15px; color: var(--c-meta); margin: 0 0 14px; }
.pbox__btn { display: inline-flex; }
.pbox__note { display: block; margin-top: 12px; font-size: 11.5px; color: var(--c-meta); line-height: 1.4; }
.pbox--empty { padding: 18px; border: 1px dashed var(--c-border); color: var(--c-meta); font-size: 14px; border-radius: var(--radius); }
@media (min-width: 640px) { .pbox { grid-template-columns: 220px 1fr; align-items: start; } .pbox--noimg { grid-template-columns: 1fr; } }
