/* DAGEN24: classic tabloid news site (white page, red masthead, condensed headlines). */
:root {
  --red: #d6001c; --red-dark: #a80016; --ink: #111418; --ink-2: #4a5057; --line: #dfe2e6; --bg: #fff; --bg-2: #f3f4f6; --yellow: #ffd400;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif; --body: Inter, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.5 var(--body); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid #1a5fd0; outline-offset: 2px; }
h1, h2, h3, p, ol, ul { margin: 0; padding: 0; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px 12px; z-index: 10; }
.play { display: inline-block; width: .6em; height: .7em; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); }
html:not(.js) [data-stories-open], html:not(.js) .rail { display: none !important; }

.util { background: var(--ink); color: #d5d9de; font-size: 12px; }
.util__in { display: flex; justify-content: space-between; gap: 12px; padding-top: 5px; padding-bottom: 5px; }
.mast { background: var(--red); color: #fff; }
.mast__in { display: flex; align-items: center; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.logo { display: inline-flex; align-items: stretch; font: 800 38px/1 var(--display); letter-spacing: .01em; }
.logo:hover { text-decoration: none; }
.logo__box { background: #fff; color: var(--red); padding: 4px 8px 5px; }
.logo__num { background: var(--ink); color: #fff; padding: 4px 8px 5px; }
.logo--sm { font-size: 24px; }
.mast__tag { font-size: 13px; font-weight: 500; opacity: .9; }
.stories-btn { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 2px solid #fff; border-radius: 999px; background: transparent; color: #fff; font: 700 15px/1 var(--body); }
.stories-btn:hover { background: #fff; color: var(--red); }
.nav { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 5; }
.nav__in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.nav__in::-webkit-scrollbar { display: none; }
.nav a { padding: 12px 12px; font: 700 18px/1 var(--display); text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; border-bottom: 3px solid transparent; }
.nav a:hover { text-decoration: none; border-color: var(--line); }
.nav a[aria-current] { border-color: var(--red); color: var(--red); }
.main { display: flex; flex-direction: column; gap: 32px; padding-top: 20px; padding-bottom: 48px; }

/* Stories rail: round bubbles */
.rail { display: flex; flex-direction: column; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.rail__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rail__title { display: flex; align-items: center; gap: 8px; font: 800 24px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.live { width: 10px; height: 10px; border-radius: 50%; background: var(--red); animation: live 1.4s ease-in-out infinite; }
@keyframes live { 50% { opacity: .25; } }
.rail__all { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--red); color: #fff; font-weight: 700; font-size: 14px; }
.rail__all:hover { background: var(--red-dark); }
.rail__list { list-style: none; display: flex; gap: 14px; overflow-x: auto; padding: 4px 20px 4px 2px; margin-right: -20px; scroll-snap-type: x proximity; scrollbar-width: none; }
.rail__list::-webkit-scrollbar { display: none; }
.rail__list li { flex: 0 0 auto; scroll-snap-align: start; }
.bubble { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 92px; padding: 0; border: 0; background: none; color: var(--ink); }
.bubble__ring { display: block; width: 84px; height: 84px; padding: 3px; border-radius: 50%; background: conic-gradient(from 210deg, var(--red), #ff7a00, var(--yellow), var(--red)); transition: transform .15s; }
.bubble__ring img { width: 100%; height: 100%; border-radius: 50%; border: 3px solid #fff; object-fit: cover; background: var(--bg-2); }
.bubble:hover .bubble__ring { transform: scale(1.05); }
.bubble__label { font-size: 12px; font-weight: 600; line-height: 1.25; text-align: center; max-width: 100%; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.bubble.is-seen .bubble__ring { background: var(--line); }
.bubble.is-seen .bubble__label { color: var(--ink-2); font-weight: 500; }
.bubble.is-loading .bubble__ring { animation: live .7s ease-in-out infinite; }
.bubble--ad .bubble__ring { background: var(--ink); }
.bubble__ad { position: absolute; top: 70px; left: 50%; transform: translateX(-50%); padding: 1px 6px; border-radius: 3px; background: var(--yellow); color: var(--ink); font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.bubble--ad .bubble__label { margin-top: 4px; }

/* Cards */
.sec-h, .page-h { font: 800 26px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; padding-bottom: 8px; border-bottom: 3px solid var(--ink); margin-bottom: 16px; }
.page-h { font-size: 40px; }
.kicker { display: inline-block; align-self: flex-start; padding: 2px 8px; background: var(--red); color: #fff; font: 700 14px/1.3 var(--display); text-transform: uppercase; letter-spacing: .06em; }
.meta { font-size: 12px; color: var(--ink-2); }
.card { display: flex; flex-direction: column; gap: 10px; }
.card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.card:hover .card__media img { transform: scale(1.03); }
.card__body { display: flex; flex-direction: column; gap: 6px; }
.card__title { font: 700 24px/1.08 var(--display); }
.card--lg .card__title { font-size: clamp(34px, 5vw, 56px); font-weight: 800; line-height: 1; }
.card__deck { font-size: 17px; color: var(--ink-2); }
.top { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); gap: 28px; }
.latest__list { list-style: none; display: flex; flex-direction: column; }
.latest__list li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 15px; line-height: 1.3; }
.latest__list time { color: var(--red); font-weight: 700; font-variant-numeric: tabular-nums; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
.rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
.card--row { flex-direction: row; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.card--row .card__media { flex: 0 0 150px; }
.card--row .card__title { font-size: 20px; }

.strip { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; width: 100%; padding: 14px 18px; border: 0; background: var(--ink); color: #fff; text-align: left; }
.strip__q { font: 700 24px/1.1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.strip__a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--red); font-weight: 700; font-size: 14px; }
.strip:hover .strip__a { background: var(--red-dark); }

/* Article */
.article { display: flex; flex-direction: column; gap: 20px; max-width: 760px; }
.article__head { display: flex; flex-direction: column; gap: 10px; }
.article__title { font: 800 clamp(36px, 6vw, 58px)/1 var(--display); }
.article__deck { font-size: 20px; line-height: 1.4; font-weight: 500; }
.article__media figcaption { margin-top: 6px; font-size: 12px; color: var(--ink-2); }
.article__media { margin: 0; }
.article__body { display: flex; flex-direction: column; gap: 16px; font-size: 18px; line-height: 1.6; }
.source { font-size: 14px; color: var(--ink-2); padding-top: 12px; border-top: 1px solid var(--line); }
.source a { color: var(--red); font-weight: 600; text-decoration: underline; }

.foot { background: var(--bg-2); border-top: 3px solid var(--ink); }
.foot__in { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; padding-bottom: 32px; font-size: 13px; color: var(--ink-2); max-width: 760px; margin-left: max(0px, calc((100% - 1180px) / 2)); }
.foot .logo__box { outline: 1px solid var(--line); }

/* Viewer theme (shared/webstories/README.md) */
.cs-viewer {
  --cs-font-display: var(--display); --cs-font-body: var(--body);
  --cs-accent: #d6001c; --cs-accent-ink: #fff; --cs-kicker-bg: #d6001c; --cs-kicker-ink: #fff;
  --cs-title-transform: none; --cs-title-weight: 800; --cs-radius: 14px; --cs-scrim: rgba(10, 12, 15, .94);
}

@media (max-width: 860px) {
  .top { grid-template-columns: minmax(0, 1fr); }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .rows { grid-template-columns: minmax(0, 1fr); }
  .mast__tag { display: none; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 14px; }
  .logo { font-size: 30px; }
  .grid { grid-template-columns: minmax(0, 1fr); }
  .card__title { font-size: 26px; }
  .card--row .card__media { flex-basis: 112px; }
  .rail__list { gap: 10px; margin-right: -14px; padding-right: 14px; }
  .bubble { width: 80px; } .bubble__ring { width: 72px; height: 72px; } .bubble__ad { top: 60px; }
  .strip__q { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
