/* SoS Daily News — site styles. Light is the default; [data-theme="dark"] is set from the theme cookie. */

:root {
	--bg: #FFFFFF;
	--surface: #F4F5F7;
	--fg: #12151A;
	--muted: #4B5361;
	--border: #DDE1E6;
	--accent: #F59E0B;
	--accent-text: #A14E00;
	--on-accent: #12151A;
	--blue: #1D4ED8;
	--on-blue: #FFFFFF;
	--blue-surface: #EAF0FD;
	--nav-bg: #12151A;
	--nav-fg: #FFFFFF;
	--img-bg: #E6E9EE;
	--font-ui: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-read: "Source Serif 4", Georgia, "Times New Roman", serif;
	--wrap: 1240px;
	color-scheme: light;
}

[data-theme="dark"] {
	--bg: #0D1015;
	--surface: #161A21;
	--fg: #ECEEF2;
	--muted: #A6AEBB;
	--border: #2A303B;
	--accent: #FBB13C;
	--accent-text: #FFB547;
	--on-accent: #12151A;
	--blue: #8FB0FF;
	--on-blue: #0D1015;
	--blue-surface: #141C30;
	--nav-bg: #07090C;
	--nav-fg: #ECEEF2;
	--img-bg: #1E232C;
	color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font-ui); font-size: 16px; line-height: 1.5; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:hover { color: var(--accent-text); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
h1, h2, h3 { text-wrap: balance; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons, labels ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border-radius: 999px; border: 0; font-family: inherit; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn-lg { min-height: 50px; padding: 0 28px; font-size: 16px; }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { color: var(--on-accent); filter: brightness(1.06); }
.btn-ink { background: #12151A; color: #FFFFFF; }
.btn-ink:hover { color: #FFFFFF; filter: brightness(1.3); }
.btn-blue { background: var(--blue); color: var(--on-blue); }
.btn-blue:hover { color: var(--on-blue); filter: brightness(1.08); }
.btn-outline { border: 2px solid var(--fg); background: transparent; color: var(--fg); }

.kicker { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); text-decoration: none; }
.kicker.fi { color: var(--blue); }
.pill { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--accent); color: var(--on-accent); text-decoration: none; }
.pill:hover { color: var(--on-accent); }
.pill.fi { background: var(--blue-surface); color: var(--blue); }
.eyebrow { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); }
.meta { margin: 0; font-size: 13px; color: var(--muted); }
.dek { margin: 0; font-family: var(--font-read); color: var(--muted); }
.h-link { color: inherit; text-decoration: none; }
.h-link:hover { color: var(--accent-text); }
.soon { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; border: 1px solid var(--border); border-radius: 999px; padding: 3px 8px; color: var(--muted); }

.thumb { display: block; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: var(--img-bg); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }

.section-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 3px solid var(--fg); padding-bottom: 10px; }
.section-head h2 { margin: 0; font-size: 28px; font-weight: 800; }

/* ---------- Header ---------- */
.topbar { background: var(--nav-bg); color: var(--nav-fg); font-size: 13px; }
.topbar .wrap { min-height: 44px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; }
.topbar-date { margin: 0; opacity: .85; }
.aud { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.aud-label { opacity: .7; margin-right: 4px; }
.aud a { color: inherit; text-decoration: none; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.aud a:hover { background: rgba(255,255,255,.08); color: inherit; }
.aud a[aria-current="true"] { background: rgba(255,255,255,.16); }
.theme-btn { margin-left: 8px; min-height: 36px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 12px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; background: transparent; color: inherit; font: inherit; font-weight: 600; cursor: pointer; }
.theme-btn .i-sun, .theme-btn .lbl-light { display: none; }
[data-theme="dark"] .theme-btn .i-sun, [data-theme="dark"] .theme-btn .lbl-light { display: inline; }
[data-theme="dark"] .theme-btn .i-moon, [data-theme="dark"] .theme-btn .lbl-dark { display: none; }

.masthead .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding-top: 22px; padding-bottom: 22px; }
/* Two versions of the logo: black lettering for light mode, the original white lettering for dark mode */
.logo { display: inline-flex; align-items: center; }
.logo img { height: 64px; width: auto; }
.logo .logo-dark { display: none; }
[data-theme="dark"] .logo .logo-light { display: none; }
[data-theme="dark"] .logo .logo-dark { display: block; }
.footer-logo { height: 56px; width: auto; align-self: flex-start; }
.mast-spacer { flex: 1 1 40px; }
.search { flex: 0 1 340px; min-width: 220px; height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 16px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--muted); }
.search:focus-within { outline: 3px solid var(--accent); outline-offset: 2px; }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 15px; color: var(--fg); }
.search input:focus { outline: none; }

