/*
 * Eve Afrique News — site styles.
 *
 * One typeface, Newsreader, for everything (its optical sizes make the same
 * family work for headlines, body text and small labels). Newsprint neutrals,
 * one accent from the logo (set by the plugin as CSS custom properties),
 * hairline rules between stories and heavy rules over section heads.
 */

/* ---------- Fonts ---------- */
@font-face {
	font-family: "Newsreader";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url("../fonts/newsreader-latin-opsz-normal.woff2") format("woff2");
	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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Newsreader";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url("../fonts/newsreader-latin-ext-opsz-normal.woff2") format("woff2");
	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: "Newsreader";
	font-style: italic;
	font-weight: 200 800;
	font-display: swap;
	src: url("../fonts/newsreader-latin-opsz-italic.woff2") format("woff2");
	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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Newsreader";
	font-style: italic;
	font-weight: 200 800;
	font-display: swap;
	src: url("../fonts/newsreader-latin-ext-opsz-italic.woff2") format("woff2");
	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;
}

/* ---------- Tokens (the plugin overrides the colours from the logo) ---------- */
:root {
	--paper: #fbf9f4;
	--paper-2: #f2eee5;
	--paper-3: #e9e3d8;
	--rule: #e0d9cd;
	--ink: #1b1714;
	--ink-2: #423b35;
	--muted: #675e56;
	--accent: #c4161c;
	--on-accent: #ffffff;
	--accent-text: #b0141a;
	--hot: #c4161c;
	--accent-soft: #f9eeec;
	--accent-line: #ecc4bf;
	--band: #1d1916;
	--band-2: #2a2521;
	--on-band: #f6f1e9;
	--on-band-muted: #c2b8ad;
	--accent-on-band: #ff8a7f;

	--font: "Newsreader", "Iowan Old Style", Georgia, "Times New Roman", serif;
	--wrap: 1240px;
	--gutter: clamp(16px, 3.2vw, 32px);
	--rail: 300px;
	--gap: clamp(24px, 3vw, 44px);
	--r: 4px;
	--bar-h: 52px;
	--shadow: 0 1px 2px rgb(27 23 20 / 6%), 0 8px 24px rgb(27 23 20 / 8%);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--bar-h) + 16px); }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.55;
	font-optical-sizing: auto;
	font-kerning: normal;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
a:hover { text-decoration-color: var(--accent); }
h1, h2, h3, h4 { margin: 0; font-weight: 650; line-height: 1.15; letter-spacing: -0.012em; text-wrap: balance; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
.site-main:focus { outline: none; }
::selection { background: var(--accent); color: var(--on-accent); }
.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.18em; }
time, .story__meta, .byline, .list-head__count, .rail-sections__n, .spot__label, .pitch__size { font-variant-numeric: lining-nums tabular-nums; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
	clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 1000; padding: 10px 16px;
	background: var(--ink); color: var(--paper); text-decoration: none; border-radius: var(--r); font-weight: 600;
}
.skip-link:focus { top: 12px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.container { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(780px + 2 * var(--gutter)); }
.container--form { max-width: calc(860px + 2 * var(--gutter)); }

.with-rail { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gap); align-items: start; }
@media (min-width: 1100px) {
	.with-rail { grid-template-columns: minmax(0, 1fr) var(--rail); }
}

/* ---------- Buttons and links ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
	min-height: 44px; padding: 0.55em 1.15em; border: 1px solid transparent; border-radius: var(--r);
	font-size: 0.98rem; font-weight: 650; line-height: 1.2; text-decoration: none; letter-spacing: 0.005em;
	transition: background-color 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}
.btn--accent { background: var(--accent); color: var(--on-accent); }
.btn--accent:hover { box-shadow: inset 0 0 0 100px rgb(0 0 0 / 9%); text-decoration: none; }
.btn--on-dark { background: transparent; color: var(--on-band); border-color: color-mix(in oklab, var(--on-band) 40%, transparent); }
.btn--on-dark:hover { border-color: var(--on-band); background: rgb(255 255 255 / 6%); }
.btn--line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--lg { min-height: 52px; padding-inline: 1.5em; font-size: 1.05rem; }
.link { color: var(--accent-text); font-weight: 600; text-decoration: none; }
.link:hover { text-decoration: underline; }
.link--arrow { display: inline-flex; align-items: center; gap: 0.35em; }
.link--arrow .icon { transition: transform 0.15s; }
.link--arrow:hover .icon { transform: translateX(3px); }
.icon-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.4em;
	min-width: 44px; min-height: 44px; padding: 0 0.6em; border: 0; border-radius: var(--r);
	background: transparent; color: inherit; font-weight: 600;
}
.icon-btn:hover { background: var(--paper-2); }
.icon-btn .icon { width: 1.35em; height: 1.35em; }
.live-dot {
	display: inline-block; width: 0.55em; height: 0.55em; border-radius: 50%; background: var(--hot);
	margin-right: 0.45em; vertical-align: 0.08em; box-shadow: 0 0 0 0 color-mix(in oklab, var(--hot) 60%, transparent);
	animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
	0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--hot) 55%, transparent); }
	70%, 100% { box-shadow: 0 0 0 0.5em transparent; }
}

/* ---------- Top bar: date, latest headlines, links ---------- */
.topbar { background: var(--band); color: var(--on-band); font-size: 0.86rem; }
.topbar__in { display: flex; align-items: center; gap: 18px; min-height: 40px; }
.topbar__date { margin: 0; white-space: nowrap; color: var(--on-band-muted); font-variant-numeric: lining-nums; }
.topbar__links { list-style: none; display: flex; gap: 18px; margin-left: auto; white-space: nowrap; }
.topbar__links a { text-decoration: none; display: inline-flex; align-items: center; gap: 0.4em; color: var(--on-band); }
.topbar__links a:hover { text-decoration: underline; text-decoration-color: var(--accent-on-band); }
.topbar__links .icon { color: var(--accent-on-band); }

.ticker { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 10px; }
.ticker__label {
	margin: 0; flex: none; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em;
	color: var(--accent-on-band); display: inline-flex; align-items: center;
}
.ticker__viewport {
	flex: 1 1 auto; min-width: 0; overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 40px), transparent);
	mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 40px), transparent);
}
.ticker__track { list-style: none; display: flex; width: max-content; }
.ticker__track li { white-space: nowrap; padding-right: 2.6em; position: relative; }
.ticker__track li::after { content: ""; position: absolute; right: 1.15em; top: 50%; width: 0.3em; height: 0.3em; border-radius: 50%; background: var(--on-band-muted); transform: translateY(-50%); }
.ticker__track a { text-decoration: none; }
.ticker__track a:hover { text-decoration: underline; }
.ticker__toggle { flex: none; display: none; width: 30px; height: 30px; border: 0; border-radius: 50%; background: transparent; color: var(--on-band-muted); align-items: center; justify-content: center; }
.ticker__toggle:hover { color: var(--on-band); background: var(--band-2); }
.ticker.is-running .ticker__toggle, .ticker.is-paused .ticker__toggle { display: inline-flex; }
/* One headline at a time, each dissolving into the next (set from the first
   paint, so the page never shows them all at once; the fade starts once the
   script is ready). Without scripts the headlines sit in a row to scroll. */
