/* HeadlineStand - design system, direction B "the sign on a stand".
   Tokens: exactly the owner-approved tokens.css (light + [data-theme="dark"]).
   Rules: blue (--hs-accent) is a FILL colour only, blue text uses --hs-accent-text.
   Condensed caps headings, 3px rule motif, flat, no photos. */

/* ===================== tokens (as delivered) ===================== */
:root {
  --hs-bg: #f2f2f0;
  --hs-surface: #ffffff;
  --hs-raise: #e9e9e6;
  --hs-line: #d9d9d6;
  --hs-rule: #111111;
  --hs-text: #111111;
  --hs-text-2: #5c5c5c;
  --hs-accent: #0a66c2;
  --hs-on-accent: #ffffff;
  --hs-accent-hover: #004182;
  --hs-accent-text: #0a66c2;
  --hs-ink: #111111;
  --hs-on-ink: #ffffff;
  --hs-up: #0a66c2;
  --hs-down: #6d28d9;
  --hs-focus: #1d4ed8;

  --hs-font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --hs-font-body: 'Barlow', system-ui, sans-serif;
  --hs-weight-regular: 400;
  --hs-weight-medium: 500;
  --hs-weight-semibold: 600;
  --hs-weight-bold: 700;
  --hs-weight-black: 800;
  --hs-size-xs: 13px;
  --hs-size-sm: 15px;
  --hs-size-md: 17px;
  --hs-size-lg: 22px;
  --hs-size-xl: 30px;
  --hs-size-2xl: 44px;
  --hs-size-3xl: 64px;
  --hs-leading-display: 1.05;
  --hs-leading-body: 1.5;
  --hs-tracking-label: 0.06em;

  --hs-radius-sm: 4px;
  --hs-radius-md: 6px;
  --hs-radius-lg: 10px;
  --hs-radius-pill: 999px;
  --hs-rule-width: 3px;
  --hs-space-1: 4px;
  --hs-space-2: 8px;
  --hs-space-3: 12px;
  --hs-space-4: 16px;
  --hs-space-5: 24px;
  --hs-space-6: 32px;
  --hs-space-7: 48px;
  --hs-container: 1280px;
  --hs-tap: 44px;
}

[data-theme="dark"] {
  --hs-bg: #111111;
  --hs-surface: #1b1b1b;
  --hs-raise: #262626;
  --hs-line: #333333;
  --hs-rule: #f2f2f0;
  --hs-text: #f2f2f0;
  --hs-text-2: #a8a8a4;
  --hs-accent: #0a66c2;
  --hs-on-accent: #ffffff;
  --hs-accent-hover: #004182;
  --hs-accent-text: #70b5f9;
  --hs-ink: #f2f2f0;
  --hs-on-ink: #111111;
  --hs-up: #70b5f9;
  --hs-down: #b39dff;
  --hs-focus: #8ab0ff;
}

/* fixed dark bands (top bar, footer, section hero, bottom nav) stay dark in both themes */
:root { --hs-band: #111111; --hs-on-band: #f2f2f0; --hs-band-2: #a8a8a4; --hs-band-line: #333333; }

/* ===================== base ===================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; color-scheme: light; }
[data-theme="dark"] { color-scheme: dark; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--hs-bg); color: var(--hs-text);
  font-family: var(--hs-font-body); font-size: var(--hs-size-sm); line-height: var(--hs-leading-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, .hd { font-family: var(--hs-font-display); line-height: var(--hs-leading-display); margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--hs-focus); outline-offset: 2px; }
.sr-only { 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 { position: absolute; left: -9999px; top: 0; z-index: 99; background: var(--hs-ink); color: var(--hs-on-ink); padding: 12px 16px; font-weight: 700; }
.skip:focus { left: 8px; top: 8px; }
.muted { color: var(--hs-text-2); }
.accent-text { color: var(--hs-accent-text); }
.tnum { font-variant-numeric: tabular-nums; }
.wrap { width: 100%; max-width: var(--hs-container); margin: 0 auto; padding: 0 24px; }

/* ===================== top bar ===================== */
.topbar { background: var(--hs-band); color: var(--hs-on-band); }
.topbar .wrap { padding-top: 8px; padding-bottom: 8px; display: flex; flex-wrap: wrap; gap: 4px 24px; justify-content: space-between; font-size: var(--hs-size-xs); }
.topbar strong { font-weight: 600; }

/* ===================== header ===================== */
.site-head { background: var(--hs-surface); border-bottom: var(--hs-rule-width) solid var(--hs-rule); position: sticky; top: 0; z-index: 40; }
.head-row { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; min-height: var(--hs-tap); flex: none; }
.brand:hover { text-decoration: none; }
.logo { display: block; height: 40px; width: auto; }
.logo-d, .logo-m { display: none; }
[data-theme="dark"] .site-head .logo-l { display: none; }
[data-theme="dark"] .site-head .logo-d { display: block; }
/* as nieuwskoerier: the horizontal lockup on phones too (30px, shrinking on narrow screens); only under 340px,
   where it would drop below ~25px, the stacked lockup through <picture>; 44px keeps the header height */
.site-head .brand picture { min-width: 0; line-height: 0; }
@media (max-width: 339px) {
  .site-head .brand .logo { width: auto; height: 44px; }
}
/* phones under 320px: the HS monogram alone */
@media (max-width: 319px) {
  .site-head .brand .logo, [data-theme="dark"] .site-head .brand .logo { display: none; }
  .site-head .logo-m { display: block; width: 36px; height: 36px; }
}
.search { flex: 1 1 260px; margin: 0; display: flex; align-items: center; gap: 8px; height: var(--hs-tap); padding: 0 14px; border: 1px solid var(--hs-text-2); border-radius: var(--hs-radius-sm); background: var(--hs-surface); }
.search:focus-within { border-color: var(--hs-text); }
.search svg { flex: none; }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--hs-text); outline: none; }
.search input::placeholder { color: var(--hs-text-2); }
.head-actions { display: flex; gap: 8px; align-items: center; }
.icon-btn { width: var(--hs-tap); height: var(--hs-tap); display: inline-flex; align-items: center; justify-content: center; border: 0; background: transparent; border-radius: var(--hs-radius-sm); color: var(--hs-text); position: relative; flex: none; }
.icon-btn:hover { background: var(--hs-raise); text-decoration: none; }
.icon-btn svg { width: 22px; height: 22px; }
.badge-dot { position: absolute; top: 6px; right: 5px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: var(--hs-radius-pill); background: var(--hs-accent); color: var(--hs-on-accent); font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; line-height: 1; }
.theme-btn .i-sun { display: none; }
[data-theme="dark"] .theme-btn .i-sun { display: block; }
[data-theme="dark"] .theme-btn .i-moon { display: none; }
.mob-only { display: none !important; }

/* buttons */
.btn { height: var(--hs-tap); padding: 0 16px; border-radius: var(--hs-radius-sm); border: 1px solid var(--hs-text); background: var(--hs-surface); color: var(--hs-text); font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; text-decoration: none; line-height: 1; }
.btn:hover { background: var(--hs-raise); text-decoration: none; }
.btn-ink { background: var(--hs-ink); color: var(--hs-on-ink); border-color: var(--hs-ink); }
.btn-ink:hover { background: var(--hs-ink); opacity: .88; }
.btn-accent { background: var(--hs-accent); color: var(--hs-on-accent); border-color: var(--hs-accent); padding: 0 18px; }
.btn-accent:hover { background: var(--hs-accent-hover); }   /* border keeps the accent, so the button keeps its edge on the dark page */
.btn-ghost { border-color: transparent; background: transparent; color: var(--hs-text-2); font-weight: 600; padding: 0 4px; }
.btn-ghost:hover { background: transparent; color: var(--hs-text); text-decoration: underline; }
.btn-sm { height: 36px; padding: 0 12px; font-size: var(--hs-size-xs); }
.btn[disabled] { opacity: .5; cursor: default; }
.btn .ext { width: 14px; height: 14px; }
.linkish { border: 0; background: transparent; padding: 0; min-height: 40px; color: inherit; font-weight: inherit; display: inline-flex; align-items: center; }
.linkish:hover { color: var(--hs-text); text-decoration: underline; }

/* user menu */
.usermenu { position: relative; }
.user-toggle { border: 0; background: transparent; padding: 2px; border-radius: var(--hs-radius-sm); display: flex; min-height: var(--hs-tap); align-items: center; }
.user-pop { position: absolute; right: 0; top: calc(100% + 6px); min-width: 220px; background: var(--hs-surface); border: 1px solid var(--hs-line); border-top: var(--hs-rule-width) solid var(--hs-rule); padding: 8px 0; display: none; z-index: 60; }
.usermenu.open .user-pop { display: block; }
.user-pop a, .user-pop .pop-name { display: block; padding: 10px 16px; font-weight: 600; }
.user-pop .pop-name { font-family: var(--hs-font-display); font-size: var(--hs-size-lg); font-weight: 700; border-bottom: 1px solid var(--hs-line); margin-bottom: 4px; }
.user-pop a:hover { background: var(--hs-raise); text-decoration: none; }

