/* ================================================================
   Advertorial — Breaking News v1
   Chrome:     Breaking News theme — black adv bar, red alert banner,
               Classic News sitehead/nav, offerbar, footer
   Colour:     Alert red (#dc2020) — true signal red, distinct from
               all prior bundle colours
   Typography: Serif → h1, update headlines, section headings,
               pullquote, analyst quote, brand-mark, modal h3
               Sans  → body, nav, chips, buttons, timestamps,
               captions, meta
   Layout:     1080px chrome; 720px .prose; footer outside main
   ================================================================ */

:root {
  --bg:           #ffffff;
  --ink:          #111111;
  --muted:        #5a5a5a;
  --border:       #e4e4e4;
  --paper:        #f8f8f8;

  --link:         #b91c1c;
  --link-hover:   #991b1b;

  /* Alert red */
  --cta:          #dc2020;
  --cta-hover:    #b91c1c;
  --cta-bg:       #fff5f5;
  --cta-border:   #fca5a5;

  /* Breaking banner */
  --breaking:     #dc2020;
  --breaking-dark:#b91c1c;

  --max:    1080px;
  --prose:   720px;
  --radius:   12px;

  --serif: ui-serif, Georgia, "Times New Roman", Times, serif;
  --sans:  ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

* { box-sizing: border-box }
html, body { height: 100% }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.80;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  padding-bottom: 76px;
}
a { color: var(--link); text-decoration: none }
a:hover { color: var(--link-hover); text-decoration: underline }
img { max-width: 100%; display: block }

.container { width: min(100% - 32px, var(--max)); margin-inline: auto }
.prose { max-width: var(--prose); margin-inline: auto }