.js .ticker__viewport { position: relative; height: 1.6em; overflow: hidden; -webkit-mask-image: none; mask-image: none; }
.js .ticker__track { display: block; width: auto; height: 100%; }
.js .ticker__track li {
	position: absolute; inset: 0; padding-right: 0; line-height: 1.6em; overflow: hidden; text-overflow: ellipsis;
	opacity: 0; pointer-events: none;
}
.js .ticker__track li.is-now { opacity: 1; pointer-events: auto; }
.js .ticker__track li::after { display: none; }
.ticker.is-ready .ticker__track li { transition: opacity 0.7s ease-in-out; }
.ticker.is-ready .ticker__track li.is-now { transition: opacity 0.9s ease-in-out 0.3s; }
.ticker__toggle .icon { width: 16px; height: 16px; }
.ticker__play, .ticker.is-paused .ticker__pause { display: none; }
.ticker.is-paused .ticker__play { display: block; }
html:not(.js) .ticker__viewport { overflow-x: auto; scrollbar-width: none; }

/* ---------- Masthead ---------- */
.masthead { background: var(--paper); }
.masthead__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: clamp(14px, 2.2vw, 26px); }
.brand { margin: 0; font-size: inherit; letter-spacing: 0; line-height: 1; }
.brand__link { display: inline-flex; align-items: center; gap: clamp(12px, 1.4vw, 18px); text-decoration: none; color: var(--ink); }
.brand__logo { width: auto; height: clamp(54px, 6.2vw, 84px); object-fit: contain; }
.brand--round .brand__logo { aspect-ratio: 1; border-radius: 50%; box-shadow: 0 0 0 1px var(--rule); }
.brand--wordmark .brand__logo { height: clamp(50px, 6vw, 88px); }
.brand__tagline--side { align-self: center; max-width: 21ch; padding-left: clamp(12px, 1.4vw, 18px); border-left: 1px solid var(--rule); line-height: 1.3; }
.secbar__brand .brand--wordmark .brand__logo { height: 30px; }
.drawer .brand--wordmark .brand__logo { height: 38px; }
.site-footer .brand--wordmark .brand__logo { height: 60px; }
.site-footer .brand__tagline--side { border-left-color: rgb(255 255 255 / 18%); }
.stand-in__word-img { width: 46%; max-width: 160px; height: auto; opacity: 0.55; filter: saturate(0.6); }
.brand__text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.brand__name {
	font-size: clamp(1.75rem, 1.1rem + 2.4vw, 3.05rem); font-weight: 700; letter-spacing: -0.025em;
	line-height: 0.95; font-variation-settings: "opsz" 72;
}
.brand__tagline { font-size: clamp(0.88rem, 0.8rem + 0.3vw, 1.02rem); font-style: italic; color: var(--muted); font-weight: 450; }
.masthead__spot { margin: 0; flex: 0 1 728px; min-width: 0; }

/* ---------- Section bar ---------- */
.secbar-sentinel { height: 1px; margin-bottom: -1px; }
.secbar {
	position: sticky; top: 0; z-index: 50; background: var(--paper);
	border-top: 3px solid var(--ink); border-bottom: 1px solid var(--rule);
	transition: box-shadow 0.2s;
}
.secbar.is-stuck { box-shadow: 0 6px 18px rgb(27 23 20 / 10%); }
.secbar__in { display: flex; align-items: center; gap: 8px; min-height: var(--bar-h); }
.secbar__brand { display: none; flex: none; }
.secbar__brand .brand__logo { height: 34px; }
.secbar__brand .brand__name { font-size: 1.15rem; letter-spacing: -0.01em; }
.secbar.is-stuck .secbar__brand { display: block; animation: fade-in 0.2s ease; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.secbar__nav { flex: 1 1 auto; min-width: 0; position: relative; }
.secbar__list {
	list-style: none; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain;
	-webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent);
	mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent);
	padding-right: 28px;
}
.secbar__list::-webkit-scrollbar { display: none; }
.secbar__link {
	display: flex; align-items: center; gap: 0.4em; height: var(--bar-h); padding: 0 0.72em; white-space: nowrap;
	font-size: 0.97rem; font-weight: 600; text-decoration: none; color: var(--ink-2); position: relative;
}
.secbar__link::after { content: ""; position: absolute; left: 0.72em; right: 0.72em; bottom: -1px; height: 3px; background: transparent; transition: background-color 0.15s; }
.secbar__link:hover { color: var(--ink); }
.secbar__link:hover::after { background: var(--rule); }
.secbar__link[aria-current]::after { background: var(--accent); }
.secbar__link[aria-current] { color: var(--ink); }
.secbar__link--home .icon { width: 1.05em; height: 1.05em; color: var(--accent-text); }
.secbar__tools { display: flex; align-items: center; gap: 2px; flex: none; }
.icon-btn--menu .icon-btn__text { font-size: 0.95rem; }

.search-panel { border-top: 1px solid var(--rule); background: var(--paper); padding-block: 14px; }
.search-form { display: flex; align-items: center; gap: 8px; position: relative; max-width: 760px; }
.search-form__icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); display: flex; pointer-events: none; }
.search-form__input {
	flex: 1 1 auto; min-width: 0; height: 48px; padding: 0 14px 0 44px; border: 1px solid var(--ink); border-radius: var(--r);
	background: #fff; font-size: 1.05rem;
}
.search-form__input::placeholder { color: var(--muted); opacity: 1; }
.search-form__btn { height: 48px; flex: none; }

/* Drawer (phones and narrow screens) */
.drawer {
	margin: 0 0 0 auto; height: 100dvh; max-height: 100dvh; width: min(420px, 100%); max-width: 100%;
	border: 0; padding: 0 22px 32px; background: var(--paper); color: var(--ink); overflow-y: auto;
}
.drawer::backdrop { background: rgb(15 12 10 / 55%); backdrop-filter: blur(2px); }
.drawer[open] { animation: drawer-in 0.22s ease; }
@keyframes drawer-in { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 3px solid var(--ink); margin-bottom: 16px; position: sticky; top: 0; background: var(--paper); z-index: 1; }
.drawer .brand__logo { height: 40px; }
.drawer .brand__name { font-size: 1.3rem; }
.drawer .search-form__btn { padding-inline: 0.9em; }
.drawer__title { margin: 24px 0 8px; font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent-text); }
.drawer__sections { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.drawer__sections a, .drawer__pages a { display: block; padding: 10px 0; border-bottom: 1px solid var(--rule); text-decoration: none; font-weight: 600; font-size: 1.05rem; }
.drawer__sections a[aria-current] { color: var(--accent-text); }
.drawer__pages { list-style: none; }
.drawer__pages a { font-weight: 500; }

/* ---------- Story cards ---------- */
.story { position: relative; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.story__media { position: relative; overflow: hidden; border-radius: var(--r); background: var(--paper-3); aspect-ratio: 3 / 2; }
.story__media .story__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s cubic-bezier(.2,.7,.2,1); }
.story:hover .story__media .story__img { transform: scale(1.035); }
.story__body { min-width: 0; display: flex; flex-direction: column; }
.story__kicker { margin: 0 0 6px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.11em; line-height: 1.3; position: relative; z-index: 2; }
.story__kicker a { color: var(--accent-text); text-decoration: none; }
.story__kicker a:hover { text-decoration: underline; }
.story__title { font-size: 1.22rem; font-weight: 640; line-height: 1.2; letter-spacing: -0.008em; overflow-wrap: anywhere; }
.story__link { text-decoration: none; }
.story__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.story:hover .story__link { text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: color-mix(in oklab, var(--ink) 40%, transparent); }
.story__link:focus-visible { outline: none; }
.story:has(.story__link:focus-visible) { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: var(--r); }
.story__excerpt { margin: 8px 0 0; color: var(--ink-2); font-size: 1rem; line-height: 1.5; }
.story__meta { margin: 8px 0 0; font-size: 0.8rem; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 0.5em; }
.story__dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }

