:root {
  color-scheme: light;
  --bg: #f4f4f5;
  --paper: #fff;
  --ink: #141518;
  --muted: #505158;
  --line: #d9dadd;
  --red: #ad211d;
  --red-dark: #8b1b18;
  --radius: .27rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 1rem/1.5 system-ui, sans-serif; }
[hidden] { display: none !important; }
a { color: inherit; }
button, select { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .5; }
a:focus-visible, button:focus-visible, select:focus-visible, .vertical-list:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
h1, h2, h3, p, figure { margin: 0; }
img { display: block; max-inline-size: 100%; }
.frame { width: calc(100% - 3rem); max-width: 1260px; margin-inline: auto; }
.skip-link { position: fixed; top: .5rem; left: .5rem; z-index: 10; padding: .65rem; background: var(--paper); transform: translateY(-200%); }
.skip-link:focus { transform: none; }

.mast { background: var(--paper); border-bottom: 2px solid var(--ink); box-shadow: 0 3px 14px #181a2012; }
.bar { display: flex; align-items: center; justify-content: space-between; column-gap: clamp(.85rem, 2vw, 1.75rem); padding-block: .8rem; }
.brand { display: block; flex: none; width: clamp(194px, 24vw, 300px); }
.brand img { width: 100%; height: auto; }
.bar nav { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem clamp(.65rem, 1.7vw, 1.25rem); margin-right: auto; }
.bar nav a { padding-block: .35rem; font-size: .78rem; text-transform: uppercase; letter-spacing: .025em; font-weight: 800; white-space: nowrap; text-decoration: none; }
.bar nav a:hover { text-decoration: underline; text-underline-offset: .2em; }
.primary, .secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 2.65rem; padding: .49rem .8rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); font-weight: 780; text-decoration: none; }
.primary { border-color: var(--red); background: var(--red); color: white; }
.primary:hover { border-color: var(--red-dark); background: var(--red-dark); }
.secondary:hover { border-color: var(--red); color: var(--red-dark); }
.mast-watch { font-size: .74rem; text-transform: uppercase; white-space: nowrap; }