/* ══ TOPBAR — standard black advertorial bar ═══════════════════ */
.topbar { background: #111; color: #fff; border-bottom: 1px solid #222 }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0 }
.adv-badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--sans); font-weight: 650; letter-spacing: .08em; text-transform: uppercase; font-size: 12px }
.adv-dot { width: 8px; height: 8px; border-radius: 50%; background: #ffcc00; flex-shrink: 0 }
.topbar-right { font-family: var(--sans); font-size: 12px; color: #cfcfcf; white-space: nowrap }
.topbar-right a { color: #cfcfcf; text-decoration: underline; text-underline-offset: 2px }
.topbar-right a:hover { color: #fff }
@media (max-width: 600px) { .topbar-detail { display: none } }

/* ══ BREAKING BANNER ═══════════════════════════════════════════ */
/* Full-width red alert bar — sticky, stacks above sitehead */
.breaking-banner {
  position: sticky; top: 0; z-index: 60;
  background: var(--breaking);
  color: #fff;
  padding: 0;
}
.breaking-inner {
  display: flex; align-items: stretch;
  min-height: 44px;
}
.breaking-label {
  display: flex; align-items: center; justify-content: center;
  padding: 0 18px;
  background: var(--breaking-dark);
  font-family: var(--sans); font-weight: 900;
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  white-space: nowrap; gap: 8px; flex-shrink: 0;
}
.breaking-label .blink {
  width: 8px; height: 8px; border-radius: 50%;
  background: #fff;
  animation: blink 1.2s ease-in-out infinite;
}
@keyframes blink {
  0%,100% { opacity: 1 }
  50%      { opacity: .25 }
}
.breaking-hl {
  display: flex; align-items: center;
  padding: 0 18px;
  font-family: var(--sans); font-weight: 650;
  font-size: 13px; line-height: 1.3;
  flex: 1; gap: 14px;
}
.breaking-time {
  display: flex; align-items: center; gap: 6px;
  margin-left: auto; padding: 0 16px;
  font-family: var(--sans); font-size: 12px;
  color: rgba(255,255,255,.75); white-space: nowrap; flex-shrink: 0;
}


/* ══ SITE HEADER ═══════════════════════════════════════════════ */
.sitehead { border-bottom: 1px solid var(--border); background: #fff }
.sitehead-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 20px; padding: 13px 0;
  flex-wrap: nowrap;
}
.brand { display: flex; align-items: baseline; gap: 10px; flex-shrink: 0 }
@media (max-width: 600px) { .brand { flex-direction: column; align-items: center; gap: 2px } }
@media (max-width: 680px) { .sitehead-inner { justify-content: center } }
.brand-mark {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--serif);
  font-weight: 800; font-size: 23px; letter-spacing: -.02em;
  white-space: nowrap; color: #0d0d0d;
}
.brand-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 999px;
  background: rgba(0,0,0,.06); color: var(--cta); flex-shrink: 0;
}
.brand-tag { font-family: var(--sans); font-size: 12px; color: var(--muted); white-space: nowrap }

/* ══ NAV ═══════════════════════════════════════════════════════ */
.nav {
  display: flex; gap: 4px; align-items: center;
  font-family: var(--sans); flex-shrink: 0; flex-wrap: nowrap;
}
.nav a {
  font-size: 13px; color: #333; padding: 6px 9px;
  border-radius: 10px; text-decoration: none; white-space: nowrap;
}
.nav a:hover { background: var(--paper); color: #111; text-decoration: none }
.nav a.nav-cta {
  background: var(--cta); color: #fff !important;
  padding: 7px 15px; border-radius: 999px; font-weight: 750; margin-left: 6px;
}
.nav a.nav-cta:hover { background: var(--cta-hover) }
@media (max-width: 680px) { .nav { display: none } }

/* ══ PAGE ══════════════════════════════════════════════════════ */
.main { padding: 24px 0 0 }
.breadcrumb { font-family: var(--sans); font-size: 12px; color: var(--muted); margin: 0 0 14px }
.breadcrumb span { color: #bbb }

/* ══ HEADLINE BLOCK ════════════════════════════════════════════ */
.story-label {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--breaking); color: #fff;
  font-family: var(--sans); font-weight: 800;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 4px; margin-bottom: 12px;
}
.story-label .blink { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: blink 1.2s ease-in-out infinite }
h1 {
  font-family: var(--serif);
  font-weight: 800; letter-spacing: -.025em; line-height: 1.06;
  font-size: clamp(28px, 3.8vw, 46px); margin: 0 0 14px; color: #0d0d0d;
}
.subhead {
  font-family: var(--sans);
  font-size: 17px; font-weight: 400; color: #444;
  line-height: 1.65; margin: 0 0 14px;
}
.byline {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  font-family: var(--sans); font-size: 12px; color: var(--muted);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 9px 0; margin-bottom: 20px;
}
.byline strong { color: #222; font-weight: 650 }
.chip {
  display: inline-flex; align-items: center; gap: 5px;
  border: 1px solid var(--border); background: var(--paper);
  padding: 3px 9px; border-radius: 999px;
  font-family: var(--sans); font-size: 12px;
}
.chip .pin { color: var(--cta); display: inline-flex; align-items: center; width: 13px; height: 13px }
.chip .pin svg { display: block }
.live-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--breaking); color: #fff;
  padding: 3px 9px; border-radius: 999px;
  font-family: var(--sans); font-weight: 800; font-size: 11px; letter-spacing: .06em;
}
.live-chip .blink { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: blink 1.2s ease-in-out infinite }

/* ══ HERO ══════════════════════════════════════════════════════ */
.hero-wrap { position: relative; margin-bottom: 24px }
.hero {
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; background: var(--paper);
}
.hero img { width: 100%; height: auto; display: block }
.hero-ribbon {
  position: absolute; top: 14px; left: 14px;
  background: var(--breaking); color: #fff;
  font-family: var(--sans); font-weight: 800;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 4px;
  display: flex; align-items: center; gap: 7px;
}
.caption {
  padding: 8px 12px; border-top: 1px solid var(--border);
  font-family: var(--sans); font-size: 12px; color: var(--muted);
}

/* ══ BODY COPY ═════════════════════════════════════════════════ */
p { font-family: var(--sans); font-size: 16.5px; line-height: 1.82; color: #252525; margin: 0 0 14px }
p:last-child { margin-bottom: 0 }
.lede { font-size: 17.5px; color: #1a1a1a; line-height: 1.72; margin-bottom: 16px }

/* ══ CALLOUT ═══════════════════════════════════════════════════ */
.callout {
  border: 1px solid var(--border); background: var(--paper);
  border-radius: var(--radius); padding: 14px 16px; margin: 0 0 22px;
}
.callout strong { display: block; font-family: var(--sans); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #333; font-weight: 800; margin-bottom: 7px }
.callout p { font-size: 13.5px; color: var(--muted); line-height: 1.60; margin: 0 }

/* ══ PULLQUOTE ═════════════════════════════════════════════════ */
.pullquote {
  border-left: 4px solid var(--cta);
  padding: 8px 0 8px 18px; margin: 22px 0;
  font-family: var(--serif);
  font-size: 21px; font-weight: 600; line-height: 1.38; color: #111;
}
.pullquote cite {
  display: block; margin-top: 9px;
  font-family: var(--sans); font-size: 12px;
  font-style: normal; font-weight: 400; color: var(--muted);
}

/* ══ ANALYST QUOTE ═════════════════════════════════════════════ */
/* Correspondent / expert callout block */
.analyst {
  border: 1px solid var(--border);
  border-left: 4px solid #555;
  background: var(--paper); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 14px 16px; margin: 22px 0;
}
.analyst-meta {
  display: flex; align-items: center; gap: 10px; margin-bottom: 9px;
}
.analyst-avatar {
  width: 38px; height: 38px; border-radius: 999px;
  background: #e5e5e5; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 800; font-size: 14px; color: #333; flex-shrink: 0;
}
.analyst-name {
  font-family: var(--sans); font-weight: 700; font-size: 13px; color: #111;
}
.analyst-role {
  font-family: var(--sans); font-size: 12px; color: var(--muted); margin-top: 1px;
}
.analyst-body {
  font-family: var(--sans); font-size: 15px; color: #222;
  line-height: 1.70; font-style: italic; margin: 0;
}

/* ══ LIVE FEED ═════════════════════════════════════════════════ */
/* Container for timestamped update cards */
.feed-heading {
  display: flex; align-items: center; gap: 12px; margin: 0 0 16px;
}
.feed-heading-text {
  font-family: var(--serif);
  font-weight: 700; font-size: 22px; letter-spacing: -.01em; color: #0d0d0d;
}
.feed-divider {
  flex: 1; height: 1px; background: var(--border);
}

.live-feed { display: flex; flex-direction: column; gap: 0 }

.update {
  display: flex; gap: 0; position: relative;
}
/* Vertical timeline line */
.update::before {
  content: "";
  position: absolute; left: 50px; top: 0; bottom: 0;
  width: 1px; background: var(--border);
}
.update:first-child::before { top: 22px }
.update:last-child::before  { bottom: calc(100% - 22px) }

.update-time {
  flex: 0 0 50px; padding: 18px 10px 0 0;
  font-family: var(--sans); font-size: 11px; font-weight: 700;
  color: var(--muted); text-align: right; white-space: nowrap;
  line-height: 1.2;
}
.update-dot {
  flex: 0 0 16px; margin: 20px 0 0;
  position: relative; z-index: 1;
  display: flex; align-items: flex-start; justify-content: center;
}
.update-dot span {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--border); border: 2px solid #fff;
  display: block; flex-shrink: 0; margin-top: 3px;
}
/* The featured / top update gets a red dot */
.update.featured .update-dot span {
  background: var(--breaking); border-color: var(--breaking);
  box-shadow: 0 0 0 3px rgba(220,32,32,.15);
}
.update-card {
  flex: 1; padding: 16px 0 20px 18px;
  border-bottom: 1px solid var(--border);
}
.update:last-child .update-card { border-bottom: 0 }

.update-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--sans); font-size: 10px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 6px;
}
.update-tag.red  { color: var(--breaking) }
.update-tag.grey { color: #888 }

/* Update headline — serif */
.update-hl {
  font-family: var(--serif);
  font-weight: 700; font-size: 17px; line-height: 1.28;
  letter-spacing: -.01em; color: #0d0d0d; margin: 0 0 8px;
}
.update-body p {
  font-family: var(--sans); font-size: 15px;
  line-height: 1.75; color: #222; margin: 0 0 10px;
}
.update-body p:last-child { margin-bottom: 0 }

/* Inline image inside an update */
.update-img {
  margin: 10px 0; border: 1px solid var(--border);
  border-radius: 10px; overflow: hidden;
}
.update-img img { width: 100%; height: auto; display: block }
.update-img .img-cap {
  padding: 6px 10px; border-top: 1px solid var(--border);
  font-family: var(--sans); font-size: 11px; color: var(--muted);
}

/* ══ ALERT CTA BOX ═════════════════════════════════════════════ */
/* Restyled as a "READER ALERT" notice */
.alert-box {
  border: 1px solid var(--cta-border);
  border-left: 4px solid var(--cta);
  background: var(--cta-bg);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 18px; margin: 22px 0;
}
.alert-box-label {
  font-family: var(--sans); font-weight: 800;
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cta); margin-bottom: 6px;
  display: flex; align-items: center; gap: 7px;
}
.alert-box-label .blink { width: 6px; height: 6px; border-radius: 50%; background: var(--cta); animation: blink 1.2s ease-in-out infinite }
.alert-box h3 {
  font-family: var(--serif);
  font-weight: 700; font-size: 16px; letter-spacing: -.01em;
  color: #7f1d1d; margin: 0 0 8px;
}
.alert-row {
  display: flex; gap: 14px; align-items: center;
  justify-content: space-between; flex-wrap: wrap;
}
.alert-row > p {
  font-family: var(--sans); font-size: 14.5px;
  color: #333; line-height: 1.55; margin: 0; flex: 1;
}
.alert-row strong { color: #111 }

/* ══ BUTTON ════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px; border: 1px solid transparent;
  background: var(--cta); color: #fff !important;
  font-family: var(--sans); font-weight: 750; font-size: 14px;
  letter-spacing: .01em; text-decoration: none !important;
  white-space: nowrap; cursor: pointer; flex-shrink: 0;
  transition: background .12s ease, transform .08s ease;
}
.btn:hover { background: var(--cta-hover); color: #fff !important }
.btn:active { transform: translateY(1px) }
.btn.secondary {
  background: transparent; color: var(--cta) !important;
  border: 1px solid var(--cta-border);
}
.btn.secondary:hover { background: var(--cta-bg) }

/* ══ OFFER BAR ═════════════════════════════════════════════════ */
.offerbar {
  position: fixed; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,.96); border-top: 1px solid var(--border);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  z-index: 70; transition: transform .22s ease; padding: 10px 0;
}
.offerbar.hide { transform: translateY(100%) }
.offerbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px }
.offerbar-txt { font-family: var(--sans); font-size: 13px; color: #333; line-height: 1.25 }
.offerbar-txt strong { color: #111 }
@media (max-width: 480px) { .offerbar-txt { font-size: 12px } }

/* ══ FOOTER ════════════════════════════════════════════════════ */
.footer { border-top: 1px solid var(--border); padding: 22px 0 34px; color: var(--muted); font-family: var(--sans); font-size: 12px }
.footer .cols { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center }
.footer a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px }
.footer a:hover { color: #111 }
.small { font-family: var(--sans); font-size: 12px; color: var(--muted); line-height: 1.5 }

/* ══ MODAL ═════════════════════════════════════════════════════ */
.modal-backdrop { position: fixed; inset: 0; background: rgba(6,6,6,.60); display: none; z-index: 80; align-items: center; justify-content: center; padding: 18px }
.modal-backdrop.open { display: flex }
.modal { width: min(520px, 100%); background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: 0 20px 60px rgba(0,0,0,.22); padding: 24px 22px 20px }
.modal-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px }
.modal-brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 800; font-size: 17px; letter-spacing: -.01em }
.modal-brand .brand-icon { color: var(--cta) }
.modal h3 { font-family: var(--serif); margin: 10px 0 6px; font-size: 19px; font-weight: 700; letter-spacing: -.01em; color: #111 }
.modal p { margin: 0 0 14px; font-family: var(--sans); color: var(--muted); font-size: 14px; line-height: 1.55 }
.progress { height: 10px; background: rgba(220,32,32,.09); border-radius: 999px; overflow: hidden; border: 1px solid rgba(220,32,32,.18) }
.bar { width: 0%; height: 100%; background: var(--cta); border-radius: 999px; transition: width .08s linear }
.modal-steps { margin-top: 12px; font-family: var(--sans); font-weight: 700; font-size: 14px; color: #222 }
.modal-actions { margin-top: 14px; display: flex; justify-content: flex-end }

/* ══ AVAILABILITY PAGE ═════════════════════════════════════════ */
.av-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px }
.av-card { width: min(520px, 100%); border: 1px solid var(--border); border-radius: 18px; background: var(--bg); padding: 24px 22px 20px; box-shadow: 0 8px 30px rgba(0,0,0,.07) }