.stand-in {
	display: grid; place-items: center; width: 100%; height: 100%;
	background: radial-gradient(circle at 30% 20%, color-mix(in oklab, var(--accent-soft) 70%, #fff), var(--accent-soft));
}
.stand-in__mark { width: clamp(36px, 22%, 72px); height: auto; aspect-ratio: 1; object-fit: contain; opacity: 0.85; }
.stand-in__mark.is-round { border-radius: 50%; }
.stand-in__word { font-style: italic; font-weight: 600; font-size: 1.2rem; color: var(--accent-text); opacity: 0.7; }

/* Lead */
.story--lead { gap: 16px; }
.story--lead .story__media { aspect-ratio: 16 / 10; }
.story--lead .story__title { font-size: clamp(1.7rem, 1.05rem + 2.1vw, 2.65rem); line-height: 1.08; font-weight: 680; letter-spacing: -0.02em; font-variation-settings: "opsz" 60; }
.story--lead .story__excerpt { font-size: clamp(1.02rem, 0.95rem + 0.3vw, 1.16rem); margin-top: 12px; }
.story--lead .story__kicker { font-size: 0.78rem; }

/* Feature */
.story--feature .story__title { font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.7rem); line-height: 1.14; letter-spacing: -0.015em; }

/* Card */
.story--card .story__title { font-size: 1.1rem; }
.story--top .story__title { font-size: 1.2rem; }

/* Row: small picture beside the headline */
.story--row { flex-direction: row-reverse; align-items: flex-start; gap: 14px; }
.story--row .story__media { flex: none; width: 112px; aspect-ratio: 4 / 3; }
.story--row .story__body { flex: 1 1 auto; }
.story--row .story__title { font-size: 1.04rem; line-height: 1.22; }
.story--row .story__meta { margin-top: 6px; }

/* Text only */
.story--text .story__title { font-size: 1.04rem; line-height: 1.24; }
.story--text .story__meta { margin-top: 5px; }

/* Opinion */
.story--opinion { padding: 22px 22px 20px; background: var(--paper); border-radius: var(--r); border-top: 3px solid var(--accent); }
.story__quote { width: 30px; height: 30px; color: var(--accent); margin-bottom: 10px; fill: currentColor; stroke: none; }
.story--opinion .story__title { font-style: italic; font-weight: 560; font-size: 1.32rem; line-height: 1.2; }
.story--opinion .story__excerpt { font-size: 0.98rem; }

/* ---------- Home: top stories ---------- */
.top { padding-block: clamp(18px, 2.4vw, 30px) clamp(20px, 2.6vw, 34px); }
.top__grid { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1fr); }
.top__next { display: grid; gap: 22px; align-content: start; }
.top__next .story--text { padding-top: 16px; border-top: 1px solid var(--rule); }
.top__latest { align-self: start; }
.top__latest .link { margin-top: 14px; font-size: 0.95rem; }
@media (min-width: 760px) {
	.top__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.top__lead { grid-column: 1 / -1; }
	.top__lead .story--lead { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; align-items: center; }
}
@media (min-width: 1100px) {
	.top__grid { grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr) var(--rail); gap: 0; }
	.top__grid > * + * { padding-left: 28px; margin-left: 28px; border-left: 1px solid var(--rule); }
	.top__lead { grid-column: auto; }
	.top__lead .story--lead { display: flex; }
	.top__next .story--top .story__media { aspect-ratio: 16 / 9; }
}

/* Latest list */
.rail-box__title {
	display: flex; align-items: center; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.13em;
	padding-bottom: 10px; margin-bottom: 4px; border-bottom: 3px solid var(--ink);
}
.latest-list { list-style: none; counter-reset: latest; }
.latest-list li { padding: 13px 0; border-bottom: 1px solid var(--rule); counter-increment: latest; display: grid; grid-template-columns: 1.6em 1fr; gap: 8px; }
.latest-list li::before { content: counter(latest); font-size: 1.35rem; font-weight: 700; line-height: 1; color: var(--accent-text); font-variant-numeric: lining-nums; padding-top: 2px; }
.latest-list li:last-child { border-bottom: 0; }
.latest-list .story__meta { order: -1; margin: 0 0 4px; font-size: 0.76rem; }
.latest-list .story__body { display: flex; flex-direction: column; }

/* ---------- Section heads ---------- */
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-top: 3px solid var(--ink); padding-top: 10px; margin-bottom: 20px; }
.sec-head__title { font-size: clamp(1.45rem, 1.2rem + 0.8vw, 1.85rem); font-weight: 720; letter-spacing: -0.02em; font-variation-settings: "opsz" 48; }
.sec-head__title a { text-decoration: none; }
.sec-head__title a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.sec-head__more { flex: none; display: inline-flex; align-items: center; gap: 0.35em; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent-text); text-decoration: none; }
.sec-head__more:hover { text-decoration: underline; }
.sec-head__more .icon { transition: transform 0.15s; }
.sec-head__more:hover .icon { transform: translateX(3px); }

/* ---------- Home: sections ---------- */
.with-rail__main { min-width: 0; }
.home-sec { margin-bottom: clamp(34px, 4vw, 52px); }
.home-sec__split { display: grid; gap: 24px; }
.home-sec__list { display: grid; gap: 0; align-content: start; }
.home-sec__list .story--row, .home-sec__band-list .story--row { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.home-sec__list .story--row:first-child { padding-top: 0; }
.home-sec__list .story--row:last-child { border-bottom: 0; }
.home-sec__grid { display: grid; gap: 22px 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-sec__opinion { display: grid; gap: 16px; padding: 16px; background: var(--paper-2); border-radius: var(--r); }
.home-sec--band { background: var(--band); color: var(--on-band); border-radius: var(--r); padding: clamp(18px, 2.4vw, 28px); }
.home-sec--band .sec-head { border-top-color: var(--accent); }
.home-sec--band .sec-head__more { color: var(--accent-on-band); }
.home-sec__band { display: grid; gap: 22px; }
.home-sec--band .story__excerpt { color: var(--on-band-muted); }
.home-sec--band .story__meta { color: var(--on-band-muted); }
.home-sec--band .story__media { background: var(--band-2); }
.home-sec--band .story--row { border-bottom-color: rgb(255 255 255 / 12%); }
.home-sec--band .story--row:last-child { border-bottom: 0; }
.home-sec--band .stand-in { background: var(--band-2); }
.home-sec--band .stand-in__word { color: var(--on-band-muted); }
.home-sec--band .story:hover .story__link { text-decoration-color: color-mix(in oklab, var(--on-band) 50%, transparent); }
@media (min-width: 760px) {
	.home-sec__split { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px; }
	.home-sec__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.home-sec__opinion { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 20px; }
	.home-sec__band { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; }
}
@media (min-width: 1100px) and (max-width: 1259px) {
	.home-sec__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Right-hand column ---------- */
.rail { display: grid; gap: 30px; min-width: 0; }
.rail-box { min-width: 0; }
.rail-sections { list-style: none; }
.rail-sections a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--rule); text-decoration: none; font-weight: 600; }
.rail-sections a:hover span:first-child { text-decoration: underline; text-decoration-color: var(--accent); }
.rail-sections__n { font-size: 0.8rem; color: var(--muted); font-weight: 500; }
.rail .latest-list li { grid-template-columns: 1.4em 1fr; }
.rail .latest-list li::before { font-size: 1.15rem; }
@media (min-width: 1100px) {
	.rail { position: relative; }
	.rail__sticky { position: sticky; top: calc(var(--bar-h) + 24px); }
}
@media (min-width: 760px) and (max-width: 1099px) {
	.rail { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; padding-top: 10px; border-top: 3px solid var(--ink); }
	.rail > .spot { grid-column: auto; }
}

/* ---------- Ad spaces ---------- */
.spot { margin: 0 auto; width: 100%; text-align: center; }
.spot__label { margin: 0 0 6px; font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); line-height: 1.2; }
.spot__body { margin: 0 auto; display: flex; justify-content: center; align-items: center; }
.spot__body > * { max-width: 100%; }
.spot--leaderboard .spot__body { max-width: 728px; }
.spot--billboard .spot__body { max-width: 970px; }
.spot--box .spot__body, .spot--tall .spot__body { max-width: 300px; }
.spot--inline .spot__body { max-width: 336px; }
.spot[data-spot="footer"] .spot__body { max-width: 970px; }
.spot--code .spot__body { min-height: 90px; display: block; }
.spot--code.spot--box .spot__body, .spot--code.spot--inline .spot__body { min-height: 250px; }
.spot--code.spot--tall .spot__body { min-height: 600px; }
.spot--code.spot--billboard .spot__body { min-height: 250px; }
.spot--code .adsbygoogle { width: 100%; }
/* Ad code that a reader's ad blocker stops, or that Google leaves empty: the
   "Advertise here" panel shows in its place. */
