/* Political Trivia. — brand stylesheet (hub pages only; games keep their own).
   See brand/BRAND.md. The system in one breath: "bluebook" paper, ink, a navy
   band, and docket red used only for the nameplate's full stop, section
   kickers and live signals. Display: Noto Serif Display, condensed and heavy,
   for the nameplate and headlines. Text: Newsreader. Utility: Schibsted Grotesk. */

:root {
  --paper: #e9eef3;
  --paper-lift: #f5f8fb;      /* boxes that sit on the paper */
  --paper-deep: #d9e1e9;
  --ink: #0f1419;
  --ink-soft: #46505c;
  --rule: #0f1419;
  --rule-soft: #b7c2cd;
  --navy: #14233f;
  --navy-deep: #0d1830;
  --red: #a61b1b;
  --display: "Noto Serif Display", "Times New Roman", Georgia, serif;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --measure: 66ch;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--paper); color: var(--ink);
  font: 400 16px/1.55 var(--sans);
}
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button { font: inherit; color: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
[hidden] { display: none !important; }
.wrap { width: min(100% - 40px, 1180px); margin-inline: auto; }

/* display type: one definition, used by nameplate + every headline */
.nameplate, h1, .hed { font-family: var(--display); font-weight: 800; font-stretch: 75%; letter-spacing: -.012em; }

/* ---------- band / masthead / sections ---------- */
.band { background: var(--navy); color: #dbe3ee; font-size: 13.5px; }
.band .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 0 22px; min-height: 40px; }
.band-left { display: flex; align-items: center; gap: 4px 18px; flex-wrap: wrap; white-space: nowrap; }
.band-next { color: #a9b6c9; }
.band-next b { color: #fff; font-weight: 600; }
.band-account { grid-column: 3; font-weight: 600; color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; white-space: nowrap; }

/* Newswire: one headline at a time, between the dateline and the account */
.newswire { grid-column: 2; display: flex; align-items: center; gap: 10px; min-width: 0; height: 40px; padding: 0 0 0 22px; border-left: 1px solid #ffffff2e; }
.nw-label { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: #fff; flex: none; }
.nw-dot { width: 7px; height: 7px; border-radius: 50%; background: #e8412f; }
.nw-slot { flex: 1 1 auto; min-width: 0; overflow: hidden; height: 40px; display: flex; align-items: center; }
.nw-item { display: flex; align-items: baseline; gap: 10px; min-width: 0; width: 100%; }
.nw-source { flex: none; color: #a9b6c9; font-weight: 600; }
.nw-title { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #fff; font-weight: 500; text-decoration: none; }
.nw-title:hover { text-decoration: underline; }
.nw-age { flex: none; color: #8d9bb1; font-size: 12.5px; }
.nw-controls { flex: none; display: inline-flex; gap: 2px; }
.nw-btn { width: 24px; height: 24px; padding: 0; border: 0; border-radius: 2px; background: transparent; color: #a9b6c9; font-size: 15px; line-height: 1; display: grid; place-items: center; }
.nw-btn:hover { background: #ffffff1f; color: #fff; }
/* pause / play drawn in CSS so they render identically everywhere */
.nw-pause::before { content: ""; display: block; box-sizing: content-box; width: 3px; height: 10px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.nw-pause.is-paused::before { width: 0; height: 0; border-style: solid; border-width: 5.5px 0 5.5px 9px; border-color: transparent transparent transparent currentColor; }
@keyframes nw-up { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes nw-down { from { transform: translateY(-14px); opacity: 0; } to { transform: none; opacity: 1; } }
.nw-in-up { animation: nw-up .35s ease-out; }
.nw-in-down { animation: nw-down .35s ease-out; }
@media (prefers-reduced-motion: reduce) { .nw-in-up, .nw-in-down { animation: none; } }
.band-account:hover { text-decoration: underline; }
.band-account img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }

.masthead { text-align: center; padding: 26px 0 20px; }
.nameplate { display: inline-block; font-size: clamp(44px, 7.4vw, 84px); line-height: .95; text-decoration: none; }
.stop { color: var(--red); }
.tagline { margin: 8px 0 0; font: italic 400 17px/1 var(--serif); color: var(--ink-soft); }
body:not(.is-front) .masthead { padding: 18px 0 14px; }
body:not(.is-front) .nameplate { font-size: clamp(34px, 4.4vw, 44px); }
body:not(.is-front) .tagline { display: none; }

.sections { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.sections .wrap { display: flex; justify-content: center; gap: 2px clamp(6px, 2.2vw, 30px); flex-wrap: wrap; }
.sections a { font-size: 14.5px; font-weight: 600; text-decoration: none; padding: 11px 4px 10px; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.sections a:hover { border-bottom-color: var(--rule-soft); }
.sections a[aria-current="page"] { border-bottom-color: var(--red); }

/* ---------- Kalshi sponsorship (front page) ---------- */
.sponsor-strip { border-bottom: 1px solid var(--rule-soft); font-size: 13.5px; }
.sponsor-strip .wrap { display: flex; align-items: center; justify-content: center; gap: 4px 16px; flex-wrap: wrap; padding-block: 9px; }
.sp-tag { font-weight: 700; }
.sp-by { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-soft); padding-left: 16px; border-left: 1px solid var(--rule-soft); }
.sp-by img, .mk-sponsor img { display: inline-block; height: 14px; width: auto; }
.sp-q { padding-left: 16px; border-left: 1px solid var(--rule-soft); color: var(--ink-soft); }
.sp-q a { color: var(--ink); font-weight: 600; }
.market h2 { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.mk-sponsor { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: var(--ink-soft); }
.box .mk-q { margin: 12px 0 4px; font: 800 22px/1.1 var(--display); font-stretch: 75%; letter-spacing: -.012em; color: var(--ink); }
.mk-q a { text-decoration: none; }
.mk-q a:hover { text-decoration: underline; }
.mk-rows th a { font-weight: 600; text-decoration: none; }
.mk-rows th a:hover { text-decoration: underline; }
.mk-delta { font-size: 12px; font-weight: 600; margin-right: 8px; }
.mk-delta.up { color: #1b6b3a; }
.mk-delta.down { color: var(--red); }
.box .mk-meta { font-size: 13px; }
.box .mk-fine { margin-top: 14px; font-size: 11.5px; line-height: 1.45; }

/* ---------- shared editorial atoms ---------- */
.kicker { margin: 0 0 10px; font-size: 13.5px; font-weight: 700; color: var(--red); display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.kicker .feature { color: var(--ink-soft); font-weight: 500; }
.dek { font: 400 19px/1.45 var(--serif); color: #232b35; margin: 14px 0 0; max-width: 62ch; }
.meta { margin: 12px 0 0; font-size: 13.5px; color: var(--ink-soft); }
.btn {
  display: inline-block; font: 600 15px/1 var(--sans); text-decoration: none;
  padding: 13px 18px; border: 1px solid var(--navy); border-radius: 2px; background: var(--navy); color: #fff;
}
.btn:hover { background: var(--navy-deep); border-color: var(--navy-deep); }
.btn-quiet { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-quiet:hover { background: var(--paper-deep); color: var(--navy-deep); }
.btn-small { padding: 9px 12px; font-size: 13.5px; }
.btn[disabled] { opacity: .5; cursor: default; }
.action { margin: 20px 0 0; display: flex; align-items: center; gap: 10px 18px; flex-wrap: wrap; font-size: 14.5px; }
.scored { font: 800 30px/1 var(--display); font-stretch: 75%; }
.scored small { font: 500 14.5px/1 var(--sans); color: var(--ink-soft); }
.action a.text { font-weight: 600; }

/* ---------- front page ---------- */
.front { padding: 30px 0 0; }
.front-top { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 0 44px; padding-bottom: 34px; border-bottom: 1px solid var(--rule); }
.lead h1 { margin: 0; font-size: clamp(42px, 6.2vw, 78px); line-height: .98; }
.lead h1 a, .story .hed a { text-decoration: none; }
.lead h1 a:hover, .story .hed a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.lead .dek { font-size: 21px; }
.faces { margin: 26px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.faces img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; filter: grayscale(1) contrast(1.04); background: var(--paper-deep); }
.faces figcaption, .faces .cap { margin-top: 7px; font-size: 13px; line-height: 1.25; font-weight: 600; }
.faces .cap span { display: block; font-weight: 400; color: var(--ink-soft); }
.lead-items { margin: 22px 0 0; padding: 14px 0 0; border-top: 1px solid var(--rule-soft); font-size: 14.5px; color: var(--ink-soft); }
.lead-items b { color: var(--ink); font-weight: 600; }

.rail { border-left: 1px solid var(--rule-soft); padding-left: 28px; display: flex; flex-direction: column; gap: 28px; }
.box h2 { margin: 0 0 4px; font: 700 15px/1.2 var(--sans); padding-bottom: 9px; border-bottom: 2px solid var(--rule); }
/* the daily question, set as a small story in the rail */
.box.question { padding: 16px 18px 18px; background: var(--paper-lift); border: 1px solid var(--rule-soft); }
.box.question .kicker { margin-bottom: 8px; }
.box.question h2.hed { margin: 0; padding: 0; border: 0; font: 800 clamp(22px, 2vw, 26px)/1.1 var(--display); font-stretch: 75%; letter-spacing: -.012em; }
.box.question h2.hed a { text-decoration: none; }
.box.question h2.hed a:hover { text-decoration: underline; }
.box.question .qlist { margin: 0; padding: 0; list-style: none; }
.box.question .qlist li { padding: 12px 0; border-bottom: 1px solid var(--rule-soft); }
.box.question .qlist li:first-child { padding-top: 2px; }
.box.question .qlist .beat { display: block; margin-bottom: 4px; font-size: 12.5px; font-weight: 600; color: var(--ink-soft); }
.box.question h2.hed { font-size: clamp(19px, 1.7vw, 22px); }
.box.question .action { margin-top: 14px; }
.box p { margin: 12px 0 0; font-size: 14.5px; color: var(--ink-soft); }
.box .btn { margin-top: 14px; }
.scorecard { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.scorecard th, .scorecard td { padding: 10px 0; border-bottom: 1px solid var(--rule-soft); text-align: left; font-weight: 400; vertical-align: baseline; white-space: normal; }
.scorecard th a { font-weight: 600; text-decoration: none; }
.scorecard th a:hover { text-decoration: underline; }
.scorecard th span { display: block; font-size: 12.5px; color: var(--ink-soft); }
.scorecard td { text-align: right; white-space: nowrap; }
.scorecard td b { font: 800 19px/1 var(--display); font-stretch: 75%; }
.scorecard td.todo { color: var(--ink-soft); }
.scorecard .fcol { text-align: right; font-size: 12.5px; color: var(--ink-soft); font-weight: 500; padding-left: 10px; }
.live { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--red); margin-right: 7px; vertical-align: 1px; }

.front-second { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; padding: 34px 0 44px; }
.front-second.is-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }   /* a story held out of the build */
.story { padding: 0 32px; min-width: 0; }
.story + .story { border-left: 1px solid var(--rule-soft); }
.story:first-child { padding-left: 0; }
.story:last-child { padding-right: 0; }
.minimap { margin: 18px 0 0; max-width: 300px; }
.minimap svg { display: block; width: 100%; height: auto; }
.minimap .mm-out { fill: var(--paper-deep); stroke: var(--paper); stroke-width: 1; }
.minimap .mm-in { fill: var(--navy); stroke: var(--paper); stroke-width: 1; }
.story .hed { margin: 0; font-size: clamp(28px, 3.2vw, 38px); line-height: 1.04; }
.story .case { margin: 12px 0 0; font: italic 500 18px/1.3 var(--serif); }
.story .case span { font-style: normal; font-family: var(--sans); font-size: 13.5px; font-weight: 400; color: var(--ink-soft); margin-left: 8px; }
.story .dek { font-size: 17.5px; }
.bench { margin: 20px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 6px; max-width: 470px; }
.bench img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 15%; filter: grayscale(1) contrast(1.04); background: var(--paper-deep); }
.questions { margin: 0; padding: 0; list-style: none; }
.questions li { padding: 14px 0; border-bottom: 1px solid var(--rule-soft); }
.questions li:first-child { padding-top: 0; }
.questions .hed { font-size: clamp(21px, 2.1vw, 25px); line-height: 1.12; }
.questions .meta { margin-top: 6px; }

/* the timeline story runs the full width: the text, then the day's events as a strip */
.front-second { padding-bottom: 34px; }
.story.story-wide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 0 44px; padding: 34px 0 44px; border-top: 1px solid var(--rule); }
.strip { min-width: 0; }
.strip-axis { margin: 0; display: flex; align-items: center; gap: 12px; font-size: 12.5px; font-weight: 700; }
.strip-axis i { flex: 1; height: 2px; background: var(--ink); }
.strip ol { list-style: none; margin: 0; padding: 12px 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.strip li { min-width: 0; padding: 10px 12px 12px; background: var(--paper-lift); border: 1px solid var(--rule-soft); border-top: 3px solid var(--rule-soft); }
.strip li b { display: block; font: 800 24px/1 var(--display); font-stretch: 75%; color: var(--ink-soft); white-space: nowrap; }
.strip li span { display: block; margin-top: 7px; font-size: 13px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.strip li.is-given { background: var(--navy); border-color: var(--navy); color: #fff; }
.strip li.is-given b { color: #fff; }
@media (max-width: 900px) {
  .story.story-wide { grid-template-columns: 1fr; gap: 24px; padding: 30px 0 44px; }
  .strip ol { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .strip li:nth-child(n+4) { display: none; }
}

.onrecord { background: var(--navy); color: #dbe3ee; padding: 44px 0 48px; }
.onrecord h2 { margin: 0 0 26px; color: #fff; font: 800 clamp(30px, 3.6vw, 42px)/1 var(--display); font-stretch: 75%; letter-spacing: -.012em; }
.onrecord h2 .stop { color: #e8412f; }
.sources { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 32px; }
.sources.is-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sources h3 { margin: 0 0 6px; padding-top: 12px; border-top: 1px solid #ffffff55; font: 700 14.5px/1.3 var(--sans); color: #fff; }
.sources p { margin: 0; font-size: 14.5px; line-height: 1.55; }

/* ---------- inner pages ---------- */
.pagehead { padding: 40px 0 26px; }
.pagehead h1 { margin: 0; font-size: clamp(38px, 5vw, 58px); line-height: 1; }
.pagehead .dek { margin-top: 14px; }
.prose { padding: 26px 0 72px; border-top: 1px solid var(--rule); font: 400 18.5px/1.6 var(--serif); }
.prose > * { max-width: var(--measure); }
.prose h2 { font: 700 15px/1.3 var(--sans); color: var(--red); margin: 38px 0 8px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 16px; }
.prose ul { margin: 0 0 16px; padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--navy); }

.sheet { margin-bottom: 72px; border-top: 1px solid var(--rule); }
.section { padding: 30px 0; border-bottom: 1px solid var(--rule-soft); }
.section:last-child { border-bottom: 0; }
.section h2 { margin: 0 0 6px; font: 800 30px/1.05 var(--display); font-stretch: 75%; letter-spacing: -.012em; }
.section-note { margin: 0 0 18px; color: var(--ink-soft); max-width: var(--measure); font-size: 15px; }
.who { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.who-avatar { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; flex: none; background: var(--paper-deep); color: var(--ink-soft); display: grid; place-items: center; font: 800 26px/1 var(--display); font-stretch: 75%; }
.who-name { margin: 0; font: 800 30px/1.05 var(--display); font-stretch: 75%; letter-spacing: -.012em; }
.who-sub { margin: 4px 0 0; color: var(--ink-soft); font-size: 14.5px; }
.who-actions { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }

.table-scroll { overflow-x: auto; }
table.data { border-collapse: collapse; width: 100%; font-size: 15px; background: var(--paper-lift); }
.data th, .data td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--rule-soft); vertical-align: middle; white-space: nowrap; }
.data thead th { font-size: 13px; font-weight: 600; color: var(--ink-soft); background: var(--paper-deep); border-bottom: 1px solid var(--rule); padding-block: 9px; }
.data tbody tr:last-child th, .data tbody tr:last-child td { border-bottom: 0; }
.data tbody th { font-weight: 600; }
.data td.num, .data th.num { text-align: right; }
.data td.num, .band-next b { font-variant-numeric: tabular-nums; }
.big { font: 800 22px/1 var(--display); font-stretch: 75%; }
.muted { color: var(--ink-soft); }
.cell-sub { display: block; font-size: 12.5px; color: var(--ink-soft); margin-top: 3px; }
.person { display: flex; align-items: center; gap: 10px; }
.person img, .person .initial { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex: none; }
.person .initial { display: grid; place-items: center; background: var(--paper-deep); color: var(--ink-soft); font: 800 14px/1 var(--display); }
tr.is-you th { box-shadow: inset 3px 0 0 var(--red); }
tr.is-you th, tr.is-you td { background: #fff; }
.leader { color: var(--red); }

.codebox { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 24px; }
.code { font: 700 20px/1 var(--sans); letter-spacing: .16em; padding: 12px 12px 12px 16px; border: 1px solid var(--rule-soft); border-radius: 2px; background: var(--paper-lift); user-select: all; }
.addform { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 0 0 8px; }
.addform label { font-weight: 600; font-size: 14.5px; width: 100%; }
.addform input { font: 600 16px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; padding: 12px; width: 200px; border: 1px solid #7e8b99; border-radius: 2px; background: #fff; color: var(--ink); }
.addform input::placeholder { letter-spacing: 0; text-transform: none; font-weight: 400; color: #76828f; }
.formnote { min-height: 23px; margin: 0 0 18px; font-size: 14.5px; color: var(--ink-soft); }
.formnote.is-error { color: var(--red); }
.requests { list-style: none; margin: 0 0 24px; padding: 0; border: 1px solid var(--rule-soft); background: var(--paper-lift); }
.requests li { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 14px; border-bottom: 1px solid var(--rule-soft); }
.requests li:last-child { border-bottom: 0; }
.requests .person { flex: 1 1 220px; font-weight: 600; }
.requests .tag { font-size: 13px; font-weight: 700; color: var(--red); }
.requests .tag.is-sent { color: var(--ink-soft); font-weight: 500; }
.requests-actions { display: flex; gap: 8px; }
.confirm { border-left: 3px solid var(--red); background: #fff; padding: 14px 16px; margin: 0 0 24px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.confirm p { margin: 0; flex: 1 1 260px; }
/* a ticked choice with its terms beside it (the email opt-in) */
.check { display: flex; gap: 14px; align-items: flex-start; max-width: var(--measure); cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--navy); cursor: pointer; }
.check b { display: block; font-weight: 600; font-size: 16px; }
.check-sub { display: block; margin-top: 4px; font-size: 14.5px; color: var(--ink-soft); }
.check + .formnote, .check-kinds + .formnote { margin: 12px 0 0 36px; }
.check-kinds { margin: 14px 0 0 36px; padding-left: 14px; border-left: 2px solid var(--rule-soft); display: flex; flex-direction: column; gap: 10px; }
.check-kind input { width: 18px; height: 18px; margin-top: 3px; }
.check-kind b { font-size: 15px; }
/* the one-time prompt: a sheet of paper over the page, no shadow, no rounding */
dialog.prompt { width: min(100% - 32px, 520px); margin: auto; padding: 30px 32px 28px; border: 1px solid var(--ink); border-top: 4px solid var(--ink); border-radius: 0; background: var(--paper-lift); color: var(--ink); }
dialog.prompt::backdrop { background: #0d1830b3; }
.prompt .hed:focus { outline: none; }
.prompt .hed { margin: 0; font-size: clamp(28px, 4vw, 36px); line-height: 1.05; }
.prompt-text { margin: 14px 0 0; font: 400 18px/1.5 var(--serif); color: #232b35; overflow-wrap: anywhere; }
.prompt .action { margin-top: 22px; gap: 10px; }
.prompt-fine { margin: 18px 0 0; font-size: 13.5px; color: var(--ink-soft); }
@media (max-width: 560px) { dialog.prompt { padding: 24px 20px 22px; } .prompt .action .btn { flex: 1 1 100%; text-align: center; } }
.empty { background: var(--paper-lift); padding: 18px 20px; max-width: var(--measure); color: var(--ink-soft); font-size: 15px; }
.empty p { margin: 0 0 12px; }
.empty p:last-child { margin: 0; }
.rowmenu { background: none; border: 0; padding: 6px 0; font-size: 13px; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; }
.rowmenu:hover { color: var(--red); }

/* ---------- footer ---------- */
.footer { margin-top: auto; background: var(--navy-deep); color: #a9b6c9; padding: 34px 0 38px; font-size: 14px; }
.footer .wrap { display: flex; justify-content: space-between; align-items: end; gap: 18px 32px; flex-wrap: wrap; }
.footer .nameplate { font-size: 30px; color: #fff; }
.footer .stop { color: #e8412f; }
.footer p { margin: 8px 0 0; max-width: 46ch; }
.footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer nav a { color: #dbe3ee; text-decoration: none; font-weight: 500; }
.footer nav a:hover { text-decoration: underline; }
.footer :focus-visible, .band :focus-visible, .onrecord :focus-visible { outline-color: #fff; }
body:not(.is-front) .footer .nameplate { font-size: 30px; }

/* ---------- small screens ---------- */
@media (max-width: 1280px) { .nw-age { display: none; } }
@media (max-width: 1000px) {
  .band .wrap { grid-template-columns: minmax(0, 1fr) auto; }
  .band-account { grid-column: 2; grid-row: 1; }
  .newswire { grid-column: 1 / -1; grid-row: 2; padding-left: 0; border-left: 0; border-top: 1px solid #ffffff2e; }
}
@media (max-width: 900px) {
  .front-top { grid-template-columns: 1fr; }
  .rail { border-left: 0; padding-left: 0; margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--rule-soft); }
  .front-second { grid-template-columns: 1fr; }
  .story { padding: 0; }
  .story + .story { border-left: 0; margin-top: 32px; padding-top: 30px; border-top: 1px solid var(--rule-soft); }
  .sources { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .wrap { width: min(100% - 32px, 1180px); }
  .band-next { display: none; }
  .nw-label { display: none; }
  /* phones: the headline wraps to two lines instead of being cut short */
  .newswire { gap: 8px; height: 52px; }
  .nw-slot { height: 52px; }
  .nw-item { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; line-height: 1.35; }
  .nw-source { margin-right: 7px; }
  .nw-title { white-space: normal; overflow: visible; }
  .sp-by, .sp-q { padding-left: 0; border-left: 0; }
  .sponsor-strip .wrap { justify-content: flex-start; }
  .sections .wrap { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .sections .wrap::-webkit-scrollbar { display: none; }
  .sections a { white-space: nowrap; padding-inline: 6px; }
  .faces { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
  .faces .cap { font-size: 11.5px; }
  .faces .cap span { display: none; }
  .lead .dek { font-size: 19px; }
  .who-actions { margin-left: 0; width: 100%; }
}