.mainnav { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.mainnav ul { list-style: none; max-width: var(--wrap); margin: 0 auto; padding: 0 12px; display: flex; flex-wrap: wrap; }
.mainnav a { display: inline-flex; align-items: center; min-height: 50px; padding: 0 14px; font-weight: 600; font-size: 15px; text-decoration: none; }
.mainnav .fi a { color: var(--blue); }
.mainnav a[aria-current="page"] { color: var(--accent-text); box-shadow: inset 0 -3px 0 var(--accent); }
.mainnav .fi a[aria-current="page"] { color: var(--blue); box-shadow: inset 0 -3px 0 var(--blue); }

/* ---------- Ads (space is reserved so the page doesn't jump when ads load) ---------- */
.ad { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ad-label { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ad-slot { max-width: 100%; display: flex; align-items: center; justify-content: center; background: var(--surface); border: 1px dashed var(--border); border-radius: 6px; font-size: 13px; color: var(--muted); }
.ad-leader { padding: 20px 0 8px; }
.ad-leader .ad-slot { width: 728px; height: 90px; }
.ad-slot.s300x250 { width: 300px; height: 250px; }
/* Real ads from the SOS Ad Manager */
.ad-link { display: block; line-height: 0; max-width: 100%; }
.ad-link img { max-width: 100%; height: auto; border-radius: 4px; }
.ad-728x90 .ad-link img { width: 728px; }
.ad-300x250 .ad-link img { width: 300px; }
.ad-300x600 .ad-link img { width: 300px; }
/* House promo shown when no ad is running for a space */
.ad-house { gap: 10px; }
.house { box-sizing: border-box; max-width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 18px; border-radius: 10px; background: var(--nav-bg); color: var(--nav-fg); text-align: center; text-decoration: none; }
.house:hover { color: var(--nav-fg); }
.house-kicker { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.house-title { font-size: 22px; font-weight: 800; line-height: 1.15; }
.house-text { font-size: 14px; line-height: 1.4; opacity: .85; }
.house-btn { margin-top: 6px; padding: 8px 18px; border-radius: 999px; background: var(--accent); color: #12151A; font-size: 14px; font-weight: 700; }
.ad-300x250 .house { width: 300px; height: 250px; }
.ad-300x600 .house { width: 300px; height: 520px; }
.ad-728x90 .house { width: 728px; height: 90px; flex-direction: row; gap: 16px; padding: 0 22px; }
.ad-728x90 .house-text { display: none; }
.ad-728x90 .house-title { font-size: 20px; }
.ad-728x90 .house-btn { margin: 0 0 0 auto; }
.house-adv { font-size: 13px; font-weight: 600; color: var(--accent-text); }

/* ---------- Home: lead story + top stories ---------- */
.lead { display: flex; flex-wrap: wrap; gap: 40px; padding: 32px 0 40px; border-bottom: 1px solid var(--border); }
.lead-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.lead-main .thumb { aspect-ratio: 16 / 9; border-radius: 14px; }
.lead-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.lead-title { margin: 0; font-size: clamp(30px, 4vw, 46px); line-height: 1.08; font-weight: 800; letter-spacing: -.02em; }
.lead-main .dek { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; }
.top { flex: 1 1 320px; min-width: 0; }
.top ol { list-style: none; margin: 0; padding: 0; }
.top li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.top .num { min-width: 28px; font-size: 34px; font-weight: 800; line-height: 1; color: var(--accent); }
.top h3 { margin: 6px 0 0; font-size: 19px; line-height: 1.3; font-weight: 700; }

/* ---------- Scam Watch ---------- */
.scamwatch { margin: 36px 0; padding: 24px 28px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.sw-title { margin: 0; display: flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 800; }
.sw-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--accent); color: var(--on-accent); display: flex; align-items: center; justify-content: center; flex: none; }
.sw-list { flex: 1 1 600px; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px 28px; }
.sw-list a { display: flex; flex-direction: column; gap: 4px; text-decoration: none; }
.sw-list .t { font-size: 16px; font-weight: 600; line-height: 1.35; }

/* ---------- Click-to-play video (article page, podcast bar, podcast page) ---------- */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; }
.video-play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: #0B2A4A; cursor: pointer; display: block; }
.video-play img { width: 100%; height: 100%; object-fit: cover; }
.video-icon { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 999px; background: var(--accent); color: #12151A; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(0,0,0,.35); transition: transform .15s ease; }
.video-play:hover .video-icon, .video-play:focus-visible .video-icon { transform: scale(1.08); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.art-video { margin: 0 0 40px; }
/* Small play badge on video stories in lists */
.thumb.is-video { position: relative; }
.thumb.is-video::after { content: ""; position: absolute; left: 10px; bottom: 10px; width: 34px; height: 34px; border-radius: 999px; background: rgba(0,0,0,.65) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 6.5v11l9-5.5z'/%3E%3C/svg%3E") center / 18px no-repeat; }
.pill.pod { background: #1B75BC; color: #FFFFFF; }
.kicker.pod { color: #1B75BC; }
[data-theme="dark"] .kicker.pod { color: #8CC4F0; }

/* ---------- Home: podcast bar (dark blue, under the lead story) ---------- */
.podbar { margin: 36px 0; padding: 22px; border-radius: 18px; background: #0B2A4A; color: #FFFFFF; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; }
.podbar-media { flex: 0 0 256px; max-width: 100%; }
.podbar-media .video { border-radius: 12px; }
.podbar-media .video-icon { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
.podbar-media .video-icon svg { width: 22px; height: 22px; }
.podbar.is-playing .podbar-media { flex-basis: 100%; }
.podbar-text { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.podbar-tags { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #8CC4F0; }
.podbar-new { background: var(--accent); color: #12151A; padding: 3px 8px; border-radius: 999px; letter-spacing: .08em; }
.podbar h2 { margin: 0; font-size: 26px; line-height: 1.2; font-weight: 800; }
.podbar h2 a { color: #FFFFFF; text-decoration: none; }
.podbar h2 a:hover { text-decoration: underline; color: #FFFFFF; }
.podbar-dek { margin: 0; font-size: 15px; line-height: 1.5; color: #C9D6E3; }
.podbar-actions { flex: 0 1 230px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.podbar-actions .btn { gap: 8px; }
.podbar-yt { min-height: 38px; display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); color: #FFFFFF; font-size: 13px; font-weight: 600; text-decoration: none; }
.podbar-yt:hover { color: #FFFFFF; border-color: #FFFFFF; }
.podbar-all { font-size: 13px; font-weight: 700; color: #8CC4F0; text-decoration: none; }
.podbar-all:hover { color: #FFFFFF; }

/* ---------- Home: Scam Watch cards (near the bottom) ---------- */
.sw-section { padding: 56px 0; }
.sw-section .section-head { margin-bottom: 24px; }
.sw-section .sw-title { font-size: 28px; }
.sw-all { font-weight: 600; color: var(--accent-text); }
.sw-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.sw-cards a { height: 100%; box-sizing: border-box; padding: 20px 22px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 8px; text-decoration: none; }
.sw-cards .t { font-size: 19px; font-weight: 700; line-height: 1.3; }

/* ---------- Podcast page ---------- */
.pod-feature { display: flex; flex-wrap: wrap; gap: 28px 40px; padding: 8px 0 48px; border-bottom: 1px solid var(--border); }
.pod-feature-media { flex: 999 1 560px; min-width: 0; }
.pod-feature-text { flex: 1 1 300px; display: flex; flex-direction: column; gap: 12px; }
.pod-feature-text h2 { margin: 0; font-size: clamp(26px, 3vw, 34px); line-height: 1.15; font-weight: 800; }
.pod-feature-text .dek { font-size: 18px; line-height: 1.5; }

/* ---------- Main column + sidebar ---------- */
.cols { display: flex; flex-wrap: wrap; gap: 48px; padding-bottom: 48px; }
.col-main { flex: 999 1 560px; min-width: 0; }
.col-side { flex: 1 1 300px; display: flex; flex-direction: column; gap: 32px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { min-height: 36px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border); font-size: 14px; font-weight: 600; text-decoration: none; }
.chip[aria-current="true"] { background: var(--fg); border-color: var(--fg); color: var(--bg); }

.story { display: flex; flex-wrap: wrap; gap: 20px 24px; padding: 24px 0; border-bottom: 1px solid var(--border); }
.story .thumb { flex: 0 0 260px; max-width: 100%; }
.story-body { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.story h3 { margin: 0; font-size: 23px; line-height: 1.25; font-weight: 700; }
.story .dek { font-size: 17px; line-height: 1.5; }
.empty { padding: 24px 0; color: var(--muted); }
.more { display: flex; justify-content: center; padding-top: 32px; }

.nl-box { padding: 24px; border-radius: 14px; background: var(--accent); color: var(--on-accent); display: flex; flex-direction: column; gap: 12px; }
.nl-box h2 { margin: 0; font-size: 22px; font-weight: 800; line-height: 1.2; }
.nl-box p { margin: 0; font-size: 15px; }
.side-title { margin: 0 0 4px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); }
.mostread ol { list-style: none; margin: 0; padding: 0; }
.mostread li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.mostread .n { min-width: 18px; font-weight: 800; color: var(--muted); }
.mostread a { font-size: 16px; font-weight: 600; line-height: 1.35; text-decoration: none; }
.promo { padding: 22px; border-radius: 14px; border: 1px solid var(--border); display: flex; flex-direction: column; gap: 12px; }
.promo h2 { margin: 0; font-size: 20px; line-height: 1.3; }
.promo p { margin: 0; color: var(--muted); font-size: 15px; }
.avatars { display: flex; align-items: center; }
.avatar { width: 44px; height: 44px; border-radius: 999px; border: 2px solid var(--bg); background: var(--surface); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.avatar + .avatar { margin-left: -10px; }
.avatars .who { margin-left: 12px; font-size: 14px; color: var(--muted); }

/* ---------- FI staff band ---------- */
.fiband { background: var(--blue-surface); padding: 56px 0; }
.fiband-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.fiband-head > div { max-width: 640px; }
.fiband .eyebrow { color: var(--blue); }
.fiband h2 { margin: 0 0 8px; font-size: 34px; font-weight: 800; letter-spacing: -.01em; }
.fiband-head p { margin: 0; font-size: 17px; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card { background: var(--bg); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.card .thumb { aspect-ratio: 16 / 9; border-radius: 0; }
.card-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.card h3 { margin: 0; font-size: 20px; line-height: 1.3; font-weight: 700; }

/* ---------- Podcast (placeholder until the podcast code exists) ---------- */
.podcast { padding: 56px 0; }
.podcast .section-head { margin-bottom: 24px; }
.pod-box { border: 2px dashed var(--border); border-radius: 14px; padding: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.pod-box > div { flex: 1 1 320px; }
.pod-box h3 { margin: 8px 0; font-size: 24px; }
.pod-box p { margin: 0; color: var(--muted); }

/* ---------- Newsletter band ---------- */
.nlband { background: var(--surface); border-top: 1px solid var(--border); }
.nlband .wrap { padding-top: 56px; padding-bottom: 56px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.nlband h2 { margin: 0 0 8px; font-size: 32px; font-weight: 800; }
.nlband p { margin: 0; font-size: 17px; color: var(--muted); }

/* ---------- Newsletter sign-up form and box ---------- */
.nlband .sub-form { flex: 1 1 460px; max-width: 620px; }
.sub-form { display: flex; flex-direction: column; gap: 10px; }
.sub-fields { display: flex; flex-wrap: wrap; gap: 10px; }
.sub-field { flex: 1 1 200px; display: flex; flex-direction: column; gap: 6px; }
.sub-field label { font-size: 13px; font-weight: 700; }
.sub-field input { height: 48px; padding: 0 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg); color: var(--fg); font: inherit; font-size: 16px; }
.sub-field input:focus { outline: 3px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.sub-hint { margin: 0; font-size: 13px; line-height: 1.45; color: var(--muted); }
.sub-btn { align-self: flex-start; min-height: 48px; }
.sub-btn:disabled { opacity: .7; cursor: wait; }
.sub-msg { margin: 0; font-size: 14px; font-weight: 600; min-height: 0; }
.sub-msg.is-error { color: #B42318; }
[data-theme="dark"] .sub-msg.is-error { color: #FF8A80; }
.sub-fine { margin: 0; font-size: 12px; color: var(--muted); }
.sub-fine a { color: inherit; }
.sub-done { padding: 16px 18px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); }
.sub-done strong { font-size: 18px; }
.sub-done p { margin: 6px 0 0; color: var(--muted); }

.sub-dialog { width: min(520px, calc(100vw - 32px)); padding: 28px; border: 0; border-radius: 16px; background: var(--bg); color: var(--fg); box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.sub-dialog::backdrop { background: rgba(10, 12, 16, .6); }
.sub-dialog h2 { margin: 0 0 6px; font-size: 26px; font-weight: 800; }
.sub-intro { margin: 0 0 18px; color: var(--muted); }
.sub-dialog .sub-field { flex-basis: 100%; }
.sub-close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border: 0; border-radius: 999px; background: transparent; color: var(--fg); font-size: 28px; line-height: 1; cursor: pointer; }
.sub-close:hover { background: var(--surface); }

/* ---------- Footer ---------- */
.footer { background: var(--nav-bg); color: var(--nav-fg); }
.footer .grid { padding-top: 56px; padding-bottom: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; }
.footer-about { display: flex; flex-direction: column; gap: 14px; }
.footer p { margin: 0; font-size: 14px; line-height: 1.6; opacity: .8; }
.footer h2 { margin: 0 0 12px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; opacity: .65; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--accent); }
.footer .legal { border-top: 1px solid rgba(255,255,255,.15); }
.footer .legal .wrap { padding-top: 20px; padding-bottom: 20px; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 13px; opacity: .8; }

/* ---------- Article page ---------- */
.crumbs ol { list-style: none; margin: 0; padding: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: "\203A"; margin-right: 8px; }
.crumbs a { color: inherit; }
.art-head { max-width: 860px; padding: 24px 0 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.art-title { margin: 0; font-size: clamp(32px, 4.6vw, 54px); line-height: 1.06; font-weight: 800; letter-spacing: -.02em; }
.art-dek { font-size: clamp(18px, 1.8vw, 22px); line-height: 1.45; }
.art-meta-row { align-self: stretch; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 4px; }
.share { display: flex; flex-wrap: wrap; gap: 8px; }
.share-btn { min-height: 40px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border); background: transparent; color: var(--fg); font: inherit; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; }
.share-btn:hover { border-color: var(--fg); color: var(--fg); }
.share-btn.solid { min-height: 44px; padding: 0 16px; border-color: var(--fg); background: var(--fg); color: var(--bg); }
.share-btn.solid:hover { color: var(--bg); opacity: .88; }
.share-btn[hidden] { display: none; }
.art-hero { margin: 0 0 40px; }
.art-hero img { width: 100%; max-height: 560px; object-fit: cover; border-radius: 16px; background: var(--img-bg); }

.art-cols { display: flex; flex-wrap: wrap; gap: 56px; padding-bottom: 56px; }
.art-main { flex: 999 1 560px; min-width: 0; max-width: 720px; }
.art-side { flex: 1 1 300px; display: flex; flex-direction: column; gap: 32px; }
.ad-sticky { position: sticky; top: 16px; }
.ad-slot.s300x600 { width: 300px; height: 600px; }

.art-body { font-family: var(--font-read); font-size: 20px; line-height: 1.7; overflow-wrap: break-word; }
.art-body p { margin: 0 0 1.1em; }
.art-body h2 { margin: 1.6em 0 .55em; font-family: var(--font-ui); font-size: 28px; line-height: 1.25; font-weight: 800; }
.art-body h3 { margin: 1.4em 0 .5em; font-family: var(--font-ui); font-size: 22px; line-height: 1.3; }
.art-body ul, .art-body ol { margin: 0 0 1.1em; padding-left: 1.4em; }
.art-body li { margin: .35em 0; }
.art-body a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.art-body img { margin: 1em 0; border-radius: 10px; }
.art-body blockquote { margin: 1.4em 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--accent); font-size: 1.15em; font-weight: 600; }
.art-body table { width: 100%; border-collapse: collapse; font-family: var(--font-ui); font-size: 16px; display: block; overflow-x: auto; }
.art-body td, .art-body th { border: 1px solid var(--border); padding: 8px 10px; text-align: left; }
.ad-inline { margin: 8px 0 32px; padding: 14px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); font-family: var(--font-ui); }

.share-box { margin-top: 40px; padding: 24px; border-radius: 14px; border: 1px solid var(--border); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.share-box h2 { margin: 0; font-size: 20px; font-weight: 800; }
.fi-share { margin-top: 20px; padding: 24px; border-radius: 14px; background: var(--blue-surface); display: flex; flex-direction: column; gap: 10px; }
.fi-share .eyebrow { margin: 0; color: var(--blue); }
.fi-share h2 { margin: 0; font-size: 20px; font-weight: 800; }
.fi-share p { margin: 0; font-size: 15px; color: var(--muted); }

.related { background: var(--surface); border-top: 1px solid var(--border); padding: 48px 0 56px; }
.related .section-head { margin-bottom: 24px; }
.related .cards { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

/* ---------- Section pages ---------- */
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; padding: 20px 0 28px; border-bottom: 3px solid var(--fg); }
.sec-head.fi { border-bottom-color: var(--blue); }
.sec-title { flex: 1 1 560px; display: flex; flex-direction: column; gap: 12px; }
.sec-title h1 { margin: 0; font-size: clamp(34px, 5vw, 56px); line-height: 1.05; font-weight: 800; letter-spacing: -.02em; }
.sec-head.fi h1 { color: var(--blue); }
.sec-title .dek { max-width: 720px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; }
.sec-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.sec-count { white-space: nowrap; }
.rss-link { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--border); font-size: 13px; font-weight: 600; text-decoration: none; }
@media (max-width: 820px) { .sec-side { align-items: flex-start; } }
.sec-chips { padding: 20px 0 0; }
.sec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 36px 28px; padding: 32px 0 8px; }
.sec-card { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.sec-card h2 { margin: 0; font-size: 21px; line-height: 1.28; font-weight: 700; }
.sec-card .dek { font-size: 16px; line-height: 1.5; }
.sec-ad { justify-content: center; padding: 20px; border-radius: 12px; background: var(--surface); }
.pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; padding: 40px 0 56px; }
.pager-num, .pager-btn { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; border-radius: 10px; border: 1px solid var(--border); font-weight: 600; text-decoration: none; }
.pager-num[aria-current="page"] { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.pager-gap { padding: 0 4px; color: var(--muted); }

/* ---------- Text pages (privacy, contact, advertise) ---------- */
.prose { max-width: 760px; padding: 24px 0 8px; }
.prose h1 { margin: 0 0 20px; font-size: clamp(32px, 4.5vw, 46px); line-height: 1.1; font-weight: 800; letter-spacing: -.02em; }
.prose h2 { margin: 36px 0 12px; font-size: 24px; line-height: 1.3; font-weight: 800; }
.prose h3 { margin: 24px 0 8px; font-size: 18px; font-weight: 700; }
.prose p, .prose li { font-family: var(--font-read); font-size: 18px; line-height: 1.7; }
.prose p { margin: 0 0 16px; }
.prose ul { margin: 0 0 16px; padding-left: 22px; }
.prose a { color: var(--accent-text); }
.prose .lead-in { font-size: 20px; color: var(--muted); }
article.prose { padding-bottom: 56px; }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; max-width: 900px; padding: 8px 0 32px; }
.contact-card { padding: 22px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); }
.contact-card h2 { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-card p, .contact-card address { margin: 0; font-size: 19px; font-weight: 600; font-style: normal; line-height: 1.5; }
.contact-card a { color: var(--fg); text-decoration: none; overflow-wrap: anywhere; }
.contact-card a:hover { color: var(--accent-text); }
.contact-more { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; max-width: 900px; padding-bottom: 56px; }
.contact-more .eyebrow { margin: 0; }
.fi-eyebrow { color: var(--blue); }
.pod-page { max-width: 900px; margin: 8px 0 56px; }
.pod-page h2 { margin: 0 0 6px; font-size: 22px; }
.slot-table-wrap { max-width: 900px; overflow-x: auto; padding-bottom: 16px; }
.slot-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.slot-table th, .slot-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
.slot-table thead th { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid var(--fg); }
.slot-table tbody th { font-weight: 700; white-space: nowrap; }

/* ---------- Search ---------- */
.search-head { max-width: 860px; padding: 32px 0 20px; display: flex; flex-direction: column; gap: 16px; }
.search-head h1 { margin: 0; font-size: clamp(34px, 5vw, 48px); font-weight: 800; letter-spacing: -.02em; }
.search-big { display: flex; flex-wrap: wrap; gap: 10px; }
.search-big input { flex: 1 1 280px; min-width: 0; height: 54px; padding: 0 18px; border: 2px solid var(--border); border-radius: 12px; background: var(--bg); color: var(--fg); font: inherit; font-size: 18px; }
.search-big input:focus { outline: none; border-color: var(--accent); }
.search-big .btn { min-height: 54px; border-radius: 12px; padding: 0 28px; font-size: 16px; }
.search-count { font-size: 15px; }
.search-count strong { color: var(--fg); }
.search-results { list-style: none; margin: 0; padding: 0; max-width: 900px; border-top: 1px solid var(--border); }
.result { display: flex; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--border); }
.result-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.result h2 { margin: 0; font-size: 22px; line-height: 1.3; font-weight: 700; }
.result .dek { font-size: 16px; line-height: 1.55; }
.result .thumb { flex: 0 0 200px; height: 125px; aspect-ratio: auto; }
mark { background: color-mix(in srgb, var(--accent) 35%, transparent); color: inherit; padding: 0 2px; border-radius: 3px; }
.search-empty { max-width: 860px; padding: 8px 0 48px; }
.search-empty h2 { margin: 16px 0 12px; font-size: 20px; }
.search-empty ul { margin: 0; padding-left: 20px; line-height: 1.9; }
.search-empty a { color: var(--accent-text); }
.search-empty .chip { color: var(--fg); }

.notfound { padding: 48px 24px 64px; }
.notfound h1 { margin: 0 0 12px; font-size: 40px; }
.notfound ul { margin: 16px 0 28px; padding-left: 20px; line-height: 1.8; }

/* ---------- Phones and small tablets ---------- */
@media (max-width: 820px) {
	.wrap { padding: 0 16px; }
	.topbar-date { display: none; }
	.topbar .wrap { justify-content: flex-end; }
	.masthead .wrap { padding-top: 14px; padding-bottom: 14px; gap: 12px; }
	.logo img { height: 46px; }
	.mast-cta { display: none; }
	.search { order: 3; flex: 1 1 100%; }
	/* Sections become one swipeable row */
	.mainnav ul { flex-wrap: nowrap; overflow-x: auto; padding: 0 4px; scrollbar-width: none; }
	.mainnav ul::-webkit-scrollbar { display: none; }
	.mainnav a { white-space: nowrap; min-height: 48px; }
	.ad-leader .ad-slot { width: 320px; height: 100px; }
	.ad-728x90 .house { width: 100%; height: auto; padding: 14px 16px; flex-wrap: wrap; justify-content: center; }
	.ad-728x90 .house-btn { margin: 0; }
	.lead { gap: 24px; padding: 20px 0 28px; }
	.scamwatch { padding: 18px; margin: 24px 0; }
	.cols { gap: 32px; }
	.fiband { padding: 40px 0; }
	.fiband h2, .nlband h2 { font-size: 26px; }
	.podcast { padding: 40px 0; }
	.pod-box { padding: 20px; }
	.nlband .wrap { padding-top: 40px; padding-bottom: 40px; }
}

@media (max-width: 600px) {
	.story { flex-wrap: nowrap; gap: 14px; padding: 16px 0; }
	.story .thumb { order: 2; flex: 0 0 96px; height: 96px; aspect-ratio: auto; }
	.story h3 { font-size: 17px; line-height: 1.3; }
	.story .dek { display: none; }
	.top h3 { font-size: 17px; }
	.art-body { font-size: 18px; }
	.art-body h2 { font-size: 23px; }
	.art-hero { margin-bottom: 28px; }
	.art-hero img { border-radius: 10px; }
	.art-cols { gap: 36px; }
	.share-box, .fi-share { padding: 18px; }
	.ad-sticky { position: static; }
	.section-head h2 { font-size: 22px; }
	.aud-label { display: none; }
	/* Section lists: compact rows with a small picture on the right */
	.sec-grid { display: block; padding-top: 8px; }
	.sec-card { display: grid; grid-template-columns: minmax(0, 1fr) 96px; grid-template-areas: "k t" "h t" "m t"; grid-template-rows: auto auto 1fr; column-gap: 14px; row-gap: 6px; padding: 16px 0; border-bottom: 1px solid var(--border); }
	.sec-card .thumb { grid-area: t; width: 96px; height: 96px; aspect-ratio: auto; }
	.sec-card .kicker { grid-area: k; }
	.sec-card h2 { grid-area: h; font-size: 17px; line-height: 1.3; }
	.sec-card .dek { display: none; }
	.sec-card .meta { grid-area: m; }
	.sec-ad { margin: 16px 0; }
	.podbar { padding: 16px; gap: 16px; }
	.podbar-media { flex-basis: 100%; }
	.podbar h2 { font-size: 21px; }
	.podbar-actions { flex-basis: 100%; flex-direction: row; flex-wrap: wrap; align-items: center; }
	.video-icon { width: 60px; height: 60px; margin: -30px 0 0 -30px; }
	.result { gap: 14px; padding: 16px 0; }
	.result .thumb { flex: 0 0 96px; height: 96px; }
	.result h2 { font-size: 17px; }
	.result .dek { font-size: 15px; }
}

@media (prefers-reduced-motion: no-preference) {
	.thumb img { transition: transform .3s ease; }
	a:hover > .thumb img, .thumb:hover img { transform: scale(1.03); }
}