.spot__alt { display: none; }
.spot--code.is-alt .spot__body,
.spot--code:has(ins.adsbygoogle[data-ad-status="unfilled"]) .spot__body { display: none; }
.spot--code.is-alt .spot__alt,
.spot--code:has(ins.adsbygoogle[data-ad-status="unfilled"]) .spot__alt { display: block; }
.spot-pic { display: block; width: 100%; }
.spot-pic[hidden] { display: none; }
/* Full width of the space with its height kept free before the picture loads. */
.spot-pic__img { display: block; margin: 0 auto; border-radius: 2px; width: 100%; height: auto; max-height: 640px; object-fit: contain; }
.spot--leaderboard .spot-pic__img, .spot--billboard .spot-pic__img { width: 100%; max-height: 260px; object-fit: contain; }
.spot--wide { margin-block: 4px clamp(30px, 3.6vw, 46px); padding: 16px 0 18px; border-block: 1px solid var(--rule); }
.spot--between { margin: 0 0 clamp(34px, 4vw, 52px); }
.spot--in-story { margin: 1.8em auto 1.9em; padding: 14px 0 16px; border-block: 1px solid var(--rule); }
.spot--after-story { margin: 30px auto 36px; }
.spot--in-list { padding: 18px 0; border-bottom: 1px solid var(--rule); }

/* "Advertise here" */
.pitch {
	position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
	padding: 16px 18px; color: var(--ink); border-radius: var(--r);
	border: 1px dashed var(--accent-line);
	background:
		repeating-linear-gradient(-45deg, transparent 0 11px, color-mix(in oklab, var(--accent-line) 34%, transparent) 11px 12px),
		var(--accent-soft);
}
.pitch__size { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; color: var(--muted); background: var(--paper); border: 1px solid var(--accent-line); border-radius: 99px; padding: 2px 9px; }
.pitch__title { font-size: 1.45rem; font-weight: 700; font-style: italic; letter-spacing: -0.015em; line-height: 1.1; margin-top: 2px; color: var(--ink); text-decoration: none; }
.pitch__title:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.pitch__note { font-size: 0.9rem; color: var(--ink-2); line-height: 1.35; }
.pitch__contact { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px; margin-top: 4px; }
.pitch__call { display: inline-flex; align-items: center; gap: 0.4em; font-size: 1.08rem; font-weight: 700; color: var(--ink); text-decoration: none; font-variant-numeric: lining-nums; white-space: nowrap; }
.pitch__call .icon { color: var(--accent-text); width: 1.05em; height: 1.05em; }
.pitch__call:hover { text-decoration: underline; }
.pitch__wa { display: inline-flex; align-items: center; gap: 0.35em; padding: 3px 10px 3px 8px; border-radius: 99px; background: var(--paper); border: 1px solid var(--accent-line); font-size: 0.82rem; font-weight: 700; color: var(--ink); text-decoration: none; }
.pitch__wa .icon { width: 1.05em; height: 1.05em; color: #128c4b; }
.pitch__wa:hover { border-color: var(--ink); }
.pitch__cta { display: inline-flex; align-items: center; gap: 0.35em; margin-top: 4px; font-size: 0.82rem; font-weight: 700; color: var(--accent-text); text-decoration: none; }
.pitch__cta:hover { text-decoration: underline; }
.spot--leaderboard .pitch, .spot--billboard .pitch { min-height: 100px; }
.spot--box .pitch, .spot--inline .pitch { aspect-ratio: 6 / 5; max-width: 300px; }
.spot--tall .pitch { aspect-ratio: 1 / 2; max-width: 300px; gap: 10px; }
.spot--tall .pitch__title { font-size: 2rem; }
.spot--tall .pitch__contact { flex-direction: column; }
.spot--billboard .pitch { min-height: 250px; }
.spot--billboard .pitch__title { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); }
.spot--billboard .pitch__call { font-size: 1.25rem; }
@media (min-width: 760px) {
	.spot--leaderboard .pitch { min-height: 90px; flex-direction: row; flex-wrap: wrap; gap: 6px 18px; padding: 10px 22px; }
	.spot--leaderboard .pitch__title { margin-top: 0; font-size: 1.35rem; order: -1; }
	.spot--leaderboard .pitch__note { display: none; }
	.spot--leaderboard .pitch__contact, .spot--leaderboard .pitch__cta { margin-top: 0; }
	.spot--leaderboard .pitch__size { order: 3; }
	.spot--inline .pitch { max-width: 336px; aspect-ratio: 6 / 5; }
}
@media (min-width: 1000px) {
	.spot--leaderboard:not(.masthead__spot) .pitch__note { display: block; }
}
/* On phones the wide spaces take the phone size. */
@media (max-width: 759px) {
	.spot[data-spot="home-middle"] .pitch, .spot[data-spot="home-lower"] .pitch, .spot[data-spot="article-end"] .pitch, .spot[data-spot="section-feed"] .pitch, .spot--billboard .pitch {
		aspect-ratio: 6 / 5; max-width: 300px; min-height: 0;
	}
	.spot[data-spot="header"] .pitch, .spot[data-spot="footer"] .pitch { max-width: 320px; min-height: 100px; }
	.spot[data-spot="header"] .pitch__note, .spot[data-spot="footer"] .pitch__note { display: none; }
}
.masthead__spot .spot__label { text-align: right; }
.masthead__spot .spot__body { margin-right: 0; }
@media (max-width: 999px) {
	.masthead__in { flex-wrap: wrap; justify-content: center; }
	.masthead__in .brand { flex: 1 1 100%; }
	.masthead__spot { flex: 1 1 100%; border-top: 1px solid var(--rule); padding-top: 12px; }
	.masthead__spot .spot__label { text-align: center; }
	.masthead__spot .spot__body { margin-inline: auto; }
}
.masthead__spot .pitch { min-height: 90px; }
.pitch__mob { display: none; }
@media (max-width: 759px) {
	.pitch__size:has(.pitch__mob) .pitch__desk { display: none; }
	.pitch__mob { display: inline; }
}
.prose > .spot { margin: 1.8em auto 1.9em; }
.prose .spot a { color: inherit; text-decoration: none; }
.prose .spot .pitch__cta { color: var(--accent-text); }
.prose .pitch__title { color: var(--ink); }
.prose .spot p { margin: 0 0 6px; }