.headline-nav { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: .95rem 0 .58rem; }
.edition-buttons, .headline-step { display: flex; flex-wrap: wrap; gap: .35rem; }
.headline-nav button { min-height: 2.48rem; padding: .36rem .62rem; border: 1px solid var(--line); border-radius: .16rem; background: white; font-size: .76rem; font-weight: 850; text-transform: uppercase; letter-spacing: .025em; }
.headline-nav button[aria-pressed="true"] { border-color: var(--red); background: var(--red); color: white; }
.headline-nav button:hover:not(:disabled):not([aria-pressed="true"]) { border-color: var(--red); }
.newsroom-lead { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(15rem, 1fr); gap: 1rem; align-items: stretch; }
.hero { position: relative; isolation: isolate; display: grid; align-items: end; min-height: 430px; overflow: hidden; border-radius: .2rem; background: #202026; color: white; box-shadow: 0 8px 24px #17192024; }
.hero-art { position: absolute; inset: 0; z-index: -2; background: radial-gradient(ellipse at 72% 22%, #59413f, #28282e 63%, #141518); }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero-art .brand-art { object-fit: contain; object-position: 85% 10%; padding: 2rem; opacity: .42; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, #101015f7, #101015c4 28%, #10101517 82%); }
.hero-copy { padding: clamp(1rem, 3vw, 2.4rem); }
.kicker { margin-bottom: .35rem; color: var(--red-dark); font-size: .74rem; font-weight: 850; text-transform: uppercase; letter-spacing: .045em; }
.hero .kicker { color: #ffb4a9; }
.hero h1 { margin: 0 0 .55rem; font-size: clamp(2rem, 4.6vw, 3.8rem); font-weight: 920; letter-spacing: -.045em; line-height: 1.03; text-wrap: balance; }
.hero p:not(.kicker) { max-width: 43rem; font-size: .98rem; color: #f1eff1; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.hero-actions .secondary { background: #151518b3; border-color: #ffffff7d; }
.hero-actions .secondary:hover { background: #333038; color: white; }

.headlines-desk { min-width: 0; padding: .82rem 1rem .4rem; border-top: 4px solid var(--red); background: var(--paper); box-shadow: 0 5px 18px #17192013; }
.headlines-desk h2, .section h2 { font-weight: 900; font-size: clamp(1.45rem, 2.7vw, 2.2rem); line-height: 1.08; letter-spacing: -.04em; text-transform: uppercase; }
.headlines-desk .vertical-list { max-height: 378px; margin-top: .6rem; }
.vertical-list { min-width: 0; overflow-y: auto; overflow-x: hidden; scrollbar-gutter: stable; }
.story-row { display: grid; grid-template-columns: clamp(4.4rem, 28%, 7.5rem) minmax(0, 1fr); align-items: center; gap: .72rem; width: 100%; padding: .64rem .35rem; border: 0; border-top: 1px solid var(--line); background: var(--paper); text-align: left; }
.story-row:hover, .story-row[aria-current="true"] { background: #fff4f1; }
.story-row:focus-visible { outline-offset: -3px; }
.story-row strong { display: block; font-size: .95rem; line-height: 1.24; }
.story-row small { display: block; margin-bottom: .18rem; color: var(--red-dark); font-size: .72rem; font-weight: 780; line-height: 1.25; }
.story-row .row-summary { color: var(--muted); font-size: .83rem; font-weight: 450; margin: .17rem 0 0; }
.thumbnail { display: block; aspect-ratio: 16/9; width: 100%; object-fit: cover; border-radius: .2rem; background: #26252b; }
.thumbnail.brand-art { object-fit: contain; padding: .34rem; background: #e9e6e6; }
.quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: .85rem; overflow: hidden; border: 1px solid var(--line); border-radius: .2rem; background: var(--line); }
.quick a { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .55rem; padding: .72rem .85rem; border-top: 3px solid var(--ink); background: var(--paper); text-decoration: none; }
.quick a:hover { border-color: var(--red); background: #fff4f1; }
.quick span { color: var(--muted); font-size: .81rem; }

.section { margin-top: clamp(2rem, 5vw, 3.7rem); scroll-margin-top: 1rem; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: .65rem; margin-bottom: .8rem; padding-bottom: .68rem; border-bottom: 2px solid var(--ink); }
.section-head .secondary { font-size: .83rem; }
.availability, .empty { margin: 0 0 .65rem; color: var(--muted); font-size: .9rem; }
.empty { padding: .8rem; }
.topic-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: .85rem; max-height: 31rem; padding-inline: .3rem; background: var(--paper); }
.topic-list .story-row { grid-template-columns: clamp(4rem, 21%, 7.5rem) minmax(0, 1fr); min-width: 0; }
.report-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; }
.report-card { min-width: 0; border: 1px solid var(--line); border-top: 3px solid var(--red); border-radius: var(--radius); overflow: hidden; background: var(--paper); box-shadow: 0 4px 12px #1719200b; }
.report-card .report-art { display: block; position: relative; padding: 0; width: 100%; border: 0; background: #24242b; }
.report-art .thumbnail { border-radius: 0; }
.report-card h3 { font-size: 1.08rem; line-height: 1.2; margin: 0 0 .35rem; }
.report-copy { padding: .65rem .8rem .85rem; }
.report-copy p:not(.kicker) { margin-bottom: .45rem; color: var(--muted); font-size: .9rem; }
.source-link { color: var(--red-dark); font-size: .86rem; font-weight: 770; text-underline-offset: .15em; }
.play-mark { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; transform: translate(-50%, -50%); border: 1px solid #ffffffc9; border-radius: 50%; background: #141518de; color: white; }
.play-mark::after { content: ""; margin-left: .16rem; border-block: .38rem solid transparent; border-left: .61rem solid white; }
.report-art:hover .play-mark, .short-cover:hover .play-mark { background: var(--red); }
.news-list { max-height: 30rem; padding-inline: .38rem; border-top: 3px solid var(--red); background: var(--paper); }
.news-list .story-row { grid-template-columns: clamp(4.7rem, 17vw, 9.5rem) minmax(0, 1fr); }

.date-picker { display: flex; align-items: center; gap: .5rem; color: var(--muted); font-size: .84rem; font-weight: 700; }
.date-picker select { min-height: 2.35rem; border: 1px solid var(--line); border-radius: var(--radius); background: white; padding: .3rem .42rem; }
#week-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .44rem; margin: 0 0 .75rem; }
#week-days button { min-width: 0; min-height: 3rem; padding: .4rem .58rem .5rem; border: 1px solid var(--line); border-radius: var(--radius); background: white; text-align: left; }
#week-days button[aria-pressed="true"] { border-color: var(--red); box-shadow: inset 0 -3px var(--red); }
#week-days button strong, #week-days button span { display: block; }
#week-days button strong { font-size: .86rem; line-height: 1.25; }
#week-days button span { font-size: .74rem; color: var(--muted); }
.archive-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; }
.archive-program { display: grid; grid-template-rows: auto minmax(0, 1fr); min-width: 0; height: clamp(16rem, 41vh, 24rem); padding-inline: .38rem; overflow: hidden; border: 1px solid var(--line); border-top: 3px solid var(--ink); background: var(--paper); }
.archive-program h3 { padding: .65rem .45rem; font-size: 1rem; line-height: 1.2; }
.archive-program .vertical-list { overflow-y: scroll; }
.archive-program .story-row { grid-template-columns: 4.5rem minmax(0, 1fr); min-height: 3.55rem; gap: .54rem; }
.archive-program .story-row strong { font-size: .87rem; line-height: 1.24; }

.short-card { display: grid; grid-template-columns: minmax(5rem, 8rem) minmax(0, 1fr); gap: 1rem; align-items: center; max-width: 40rem; padding: .8rem; border: 1px solid var(--line); background: white; }
.short-card h3 { margin-bottom: .32rem; line-height: 1.2; }
.short-card p { margin-bottom: .45rem; color: var(--muted); }
.short-cover { position: relative; display: block; aspect-ratio: 9/13; background: #141518; overflow: hidden; }
.short-cover img { width: 100%; height: 100%; object-fit: cover; }
#public-channels { display: flex; flex-wrap: wrap; gap: .48rem; }
.footer { display: flex; justify-content: space-between; gap: .6rem; border-top: 1px solid var(--line); margin-top: 2.8rem; padding-block: .75rem 1.5rem; color: var(--muted); font-size: .82rem; }

dialog { width: min(47rem, calc(100% - 1.5rem)); max-height: min(89vh, 57rem); max-height: min(89dvh, 57rem); padding: 0; border: 0; border-radius: .45rem; color: var(--ink); background: var(--paper); box-shadow: 0 18px 55px #1010155e; }
dialog::backdrop { background: #15151acb; }
.dialog-top { position: sticky; z-index: 1; top: 0; display: flex; align-items: start; justify-content: space-between; gap: .65rem; border-bottom: 1px solid var(--line); padding: .9rem 1.05rem; background: var(--paper); }
.dialog-top h2 { font-size: clamp(1.25rem, 4.5vw, 1.95rem); line-height: 1.13; letter-spacing: -.028em; }
.dialog-top button { font-size: .82rem; }
#story-dialog-body { padding: .9rem 1.05rem 1.1rem; }
#story-dialog-body > :is(.thumbnail, p, ul, iframe) { margin-bottom: .7rem; }
#story-dialog-body .thumbnail { max-height: 48vh; }
#story-dialog-body ul { padding-left: 1.25rem; }
.short-frame { display: block; aspect-ratio: 9/16; max-height: 58vh; max-height: 58dvh; width: min(100%, 19rem); margin-inline: auto; border: 0; background: #181819; }

@media (max-width: 840px) {
  .bar { flex-wrap: wrap; row-gap: .3rem; }
  .bar nav { order: 2; width: 100%; }
  #week-days { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 740px) {
  .frame { width: calc(100% - 1.35rem); }
  .newsroom-lead { grid-template-columns: minmax(0, 1fr); gap: .72rem; }
  .hero { min-height: 370px; }
  .headlines-desk { padding: .67rem .7rem .3rem; }
  .headlines-desk .vertical-list { max-height: 16rem; }
  .report-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .archive-columns { grid-template-columns: minmax(0, 1fr); gap: .65rem; }
  .archive-program { height: auto; min-height: 7.1rem; max-height: 17rem; }
  .archive-program h3 { padding-block: .48rem; }
}

@media (max-width: 480px) {
  .bar { column-gap: .45rem; }
  .brand { width: min(46vw, 194px); }
  .mast-watch { min-height: 2.42rem; padding: .34rem .48rem; font-size: .67rem; }
  .bar nav { gap: .1rem .67rem; }
  .bar nav a { font-size: .7rem; }
  .headline-nav { flex-wrap: wrap; }
  .headline-nav button { min-height: 2.25rem; padding: .29rem .45rem; font-size: .69rem; }
  .hero { min-height: 19.3rem; }
  .quick a { padding: .56rem .42rem; font-size: .81rem; }
  .quick span { font-size: .71rem; }
  .section-head { align-items: start; flex-direction: column; gap: .42rem; }
  .topic-list, .report-grid { grid-template-columns: minmax(0, 1fr); }
  .footer { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.dialog-art { margin-bottom: .75rem; }
.dialog-art figcaption { color: var(--muted); font-size: .75rem; padding-top: .2rem; }
.report-frame { display: block; width: 100%; aspect-ratio: 16/9; max-height: 58dvh; margin-bottom: .65rem; border: 0; background: #181819; }
#story-dialog-body .primary + .secondary { margin-left: .45rem; }
