/* American News Hour. Light only, by request: no dark theme even when the device prefers dark. Newspaper front page: masthead over a section bar, lead story left, Latest rail right, section bands below. */
:root {
  --paper: #ffffff;
  --paper-2: #f5f6f8;
  --ink: #13213a;
  --ink-2: #4a5568;
  --muted: #6b7686;
  --rule: #d9dee6;
  --rule-strong: #0b2a5b;
  --navy: #0b2a5b;
  --red: #c8102e;
  --red-ink: #ffffff;
  --link: #0b2a5b;
  --display: "Newsreader", Georgia, "Times New Roman", serif;
  --body: "Inter", "Segoe UI", Helvetica, Arial, sans-serif;
  --mark: "Montserrat", "Arial Black", Arial, sans-serif;
  --r: 6px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 var(--body); }
.wrap { max-width: 1180px; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; line-height: 1.12; text-wrap: balance; letter-spacing: -0.01em; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 12px; z-index: 20; }
.skip:focus { left: 8px; }

/* header */
.topbar { background: var(--navy); color: #e8eefb; font-size: 0.8rem; }
.topbar .wrap { display: flex; align-items: center; gap: 18px; min-height: 34px; flex-wrap: wrap; }
.topbar .updated { color: #b9c8ea; }
.topbar .utility { margin-left: auto; display: flex; gap: 16px; }
.topbar a { color: #e8eefb; }
.masthead { text-align: center; padding: 22px 16px 14px; }
.brand { display: inline-flex; align-items: center; }
.brand:hover { text-decoration: none; }
.brand .logo { height: clamp(56px, 9vw, 96px); width: auto; }
.wordmark { display: inline-flex; flex-direction: column; align-items: center; font-family: var(--mark); font-weight: 800; line-height: 1; color: var(--navy); white-space: nowrap; }
.wordmark .w1 { font-size: clamp(1.7rem, 5vw, 3rem); letter-spacing: 0.04em; }
.wordmark .w2 { color: var(--red); font-size: clamp(0.78rem, 2.3vw, 1.35rem); letter-spacing: 0.26em; margin-top: 0.3em; display: inline-flex; align-items: center; gap: 0.6em; padding-left: 0.26em; }
.wordmark .w2 i { display: block; width: 1.6em; height: 0.12em; min-height: 2px; background: var(--red); }
.tagline { color: var(--muted); font-size: 0.9rem; margin-top: 6px; }
.sections { border-top: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule); position: sticky; top: 0; background: var(--paper); z-index: 10; }
.sections .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; justify-content: safe center; }
.sections .wrap::-webkit-scrollbar { display: none; }
.sections a { padding: 11px 14px; font-weight: 600; font-size: 0.86rem; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; border-bottom: 3px solid transparent; }
.sections a:hover { text-decoration: none; border-color: var(--rule); }
.sections a[aria-current] { border-color: var(--red); color: var(--red); }

/* ticker */
.ticker { display: flex; align-items: stretch; border-bottom: 1px solid var(--rule); overflow: hidden; font-size: 0.86rem; }
.ticker-label { background: var(--red); color: var(--red-ink); font-weight: 700; padding: 8px 14px; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.74rem; display: flex; align-items: center; flex: none; }
.ticker-track { display: flex; flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.ticker-track ul { list-style: none; margin: 0; padding: 0 0 0 24px; display: flex; gap: 40px; flex: none; align-items: center; animation: tick 300s linear infinite; }
.ticker-track li { white-space: nowrap; }
.ticker-track li::before { content: "\25CF"; color: var(--red); font-size: 0.55em; vertical-align: middle; margin-right: 10px; }
.ticker:hover ul, .ticker:focus-within ul { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track ul { animation: none; } .ticker-track ul[aria-hidden] { display: none; } .ticker-track { mask-image: none; overflow-x: auto; } }

/* front page */
.front { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; padding-block: 28px 12px; }
.front > * { min-width: 0; }
.kicker { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.hed a { color: var(--ink); }
.dek { color: var(--ink-2); font-size: 0.98rem; margin-top: 8px; }
.meta { font-size: 0.78rem; color: var(--muted); margin-top: 10px; }
.meta .src, .latest .src { font-weight: 600; color: var(--ink-2); }
.meta time::before { content: "\00b7"; margin: 0 6px; }
.thumb { display: block; overflow: hidden; border-radius: var(--r); background: var(--paper-2); aspect-ratio: 16 / 9; }
.thumb img, .thumb .ph { width: 100%; height: 100%; object-fit: cover; }
.ph { display: grid; place-items: center; background: var(--paper-2); }
.ph-mark { opacity: 0.22; width: 56px; height: 56px; filter: grayscale(1); }
.lead .thumb { aspect-ratio: 16 / 9; margin-bottom: 16px; }
.lead .hed { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
.lead .dek { font-size: 1.08rem; margin-top: 12px; max-width: 42em; }
.grid { display: grid; gap: 28px 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--rule); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card .thumb { margin-bottom: 12px; }
.card .hed { font-size: 1.25rem; }
.card-sm .hed { font-size: 1.06rem; }
.card-sm .dek { font-size: 0.9rem; }
.card-feature { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px; align-items: center; padding-bottom: 28px; border-bottom: 1px solid var(--rule); }
.card-feature .thumb { margin: 0; }
.card-feature .hed { font-size: clamp(1.5rem, 3vw, 2.2rem); }

/* rail */
.rail { border-left: 1px solid var(--rule); padding-left: 28px; }
.rail-hed { font-family: var(--body); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy); border-bottom: 2px solid var(--navy); padding-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.live { background: var(--red); color: var(--red-ink); font-size: 0.65rem; padding: 2px 7px; border-radius: 999px; letter-spacing: 0.08em; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.6; } }
.latest { list-style: none; margin: 0; padding: 0; }
.latest li { display: grid; grid-template-columns: 64px 1fr; gap: 2px 10px; padding: 11px 0; border-bottom: 1px solid var(--rule); font-size: 0.93rem; line-height: 1.35; }
.latest time { font-size: 0.74rem; color: var(--muted); padding-top: 3px; font-variant-numeric: tabular-nums; }
.latest a { font-family: var(--display); font-weight: 600; font-size: 1.02rem; color: var(--ink); }
.latest .src { grid-column: 2; font-size: 0.74rem; font-weight: 500; color: var(--muted); }
.latest li.new { animation: flash 2.4s ease-out; }
@keyframes flash { from { background: color-mix(in srgb, var(--red) 12%, transparent); } }
.rail-note { font-size: 0.76rem; color: var(--muted); margin-top: 12px; }

/* bands */
.band { padding-block: 28px; border-top: 1px solid var(--rule); }
.band-top { background: var(--paper-2); border-top-color: var(--rule-strong); }
.band-hed { font-family: var(--body); font-size: 0.86rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); margin-bottom: 18px; display: flex; align-items: center; gap: 14px; }
.band-hed::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.band-hed a { color: inherit; }
.more { margin-top: 18px; font-size: 0.86rem; font-weight: 600; }
.more a::after { content: " \203A"; }

/* section + story */
.section-page { padding-block: 28px 40px; }
.section-head { margin-bottom: 28px; padding-bottom: 18px; border-bottom: 2px solid var(--navy); }
.section-head h1 { font-size: clamp(2rem, 5vw, 3rem); }
.blurb { color: var(--muted); margin-top: 6px; }
.crumbs { font-size: 0.78rem; color: var(--muted); margin-bottom: 14px; }
.empty { color: var(--muted); padding: 40px 0; }
.story { max-width: 780px; padding-block: 28px 40px; }
.story h1 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); margin-bottom: 14px; }
.byline { font-size: 0.86rem; color: var(--muted); margin-bottom: 22px; }
.story-img { margin: 0 0 24px; }
.story-img img { border-radius: var(--r); width: 100%; }
.story-img figcaption { font-size: 0.76rem; color: var(--muted); margin-top: 8px; }
.story-body { font-family: var(--display); font-size: 1.22rem; line-height: 1.6; display: grid; gap: 1em; }
.story-body p:first-child::first-letter { font-size: 3.1em; float: left; line-height: 0.85; padding: 6px 8px 0 0; color: var(--navy); font-weight: 700; }
.readon { margin-top: 28px; padding: 20px; background: var(--paper-2); border-left: 4px solid var(--red); border-radius: 0 var(--r) var(--r) 0; display: grid; gap: 12px; }
.readon p { color: var(--ink-2); font-size: 0.95rem; }
.btn { display: inline-block; justify-self: start; background: var(--navy); color: #fff; font-weight: 600; padding: 11px 18px; border-radius: 999px; }
.btn:hover { text-decoration: none; filter: brightness(1.1); }
.btn { color: #fff; }
.credit { font-size: 0.76rem; color: var(--muted); margin-top: 16px; }
.prose { max-width: 760px; padding-block: 28px 48px; font-size: 1.05rem; }
.prose h1 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); margin-bottom: 18px; }
.prose h2 { font-size: 1.35rem; margin: 26px 0 8px; }
.prose p { margin-bottom: 12px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

/* footer */
.site-foot { border-top: 3px double var(--rule-strong); margin-top: 30px; padding-block: 30px 40px; font-size: 0.86rem; color: var(--muted); }
.foot-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.foot-brand .logo { height: 44px; width: auto; }
.foot-note { max-width: 70em; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 18px 0; }
.foot-links a { color: var(--ink-2); font-weight: 500; }
.copy { font-size: 0.78rem; }

@media (max-width: 980px) {
  .front { grid-template-columns: 1fr; gap: 28px; }
  .rail { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 20px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; gap: 20px 14px; }
  .grid-4 .card-sm .dek { display: none; }
  .card-feature { grid-template-columns: 1fr; }
  .topbar .updated { display: none; }
  .masthead { padding-top: 16px; }
  .story-body { font-size: 1.12rem; }
  .ticker-label { padding: 8px 10px; }
}