/* ---------- Lists (sections, topics, search) ---------- */
.list-head { background: var(--paper-2); border-bottom: 1px solid var(--rule); padding-block: clamp(26px, 3.6vw, 46px) clamp(22px, 3vw, 36px); margin-bottom: clamp(24px, 3vw, 40px); }
.list-head__kicker, .page-head__kicker, .page-hero__kicker {
	margin: 0 0 8px; font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent-text);
}
.list-head__title { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.6rem); font-weight: 720; letter-spacing: -0.03em; line-height: 1; font-variation-settings: "opsz" 72; overflow-wrap: anywhere; }
.list-head__desc { margin-top: 14px; max-width: 62ch; color: var(--ink-2); font-size: 1.08rem; }
.list-head__desc p:last-child { margin: 0; }
.list-head__count { margin: 14px 0 0; font-size: 0.86rem; color: var(--muted); }
.list-head__search { margin-top: 18px; }
.list-top { display: grid; gap: 24px; padding-bottom: 28px; margin-bottom: 8px; border-bottom: 1px solid var(--rule); }
.list-top__side { display: grid; gap: 22px; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; }
.story--list-lead .story__title { font-size: clamp(1.6rem, 1.15rem + 1.5vw, 2.2rem); line-height: 1.1; }
@media (min-width: 760px) {
	.list-top { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; }
	.list-top__side { grid-template-columns: minmax(0, 1fr); }
}
.list-rows { display: grid; }
.story--list { padding: 20px 0; border-bottom: 1px solid var(--rule); }
.story--list .story__title { font-size: 1.18rem; }
@media (min-width: 760px) {
	.story--list { flex-direction: row; gap: 22px; }
	.story--list .story__media { width: 220px; aspect-ratio: 3 / 2; }
	.story--list .story__title { font-size: 1.32rem; }
}
.pager { margin: 30px 0 10px; }
.pager ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pager a, .pager span.page-numbers {
	display: inline-flex; align-items: center; gap: 0.4em; min-width: 44px; min-height: 44px; justify-content: center; padding: 0 0.8em;
	border: 1px solid var(--rule); border-radius: var(--r); text-decoration: none; font-weight: 600; background: #fff; font-variant-numeric: lining-nums;
}
.pager a:hover { border-color: var(--ink); }
.pager .current { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pager .dots { border: 0; background: transparent; min-width: 0; padding: 0 4px; }
.empty { padding: 30px 0 50px; font-size: 1.1rem; color: var(--ink-2); }
.empty h2 { font-size: 1.6rem; margin-bottom: 8px; color: var(--ink); }

/* ---------- A story ---------- */
.article__head { padding-block: clamp(22px, 3vw, 40px) clamp(18px, 2.4vw, 26px); max-width: 920px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.11em; margin-bottom: 14px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--rule); }
.crumbs a { text-decoration: none; color: var(--muted); }
.crumbs li:last-child a { color: var(--accent-text); }
.crumbs a:hover { text-decoration: underline; }
.article__title { font-size: clamp(2rem, 1.25rem + 3vw, 3.5rem); line-height: 1.06; font-weight: 700; letter-spacing: -0.025em; font-variation-settings: "opsz" 72; overflow-wrap: anywhere; }
.article__standfirst { margin: 16px 0 0; font-size: clamp(1.15rem, 1rem + 0.5vw, 1.4rem); line-height: 1.4; color: var(--ink-2); font-weight: 420; max-width: 46em; }
.article__byline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--rule); }
.byline { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 0.92rem; color: var(--muted); }
.byline > span + span::before { content: ""; display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: currentColor; margin: 0 0.7em; vertical-align: 0.25em; }
.byline strong { color: var(--ink); font-weight: 650; }
.article__figure { margin: 0 0 28px; }
.article__img { width: 100%; border-radius: var(--r); background: var(--paper-3); }
.article__figure figcaption { margin-top: 10px; font-size: 0.88rem; color: var(--muted); font-style: italic; line-height: 1.4; padding-left: 12px; border-left: 2px solid var(--accent); }

