:root {
  --ink: #111827;
  --muted: #5b6474;
  --line: #e3e6eb;
  --bg: #fff;
  --soft: #f4f6f9;
  --navy: #0b1b33;
  --red: #c8102e;
  --head: "Archivo", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.5 var(--body); color: var(--ink); background: var(--bg); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--head); line-height: 1.12; margin: 0; letter-spacing: -.01em; }
h3 a:hover, h1 a:hover, .latest a:hover, .ranked a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 12px; z-index: 99; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid #2563eb; outline-offset: 2px; }

/* ---------- header ---------- */
.topbar { background: var(--navy); color: #c9d2e0; font-size: 13px; }
.topbar-inner { display: flex; gap: 18px; align-items: center; height: 34px; }
.weather { color: #fff; }
.topbar-links { margin-left: auto; display: flex; gap: 16px; }
.topbar-links a:hover { color: #fff; }
.masthead { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.masthead-inner { display: flex; align-items: center; gap: 16px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark svg { width: 40px; height: 40px; display: block; }
.logo-text { font: 900 26px/1 var(--head); letter-spacing: -.02em; color: var(--navy); }
.logo-text b { color: var(--red); font-weight: 900; }
.logo-light .logo-text { color: #fff; }
.search { margin-left: auto; display: flex; align-items: center; background: var(--soft); border-radius: 999px; padding: 0 6px 0 16px; }
.search input { border: 0; background: none; font: inherit; font-size: 14px; width: 220px; height: 40px; outline: none; }
.icon-btn { background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); display: inline-flex; border-radius: 8px; }
.icon-btn:hover { background: var(--soft); }
.menu-btn { display: none; }
.nav { border-top: 1px solid var(--line); }
.nav-inner { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.nav-inner::-webkit-scrollbar { display: none; }
.nav a { font: 700 14px/1 var(--head); text-transform: uppercase; letter-spacing: .02em; padding: 14px 12px 12px; border-bottom: 3px solid transparent; white-space: nowrap; color: #2a3343; }
.nav a:hover { color: var(--red); }
.nav a[aria-current] { border-color: var(--red); color: var(--ink); }
.nav-live::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--red); margin-right: 6px; vertical-align: 1px; animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { opacity: .25; } }

/* ---------- breaking ticker ---------- */
.breaking { background: var(--red); color: #fff; }
.breaking-inner { display: flex; align-items: center; height: 42px; gap: 14px; }
.breaking-label { font: 900 13px/1 var(--head); letter-spacing: .08em; background: #fff; color: var(--red); padding: 7px 10px; border-radius: 4px; flex: none; }
.breaking-track { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.breaking-move { display: flex; gap: 48px; width: max-content; animation: tick 45s linear infinite; }
.breaking-track:hover .breaking-move { animation-play-state: paused; }
.breaking-move a { font-weight: 600; font-size: 14px; white-space: nowrap; }
.breaking-move a:hover { text-decoration: underline; }
.breaking-move b { opacity: .8; margin-right: 6px; }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .breaking-move, .nav-live::before { animation: none; } }

/* ---------- shared bits ---------- */
.media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--soft); border-radius: 4px; }
.media img, .media svg { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
a:hover > .media img, a:hover > .media svg { transform: scale(1.03); }
.meta { display: flex; align-items: center; gap: 8px; margin: 10px 0 6px; }
.kicker { font: 800 12px/1 var(--head); text-transform: uppercase; letter-spacing: .06em; color: var(--c); }
.live { font: 800 11px/1 var(--head); text-transform: uppercase; letter-spacing: .06em; color: #fff; background: var(--red); padding: 4px 6px; border-radius: 3px; }
.byline { color: var(--muted); font-size: 13px; margin: 6px 0 0; }
.dek { color: #3b4453; margin: 8px 0 0; }
.dek.small { font-size: 14px; }
.demo-note { background: #fff7e0; border: 1px solid #f2d27a; color: #6b5100; border-radius: 6px; padding: 10px 14px; font-size: 14px; margin: 16px 0 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; border-top: 4px solid var(--c); padding-top: 10px; margin: 0 0 16px; }
.section-head h2 { font-size: 24px; font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; }
.section-head.small { border-top-width: 3px; }
.section-head.small h2 { font-size: 17px; }
.more { font-weight: 700; font-size: 14px; color: var(--c); }
.block { margin-top: 40px; }
.btn, .btn-outline { display: inline-block; font: 700 14px/1 var(--head); padding: 12px 18px; border-radius: 4px; cursor: pointer; }
.btn { background: var(--red); color: #fff; border: 0; }
.btn-outline { border: 2px solid var(--ink); margin-top: 14px; text-align: center; }
.btn-outline:hover { background: var(--ink); color: #fff; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 28px; margin-top: 24px; }
.lead-title { font-size: 40px; font-weight: 900; letter-spacing: -.02em; }
.lead .dek { font-size: 17px; }
.hero-side { display: flex; flex-direction: column; gap: 20px; border-left: 1px solid var(--line); padding-left: 28px; }
.hero-side .stack { display: block; }
.hero-side .stack h3 { font-size: 18px; }
.hero-latest { border-left: 1px solid var(--line); padding-left: 28px; display: flex; flex-direction: column; }
.latest { list-style: none; margin: 0; padding: 0; }
.latest li { padding: 11px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column-reverse; }
.latest li:first-child { padding-top: 0; }
.latest a { font: 700 15px/1.3 var(--head); }
.latest .byline { margin: 0 0 3px; font-weight: 700; color: var(--red); font-size: 12px; }

/* ---------- grids ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card h3 { font-size: 18px; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.cat-pairs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.cat-block .card h3 { font-size: 21px; }
.cat-list { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.stack { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 14px; align-items: start; }
.stack .meta { margin-top: 0; }
.stack h3 { font-size: 16px; }
.hero-side .stack .meta { margin-top: 10px; }

/* ---------- rail ---------- */
.rail { display: flex; flex-direction: column; gap: 28px; margin-top: 40px; }
.rail-box.sticky { position: sticky; top: 140px; }
.ranked { list-style: none; counter-reset: r; margin: 0; padding: 0; }
.ranked li { counter-increment: r; display: grid; grid-template-columns: 42px 1fr; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ranked li::before { content: counter(r); font: 900 30px/1 var(--head); color: var(--red); }
.ranked a { font: 700 15px/1.3 var(--head); }
.rail-ad { background: var(--soft); border: 1px dashed #c5ccd6; height: 250px; display: grid; place-content: center; text-align: center; color: #8a93a2; font-size: 13px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: block; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-weight: 600; font-size: 14px; }
.chips a:hover { border-color: var(--ink); }

/* ---------- list pages ---------- */
.page-head { padding-top: 28px; }
.page-head h1 { font-size: 40px; font-weight: 900; text-transform: uppercase; border-bottom: 4px solid var(--c, var(--red)); padding-bottom: 12px; display: inline-block; }
.page-head p { color: var(--muted); margin: 10px 0 0; }
.list-lead { margin-top: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.list-lead .lead-title { font-size: 32px; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.row .meta { margin-top: 0; }
.row h3 { font-size: 21px; }
.empty { color: var(--muted); margin-top: 28px; }

/* ---------- article ---------- */
.article { padding-top: 24px; min-width: 0; }
.crumbs { font-size: 13px; color: var(--muted); }
.crumbs a:hover { text-decoration: underline; }
.article h1 { font-size: 44px; font-weight: 900; letter-spacing: -.02em; margin-top: 6px; }
.spot { font: 500 20px/1.45 var(--body); color: #2f3846; margin: 16px 0 0; }
.article-meta { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; margin: 22px 0; font-size: 14px; }
.share { display: flex; gap: 6px; flex-wrap: wrap; }
.share a, .share button { font: 600 13px/1 var(--body); border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 12px; cursor: pointer; color: var(--ink); }
.share a:hover, .share button:hover { border-color: var(--ink); }
.article-media { margin: 0; }
.article-media .media { border-radius: 6px; }
.article-media figcaption, .prose figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.prose { font: 19px/1.7 var(--serif); color: #1c2230; margin-bottom: 40px; }
.prose p { margin: 0 0 1.1em; }
.prose h2 { font-size: 26px; margin: 1.4em 0 .5em; }
.prose h3 { font-size: 21px; margin: 1.2em 0 .4em; }
.prose a { color: var(--red); text-decoration: underline; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--red); font-style: italic; font-size: 21px; }
.prose figure { margin: 1.4em 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.prose li { margin-bottom: .4em; }
.kunye { display: grid; grid-template-columns: 240px 1fr; gap: 10px 20px; font-family: var(--body); font-size: 16px; }
.kunye dt { font-weight: 700; }
.kunye dd { margin: 0; }

/* ---------- search ---------- */
.search.big { margin: 24px 0 8px; padding: 6px 6px 6px 18px; border-radius: 8px; }
.search.big input { width: 100%; font-size: 17px; height: 44px; }

/* ---------- footer ---------- */
.footer { background: var(--navy); color: #b9c3d3; margin-top: 64px; padding: 48px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1.4fr 1fr; gap: 40px; }
.footer h4 { color: #fff; font: 800 14px/1 var(--head); text-transform: uppercase; letter-spacing: .06em; margin: 6px 0 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-cats { grid-template-columns: 1fr 1fr; }
.footer a:hover { color: #fff; }
.footer-note { max-width: 380px; margin-top: 16px; }
.footer-bottom { border-top: 1px solid #22344f; margin-top: 40px; padding: 18px 20px; font-size: 13px; }
.footer-bottom p { margin: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .hero { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
  .hero-latest { grid-column: 1 / -1; border-left: 0; padding-left: 0; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; }
  .rail-box.sticky { position: static; }
  .rail-ad { display: none; }
}
@media (max-width: 760px) {
  .topbar-links { display: none; }
  .masthead-inner { height: 60px; gap: 6px; }
  .menu-btn { display: inline-flex; }
  .logo-text { font-size: 21px; }
  .logo-mark svg { width: 32px; height: 32px; }
  .masthead .search { background: none; padding: 0; }
  .masthead .search input { display: none; }
  .nav { display: none; }
  .nav.open { display: block; }
  .nav.open .nav-inner { flex-direction: column; padding-bottom: 10px; }
  .nav.open a { border-bottom: 1px solid var(--line); border-left: 3px solid transparent; }
  .nav.open a[aria-current] { border-left-color: var(--red); }
  .hero { grid-template-columns: 1fr; gap: 20px; margin-top: 16px; }
  .hero-side { border-left: 0; padding-left: 0; }
  .hero-side .stack { display: grid; }
  .hero-side .stack .meta { margin-top: 0; }
  .lead-title, .article h1 { font-size: 30px; }
  .spot { font-size: 18px; }
  .grid-4, .grid-3, .cat-pairs { grid-template-columns: 1fr; }
  .row { grid-template-columns: minmax(0, 1fr) 120px; gap: 14px; }
  .row h3 { font-size: 17px; }
  .row .dek { display: none; }
  .page-head h1 { font-size: 30px; }
  .prose { font-size: 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .kunye { grid-template-columns: 1fr; gap: 2px; }
  .kunye dd { margin-bottom: 10px; }
}

/* ---------- added with the dynamic site ---------- */
.pager { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; }
.pager .btn-outline { margin: 0; }
.video { position: relative; aspect-ratio: 16 / 9; margin: 1.4em 0; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 6px; }
.social { display: flex; gap: 14px; margin-top: 14px; font-weight: 600; }
.table-scroll { overflow-x: auto; margin: 1.2em 0 1.4em; }
.prose table { width: 100%; border-collapse: collapse; font: 15px/1.45 var(--body); }
.prose th { text-align: left; background: var(--soft); font-weight: 700; }
.prose th, .prose td { padding: 9px 12px; border-bottom: 1px solid var(--line); }
.tip-btn { position: fixed; right: 18px; bottom: 18px; z-index: 30; display: inline-flex; align-items: center; gap: 8px; background: #16a34a; color: #fff; font: 700 14px/1 var(--head); padding: 13px 16px; border-radius: 999px; box-shadow: 0 6px 20px rgba(0,0,0,.18); }
.tip-btn:hover { background: #15803d; }
@media (max-width: 760px) { .tip-btn { right: 12px; bottom: 12px; padding: 12px 14px; } }
@media print { .tip-btn { display: none; } }