/* section nav */
.sec-nav { display: flex; gap: 0 2px; font-family: var(--hs-font-display); font-size: 19px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; overflow-x: auto; scrollbar-width: none; }
.sec-nav::-webkit-scrollbar { display: none; }
.sec-nav a { padding: 10px 12px; white-space: nowrap; flex: none; }
.sec-nav a:hover { text-decoration: none; background: var(--hs-raise); }
.sec-nav a[aria-current="page"] { background: var(--hs-ink); color: var(--hs-on-ink); }

/* ===================== layout ===================== */
main { flex: 1 0 auto; width: 100%; }
.page { max-width: var(--hs-container); margin: 0 auto; padding: 24px 24px 56px; display: flex; flex-direction: column; gap: 32px; }
.cols { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.col-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; }
.col-side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.sec-title { font-size: 26px; font-weight: 800; text-transform: uppercase; line-height: 1; }
.sec-head { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: baseline; justify-content: space-between; }
.sec-head .note { font-size: var(--hs-size-xs); color: var(--hs-text-2); }
.sec-head.mb { margin-bottom: 8px; align-items: center; }
.rule-top { border-top: var(--hs-rule-width) solid var(--hs-rule); padding-top: 12px; }

/* labels */
.tag { display: inline-block; font-family: var(--hs-font-display); font-size: var(--hs-size-sm); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; background: var(--hs-ink); color: var(--hs-on-ink); padding: 2px 8px; line-height: 1.3; }
.tag:hover { text-decoration: none; }
.tag-accent { background: var(--hs-accent); color: var(--hs-on-accent); }
.tag-plain { background: transparent; color: var(--hs-text); padding: 0; }
.label { font-size: var(--hs-size-xs); font-weight: 700; text-transform: uppercase; letter-spacing: var(--hs-tracking-label); color: var(--hs-text-2); }
.boxed-label { align-self: flex-start; border: 1px solid var(--hs-text); padding: 1px 8px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: var(--hs-tracking-label); }
.meta { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; font-size: var(--hs-size-xs); color: var(--hs-text-2); }
.meta strong, .meta .strong { font-weight: 700; color: var(--hs-text); }
.badge { border: 1px solid var(--hs-text); padding: 0 7px; font-weight: 700; font-size: var(--hs-size-xs); line-height: 1.5; color: var(--hs-text); }
.badge--ink { background: var(--hs-ink); color: var(--hs-on-ink); border-color: var(--hs-ink); }
.pay { font-size: var(--hs-size-xs); font-weight: 700; color: var(--hs-text-2); border: 1px dashed var(--hs-text-2); padding: 0 6px; }