.share { display: flex; align-items: center; gap: 10px; }
.share__label { margin: 0; font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
.share__list { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.share__btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.45em; min-width: 40px; height: 40px; padding: 0 10px;
	border: 1px solid var(--rule); border-radius: 99px; background: #fff; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.9rem;
	transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.share__btn .icon { width: 18px; height: 18px; }
.share__btn:hover { border-color: var(--ink); }
.share__btn--whatsapp:hover { background: #128c4b; border-color: #128c4b; color: #fff; }
.share__btn--facebook:hover { background: #1463d6; border-color: #1463d6; color: #fff; }
.share__btn--x:hover { background: #111; border-color: #111; color: #fff; }
.share__btn--telegram:hover { background: #1a7fbd; border-color: #1a7fbd; color: #fff; }
.share__btn.is-copied { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.share--bottom { flex-direction: column; align-items: flex-start; margin: 34px 0 0; padding: 18px 0 0; border-top: 3px solid var(--ink); }
.share--bottom .share__btn { padding: 0 14px; }

/* Story text */
.prose { font-size: clamp(1.1rem, 1.05rem + 0.2vw, 1.2rem); line-height: 1.68; max-width: 40em; overflow-wrap: break-word; }
.prose > * { margin: 0 0 1.1em; }
.prose > :last-child { margin-bottom: 0; }
.article__body > p:first-of-type { font-size: 1.1em; line-height: 1.6; }
.prose h2 { font-size: 1.55em; margin: 1.6em 0 0.6em; line-height: 1.2; }
.prose h3 { font-size: 1.28em; margin: 1.5em 0 0.5em; line-height: 1.25; }
.prose h4 { font-size: 1.08em; margin: 1.4em 0 0.4em; }
.prose a { color: var(--accent-text); text-decoration-thickness: 1px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose strong { font-weight: 680; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 0.4em; }
.prose li::marker { color: var(--accent-text); }
.prose blockquote { margin: 1.6em 0; padding: 0.1em 0 0.1em 1.1em; border-left: 3px solid var(--accent); font-style: italic; font-size: 1.08em; color: var(--ink-2); }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose blockquote cite { display: block; margin-top: 0.5em; font-size: 0.85em; font-style: normal; color: var(--muted); }
.prose img { border-radius: var(--r); }
.prose figure, .prose .wp-caption { margin: 1.6em 0; max-width: 100%; width: auto !important; }
.prose figcaption, .prose .wp-caption-text { margin-top: 8px; font-size: 0.82em; color: var(--muted); font-style: italic; line-height: 1.4; }
.prose .aligncenter { margin-inline: auto; }
.prose .alignleft { float: left; margin: 0.3em 1.2em 0.8em 0; max-width: 50%; }
.prose .alignright { float: right; margin: 0.3em 0 0.8em 1.2em; max-width: 50%; }
.prose iframe, .prose video { display: block; width: 100%; border: 0; border-radius: var(--r); }
.prose iframe[src*="youtube"], .prose iframe[src*="vimeo"] { aspect-ratio: 16 / 9; height: auto; }
.prose .wp-block-embed__wrapper { position: relative; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.92em; display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--rule); padding: 0.55em 0.7em; text-align: left; vertical-align: top; }
.prose th { font-weight: 700; border-bottom: 2px solid var(--ink); }
.prose hr { border: 0; border-top: 1px solid var(--rule); margin: 2em 0; }
.prose pre { white-space: pre-wrap; background: var(--paper-2); padding: 1em; border-radius: var(--r); font-size: 0.85em; }
.prose .twitter-tweet, .prose .instagram-media { margin-inline: auto !important; }
.prose .gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.prose .gallery-item { margin: 0; }
.prose .gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.prose::after { content: ""; display: table; clear: both; }
.page-links { display: flex; gap: 8px; align-items: center; margin-top: 20px; font-weight: 600; }

.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.tags a { display: inline-block; padding: 6px 12px; border-radius: 99px; background: var(--paper-2); text-decoration: none; font-size: 0.88rem; font-weight: 600; color: var(--ink-2); }
.tags a:hover { background: var(--paper-3); color: var(--ink); }

.related { margin: 10px 0 40px; }
.related__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
@media (min-width: 900px) { .related__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .with-rail .related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1260px) { .with-rail .related__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.related--404 { margin-top: 10px; }

/* Comments */
.comments { margin: 10px 0 40px; padding-top: 14px; border-top: 3px solid var(--ink); max-width: 40em; }
.comments__title { display: flex; align-items: center; gap: 0.45em; font-size: 1.5rem; margin-bottom: 16px; }
.comments__title .icon { color: var(--accent-text); }
.comments__list, .comments__list .children { list-style: none; }
.comments__list .children { padding-left: clamp(16px, 4vw, 40px); border-left: 2px solid var(--rule); }
.comment-body { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 650; }
.comment-author img { border-radius: 50%; }
.comment-author .says { display: none; }
.comment-metadata { font-size: 0.8rem; color: var(--muted); margin: 4px 0 8px; }
.comment-metadata a { text-decoration: none; }
.comment-content p { margin-bottom: 0.6em; }
.avatar-initial { display: inline-grid; place-items: center; flex: none; border-radius: 50%; font-weight: 700; font-size: 1rem; color: #fff; background: oklch(0.52 0.09 var(--hue, 30)); }
.reply a { font-size: 0.85rem; font-weight: 700; color: var(--accent-text); text-decoration: none; }
.comments__reply { font-size: 1.25rem; margin: 26px 0 6px; }
.comments__note, .comments__closed { font-size: 0.92rem; color: var(--muted); }
.comment-form { display: grid; gap: 14px; }
.comment-form label { display: block; font-weight: 650; font-size: 0.95rem; margin-bottom: 5px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form textarea { width: 100%; padding: 12px 14px; border: 1px solid #b9b0a5; border-radius: var(--r); background: #fff; font-size: 1rem; }
.comment-form textarea { min-height: 140px; resize: vertical; }
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 0.9rem; }
.comment-form-cookies-consent label { font-weight: 400; margin: 0; }
.comment-form .form-submit { margin: 0; }

/* ---------- Pages ---------- */
.page-head { background: var(--paper-2); border-bottom: 1px solid var(--rule); padding-block: clamp(28px, 4vw, 54px) clamp(24px, 3vw, 40px); margin-bottom: clamp(26px, 3.4vw, 44px); }
.page-head__title { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.3rem); font-weight: 720; letter-spacing: -0.028em; line-height: 1.03; font-variation-settings: "opsz" 72; }
.page-head__lead { margin: 14px 0 22px; font-size: 1.15rem; color: var(--ink-2); max-width: 46ch; }
.page-head--404 .search-form { margin-top: 6px; }
.page-body { margin-bottom: 56px; }
.page-body h2 { font-size: 1.45em; }

.page-hero { background: var(--band); color: var(--on-band); padding-block: clamp(38px, 6vw, 84px) clamp(34px, 5vw, 70px); margin-bottom: clamp(30px, 4vw, 54px); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: auto -10% -60% auto; width: min(620px, 80vw); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, color-mix(in oklab, var(--accent) 38%, transparent), transparent 68%); pointer-events: none; }
.page-hero__in { position: relative; }
.page-hero .page-hero__kicker { color: var(--accent-on-band); }
.page-hero__title { font-size: clamp(2.4rem, 1.4rem + 4vw, 4.6rem); font-weight: 720; letter-spacing: -0.035em; line-height: 0.98; font-variation-settings: "opsz" 72; }
.page-hero__motto { margin: 16px 0 0; font-size: clamp(1.25rem, 1rem + 1vw, 1.8rem); font-style: italic; font-weight: 400; color: var(--on-band); max-width: 30ch; line-height: 1.25; }
.page-hero__lead { margin: 16px 0 0; font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem); color: var(--on-band-muted); max-width: 44ch; }

.about { margin-bottom: 60px; }
.about__intro { margin-bottom: clamp(36px, 5vw, 60px); }
.prose .lede, .lede { font-size: 1.3em; line-height: 1.45; font-weight: 450; }
.about__cover, .about__work { margin-bottom: clamp(36px, 5vw, 56px); }
.cover-grid { list-style: none; display: grid; gap: 0 28px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.cover { padding: 16px 0 18px; border-bottom: 1px solid var(--rule); }
.cover__name { display: inline-flex; align-items: center; gap: 0.35em; font-size: 1.3rem; font-weight: 700; text-decoration: none; letter-spacing: -0.01em; }
.cover__name .icon { color: var(--accent-text); transition: transform 0.15s; }
.cover__name:hover .icon { transform: translateX(3px); }
.cover__count { margin: 2px 0 6px; font-size: 0.82rem; color: var(--muted); }
.cover__latest { margin: 0; font-size: 0.95rem; color: var(--ink-2); line-height: 1.4; }
.cover__latest span { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent-text); }
.cover__latest a { text-decoration: none; }
.cover__latest a:hover { text-decoration: underline; }
.work-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.work { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--rule); text-decoration: none; transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s; }
a.work:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow); }
.work__icon { width: 30px; height: 30px; color: var(--accent-text); margin-bottom: 4px; }
.work__title { font-size: 1.25rem; font-weight: 700; }
.work__text { color: var(--ink-2); font-size: 1rem; line-height: 1.45; }
.work--accent { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.work--accent .work__icon, .work--accent .work__text { color: var(--on-accent); }
.work--accent:hover { border-color: var(--accent) !important; }

.contact { display: grid; gap: var(--gap); margin-bottom: 60px; align-items: start; }
@media (min-width: 1000px) { .contact { grid-template-columns: minmax(0, 1fr) 340px; } }
.contact__intro { margin-bottom: 26px; }
.contact__side { display: grid; gap: 14px; }
.note { padding: 20px 22px; border-radius: var(--r); background: var(--paper-2); }
.note__icon { width: 26px; height: 26px; color: var(--accent-text); margin-bottom: 8px; }
.note__title { font-size: 1.2rem; margin-bottom: 6px; }
.note p { margin: 0 0 0.6em; color: var(--ink-2); font-size: 0.98rem; }
.note p:last-child { margin: 0; }
.note a:not(.link) { color: var(--accent-text); }
.note--accent { background: var(--accent-soft); border: 1px solid var(--accent-line); }

/* ---------- Forms ---------- */
.msg-form { background: #fff; border: 1px solid var(--rule); border-radius: var(--r); padding: clamp(20px, 3vw, 34px); }
.msg-form__title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-bottom: 8px; }
.msg-form__intro { color: var(--ink-2); margin-bottom: 18px; max-width: 56ch; }
.msg-form__form { display: grid; gap: 16px; margin-top: 18px; }
.field-row { display: grid; gap: 16px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-weight: 650; font-size: 0.97rem; }
.field__opt { font-weight: 400; color: var(--muted); font-size: 0.9em; }
.field input, .field textarea, .select select {
	width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid #b4aa9e; border-radius: var(--r); background: #fff; font-size: 1.02rem;
	transition: border-color 0.15s, box-shadow 0.15s;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus, .select select:focus { border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 22%, transparent); outline: none; }
.field input::placeholder, .field textarea::placeholder { color: #8a8077; opacity: 1; }
.select { position: relative; }
.select select { appearance: none; padding-right: 42px; cursor: pointer; }
.select::after { content: ""; position: absolute; right: 16px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.field--error input, .field--error textarea { border-color: #b3261e; }
.field__error { margin: 0; color: #a3221b; font-size: 0.9rem; font-weight: 600; }
.msg-form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 4px; }
.msg-form__privacy { margin: 0; font-size: 0.88rem; color: var(--muted); }
.form-alert { padding: 14px 16px; border-radius: var(--r); background: #fbeceb; border: 1px solid #ecc1bd; color: #7b1a14; }
.form-alert p { margin: 0; }
.form-alert:focus { outline: none; }
.form-done { text-align: center; padding: 16px 0; }
.form-done:focus { outline: none; }
.form-done__icon { width: 52px; height: 52px; color: #1d7a45; margin: 0 auto 12px; }
.form-done__title { font-size: 1.8rem; margin-bottom: 8px; }
.form-done__note { font-size: 0.9rem; color: var(--muted); }

/* ---------- Advertise ---------- */
.biz-hero { background: var(--band); color: var(--on-band); padding-block: clamp(40px, 6vw, 90px) clamp(36px, 5vw, 72px); position: relative; overflow: hidden; }
.biz-hero::before {
	content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.55;
	background:
		radial-gradient(circle at 85% 20%, color-mix(in oklab, var(--accent) 45%, transparent), transparent 42%),
		repeating-linear-gradient(-45deg, transparent 0 18px, rgb(255 255 255 / 3.5%) 18px 19px);
}
.biz-hero__in { position: relative; }
.biz-hero .page-hero__kicker { color: var(--accent-on-band); }
.biz-hero__title { font-size: clamp(2.5rem, 1.4rem + 4.4vw, 5rem); font-weight: 720; letter-spacing: -0.035em; line-height: 0.96; font-variation-settings: "opsz" 72; max-width: 14ch; }
.biz-hero__lead { margin: 20px 0 0; font-size: clamp(1.1rem, 1rem + 0.6vw, 1.45rem); line-height: 1.4; color: var(--on-band-muted); max-width: 42ch; }
.biz-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.biz-hero__email { margin: 16px 0 0; color: var(--on-band-muted); }
.biz-hero__email a { color: var(--on-band); }
.biz-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 46px; margin-top: clamp(32px, 4vw, 52px); padding-top: 22px; border-top: 1px solid rgb(255 255 255 / 14%); }
.biz-facts li { display: flex; flex-direction: column; }
.biz-facts strong { font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.8rem); font-weight: 700; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: lining-nums; }
.biz-facts span { font-size: 0.92rem; color: var(--on-band-muted); margin-top: 6px; }
.biz-intro { margin-block: clamp(30px, 4vw, 50px) 0; }
.biz-spaces { padding-top: clamp(36px, 5vw, 64px); }
.biz-spaces__layout { display: grid; gap: var(--gap); align-items: start; }
@media (min-width: 1000px) { .biz-spaces__layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); } }
.space-list { list-style: none; display: grid; gap: 10px; }
.space { display: flex; gap: 16px; padding: 16px 18px; border: 1px solid var(--rule); border-radius: var(--r); background: #fff; transition: border-color 0.15s, box-shadow 0.15s; scroll-margin-top: calc(var(--bar-h) + 20px); }
.space.is-on, .space:target { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.space:focus { outline: none; }
.space__num { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); font-weight: 700; font-variant-numeric: lining-nums; }
.space__name { font-size: 1.15rem; margin-bottom: 4px; }
.space__where { margin: 0 0 6px; color: var(--ink-2); font-size: 0.98rem; line-height: 1.4; }
.space__sizes { margin: 0 0 8px; font-size: 0.88rem; color: var(--muted); }
.space__sizes span { font-weight: 700; color: var(--ink); font-variant-numeric: lining-nums; }
.space__ask { display: inline-flex; align-items: center; gap: 0.35em; font-size: 0.9rem; font-weight: 700; color: var(--accent-text); text-decoration: none; }
.space__ask:hover { text-decoration: underline; }

.pagemap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; position: sticky; top: calc(var(--bar-h) + 20px); }
@media (max-width: 999px) { .pagemap { display: none; } }
.pagemap__page { background: #fff; border: 1px solid var(--rule); border-radius: 8px; padding: 10px; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow); }
.pagemap__cap { margin: 0 0 4px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); text-align: center; }
.pagemap__mast { display: flex; gap: 6px; align-items: center; }
.pagemap__logo { width: 22%; aspect-ratio: 1; border-radius: 50%; background: var(--paper-3); flex: none; }
.pagemap__mast .pagemap__slot { flex: 1; height: 22px; }
.pagemap__bar { height: 8px; background: var(--ink); border-radius: 2px; opacity: 0.85; }
.pagemap__top { display: grid; grid-template-columns: 1.6fr 1fr; gap: 4px; }
.pagemap__top span { height: 42px; background: var(--paper-3); border-radius: 2px; }
.pagemap__top span:first-child { grid-row: span 2; height: 88px; }
.pagemap__cols { display: grid; grid-template-columns: 1fr 0.48fr; gap: 6px; }
.pagemap__main, .pagemap__side { display: flex; flex-direction: column; gap: 6px; }
.pagemap__block { height: 48px; background: var(--paper-2); border-radius: 2px; }
.pagemap__title { height: 14px; width: 80%; background: var(--ink); opacity: 0.75; border-radius: 2px; }
.pagemap__photo { height: 54px; background: var(--paper-3); border-radius: 2px; }
.pagemap__lines { height: 40px; background: repeating-linear-gradient(transparent 0 6px, var(--paper-3) 6px 9px); }
.pagemap__rows { height: 70px; background: repeating-linear-gradient(var(--paper-2) 0 18px, transparent 18px 23px); }
.pagemap__foot { height: 22px; background: var(--band); border-radius: 2px; margin-top: 2px; }
.pagemap__slot {
	display: grid; place-items: center; height: 18px; border-radius: 3px; font-size: 0.7rem; font-weight: 700; font-variant-numeric: lining-nums;
	background: var(--accent-soft); color: var(--accent-text); border: 1px dashed var(--accent-line); transition: background-color 0.15s, color 0.15s;
}
.pagemap__slot--billboard { height: 30px; }
.pagemap__slot--box { height: 40px; }
.pagemap__slot--tall { height: 76px; }
.pagemap__slot.is-on { background: var(--accent); color: var(--on-accent); border-color: var(--accent); border-style: solid; }
.biz-more { margin-block: clamp(40px, 5vw, 64px); }
.work--static { background: var(--paper-2); border-color: transparent; }
.biz-form { margin-bottom: 64px; }

/* ---------- Footer ---------- */
.footer-spot { background: var(--paper-2); border-top: 1px solid var(--rule); padding-block: 20px 22px; margin-top: 20px; }
.site-footer { background: var(--band); color: var(--on-band); padding-top: clamp(40px, 5vw, 64px); }
.footer__top { display: grid; gap: 34px; padding-bottom: 36px; }
@media (min-width: 760px) { .footer__top { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 40px; } }
.site-footer .brand__link { color: var(--on-band); }
.site-footer .brand__logo { height: 64px; }
.site-footer .brand--round .brand__logo { box-shadow: 0 0 0 3px rgb(255 255 255 / 12%); }
.site-footer .brand__name { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); }
.site-footer .brand__tagline { color: var(--on-band-muted); }
.footer__blurb { margin: 18px 0 20px; color: var(--on-band-muted); max-width: 40ch; line-height: 1.5; }
.footer__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.footer__title { margin: 0 0 12px; font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent-on-band); }
.footer__title--legal { margin-top: 26px; }
.footer__col ul { list-style: none; }
.footer__col li { margin-bottom: 8px; }
.footer__col a { text-decoration: none; color: var(--on-band); }
.footer__col a:hover { text-decoration: underline; text-decoration-color: var(--accent-on-band); }
.footer__col--sections ul { columns: 2; column-gap: 24px; }
.footer__col--sections li { break-inside: avoid; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-block: 20px 26px; border-top: 1px solid rgb(255 255 255 / 12%); font-size: 0.88rem; color: var(--on-band-muted); }
.footer__bottom p { margin: 0; }
.footer__credit a { color: var(--on-band); }

/* ---------- Social media and phone ---------- */
.social { list-style: none; display: flex; flex-wrap: wrap; margin: 0; padding: 0; }
.social__link { display: inline-flex; align-items: center; gap: 0.5em; text-decoration: none; color: inherit; }
.social__icon { width: 16px; height: 16px; flex: none; }
.social--top { margin-left: auto; gap: 2px; flex: none; }
.social--top + .topbar__links { margin-left: 8px; padding-left: 14px; border-left: 1px solid rgb(255 255 255 / 14%); }
.social--top .social__link { width: 30px; height: 30px; justify-content: center; border-radius: 50%; color: var(--on-band-muted); }
.social--top .social__link:hover, .social--top .social__link:focus-visible { color: var(--on-band); background: var(--band-2); }
.social--top .social__icon { width: 15px; height: 15px; }
.social--footer, .social--drawer { gap: 8px; }
.social--footer .social__link { padding: 7px 14px 7px 11px; border: 1px solid rgb(255 255 255 / 16%); border-radius: 99px; font-size: 0.9rem; font-weight: 600; color: var(--on-band); }
.social--footer .social__link:hover { border-color: var(--accent-on-band); }
.social--footer .social__icon { color: var(--accent-on-band); }
.social--drawer .social__link { padding: 8px 14px 8px 11px; border: 1px solid var(--rule); border-radius: 99px; font-size: 0.95rem; font-weight: 600; }
.social--drawer .social__icon, .social--contact .social__icon { color: var(--accent-text); }
.social--contact { flex-direction: column; gap: 12px; }
.social--contact .social__link { gap: 0.75em; }
.social--contact .social__icon { width: 22px; height: 22px; }
.social__text { display: flex; flex-direction: column; line-height: 1.25; }
.social__net { font-weight: 600; }
.social--contact .social__net { color: var(--ink); }
.social__handle { font-size: 0.88rem; color: var(--muted); }
.social--contact .social__link:hover .social__net { text-decoration: underline; text-decoration-color: var(--accent); }
.phone { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0; }
.phone__call { display: inline-flex; align-items: center; gap: 0.45em; font-weight: 700; font-size: 1.1rem; text-decoration: none; color: inherit; font-variant-numeric: lining-nums; white-space: nowrap; }
.phone__call .icon { width: 1em; height: 1em; }
.phone__call:hover { text-decoration: underline; }
.phone__wa { display: inline-flex; align-items: center; gap: 0.4em; padding: 4px 12px 4px 9px; border-radius: 99px; font-size: 0.85rem; font-weight: 700; text-decoration: none; color: inherit; border: 1px solid currentColor; }
.phone__wa .icon { width: 1.05em; height: 1.05em; color: #128c4b; }
.phone--footer { margin-top: 14px; color: var(--on-band); }
.phone--footer .phone__call .icon { color: var(--accent-on-band); }
.phone--footer .phone__wa { border-color: rgb(255 255 255 / 22%); }
.phone--footer .phone__wa .icon { color: #25d366; }
.phone--contact { color: var(--ink); }
.phone--contact .phone__call .icon { display: none; }
.phone--contact .phone__wa, .phone--drawer .phone__wa { border-color: var(--accent-line); background: var(--paper); }
.phone--drawer { margin-top: 14px; }
.footer__follow { margin-top: 28px; }
.drawer__follow { padding-bottom: 8px; }
.note .social a, .note .phone a { color: inherit; }

/* ---------- Narrow screens ---------- */
@media (max-width: 1099px) {
	.secbar__brand { display: none !important; }
}
@media (max-width: 899px) {
	.topbar__links { display: none; }
}
@media (max-width: 759px) {
	.social--top { display: none; }
}
@media (max-width: 759px) {
	:root { --bar-h: 48px; }
	.rail-box:has(.rail-sections) { display: none; }
	body { font-size: 1.03rem; }
	.topbar__date { display: none; }
	.ticker__label { font-size: 0.68rem; }
	.masthead__in { padding-block: 14px 12px; }
	.brand--header .brand__link { gap: 12px; }
	.brand--header.brand--wordmark .brand__logo { height: 46px; }
	.brand__tagline--side { font-size: 0.82rem; max-width: 13ch; }
	.secbar__link { font-size: 0.95rem; padding: 0 0.6em; }
	.secbar__link--home span, .icon-btn--menu .icon-btn__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.top__next { grid-template-columns: minmax(0, 1fr); }
	.top__next .story--top { flex-direction: row-reverse; gap: 14px; }
	.top__next .story--top .story__media { width: 112px; flex: none; aspect-ratio: 4 / 3; }
	.top__next .story--top .story__title { font-size: 1.08rem; }
	.top__next .story--top { padding-top: 16px; border-top: 1px solid var(--rule); }
	.story--lead .story__media { margin-inline: calc(-1 * var(--gutter)); border-radius: 0; }
	.home-sec__grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.home-sec__grid .story--card { flex-direction: row-reverse; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
	.home-sec__grid .story--card:first-child { padding-top: 0; }
	.home-sec__grid .story--card .story__media { width: 112px; flex: none; aspect-ratio: 4 / 3; }
	.home-sec__grid .story--card .story__title { font-size: 1.04rem; }
	.home-sec--band { margin-inline: calc(-1 * var(--gutter)); border-radius: 0; }
	.related__grid { gap: 20px 14px; }
	.article__byline { flex-direction: column; align-items: flex-start; }
	.article__figure { margin-inline: calc(-1 * var(--gutter)); }
	.article__img { border-radius: 0; }
	.article__figure figcaption { margin-inline: var(--gutter); }
	.footer__col--sections ul { columns: 2; }
	.list-top__side { grid-template-columns: minmax(0, 1fr); }
	.list-top__side .story--card { flex-direction: row-reverse; gap: 14px; padding-top: 16px; border-top: 1px solid var(--rule); }
	.list-top__side .story--card .story__media { width: 112px; flex: none; aspect-ratio: 4 / 3; }
	.story--list .story__media { width: 104px; }
	.pager .page-numbers:not(.prev):not(.next):not(.current) { display: none; }
	.pager .current { display: inline-flex; }
}
@media (max-width: 380px) {
	.drawer__sections { grid-template-columns: 1fr; }
	.share__btn { min-width: 38px; height: 38px; }
}

/* ---------- Motion and print ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
	.ticker.is-ready .ticker__track li { transition-duration: 0.7s !important; } /* A fade is not movement. */
	.ticker.is-ready .ticker__track li.is-now { transition-duration: 0.9s !important; }
}
@media print {
	.topbar, .secbar, .secbar-sentinel, .drawer, .spot, .footer-spot, .rail, .share, .related, .comments, .site-footer, .search-panel { display: none !important; }
	body { background: #fff; }
	.with-rail { display: block; }
	.prose a::after { content: " (" attr(href) ")"; font-size: 0.8em; }
}
