:root {
  --ink: #121212; --text: #2a2a2a; --muted: #5a5a5a; --rule: #dfdfdf; --strong-rule: #121212; --link: #121212; --accent: #326891;
  --bg: #ffffff; --soft: #f7f7f5; --bad: #c62828; --good: #2e7d32; --warn: #a86b00;
  --serif: Georgia, "Times New Roman", "Noto Serif", serif;
  --sans: -apple-system, "Helvetica Neue", Helvetica, Arial, "Noto Sans", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --ink: #ececec; --text: #dcdcdc; --muted: #a8a8a8; --rule: #333; --strong-rule: #ececec; --link: #ececec; --accent: #8ab4d8;
          --bg: #121212; --soft: #1b1b1b; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--serif); line-height: 1.5; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

/* masthead */
.masthead { max-width: 1200px; margin: 0 auto; padding: 0 16px; text-align: center; }
.topline { display: flex; justify-content: space-between; font: 12px var(--sans); color: var(--muted); padding: 10px 0 0; }
.brand { display: block; font-family: var(--serif); font-weight: 700; font-size: clamp(32px, 6vw, 56px); letter-spacing: -0.5px;
         padding: 6px 0 10px; }
.brand:hover { text-decoration: none; }
.sections { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; border-top: 1px solid var(--rule);
            border-bottom: 3px double var(--strong-rule); padding: 9px 0; font: 600 13px var(--sans); }

.page { max-width: 1200px; margin: 0 auto; padding: 0 16px 40px; }
.dateline { font: 600 12px var(--sans); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 14px 0 10px;
            border-bottom: 1px solid var(--rule); }
.kicker { font: 700 11px var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin-bottom: 6px; }
.kicker a { color: var(--accent); }
.meta, .byline { font: 12px var(--sans); color: var(--muted); }

/* front page */
.top { display: grid; grid-template-columns: 2fr 1.2fr 1fr; gap: 0; border-bottom: 1px solid var(--strong-rule); }
.top > * { padding: 18px 18px 22px; }
.top > *:first-child { padding-left: 0; }
.top > *:last-child { padding-right: 0; }
.top > * + * { border-left: 1px solid var(--rule); }
.lead h1 { font-size: clamp(26px, 3.2vw, 40px); line-height: 1.12; margin: 0 0 12px; letter-spacing: -.3px; }
.lead .summary { font-size: 18px; color: var(--text); margin: 0 0 10px; }
.second article + article { border-top: 1px solid var(--rule); margin-top: 16px; padding-top: 16px; }
.second h2 { font-size: 21px; line-height: 1.2; margin: 0 0 8px; }
.summary { color: var(--text); font-size: 15px; margin: 0; }
.watch video { width: 100%; border-radius: 4px; background: #000; margin-bottom: 8px; }
.watch-title { font: 700 13px var(--sans); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.watch p { font: 14px var(--sans); margin: 0; }
.watch a { color: var(--accent); }

.lower { display: block; }
.by-section { columns: 3; column-gap: 28px; padding: 6px 0 0; }
.by-section .block { break-inside: avoid; }
.latest { margin-top: 18px; }
.latest article { padding: 9px 0; border-bottom: 1px solid var(--rule); }
.latest article[class*="tone-"] { padding-left: 10px; }
.latest h4 { font-size: 16px; line-height: 1.25; margin: 4px 0 0; }
.latest .kicker { margin-bottom: 0; font-size: 10px; }
.block { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.block-title { font: 800 13px var(--sans); text-transform: uppercase; letter-spacing: .07em; margin: 0 0 10px;
               border-top: 2px solid var(--strong-rule); padding-top: 8px; }
.block article + article { border-top: 1px solid var(--rule); margin-top: 12px; padding-top: 12px; }
.block h4 { font-size: 18px; line-height: 1.25; margin: 0 0 4px; }
.block p { font-size: 14px; color: var(--muted); margin: 0; }
.slider { border-bottom: 1px solid var(--rule); padding: 14px 0 16px; }
.slider-head { display: flex; align-items: flex-end; gap: 12px; }
.slider-head .block-title { flex: 1; }
.slider-count { font-weight: 600; color: var(--muted); margin-left: 6px; }
.slider-nav { display: flex; gap: 6px; margin-bottom: 10px; }
.slider-nav button { width: 34px; height: 34px; border: 1px solid var(--rule); border-radius: 50%; background: var(--bg);
                     color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; }
.slider-nav button:hover { border-color: var(--ink); }
.slider-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 16px) / 4); gap: 16px;
                overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 6px; }
.card { scroll-snap-align: start; padding: 12px 14px; border: 1px solid var(--rule); border-radius: 4px; background: var(--soft); }
.card h4 { font-size: 17px; line-height: 1.25; margin: 6px 0 6px; }
.card p { font-size: 14px; color: var(--text); margin: 0; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.card .brief-title { font-size: 15px; color: var(--ink); line-height: 1.3; margin: 6px 0 6px; -webkit-line-clamp: 3; }
.card-tag { font: 700 10px var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
[class*="tone-"] .card-tag { display: inline-block; background: var(--tone); color: #fff; padding: 2px 7px; border-radius: 3px; }
.card[class*="tone-"] { border-left: 4px solid var(--tone); }
.brief-sector { font: 700 10px var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--accent); }
.brief-meta { font: 11px var(--sans); color: var(--muted); }

/* tone (owner 2026-11-02): a white-on-color label and a colored edge; yellow = not confirmed, red = bad, green = good */
.tone-bad { --tone: var(--bad); } .tone-good { --tone: var(--good); } .tone-warn { --tone: var(--warn); }
[class*="tone-"] .kicker, [class*="tone-"] .brief-sector, .kicker[class*="tone-"] { display: inline-block; background: var(--tone);
  color: #fff; padding: 2px 7px; border-radius: 3px; }
.kicker[class*="tone-"] a { color: #fff; }
article[class*="tone-"] { border-left: 4px solid var(--tone); padding-left: 12px; }
.brief[class*="tone-"] { border-left: 4px solid var(--tone); }
.top > article.lead[class*="tone-"] { padding-left: 14px; }

/* story page */
.story { max-width: 680px; margin: 26px auto 0; }
.story h1 { font-size: clamp(28px, 4vw, 42px); line-height: 1.12; margin: 4px 0 14px; letter-spacing: -.3px; }
.byline { border-bottom: 1px solid var(--rule); padding-bottom: 14px; margin-bottom: 22px; }
.status { font-weight: 700; }
.status.not-confirmed { color: #b25b00; }
.body p { font-size: 19px; line-height: 1.6; margin: 0 0 18px; }
.facts, .sources { border-top: 1px solid var(--rule); margin-top: 26px; padding-top: 10px; font: 14px var(--sans); }
.facts h3, .sources h3 { font: 800 12px var(--sans); text-transform: uppercase; letter-spacing: .07em; }
.facts li, .sources li { margin: 4px 0; }
.sources a { color: var(--accent); }
.back { font: 14px var(--sans); color: var(--muted); margin-top: 26px; }

/* lists */
.list-title { font-size: 34px; margin: 24px 0 8px; border-bottom: 1px solid var(--strong-rule); padding-bottom: 10px; }
.river article { padding: 16px 0; border-bottom: 1px solid var(--rule); max-width: 760px; }
.river h2 { font-size: 22px; margin: 2px 0 6px; line-height: 1.2; }
.river p { margin: 0; color: var(--muted); }
.month { font: 800 13px var(--sans); text-transform: uppercase; letter-spacing: .07em; margin-top: 24px; }
.editions { list-style: none; padding: 0; font-size: 17px; }
.editions li { padding: 8px 0; border-bottom: 1px solid var(--rule); }
.foot { max-width: 1200px; margin: 0 auto; padding: 18px 16px 30px; border-top: 1px solid var(--strong-rule);
        font: 12px var(--sans); color: var(--muted); }

@media (max-width: 900px) {
  .top { grid-template-columns: 1fr 1fr; }
  .lead { grid-column: 1 / -1; padding-right: 0 !important; }
  .top > .second { border-left: 0; padding-left: 0; }
  .top > .watch { padding-right: 0; }
  .by-section { columns: 2; }
  .slider-track { grid-auto-columns: calc((100% - 16px) / 2); }
}
@media (max-width: 600px) {
  .top { grid-template-columns: 1fr; }
  .by-section { columns: 1; }
  .top > * { padding-left: 0 !important; padding-right: 0 !important; border-left: 0 !important; }
  .top > * + * { border-top: 1px solid var(--rule); }
  .slider-track { grid-auto-columns: 82%; }
  .topline > span:last-child { display: none; }
  .topline { justify-content: center; }
}
.watch .latest h4 a { color: var(--ink); }
.card .brief-meta { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.slider-nav[hidden] { display: none; }
/* justified text (owner 2026-11-02), hyphenated so the gaps stay small */
.lead .summary, .second .summary, .card p, .body p { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }

/* One headline style everywhere (owner 2026-11-03: "all headlines consistent, some are bold and some are not"):
   same serif, same weight; only the size marks the level. */
h1, h2, h4, .brief-title, .story h1, .river h2 { font-family: var(--serif); font-weight: 700; letter-spacing: -.2px; }
.card .brief-title { font-size: 17px; line-height: 1.25; }

/* Tagline right under the title (owner 2026-11-03: "nice but buried at the bottom") */
.tagline { text-align: center; font: italic 700 clamp(20px, 2.6vw, 28px) var(--serif); color: var(--ink); margin: 6px auto 14px; max-width: 46em; }
.toplinks { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.toplinks a { display: block; margin: 0; white-space: nowrap; }
@media (max-width: 600px) { .toplinks { align-items: center; } }
.toplinks .media-link { background: #ffd23f; color: #121212; font-weight: 600; padding: 3px 10px; border-radius: 3px; }
.toplinks .media-link:hover { background: #ffc400; text-decoration: none; }
.toplinks .editions-link { background: #4fc3f7; color: #121212; font-weight: 600; padding: 3px 10px; border-radius: 3px; }
.toplinks .editions-link:hover { background: #29b6f6; text-decoration: none; }
.foot { text-align: center; }
.foot .credits { font-size: 13px; color: var(--muted); }
/* Videos & Newsletters: their own page */
.media-edition { border-bottom: 1px solid var(--rule, #ddd); padding: 18px 0; }
.media-edition h2 { font-size: 22px; margin: 0 0 12px; }
.media-videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.media-videos video { width: 100%; background: #000; }
.media-videos figure { margin: 0; }
.media-videos figcaption { font: 700 12px var(--sans); text-transform: uppercase; letter-spacing: .06em; margin-top: 6px; }
.media-pdf { margin: 12px 0 0; font-size: 17px; }

.dateline { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.dateline .issue { font: 700 15px var(--sans); color: var(--ink); letter-spacing: .08em; border: 2px solid var(--ink); padding: 2px 10px; }

/* masthead ears + edition band (owner 2026-11-03) */
.topline { align-items: flex-start; }
.ear { font: 12px/1.45 var(--sans); color: var(--muted); text-align: right; border: 1px solid var(--rule); padding: 6px 10px; }
.ear b { color: var(--ink); text-transform: uppercase; letter-spacing: .06em; }
.band { text-align: center; font: 700 13px var(--sans); text-transform: uppercase; letter-spacing: .1em; color: var(--ink);
        border-bottom: 1px solid var(--rule); padding: 12px 0; margin-bottom: 4px; }
.watch-box { margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--rule); }

/* Masthead (owner 2026-11-03): left ear = latest edition, right = Past editions + Videos & Newsletters pills, video strip under the tagline */
.ear-left { text-align: left; }
.toplinks-right { align-items: flex-end; }
.langs { display: flex; gap: 14px; font: 600 13px var(--sans); }
.langs a { color: var(--muted); display: inline-flex; align-items: center; gap: 5px; opacity: .55; }
.langs a.on { color: var(--ink); opacity: 1; }
.thumb { position: relative; display: block; }
.thumb img { width: 100%; display: block; border-radius: 3px; }
.thumb .play { position: absolute; inset: 0; margin: auto; width: 38px; height: 38px; border-radius: 50%; background: rgba(0,0,0,.65); color: #fff; font-size: 16px; display: flex; align-items: center; justify-content: center; }
.watchstrip { display: flex; justify-content: center; align-items: center; gap: 14px; font: 13px/1.6 var(--sans); margin: 4px 0 12px; }
.watchstrip .thumb { width: 150px; flex: none; }
.watchstrip b { text-transform: uppercase; letter-spacing: .06em; }
.watchstrip a { color: var(--ink); }
@media (max-width: 600px) {
  .topline > span.ear-left { display: none; }
  .topline > span.toplinks-right { display: flex; flex-direction: row; gap: 8px; align-items: center; }
  .topline { flex-wrap: wrap; gap: 8px; }
  .langs { width: 100%; justify-content: center; }
}