/* ===================== on the stand now ===================== */
.stand { display: flex; flex-direction: column; gap: 12px; }
.stand-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); background: var(--hs-surface); border: 1px solid var(--hs-line); border-radius: var(--hs-radius-md); overflow: hidden; }
.stand-item { padding: 14px 16px; display: flex; gap: 12px; border-right: 1px solid var(--hs-line); }
.stand-item:last-child { border-right: 0; }
.stand-item:hover { background: var(--hs-raise); text-decoration: none; }
.stand-item:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.num-box { width: 36px; height: 36px; flex: none; background: var(--hs-ink); color: var(--hs-on-ink); font-family: var(--hs-font-display); font-size: 24px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.stand-item:first-child .num-box { background: var(--hs-accent); color: var(--hs-on-accent); }
.stand-item strong { display: block; line-height: 1.25; font-weight: 700; }
.stand-item .muted { font-size: var(--hs-size-xs); }

/* ===================== top stories ===================== */
.top { display: flex; flex-wrap: wrap; gap: 32px; align-items: stretch; border-bottom: var(--hs-rule-width) solid var(--hs-rule); padding-bottom: 32px; }
.lead { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.lead h1, .lead .lead-h { font-size: clamp(40px, 5.4vw, 76px); font-weight: 800; line-height: .98; letter-spacing: -0.01em; text-wrap: balance; }
.lead .summary { display: flex; flex-direction: column; gap: 6px; max-width: 68ch; }
.lead .summary p { font-size: 19px; line-height: 1.5; }
.src-boxes { display: flex; flex-wrap: wrap; border: 1px solid var(--hs-line); background: var(--hs-surface); border-radius: var(--hs-radius-md); max-width: 760px; overflow: hidden; }
.src-boxes a { flex: 1 1 240px; padding: 12px 16px; border-right: 1px solid var(--hs-line); min-width: 0; }
.src-boxes a:last-child { border-right: 0; }
.src-boxes .meta { display: block; margin-bottom: 2px; }
.lead-actions { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
.lead-actions .quiet { min-height: var(--hs-tap); display: flex; align-items: center; font-weight: 600; color: var(--hs-text-2); }
.top-side { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.side-story { display: flex; flex-direction: column; gap: 8px; padding-bottom: 20px; border-bottom: 1px solid var(--hs-line); }
.side-story:last-child { border-bottom: 0; padding-bottom: 0; }
.side-story h2 { font-size: 32px; font-weight: 700; line-height: 1.05; }
.side-story .tag-plain { font-size: var(--hs-size-sm); }
.side-story p { color: var(--hs-text-2); }

/* ===================== story rows (Latest lists) ===================== */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tabs a { height: var(--hs-tap); padding: 0 16px; border-radius: var(--hs-radius-sm); border: 1px solid var(--hs-text); font-weight: 600; display: flex; align-items: center; white-space: nowrap; }
.tabs a:hover { text-decoration: none; background: var(--hs-raise); }
.tabs a[aria-current="page"] { background: var(--hs-ink); color: var(--hs-on-ink); border-color: var(--hs-ink); font-weight: 700; }
.rows { list-style: none; margin: 0; padding: 0; }
.row { border-top: 1px solid var(--hs-line); }
.rows .row:last-child { border-bottom: 1px solid var(--hs-line); }
.row { display: flex; gap: 20px; padding: 16px 0; position: relative; }
.row-h::after { content: ''; position: absolute; inset: 0; }   /* the headline link covers the whole row; votes, comments and share sit above it */
.row:hover .row-h { text-decoration: underline; text-underline-offset: 3px; }
.row-time { width: 60px; flex: none; font-family: var(--hs-font-display); font-size: 22px; font-weight: 700; line-height: 1.15; font-variant-numeric: tabular-nums; }
.row-time.long { font-size: 17px; }
.row-body { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.row-meta { font-size: var(--hs-size-xs); color: var(--hs-text-2); }
.row-meta strong { color: var(--hs-text); font-weight: 700; }
.row-h { font-family: var(--hs-font-display); font-size: 26px; font-weight: 700; line-height: 1.1; }
.row-ex { color: var(--hs-text-2); font-size: var(--hs-size-sm); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.more-row { margin-top: 16px; }
.empty { padding: 24px 0; color: var(--hs-text-2); border-top: 1px solid var(--hs-line); }
.empty strong { color: var(--hs-text); }

/* feature row (first item of a section page) */
.feature { background: var(--hs-surface); border-top: var(--hs-rule-width) solid var(--hs-rule); padding: 20px; display: flex; flex-direction: column; gap: 12px; margin-bottom: 8px; border-left: 1px solid var(--hs-line); border-right: 1px solid var(--hs-line); border-bottom: 1px solid var(--hs-line); }
.feature h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; line-height: 1; }
.feature p { font-size: var(--hs-size-md); }

/* ===================== sidebar boxes ===================== */
.side-box { border-top: var(--hs-rule-width) solid var(--hs-rule); padding-top: 10px; display: flex; flex-direction: column; gap: 10px; }
.side-box h2 { font-size: var(--hs-size-lg); font-weight: 800; text-transform: uppercase; line-height: 1.1; }
.rank { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.rank a { display: flex; gap: 12px; align-items: baseline; }
.rank .n { font-family: var(--hs-font-display); font-size: 26px; font-weight: 800; color: var(--hs-accent-text); width: 28px; flex: none; line-height: 1; font-variant-numeric: tabular-nums; }
.rank .t { font-weight: 600; line-height: 1.3; }
.kv { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: var(--hs-size-xs); }
.kv li { display: flex; justify-content: space-between; gap: 12px; }
.kv strong { font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: var(--hs-tap); padding: 0 14px; border: 1px solid var(--hs-text); border-radius: var(--hs-radius-sm); font-weight: 700; display: inline-flex; align-items: center; background: var(--hs-surface); color: var(--hs-text); }
.chip:hover { text-decoration: none; background: var(--hs-raise); }
.chip.on { background: var(--hs-ink); color: var(--hs-on-ink); border-color: var(--hs-ink); }
button.chip { cursor: pointer; }

/* "Take a stand" dark box */
.stand-box { background: var(--hs-band); color: var(--hs-on-band); padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; border-radius: var(--hs-radius-md); }
.stand-box h2 { font-size: 26px; font-weight: 800; line-height: 1.05; color: var(--hs-on-band); }
.stand-box p { font-size: var(--hs-size-xs); color: var(--hs-band-2); }
.stand-box .vote-pair { display: flex; gap: 8px; }
.stand-box .vote-pair .btn { flex: 1; }
.stand-box .btn { background: transparent; color: var(--hs-on-band); border-color: var(--hs-on-band); }
.stand-box .btn.fill { background: #ffffff; color: #111111; border-color: #ffffff; }

/* ad slots: hidden until AdSense is configured */
.ad-slot { display: none; }
.has-ads .ad-slot { display: flex; }

/* ===================== section hero ===================== */
.hero { background: var(--hs-band); color: var(--hs-on-band); }
.hero .wrap { padding-top: 28px; padding-bottom: 24px; display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: flex-end; justify-content: space-between; }
.hero .eyebrow { font-size: var(--hs-size-xs); font-weight: 700; text-transform: uppercase; letter-spacing: var(--hs-tracking-label); color: var(--hs-on-band); }
.hero h1 { font-size: clamp(64px, 11vw, 132px); font-weight: 800; text-transform: uppercase; line-height: .86; letter-spacing: -0.01em; color: var(--hs-on-band); }
.hero .hero-l { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.hero .hero-r { max-width: 380px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.hero .hero-r p { font-size: var(--hs-size-md); color: var(--hs-on-band); }
.hero .chips { margin-top: 12px; }
.hero .chip { background: transparent; color: var(--hs-on-band); border-color: var(--hs-on-band); }
.hero .chip.on { background: #ffffff; color: #111111; border-color: #ffffff; }
.hero .stats { font-size: var(--hs-size-xs); color: var(--hs-band-2); }
.hero--page h1 { font-size: clamp(48px, 8vw, 96px); }

/* ===================== story page ===================== */
.crumbs { font-size: var(--hs-size-xs); color: var(--hs-text-2); display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--hs-text-2); }
.crumbs span[aria-current] { color: var(--hs-text); font-weight: 700; }
.story-head { display: flex; flex-direction: column; gap: 12px; max-width: 900px; }
.story-head h1 { font-size: clamp(38px, 5.2vw, 72px); font-weight: 800; line-height: .98; letter-spacing: -0.01em; text-wrap: balance; }
.story-head .sub { font-size: var(--hs-size-xs); color: var(--hs-text-2); }
.story-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.story-actions .quiet { font-size: var(--hs-size-sm); color: var(--hs-text-2); margin-left: 8px; font-weight: 600; }
.box { background: var(--hs-surface); border: 1px solid var(--hs-line); border-top: var(--hs-rule-width) solid var(--hs-rule); padding: 20px 22px; display: flex; flex-direction: column; gap: 14px; }
.box-head { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: baseline; justify-content: space-between; }
.box-head h2 { font-size: 28px; font-weight: 800; text-transform: uppercase; }
.excerpt { font-size: 19px; line-height: 1.55; max-width: 68ch; }
.excerpt-src { font-size: var(--hs-size-xs); color: var(--hs-text-2); }
.facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.facts li { display: flex; gap: 12px; font-size: var(--hs-size-md); align-items: flex-start; }
.facts .fn { min-width: 16px; flex: none; color: var(--hs-text-2); font-family: var(--hs-font-display); font-size: var(--hs-size-md); font-weight: 700; line-height: inherit; font-variant-numeric: tabular-nums; }   /* calm: a small muted numeral, no orange square */
.facts .fs { font-size: var(--hs-size-xs); color: var(--hs-text-2); text-decoration: underline; text-underline-offset: 2px; }
.two-up { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 12px; }
.panel { background: var(--hs-raise); padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.panel h3 { font-size: var(--hs-size-md); font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.story-section { display: flex; flex-direction: column; gap: 16px; }
.story-section > .sec-head h2 { font-size: var(--hs-size-xl); font-weight: 800; text-transform: uppercase; line-height: 1; }
.timeline { background: var(--hs-surface); border: 1px solid var(--hs-line); padding: 20px 24px; display: flex; flex-direction: column; gap: 6px; }
.tl-track { position: relative; height: 44px; border-bottom: 2px solid var(--hs-line); }
.tl-bar { position: absolute; bottom: 0; width: 12px; background: var(--hs-ink); transform: translateX(-6px); }
.tl-bar.last { background: var(--hs-accent); }
.tl-axis { position: relative; height: 18px; font-size: var(--hs-size-xs); color: var(--hs-text-2); font-variant-numeric: tabular-nums; }
.tl-axis span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.tl-axis span.l { transform: none; }
.tl-axis span.r { transform: translateX(-100%); }
.sources { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.source { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; padding: 18px 0; border-top: 1px solid var(--hs-line); }
.source:first-child { border-top: var(--hs-rule-width) solid var(--hs-rule); }
.sources .source:last-child { border-bottom: 1px solid var(--hs-line); }
.source .s-time { font-family: var(--hs-font-display); font-size: 28px; font-weight: 800; width: 76px; flex: none; line-height: 1; font-variant-numeric: tabular-nums; }
.source .s-time small { display: block; font-family: var(--hs-font-body); font-size: 12px; font-weight: 600; color: var(--hs-text-2); margin-top: 2px; }
.source .s-body { flex: 1 1 320px; min-width: 0; }
.source .s-meta { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; font-size: 14px; }
.source .s-meta strong { font-weight: 700; }
.source .s-h { display: block; font-family: var(--hs-font-display); font-size: 26px; font-weight: 700; line-height: 1.1; }
.source .s-ex { color: var(--hs-text-2); font-size: var(--hs-size-sm); margin-top: 4px; }
.add-source { border: 1px dashed var(--hs-text-2); padding: 18px 20px; display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; justify-content: space-between; }
.add-source .muted { display: block; }
.side-sources { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.side-sources li { display: flex; justify-content: space-between; gap: 12px; font-size: var(--hs-size-xs); }
.side-sources strong { display: block; font-size: var(--hs-size-sm); }
.more-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.more-list .meta { margin-bottom: 2px; }
.more-list .mh { font-family: var(--hs-font-display); font-size: var(--hs-size-lg); font-weight: 700; line-height: 1.1; display: block; }

/* ===================== take a stand: motion + reactions ===================== */
.discussion { display: flex; flex-direction: column; gap: 18px; border-top: var(--hs-rule-width) solid var(--hs-rule); padding-top: 20px; scroll-margin-top: 140px; }
.discussion > .sec-head h2 { font-size: var(--hs-size-xl); font-weight: 800; text-transform: uppercase; line-height: 1; }
.discussion .cnt-n:not(:empty)::after { content: " \00b7  "; }   /* "12 comments · You have read the news..."; empty at 0 (hs.js fills it) */
.motion { background: var(--hs-surface); border: 1px solid var(--hs-line); padding: 22px 26px; display: flex; flex-direction: column; gap: 14px; }
.motion h3 { font-size: 32px; font-weight: 700; line-height: 1.05; margin-top: 2px; }
.mbar { display: flex; height: var(--hs-tap); font-weight: 700; }
.mbar span { display: flex; align-items: center; padding: 0 14px; white-space: nowrap; overflow: hidden; min-width: 0; }
.mbar .a { background: var(--hs-ink); color: var(--hs-on-ink); }
.mbar .d { background: var(--hs-line); color: var(--hs-text); justify-content: flex-end; }
.mfoot { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; font-size: 14px; color: var(--hs-text-2); }
.mfoot .vote-pair { display: flex; gap: 8px; }
.mvote.on { outline: 2px solid var(--hs-text); outline-offset: 2px; }
.argument { background: var(--hs-bg); padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.argument .label { color: var(--hs-text); text-transform: none; letter-spacing: 0; font-size: var(--hs-size-xs); }
.comments-sort { display: flex; gap: 6px; align-items: center; font-size: var(--hs-size-xs); color: var(--hs-text-2); flex-wrap: wrap; }
.comments-sort a { padding: 6px 10px; border-radius: var(--hs-radius-sm); font-weight: 600; }
.comments-sort a[aria-current="true"] { background: var(--hs-ink); color: var(--hs-on-ink); }
.clist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.cm { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--hs-line); scroll-margin-top: 140px; }
.clist .cm:last-child { border-bottom: 1px solid var(--hs-line); }
.cm.flash { background: var(--hs-raise); transition: background 1.5s; }
.cm.is-low .cm-body { opacity: .55; }
.cm-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.cm-head { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; font-size: 14px; }
.cm-num { color: var(--hs-text-2); font-weight: 700; }
.cm-name { font-weight: 700; }
.cm-head time { color: var(--hs-text-2); }
.cm-body { font-size: 16px; overflow-wrap: anywhere; }
.cm-removed { color: var(--hs-text-2); font-style: italic; }
.cm-ref, a.mention { background: var(--hs-raise); padding: 0 5px; font-weight: 700; }
.cm-ref:hover, a.mention:hover { text-decoration: underline; }
.cm-link { color: var(--hs-accent-text); text-decoration: underline; }
.cm-actions { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; font-size: 14px; font-weight: 600; color: var(--hs-text-2); }
.vote { width: var(--hs-tap); height: 40px; border: 0; background: transparent; display: flex; align-items: center; justify-content: center; border-radius: var(--hs-radius-sm); }
.vote-up { color: var(--hs-up); }
.vote-down { color: var(--hs-down); }
.vote:hover { background: var(--hs-raise); }
.vote.is-on { background: var(--hs-raise); outline: 2px solid currentColor; outline-offset: -2px; }
.cm-actions .score { color: var(--hs-text); font-weight: 700; min-width: 12px; text-align: center; font-variant-numeric: tabular-nums; }
.cm-replies a { color: var(--hs-text-2); }
.ava { width: 40px; height: 40px; border-radius: var(--hs-radius-sm); flex: none; object-fit: cover; display: block; }
.ava-i { background: var(--hs-text-2); color: #ffffff; font-weight: 700; display: flex; align-items: center; justify-content: center; line-height: 1; letter-spacing: .02em; }
.ava--ink { background: var(--hs-ink); color: var(--hs-on-ink); }
.ava--ghost { background: var(--hs-raise); color: var(--hs-text-2); }
.ava-wrap { position: relative; display: inline-flex; }
.pres-dot { position: absolute; right: -3px; bottom: -3px; width: 12px; height: 12px; border-radius: 50%; background: #2f9e44; border: 2px solid var(--hs-surface); }
.composer { margin: 0; background: var(--hs-surface); border: 1px solid var(--hs-line); padding: 16px 20px; display: flex; flex-direction: column; gap: 10px; }
.composer label { font-weight: 700; }
.composer textarea { width: 100%; min-height: 88px; resize: vertical; padding: 12px 14px; border: 1px solid var(--hs-text-2); border-radius: var(--hs-radius-sm); background: var(--hs-bg); color: var(--hs-text); }
.composer .c-foot { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; font-size: var(--hs-size-xs); color: var(--hs-text-2); }
.replyctx { display: flex; align-items: center; gap: 8px; font-size: var(--hs-size-xs); font-weight: 600; }
.replyctx button { border: 0; background: var(--hs-raise); width: 28px; height: 28px; border-radius: var(--hs-radius-sm); }
.gate { background: var(--hs-surface); border: 1px solid var(--hs-line); padding: 18px 20px; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; }
.gate p { max-width: 52ch; }
.gate .btns { display: flex; gap: 8px; flex-wrap: wrap; }
.notice { padding: 12px 16px; border: 1px solid var(--hs-line); border-top: var(--hs-rule-width) solid var(--hs-rule); background: var(--hs-surface); font-weight: 600; }
.notice.ok { border-top-color: var(--hs-accent); }
.notice.err { border-top-color: var(--hs-accent-text); color: var(--hs-text); }

/* pager */
.pager { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; align-items: center; }
.pager a, .pager span { min-width: var(--hs-tap); height: var(--hs-tap); padding: 0 14px; border: 1px solid var(--hs-text); border-radius: var(--hs-radius-sm); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.pager a:hover { background: var(--hs-raise); text-decoration: none; }
.pager [aria-current="page"] { background: var(--hs-ink); color: var(--hs-on-ink); border-color: var(--hs-ink); }
.pager .gap { border: 0; min-width: 0; padding: 0 4px; }
.cpag { display: flex; flex-wrap: wrap; gap: 6px; }
.cpag button { min-width: 40px; height: 40px; border: 1px solid var(--hs-text); background: var(--hs-surface); border-radius: var(--hs-radius-sm); font-weight: 700; }
.cpag button[aria-current="page"] { background: var(--hs-ink); color: var(--hs-on-ink); }

/* ===================== forms, auth, info pages ===================== */
.narrow { max-width: 760px; }
.card { background: var(--hs-surface); border: 1px solid var(--hs-line); border-top: var(--hs-rule-width) solid var(--hs-rule); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.auth { width: 100%; max-width: 460px; margin: 0 auto; }
.auth h1, .card h1 { font-size: var(--hs-size-2xl); font-weight: 800; text-transform: uppercase; line-height: 1; }
.form { display: flex; flex-direction: column; gap: 14px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; }
.form label .opt, .form .hint { font-weight: 400; color: var(--hs-text-2); font-size: var(--hs-size-xs); }
.form input[type=text], .form input[type=email], .form input[type=password], .form input[type=url], .form input[type=search], .form select, .form textarea {
  width: 100%; min-height: var(--hs-tap); padding: 10px 12px; border: 1px solid var(--hs-text-2); border-radius: var(--hs-radius-sm); background: var(--hs-bg); color: var(--hs-text); font-weight: 400; }
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--hs-text); outline: 3px solid var(--hs-focus); outline-offset: 0; }
.form .check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; }
.form .check input { width: 20px; height: 20px; margin-top: 2px; flex: none; }
.form .row-btns { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alt { font-size: var(--hs-size-sm); color: var(--hs-text-2); }
.alt a { color: var(--hs-text); font-weight: 700; text-decoration: underline; }
.or { display: flex; align-items: center; gap: 12px; color: var(--hs-text-2); font-size: var(--hs-size-xs); text-transform: uppercase; letter-spacing: var(--hs-tracking-label); font-weight: 700; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--hs-line); }
.prose { max-width: 70ch; display: flex; flex-direction: column; gap: 14px; font-size: var(--hs-size-md); }
.prose h2 { font-size: var(--hs-size-xl); font-weight: 800; text-transform: uppercase; margin-top: 12px; }
.prose h3 { font-size: var(--hs-size-lg); font-weight: 700; margin-top: 6px; }
.prose ul, .prose ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.prose a { text-decoration: underline; color: var(--hs-accent-text); }
.prose .todo { border: 1px dashed var(--hs-text-2); padding: 10px 14px; font-size: var(--hs-size-sm); color: var(--hs-text-2); }
.info-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.info-nav a { font-weight: 600; padding: 6px 10px; border: 1px solid var(--hs-line); border-radius: var(--hs-radius-sm); }
.info-nav a[aria-current="page"] { background: var(--hs-ink); color: var(--hs-on-ink); border-color: var(--hs-ink); }

/* profile + notifications + lists */
.profile-head { display: flex; flex-wrap: wrap; gap: 16px 20px; align-items: center; }
.profile-head .ava { width: 72px; height: 72px; font-size: 26px; }
.profile-head h1 { font-size: var(--hs-size-2xl); font-weight: 800; }
.stats-line { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: var(--hs-size-xs); color: var(--hs-text-2); }
.stats-line strong { color: var(--hs-text); }
.nlist { list-style: none; margin: 0; padding: 0; }
.nitem { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--hs-line); align-items: flex-start; }
.nitem.unread { background: var(--hs-surface); padding-left: 12px; }
.nitem.unread .n-main > a { font-weight: 700; }
.nitem.unread .n-main > .meta::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--hs-accent); margin-right: -4px; }   /* unread: bold line + a small accent dot, no coloured side bar */
.nitem .n-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.nitem .n-quote { color: var(--hs-text-2); font-size: var(--hs-size-sm); }
.nitem .n-x { flex: none; width: var(--hs-tap); height: var(--hs-tap); margin: -8px -8px 0 0; border: 0; border-radius: var(--hs-radius-sm); background: transparent; color: var(--hs-text-2); display: inline-flex; align-items: center; justify-content: center; }
.nitem .n-x:hover { background: var(--hs-raise); color: var(--hs-text); }
.nitem .n-x svg { width: 22px; height: 22px; }
.clist-plain { list-style: none; margin: 0; padding: 0; }
.clist-plain li { padding: 14px 0; border-top: 1px solid var(--hs-line); display: flex; flex-direction: column; gap: 4px; }
.clist-plain .on-story { font-family: var(--hs-font-display); font-weight: 700; font-size: var(--hs-size-lg); line-height: 1.1; }
.clist-plain .q { color: var(--hs-text); }
.admin-table { width: 100%; border-collapse: collapse; font-size: var(--hs-size-xs); }
.admin-table th, .admin-table td { text-align: left; padding: 8px; border-top: 1px solid var(--hs-line); vertical-align: top; }
.admin-table th { font-weight: 700; }

/* 404 */
.big404 { font-family: var(--hs-font-display); font-weight: 800; font-size: clamp(96px, 18vw, 200px); line-height: .85; }

/* ===================== footer ===================== */
.site-foot { background: var(--hs-band); color: var(--hs-on-band); margin-top: auto; }
.site-foot .wrap { padding-top: 32px; padding-bottom: 32px; display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; }
.site-foot .f-brand { max-width: 460px; display: flex; flex-direction: column; gap: 10px; font-size: var(--hs-size-xs); }
.site-foot .logo { height: 28px; width: auto; align-self: flex-start; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 8px 32px; font-size: var(--hs-size-xs); }
.site-foot nav div { display: flex; flex-direction: column; gap: 6px; }
.site-foot nav strong { font-family: var(--hs-font-display); text-transform: uppercase; font-size: var(--hs-size-sm); letter-spacing: .04em; }
.site-foot a { color: var(--hs-on-band); }
.site-foot .f-legal { width: 100%; border-top: 1px solid var(--hs-band-line); padding-top: 16px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 12px; color: var(--hs-band-2); }
.site-foot .f-legal button { background: transparent; border: 1px solid var(--hs-band-2); color: var(--hs-on-band); border-radius: var(--hs-radius-sm); padding: 4px 10px; font-size: 12px; }

/* bottom nav (mobile) */
.bottom-nav { display: none; }

/* cookie notice (functional cookies only) */
.cookie-note { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; max-width: 560px; margin: 0 auto; background: var(--hs-surface); color: var(--hs-text); border: 1px solid var(--hs-line); border-top: var(--hs-rule-width) solid var(--hs-rule); padding: 14px 16px; display: flex; gap: 12px 16px; align-items: center; font-size: var(--hs-size-xs); }
.cookie-note[hidden] { display: none; }
.cookie-note a { text-decoration: underline; font-weight: 600; }
@media (max-width: 760px) { .cookie-note { bottom: 72px; } }

/* toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--hs-band); color: var(--hs-on-band); padding: 12px 18px; border-radius: var(--hs-radius-sm); font-weight: 600; z-index: 99; opacity: 0; pointer-events: none; transition: opacity .2s; }
.toast.show { opacity: 1; }

/* dialog (login prompt / report) */
.dlg { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 16px; }
.dlg[hidden] { display: none; }
.dlg-veil { position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.dlg-box { position: relative; width: 100%; max-width: 440px; background: var(--hs-surface); border-top: var(--hs-rule-width) solid var(--hs-rule); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.dlg-box h2 { font-size: var(--hs-size-xl); font-weight: 800; text-transform: uppercase; padding-right: 32px; }   /* clear of the 44px close button (.dlg-x) */
.dlg-x { position: absolute; right: 8px; top: 8px; color: var(--hs-text); }
.dlg-x svg { width: 26px; height: 26px; }
.dlg-box:focus { outline: none; }   /* dialog gets focus on open (no ring on the close button) */

/* ===================== responsive ===================== */
@media (max-width: 1080px) {
  .head-row .search { order: 3; flex-basis: 100%; }
}
@media (max-width: 760px) {
  .wrap, .page { padding-left: 16px; padding-right: 16px; }
  .page { padding-top: 16px; gap: 24px; padding-bottom: 48px; }   /* the footer, not the page, clears the bottom nav */
  .topbar { display: none; }
  .head-row { padding-top: 6px; padding-bottom: 6px; gap: 8px; flex-wrap: nowrap; }
  .brand { flex: 0 1 auto; min-width: 0; }
  .site-head .logo { height: auto; width: 197px; max-width: 100%; min-width: 0; }
  .head-row .search { display: none; }
  .head-row .search.open { display: flex; position: absolute; left: 16px; right: 16px; top: 100%; margin-top: 6px; z-index: 50; }
  .head-actions { margin-left: auto; gap: 0; }
  .head-actions .desk-only { display: none !important; }
  .mob-only { display: inline-flex !important; }
  .sec-nav { margin: 0 -16px; padding: 0 8px; border-top: 1px solid var(--hs-line); }
  .sec-nav a { padding: 10px 10px; font-size: 19px; }
  .stand-grid { grid-template-columns: 1fr; }
  .stand-item { border-right: 0; border-bottom: 1px solid var(--hs-line); }
  .stand-item:last-child { border-bottom: 0; }
  .top { gap: 24px; padding-bottom: 24px; }
  .lead h1, .lead .lead-h { font-size: clamp(32px, 9vw, 44px); line-height: 1; }
  .lead .summary p { font-size: var(--hs-size-md); }
  .side-story h2 { font-size: 26px; }
  .row { gap: 12px; }
  .row-time { width: 46px; font-size: 18px; }
  .row-h { font-size: 22px; }
  .sec-head.mb { flex-direction: column; align-items: flex-start; }
  .tabs a { padding: 0 12px; }
  .hero h1 { font-size: clamp(40px, 22.5vw, 72px); }
  .hero--page h1 { font-size: clamp(32px, 13vw, 72px); }
  .story-head h1 { font-size: clamp(32px, 9.4vw, 44px); line-height: 1; }
  .source .s-time { width: auto; font-size: 22px; }
  .source .s-h { font-size: 22px; }
  .source .btn { min-height: 40px; padding: 0 14px; font-size: 14px; }   /* compact, not 30 full-width buttons in a row */
  .motion { padding: 18px; }
  .motion h3 { font-size: 26px; }
  .box { padding: 16px; }
  .excerpt { font-size: var(--hs-size-md); }
  /* bottom nav: five equal columns, 56px + the safe area; one 24px icon set (stroke 1.8), 11px labels.
     Active = accent icon with a soft fill and a white label; "You" = the member's picture with a hairline ring. */
  .bottom-nav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--hs-band); color: var(--hs-on-band); padding-bottom: env(safe-area-inset-bottom, 0px); }
  .bottom-nav a { min-width: 0; height: 56px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11px; font-weight: 600; line-height: 1; letter-spacing: 0; color: var(--hs-band-2); -webkit-tap-highlight-color: transparent; }
  .bottom-nav svg { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .bottom-nav .bn-l { display: block; max-width: 100%; padding: 0 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .bottom-nav a[aria-current="page"] { color: var(--hs-on-band); }
  .bottom-nav a[aria-current="page"] svg { color: var(--hs-accent); fill: color-mix(in srgb, var(--hs-accent) 22%, transparent); }
  .bottom-nav a:hover { text-decoration: none; }
  .bottom-nav a:active { background: rgba(255, 255, 255, .06); }
  .bottom-nav .bn-ava { display: block; width: 24px; height: 24px; flex: none; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgba(255, 255, 255, .3); }
  .bottom-nav a[aria-current="page"] .bn-ava { box-shadow: 0 0 0 1.5px var(--hs-band), 0 0 0 3px var(--hs-accent); }
  [data-theme="dark"] .bottom-nav { border-top: 1px solid var(--hs-line); }   /* the band on the dark page: a hairline top edge */
  .site-foot .wrap { padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
  .composer.sticky-m { position: sticky; bottom: 64px; z-index: 30; }
  .cm { gap: 10px; }
  .card { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
@media print { .site-head, .topbar, .bottom-nav, .site-foot, .col-side, .composer, .story-actions { display: none !important; } }

/* info pages (generated from Markdown) */
.prose blockquote { margin: 0; padding: 4px 0 4px 16px; border-left: var(--hs-rule-width) solid var(--hs-rule); color: var(--hs-text-2); }
.prose hr { border: 0; border-top: 1px solid var(--hs-line); margin: 8px 0; width: 100%; }
.prose code { background: var(--hs-raise); padding: 0 4px; font-size: .92em; }
.prose .tbl { overflow-x: auto; }
.prose table { border-collapse: collapse; width: 100%; font-size: var(--hs-size-sm); }
.prose th, .prose td { text-align: left; padding: 8px 10px; border-top: 1px solid var(--hs-line); vertical-align: top; }
.prose th { border-top: var(--hs-rule-width) solid var(--hs-rule); font-weight: 700; }
mark.todo-inline { background: var(--hs-raise); color: var(--hs-text); padding: 0 4px; border: 1px dashed var(--hs-text-2); }

[data-theme="dark"] .site-foot { border-top: var(--hs-rule-width) solid var(--hs-line); }
.more-sources { display: flex; flex-direction: column; gap: 12px; }
.more-sources > summary { list-style: none; align-self: flex-start; margin-top: 12px; cursor: pointer; }
.more-sources > summary::-webkit-details-marker { display: none; }
.more-sources[open] > summary { display: none; }
.more-sources .sources .source:first-child { border-top: 1px solid var(--hs-line); }

/* page-level search boxes (search page, 404): not the header flex item */
main .search { flex: 0 0 auto; width: 100%; }

/* ===================== mobile: no sideways page scroll, no iOS focus zoom ===================== */
/* safety net: one long word, URL or e-mail address can never make the page wider */
body { overflow-wrap: break-word; }
h1, h2, h3, h4 { overflow-wrap: anywhere; }
.prose pre { max-width: 100%; overflow-x: auto; }

/* native file inputs and the profile-head text column may not force their row wider than the screen */
.form input[type=file] { max-width: 100%; }
.profile-head > div { min-width: 0; }
/* flex rows that carry member names, badges or headlines: a child with one long unbroken word may shrink and wrap */
.meta > *, .cm-head > *, .crumbs > *, .s-meta > *, .stand-item > *, .rank a > *, .facts li > *, .kv li > *, .side-sources li > * { min-width: 0; overflow-wrap: anywhere; }

/* section nav is its own sideways scroller (hs.js sets fade-l / fade-r while there is more to scroll) */
.sec-nav { overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
.sec-nav.fade-r { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); }
.sec-nav.fade-l { -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to left, #000 calc(100% - 40px), transparent); }
.sec-nav.fade-l.fade-r { -webkit-mask-image: linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 40px), transparent); }

@media (max-width: 760px) {
  /* buttons with long labels (e.g. "Follow Immigration and Customs Enforcement") wrap instead of overflowing */
  .btn { max-width: 100%; height: auto; min-height: var(--hs-tap); white-space: normal; text-align: center; line-height: 1.15; padding-top: 6px; padding-bottom: 6px; }
  .btn-sm { min-height: 36px; }
  .hero .hero-r { min-width: 0; }
  /* wide admin tables scroll inside their card, not the page */
  .admin-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* iOS Safari zooms into any focused field under 16px: keep every field at 16px on phones (also in landscape) */
@media (max-width: 760px), (pointer: coarse) {
  input, select, textarea { font-size: 16px; }
}

/* mobile: the header (with the section row) slides away while scrolling down and comes back on any scroll up,
   as on nieuwskoerier. hs.js sets .tucked; sticky + transform, so the page never jumps.
   Reduced motion: the global transition:none rule above makes it hide/show without animation. */
@media (max-width: 760px), (pointer: coarse) {
  .site-head { transition: transform .3s ease; }
  .site-head.tucked { transform: translateY(-100%); }
}

/* ===================== country and company pages (partials/country.php, countries.php, companies.php) ===================== */
.geo-main { display: flex; flex-direction: column; gap: 32px; }
.geo-note { font-size: var(--hs-size-xs); }
.geo-bars { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: var(--hs-size-xs); }
.geo-bars li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: baseline; }
.geo-bars li > span:first-child { min-width: 0; overflow-wrap: anywhere; font-weight: 600; }
.geo-bars .bar { grid-column: 1 / -1; height: 6px; background: var(--hs-raise); }
.geo-bars .bar i { display: block; height: 100%; background: var(--hs-ink); }
.geo-bars .bar i.home { background: var(--hs-accent); }
.geo-days { display: flex; align-items: flex-end; gap: 4px; }
.geo-days > span { flex: 1 1 0; min-width: 0; max-width: 48px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.geo-days .trk { display: flex; align-items: flex-end; width: 100%; height: 64px; }
.geo-days i { display: block; width: 100%; background: var(--hs-ink); }
.geo-days i.part { background: var(--hs-line); }
.geo-days b { font-size: var(--hs-size-xs); font-weight: 700; line-height: 1; }
.geo-days em { font-style: normal; font-size: var(--hs-size-xs); color: var(--hs-text-2); line-height: 1; }
.geo-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 0 24px; }
.geo-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 10px 0; border-top: 1px solid var(--hs-line); min-width: 0; }
.geo-list .geo-name { font-weight: 700; font-size: var(--hs-size-md); min-width: 0; overflow-wrap: anywhere; }
.geo-list .geo-meta { font-size: var(--hs-size-xs); color: var(--hs-text-2); }
.geo-list .geo-press { font-size: var(--hs-size-xs); font-weight: 700; color: var(--hs-accent-text); margin-left: auto; white-space: nowrap; }
.geo-rank .c { margin-left: auto; padding-left: 12px; font-size: var(--hs-size-xs); color: var(--hs-text-2); white-space: nowrap; }
.geo-meter { display: flex; flex-direction: column; gap: 8px; }
.geo-meter .big { font-family: var(--hs-font-display); font-size: var(--hs-size-2xl); font-weight: 800; line-height: 1; }

/* tabs: landing after a tab switch keeps the list in view (header is sticky) */
#latest-h, #list { scroll-margin-top: 140px; }

/* ===================== story votes, card actions, top-comment preview (lib/storyvotes.php) ===================== */
/* calm, Hacker-News style: a dense row has ONE small upvote under its time; score and comments are plain meta
   text, only above 0. Feature cards have one quiet "[up] 5 · 12 comments" row. Up, score, down: story page only. */
.row > .row-body { flex: 1 1 auto; }
/* rows still written as one link (lib/briefing.php day lists): the link itself is the flex row, as before */
.row > a { flex: 1 1 auto; min-width: 0; display: flex; gap: 20px; }
.row > a:hover { text-decoration: none; }
@media (max-width: 760px) { .row > a { gap: 12px; } }
/* the negative bottom margin lets the button hang into the row padding, so short rows do not grow */
.row-time .sv-one { display: flex; position: relative; z-index: 1; margin: 2px 0 -8px -7px; }
.sv-one svg { width: 13px; height: 13px; }
.sv-m { white-space: nowrap; font-variant-numeric: tabular-nums; }
.sv-g { display: inline-block; width: 8px; height: 8px; fill: currentColor; margin-right: 3px; }
.row.is-up .row-meta .sv-m { color: var(--hs-accent-text); }
.qv { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0 6px; position: relative; z-index: 1; font-size: var(--hs-size-xs); color: var(--hs-text-2); }
.qv .sv-one { margin: -6px -3px -6px -7px; }
.qv .sv-m { font-weight: 700; }
.qv.is-up .sv-m { color: var(--hs-accent-text); }
.qv-c { color: var(--hs-text-2); font-weight: 600; }
.qv-c:hover { color: var(--hs-text); }
.acts { display: inline-flex; align-items: center; gap: 2px; vertical-align: middle; position: relative; z-index: 1; white-space: nowrap; }
.sv { display: inline-flex; align-items: center; }
.sv-b { min-width: 26px; height: 28px; padding: 0 3px; border: 0; background: transparent; color: var(--hs-text-2); border-radius: var(--hs-radius-sm); display: inline-flex; align-items: center; justify-content: center; gap: 3px; font-size: var(--hs-size-xs); font-weight: 600; line-height: 1; text-decoration: none; }
.sv-b:hover { background: var(--hs-raise); color: var(--hs-text); text-decoration: none; }
.sv-b svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; flex: none; }
.sv-n { min-width: 14px; padding: 0 1px; text-align: center; font-size: var(--hs-size-xs); font-weight: 700; color: var(--hs-text); font-variant-numeric: tabular-nums; }
.sv-up[aria-pressed="true"] { color: var(--hs-accent-text); }
.sv-up[aria-pressed="true"] svg { fill: var(--hs-accent); stroke: var(--hs-accent-text); }
.sv-down[aria-pressed="true"] { color: var(--hs-text); }
.sv-down[aria-pressed="true"] svg { fill: currentColor; }
.sv.is-up .sv-n { color: var(--hs-accent-text); }
.sv[aria-busy="true"] { opacity: .6; }
@media (pointer: coarse) {
  .sv-b { min-width: 30px; height: 32px; }
  .row-time .sv-one { margin-bottom: -12px; }
  .qv .sv-one { margin-top: -8px; margin-bottom: -8px; }
}
/* best recent comment, one line, under the headline */
.tc { position: relative; z-index: 1; display: block; max-width: 100%; margin-top: 6px; padding: 1px 0 1px 8px; border-left: 2px solid var(--hs-line); font-size: var(--hs-size-xs); line-height: 1.45; color: var(--hs-text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc b { color: var(--hs-text); font-weight: 600; }
.tc:hover { color: var(--hs-text); }
/* story page: the slightly larger version above the discussion */
.sv-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: var(--hs-size-xs); color: var(--hs-text-2); }
.sv-bar .acts, .acts--lg { margin: 0; }
.acts--lg .sv { gap: 4px; }
.acts--lg .sv-b { min-width: var(--hs-tap); height: var(--hs-tap); border: 1px solid var(--hs-line); }
.acts--lg .sv-b svg { width: 20px; height: 20px; }
.acts--lg .sv-n { min-width: 32px; font-family: var(--hs-font-display); font-size: var(--hs-size-lg); line-height: 1; }

/* ===================== daily briefing + day archive (archive.php, lib/briefing.php) ===================== */
.brief-main { display: flex; flex-direction: column; gap: 32px; }
.brief-sum { background: var(--hs-surface); border: 1px solid var(--hs-line); border-top: var(--hs-rule-width) solid var(--hs-rule); padding: 16px 20px; display: flex; flex-direction: column; gap: 10px; }
.brief-sum p { font-size: var(--hs-size-md); line-height: 1.55; max-width: 72ch; }
.brief-sum .muted, .brief-small, .brief-more { font-size: var(--hs-size-xs); }
.brief-small a, .brief-sum a { text-decoration: underline; }
.brief-more { font-weight: 700; align-self: flex-start; }
.brief-note { font-size: var(--hs-size-xs); color: var(--hs-text-2); }
.brief-excerpt { color: var(--hs-text-2); max-width: 72ch; }
.brief-rows .row-n { width: 60px; flex: none; display: flex; flex-direction: column; line-height: 1; padding-top: 2px; }
.brief-rows .row-n b { font-family: var(--hs-font-display); font-size: 30px; font-weight: 800; font-variant-numeric: tabular-nums; }
.brief-rows .row-n small { font-size: 11px; font-weight: 600; color: var(--hs-text-2); margin-top: 3px; }
.brief-nav { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; }
.brief-cta { font-weight: 700; color: var(--hs-text); white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; }
.brief-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; font-size: var(--hs-size-xs); max-width: 420px; }
.brief-cal .dow { text-align: center; color: var(--hs-text-2); font-weight: 700; padding: 2px 0; }
.brief-cal a, .brief-cal .d { min-height: 40px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--hs-line); border-radius: var(--hs-radius-sm); font-weight: 700; font-variant-numeric: tabular-nums; background: var(--hs-surface); }
.brief-cal .d { color: var(--hs-text-2); border-color: transparent; background: transparent; font-weight: 400; }
.brief-cal a:hover { background: var(--hs-raise); text-decoration: none; }
.brief-cal a.today { border: 2px solid var(--hs-accent); }
.brief-cal a[aria-current] { background: var(--hs-ink); color: var(--hs-on-ink); border-color: var(--hs-ink); }
.brief-list { list-style: none; margin: 0; padding: 0; }
.brief-list li { border-top: 1px solid var(--hs-line); }
.brief-list li:last-child { border-bottom: 1px solid var(--hs-line); }
.brief-list a { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; padding: 12px 0; }
.brief-list a:hover { text-decoration: none; }
.brief-list a:hover .brief-top { text-decoration: underline; text-underline-offset: 3px; }
.brief-list .brief-date { width: 96px; flex: none; font-family: var(--hs-font-display); font-size: var(--hs-size-lg); font-weight: 700; line-height: 1.1; }
.brief-list .brief-top { flex: 1 1 280px; min-width: 0; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.brief-list .muted { font-size: var(--hs-size-xs); white-space: nowrap; }
.brief-day .sec-head h2 a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) {
  .brief-sum { padding: 14px 16px; }
  .brief-rows .row-n { width: 52px; }
  .brief-rows .row-n b { font-size: 24px; }
  .brief-nav .btn { flex: 1 1 auto; }
}

/* ===================== earthquakes and disasters (earthquakes.php, disasters.php, partials/quake-event.php, story box lib/quakes.php) ===================== */
.qk-hero--ev h1 { font-size: clamp(30px, 5vw, 60px); line-height: .95; overflow-wrap: anywhere; }
.qk-fig { margin: 0; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.qk-map { display: block; width: 100%; height: auto; border: 1px solid var(--hs-line); }
.qk-sea { fill: var(--hs-surface); }
.qk-land { fill: var(--hs-raise); stroke: var(--hs-line); stroke-width: 1px; vector-effect: non-scaling-stroke; }
.qk-eq { fill: none; stroke: var(--hs-line); stroke-width: 1px; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.qk-dot { fill: var(--hs-ink); fill-opacity: .3; stroke: var(--hs-ink); stroke-opacity: .65; stroke-width: 1px; vector-effect: non-scaling-stroke; }
.qk-dot.big { fill: var(--hs-accent); fill-opacity: .9; stroke: var(--hs-rule); stroke-opacity: 1; }
.qk-dot.new { stroke: var(--hs-accent-text); stroke-opacity: 1; stroke-width: 2px; }
.qk-dot.hot { fill: var(--hs-accent); fill-opacity: 1; stroke: var(--hs-rule); stroke-opacity: 1; stroke-width: 2px; }
.qk-dot.gd { fill: var(--hs-down); fill-opacity: .55; stroke: var(--hs-down); stroke-opacity: 1; }
.qk-map a:hover .qk-dot, .qk-map a:focus .qk-dot { stroke-width: 3px; stroke-opacity: 1; }
.qk-legend { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: var(--hs-size-xs); color: var(--hs-text-2); }
.qk-legend span { display: inline-flex; align-items: center; gap: 6px; }
.qk-legend .lg { width: 12px; height: 12px; border-radius: 50%; display: inline-block; flex: none; background: var(--hs-ink); opacity: .4; }
.qk-legend .lg.big, .qk-legend .lg.hot { background: var(--hs-accent); opacity: 1; }
.qk-legend .lg.new { background: transparent; border: 2px solid var(--hs-accent-text); opacity: 1; }
.qk-legend .lg.gd { background: var(--hs-down); opacity: .7; }
.qk-list { list-style: none; margin: 0; padding: 0; }
.qk-row { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--hs-line); min-width: 0; }
.qk-list .qk-row:last-child { border-bottom: 1px solid var(--hs-line); }
.qk-mag { flex: none; width: 52px; height: 40px; display: flex; align-items: center; justify-content: center; font-family: var(--hs-font-display); font-size: 24px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; background: var(--hs-raise); color: var(--hs-text); }
.qk-mag.m55 { background: var(--hs-ink); color: var(--hs-on-ink); }
.qk-mag.m6, .qk-mag.m7 { background: var(--hs-accent); color: var(--hs-on-accent); }
.qk-body { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.qk-place { font-weight: 700; font-size: var(--hs-size-md); line-height: 1.3; overflow-wrap: anywhere; }
a.qk-place { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.qk-meta { font-size: var(--hs-size-xs); color: var(--hs-text-2); overflow-wrap: anywhere; }
.qk-meta strong { color: var(--hs-accent-text); }
.qk-ext { color: var(--hs-text-2); white-space: nowrap; }
.qk-ext .ext { width: 11px; height: 11px; vertical-align: -1px; margin-left: 2px; }
.gd-alert { flex: none; display: inline-flex; align-items: center; justify-content: center; min-width: 64px; height: 26px; padding: 0 8px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: var(--hs-tracking-label); }
.qk-row .gd-alert { width: 72px; margin-top: 2px; }
.gd-green { background: #2e7d32; color: #ffffff; }
.gd-yellow { background: #f2c200; color: #111111; }
.gd-orange { background: #f45d22; color: #111111; }   /* GDACS alert level: a data colour, not the brand accent */
.gd-red { background: #b3261e; color: #ffffff; }
.qk-facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.qk-facts > div { min-width: 0; display: flex; flex-direction: column; gap: 4px; border-top: 1px solid var(--hs-line); padding-top: 8px; }
.qk-facts > div.w { grid-column: 1 / -1; }
.qk-facts dt { font-size: var(--hs-size-xs); font-weight: 700; text-transform: uppercase; letter-spacing: var(--hs-tracking-label); color: var(--hs-text-2); }
.qk-facts dd { margin: 0; overflow-wrap: anywhere; }
.qk-big { font-family: var(--hs-font-display); font-size: var(--hs-size-2xl); font-weight: 800; line-height: 1; }
.qk-box { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "k v go" "k p go"; gap: 2px 16px; align-items: center; padding: 12px 16px; background: var(--hs-surface); border: 1px solid var(--hs-line); border-top: var(--hs-rule-width) solid var(--hs-rule); color: var(--hs-text); }
.qk-box:hover { text-decoration: none; background: var(--hs-raise); }
.qk-box-k { grid-area: k; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: var(--hs-tracking-label); color: var(--hs-text-2); }
.qk-box-v { grid-area: v; min-width: 0; }
.qk-box-v strong { font-family: var(--hs-font-display); font-size: 24px; font-weight: 800; line-height: 1.1; }
.qk-box-v span { font-size: var(--hs-size-xs); color: var(--hs-text-2); }
.qk-box-p { grid-area: p; min-width: 0; font-size: var(--hs-size-xs); color: var(--hs-text-2); overflow-wrap: anywhere; }
.qk-box-go { grid-area: go; font-size: 24px; font-weight: 800; color: var(--hs-accent-text); }
@media (max-width: 760px) {
  .qk-hero--ev h1 { font-size: clamp(28px, 8.6vw, 40px); }
  .qk-box { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "k go" "v go" "p go"; padding: 12px; }
  .qk-facts { gap: 10px 16px; }
  .qk-mag { width: 46px; height: 36px; font-size: 21px; }
  .qk-row { gap: 12px; }
}

/* ===================== Media Monitor, blind spots, "Who reports this" (lib/monitor.php) ===================== */
.mm-main > section, .mm-main > .mm-grid { scroll-margin-top: 140px; }
.mm-notice { border: 1px solid var(--hs-line); border-top: var(--hs-rule-width) solid var(--hs-rule); background: var(--hs-surface); padding: 10px 14px; font-size: var(--hs-size-sm); }
.mm-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 16px; }
.mm-stats li { border-top: var(--hs-rule-width) solid var(--hs-rule); padding-top: 8px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mm-stats strong { font-family: var(--hs-font-display); font-size: var(--hs-size-2xl); font-weight: 800; line-height: 1; overflow-wrap: anywhere; }
.mm-stats span { font-size: var(--hs-size-xs); color: var(--hs-text-2); }
.mm-cite { margin-top: 16px; font-size: var(--hs-size-xs); display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; }
.mm-cite .label { color: var(--hs-text); }
.mm-cite-t { overflow-wrap: anywhere; user-select: all; -webkit-user-select: all; }
.mm-cite a { text-decoration: underline; }
.mm-top { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.mm-top li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--hs-line); }
.mm-rk { font-family: var(--hs-font-display); font-size: 26px; font-weight: 800; color: var(--hs-accent-text); line-height: 1; }
.mm-b { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mm-t { font-family: var(--hs-font-display); font-size: var(--hs-size-lg); font-weight: 700; line-height: 1.15; overflow-wrap: anywhere; }
.mm-m, .mm-cc { font-size: var(--hs-size-xs); color: var(--hs-text-2); overflow-wrap: anywhere; }
.mm-m strong { color: var(--hs-text); }
.mm-bar { display: block; height: 6px; background: var(--hs-raise); }
.mm-bar i { display: block; height: 100%; background: var(--hs-ink); }
.mm-top li:first-child .mm-bar i { background: var(--hs-accent); }
.mm-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 32px 24px; align-items: start; }
.mm-card { min-width: 0; }
.mm-note { font-size: var(--hs-size-xs); color: var(--hs-text-2); }
.mm-sub { font-style: normal; font-weight: 400; font-size: var(--hs-size-xs); color: var(--hs-text-2); }
.mm-bars { margin: 0; }
.mm-bars a:hover { text-decoration: underline; }
.mm-press { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 24px; }
.mm-pc { border-top: var(--hs-rule-width) solid var(--hs-rule); padding-top: 10px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.mm-pc h3 { font-size: var(--hs-size-lg); font-weight: 800; text-transform: uppercase; line-height: 1.1; overflow-wrap: anywhere; }
.mm-pl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.mm-pl li { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mm-pl a { font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.mm-abroad { font-size: var(--hs-size-xs); overflow-wrap: anywhere; }
.mm-abroad .label { display: block; margin-bottom: 2px; }
.mm-days > span { max-width: none; }
.mm-days em { white-space: nowrap; }
.mm-blind { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 16px 24px; }
.mm-blind li { display: flex; flex-direction: column; gap: 4px; border-top: 1px solid var(--hs-line); padding-top: 10px; min-width: 0; }
.mm-blind a { font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.mm-method ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; font-size: var(--hs-size-sm); }
.mm-method a, .sec-head .note a { text-decoration: underline; }
.mm-weeks li { flex-wrap: wrap; }
.bs-region { scroll-margin-top: 140px; }
/* story page: Who reports this */
.wr-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.wr-chips li > * { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px; border: 1px solid var(--hs-line); border-radius: var(--hs-radius-sm); background: var(--hs-surface); color: var(--hs-text); font-size: var(--hs-size-sm); }
.wr-chips a:hover { text-decoration: none; border-color: var(--hs-text); }
.wr-chips b { font-family: var(--hs-font-display); font-weight: 800; letter-spacing: .04em; }
.wr-chips .n { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--hs-text-2); }
.wr-note { font-size: var(--hs-size-xs); color: var(--hs-text-2); }
.wr-note a { text-decoration: underline; }
.wr-note strong { color: var(--hs-text); }

/* Mobile footer: compact and scannable (22 Nov). Same links, calmer layout. */
@media (max-width: 760px) {
  .site-foot .wrap { gap: 20px; padding-top: 28px; }
  .site-foot .f-brand { gap: 8px; }
  .site-foot .f-brand p:first-of-type { font-size: 13px; line-height: 1.45; color: var(--hs-band-2); }
  .site-foot nav { display: grid; grid-template-columns: 1fr; gap: 16px; width: 100%; }
  .site-foot nav div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 16px; padding-top: 14px; border-top: 1px solid var(--hs-band-line); }
  .site-foot nav div#footer-sections { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-foot nav strong { grid-column: 1 / -1; font-size: 12px; letter-spacing: .08em; color: var(--hs-band-2); margin-bottom: 4px; }
  .site-foot nav a { font-size: 14px; padding: 3px 0; overflow-wrap: anywhere; }
  .site-foot nav a[hreflang="nl"] { grid-column: 1 / -1; }
  .site-foot nav div:last-child { display: flex; flex-direction: row; flex-wrap: wrap; gap: 0 16px; }
  .site-foot nav div:last-child strong { width: 100%; }
  .site-foot nav div:last-child a { font-size: 12px; color: var(--hs-band-2); }
  .site-foot .f-legal { align-items: center; }
}

/* ===================== QA polish (22 Nov): calmer headings, no zero counters, phones ===================== */
/* headlines and headings: no lone last word */
h1, h2, h3, .row-h, .s-h, .mh, .mm-t, .stand-item strong, .rank .t, .brief-top { text-wrap: pretty; }
/* story vote bar: no bare 0 between the arrows (lib/storyvotes.php leaves it empty) */
.acts--lg .sv-n:empty { min-width: 4px; }
/* forms: a lone submit button keeps its own width, as in every other card */
.form > .btn { align-self: flex-start; }
.form input[type=file] { font-size: var(--hs-size-xs); color: var(--hs-text-2); }
.form input[type=file]::file-selector-button { height: 36px; margin-right: 12px; padding: 0 12px; border: 1px solid var(--hs-text); border-radius: var(--hs-radius-sm); background: var(--hs-surface); color: var(--hs-text); font: inherit; font-weight: 700; cursor: pointer; }
/* own profile: the account links as quiet small chips */
.profile-head .chips .chip { min-height: 36px; padding: 0 12px; font-size: var(--hs-size-xs); font-weight: 600; border-color: var(--hs-line); }
.profile-head .chips .chip:hover { border-color: var(--hs-text); }
/* small standalone links: a taller hit area without moving anything */
.crumbs a, .side-box > a.muted, .sq-more, .brief-more, .sec-head a.note, .geo-list .geo-press { display: inline-block; padding-top: 4px; padding-bottom: 4px; margin-top: -4px; margin-bottom: -4px; }   /* vertical only: .geo-press keeps margin-left: auto */
/* dark mode: dark bands on the dark page keep an edge */
[data-theme="dark"] .hero { border-bottom: 1px solid var(--hs-line); }
[data-theme="dark"] .stand-box { border: 1px solid var(--hs-line); }
@media (max-width: 760px) {
  /* a title and its note or count: the note always sits on its own line under the title */
  .sec-head:has(> .note) { flex-direction: column; align-items: flex-start; gap: 4px; }
  /* sign-in and join cards: the heading never breaks inside a word on small phones */
  .auth h1, .card h1 { font-size: clamp(30px, 10vw, 44px); }
  .story-actions .quiet { margin-left: 0; }
}
@media (max-width: 540px) {
  /* front-page lead: the two source boxes stack with a divider between them */
  .src-boxes a { border-right: 0; }
  .src-boxes a + a { border-top: 1px solid var(--hs-line); }
}
