/* ═══════════════════════════════════════════════════════════════════════
   NEWS INSPECTION — master stylesheet v2
   Design language: Dawn-style newspaper masthead & timeline rail ×
   BBC-style section discipline. Premium serif display typography.
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  --brand-red: #b80000;
  --brand-red-dark: #8e0000;
  --live: #d40b12;
  --ink: #121212;
  --ink-soft: #383838;
  --muted: #6d6d6d;
  --paper: #ffffff;
  --paper-alt: #f7f6f4;
  --rule: #e2e0dc;
  --rule-dark: #121212;
  --display: "Playfair Display", "Noto Serif", Georgia, serif;
  --serif: "Source Serif 4", "Noto Serif", Georgia, serif;
  --sans: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --max-width: 1240px;
  --gutter: 16px;
  --shadow-soft: 0 10px 30px -18px rgba(18, 18, 18, 0.35);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.68;
  color: var(--ink);
  background: var(--paper);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); overflow: hidden; white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -9999px; top: 0;
  background: var(--brand-red);
  color: #fff;
  padding: 10px 18px;
  z-index: 300;
  font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

/* ── utility strip ─────────────────────────────────────────────────── */

.utility-strip {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  font-size: 12.5px;
  color: var(--muted);
}
.utility-strip__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 7px;
  padding-bottom: 7px;
}
.utility-strip__tagline { font-style: italic; font-family: var(--serif); }

/* ── masthead — newspaper-style centered wordmark ──────────────────── */

.masthead {
  background: var(--paper);
  border-bottom: 3px double var(--rule-dark);
}
.masthead__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 26px;
  padding-bottom: 20px;
}
.masthead__logo {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(40px, 6.5vw, 64px);
  letter-spacing: 0.5px;
  line-height: 1;
  color: var(--ink);
  white-space: nowrap;
}
.masthead__logo-dot { color: var(--brand-red); }
.masthead__brand:hover .masthead__logo { color: var(--ink); }
.masthead__motto {
  margin-top: 10px;
  font-size: 11.5px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── primary nav ───────────────────────────────────────────────────── */

.primary-nav {
  background: linear-gradient(180deg, #1d1d1d 0%, #101010 100%);
  border-top: 1px solid #2e2e2e;
  border-bottom: 1px solid #050505;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}
.primary-nav::after {
  content: "";
  display: block;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-red), #5e0000 55%, transparent);
}
.primary-nav__inner {
  display: flex;
  align-items: center;
  gap: 10px;
}
.primary-nav__list {
  list-style: none;
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
}
.primary-nav__list::-webkit-scrollbar { display: none; }
.primary-nav__list a {
  position: relative;
  display: block;
  color: #cfcfcf;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding: 17px 16px;
  white-space: nowrap;
  transition: color 0.18s ease;
}
.primary-nav__list a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 10px;
  width: calc(100% - 32px);
  height: 2px;
  background: var(--brand-red);
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.22s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.primary-nav__list a::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 7px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--brand-red);
  transform: translateX(-50%) scale(0);
  transition: transform 0.22s ease;
}
.primary-nav__list a:hover { color: #fff; }
.primary-nav__list a:hover::after { transform: translateX(-50%) scaleX(1); }
.primary-nav__list a.is-active { color: #fff; }
.primary-nav__list a.is-active::after { transform: translateX(-50%) scaleX(1); }
.primary-nav__list a.is-active::before { transform: translateX(-50%) scale(1); }

/* Editorials: distinguished pill pinned to the right of the bar */
.nav-editorials {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  margin-right: 14px;
  border: 1px solid rgba(184, 0, 0, 0.85);
  border-radius: 999px;
  color: #f3dede;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  padding: 7px 18px;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.nav-editorials:hover,
.nav-editorials.is-active {
  background: var(--brand-red);
  color: #fff;
  box-shadow: 0 6px 18px -6px rgba(184, 0, 0, 0.8);
  transform: translateY(-1px);
}

.masthead__search {
  display: flex;
  align-items: stretch;
  background: #2a2a2a;
  height: 34px;
  width: 220px;
  border: 1px solid #3d3d3d;
  transition: border-color 0.15s ease;
}
.masthead__search:focus-within { border-color: var(--brand-red); }
.masthead__search input {
  flex: 1;
  border: 0;
  outline: none;
  padding: 0 12px;
  font-size: 13.5px;
  font-family: var(--sans);
  color: #fff;
  background: transparent;
  min-width: 0;
}
.masthead__search input::placeholder { color: #9a9a9a; }
.masthead__search button {
  border: 0;
  background: var(--brand-red);
  color: #fff;
  width: 38px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}
.masthead__search button:hover { background: var(--brand-red-dark); }

.masthead__menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 38px;
  background: transparent;
  border: 1px solid #4a4a4a;
  cursor: pointer;
  padding: 9px;
}
.masthead__menu-btn span { display: block; height: 2px; background: #fff; }

/* ── breaking news ticker ──────────────────────────────────────────── */

.breaking {
  background: linear-gradient(90deg, #1c0000, #000);
  border-bottom: 3px solid var(--brand-red);
  overflow: hidden;
}
.breaking__inner {
  display: flex;
  align-items: stretch;
  max-width: var(--max-width);
  margin: 0 auto;
}
.breaking__chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-red);
  color: #fff;
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: 1.6px;
  padding: 10px 18px;
  white-space: nowrap;
  flex-shrink: 0;
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  padding-right: 26px;
}
.breaking__viewport {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%);
}
.breaking__track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  will-change: transform;
  animation: ticker-scroll 60s linear infinite;
}
.breaking:hover .breaking__track,
.breaking:focus-within .breaking__track { animation-play-state: paused; }
.breaking__item {
  color: #f1f1f1;
  font-size: 13.5px;
  font-weight: 500;
  margin-right: 42px;
  transition: color 0.15s ease;
}
.breaking__item:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--brand-red); text-underline-offset: 4px; }
.breaking__bullet {
  color: var(--brand-red);
  font-size: 9px;
  margin-right: 9px;
  vertical-align: 2px;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.live-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--live);
  margin-right: 7px;
  animation: pulse 1.5s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(212, 11, 18, 0.5);
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(212, 11, 18, 0.55); }
  70% { box-shadow: 0 0 0 7px rgba(212, 11, 18, 0); }
  100% { box-shadow: 0 0 0 0 rgba(212, 11, 18, 0); }
}

/* ── page scaffold ─────────────────────────────────────────────────── */

.page-main { padding-top: 26px; padding-bottom: 48px; }

.page-title {
  font-family: var(--display);
  font-size: 36px;
  line-height: 1.12;
  font-weight: 800;
  margin: 8px 0 4px;
}
.page-subtitle { color: var(--muted); font-size: 14px; margin-bottom: 18px; }

.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.breadcrumb a { color: var(--brand-red); font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 2px; }

/* ── hero mosaic ───────────────────────────────────────────────────── */

.hero {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 8px;
}

.hero__lead-link {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow-soft);
}
.hero__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1), opacity 0.4s ease;
}
.hero__lead-link:hover .hero__image { transform: scale(1.035); opacity: 0.92; }
.hero__overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 90px 28px 24px;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0) 0%, rgba(10, 10, 10, 0.62) 38%, rgba(10, 10, 10, 0.92) 100%);
  color: #fff;
}
.hero__kicker {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #ffb3b3;
  margin-bottom: 8px;
}
.hero__title {
  font-family: var(--display);
  font-size: clamp(24px, 3.2vw, 40px);
  line-height: 1.14;
  font-weight: 800;
  margin-bottom: 10px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}
.hero__lead-link:hover .hero__title { text-decoration: underline; text-decoration-color: var(--brand-red); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.hero__standfirst {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.5;
  color: #e4e4e4;
  margin-bottom: 8px;
  max-width: 64ch;
}
.hero__meta { font-size: 12.5px; color: #bdbdbd; }

.hero__side { display: flex; flex-direction: column; }
.hero__side-item {
  padding: 15px 0;
  border-bottom: 1px solid var(--rule);
}
.hero__side-item:first-child { padding-top: 0; }
.hero__side-item:last-child { border-bottom: 0; }
.hero__side-title {
  font-family: var(--serif);
  font-size: 17.5px;
  line-height: 1.32;
  font-weight: 700;
  margin: 4px 0 6px;
}
.hero__side-title a { transition: color 0.15s ease; }
.hero__side-title a:hover { color: var(--brand-red); }

/* ── section blocks & cards ────────────────────────────────────────── */

.section-block { margin: 36px 0; }
.section-block--related { margin-top: 46px; }

/* Dawn-style section label: full black rule, red caps label with arrow */
.section-heading {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--brand-red);
  border-top: 2px solid var(--ink);
  padding-top: 11px;
  margin-bottom: 18px;
}
.section-heading::after { content: " ▸"; font-size: 12px; }
.section-heading a { color: var(--brand-red); }
.section-heading a:hover { text-decoration: underline; }
.section-heading--small { font-size: 13px; }

.section-heading-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.section-heading-row .section-heading { flex: 1; }
.section-heading-note {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

.section-block--editorial {
  background: var(--paper-alt);
  border: 1px solid var(--rule);
  padding: 22px 24px 26px;
}
.section-block--editorial .section-heading { border-top-color: var(--brand-red); }
.section-block--editorial .section-heading::before { display: none; }
.section-block--editorial .card__title { font-style: italic; }

.section-block__more { margin-top: 16px; font-size: 14px; font-weight: 600; }
.section-block__more a { color: var(--brand-red); }
.section-block__more a:hover { text-decoration: underline; }

.card-grid { display: grid; gap: 24px; }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }

.card { display: flex; flex-direction: column; }
.card__image-link { display: block; overflow: hidden; }
.card__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--paper-alt);
  margin-bottom: 11px;
  transition: transform 0.5s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.card:hover .card__image { transform: scale(1.05); }
.card__kicker {
  display: inline-block;
  color: var(--brand-red);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.card__title {
  font-family: var(--serif);
  font-size: 16.5px;
  line-height: 1.34;
  font-weight: 700;
  margin-bottom: 8px;
}
.card__title a { transition: color 0.15s ease; }
.card__title a:hover { color: var(--brand-red); }
.card__meta { margin-top: auto; font-size: 12.5px; color: var(--muted); }
.card__source { font-weight: 600; color: var(--ink-soft); }

/* ── reveal-on-scroll animation ────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ── layout with sidebar ───────────────────────────────────────────── */

.layout-with-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 44px;
  align-items: start;
}
.layout-with-sidebar--article { margin-top: 4px; }

.sidebar { position: sticky; top: 62px; }

/* ── LIVE rail (Dawn-style scrollable live-updates timeline) ───────── */

.live-rail {
  margin-bottom: 30px;
  border: 1px solid var(--rule);
  border-top: 3px solid var(--brand-red);
  background: var(--paper);
  box-shadow: 0 8px 24px -18px rgba(18, 18, 18, 0.4);
}
.live-rail__header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: linear-gradient(180deg, #f4f3f1, #ecebe8);
  color: var(--brand-red);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 2.2px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--rule);
}
.live-rail .timeline {
  max-height: 600px;
  overflow-y: auto;
  padding: 16px 14px 16px 34px;
  scrollbar-width: thin;
  scrollbar-color: #c9c6c1 transparent;
}
.live-rail .timeline::-webkit-scrollbar { width: 6px; }
.live-rail .timeline::-webkit-scrollbar-thumb { background: #c9c6c1; border-radius: 3px; }
.live-rail .timeline::-webkit-scrollbar-thumb:hover { background: var(--brand-red); }
.live-rail__footer {
  font-size: 11px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  padding: 8px 12px;
  border-top: 1px solid var(--rule);
  background: #faf9f7;
}

.timeline {
  list-style: none;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 17px; top: 20px; bottom: 20px;
  width: 2px;
  background: var(--rule);
}
.timeline__item {
  position: relative;
  padding: 0 0 18px;
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -21px; top: 4px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--brand-red);
}
.timeline__item:first-child::before { background: var(--brand-red); }
.timeline__time {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 3px;
}
.timeline__link {
  font-family: var(--serif);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.38;
  display: block;
  text-decoration: underline;
  text-decoration-color: rgba(184, 0, 0, 0.35);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}
.timeline__link:hover { color: var(--brand-red); text-decoration-color: var(--brand-red); }
.timeline__source {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 2px;
}

/* ── Trending strip (Al Jazeera style) ─────────────────────────────── */

.trending {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.trending__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 9px;
  padding-bottom: 9px;
  overflow: hidden;
}
.trending__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
  border-bottom: 3px solid var(--brand-red);
  padding-bottom: 3px;
  white-space: nowrap;
}
.trending__label svg { color: var(--brand-red); }
.trending__list {
  list-style: none;
  display: flex;
  gap: 26px;
  overflow-x: auto;
  scrollbar-width: none;
}
.trending__list::-webkit-scrollbar { display: none; }
.trending__list a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: color 0.15s ease;
}
.trending__list a:hover { color: var(--brand-red); text-decoration: underline; }

/* ── Al Jazeera-style hero: photo lead + overlapping breaking card ──── */

.aj-hero {
  display: grid;
  grid-template-columns: 1.9fr 1fr;
  gap: 26px;
  padding-bottom: 28px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 8px;
}
.aj-hero__media {
  position: relative;
  margin-bottom: 64px;
}
.aj-hero__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--paper-alt);
  box-shadow: var(--shadow-soft);
}
.aj-hero__meta {
  font-size: 13px;
  color: var(--muted);
}

.aj-col-lead__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--paper-alt);
  margin-bottom: 10px;
}
.aj-col-lead__title {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
  margin-bottom: 6px;
}
.aj-col-lead__title a {
  text-decoration: underline;
  text-decoration-color: rgba(18, 18, 18, 0.35);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}
.aj-col-lead__title a:hover { color: var(--brand-red); text-decoration-color: var(--brand-red); }
.aj-col-lead__meta { font-size: 12px; color: var(--muted); padding-bottom: 12px; border-bottom: 1px solid var(--rule); }

.aj-row {
  display: grid;
  grid-template-columns: 1fr 88px;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}
.aj-row:last-child { border-bottom: 0; }
.aj-row__title {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.36;
}
.aj-row__title a { transition: color 0.15s ease; }
.aj-row__title a:hover { color: var(--brand-red); text-decoration: underline; }
.aj-row__meta { display: block; font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.aj-row__thumb {
  width: 88px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--paper-alt);
}

/* ── Sidebar rail blocks (Must Read / More Headlines) ──────────────── */

.rail-block { margin-bottom: 28px; }
.rail-label {
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--ink);
  border-left: 4px solid var(--brand-red);
  padding-left: 10px;
  margin-bottom: 14px;
}
.rail-list { list-style: none; }
.rail-list__item {
  display: grid;
  grid-template-columns: 1fr 74px;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}
.rail-list__item:first-child { padding-top: 0; }
.rail-list__title {
  font-family: var(--serif);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.36;
  display: block;
  transition: color 0.15s ease;
}
.rail-list__title:hover { color: var(--brand-red); text-decoration: underline; }
.rail-list__meta { display: block; font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.rail-list__thumb {
  width: 74px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--paper-alt);
}

/* ── Dawn-style hero: LIVE badge, headline above photo, breaking card ─ */

.dawn-hero {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 28px;
  padding-bottom: 34px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 8px;
}
.live-badge {
  display: inline-flex;
  align-items: center;
  background: var(--brand-red);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 1.4px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.dawn-hero__title {
  font-family: var(--display);
  font-size: clamp(26px, 3.6vw, 44px);
  line-height: 1.12;
  font-weight: 800;
  margin-bottom: 18px;
}
.dawn-hero__title a:hover {
  text-decoration: underline;
  text-decoration-color: var(--brand-red);
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}
.dawn-hero__media { position: relative; }
.dawn-hero__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--paper-alt);
  box-shadow: var(--shadow-soft);
}
/* Al Jazeera-style card: overlaps the bottom edge of the hero photo */
.breaking-card {
  position: absolute;
  left: 24px;
  bottom: -52px;
  max-width: min(560px, calc(100% - 48px));
  background: var(--brand-red);
  color: #fff;
  border-radius: 6px;
  padding: 22px 26px;
  box-shadow: 0 18px 40px -14px rgba(0, 0, 0, 0.55);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.breaking-card:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 24px 46px -14px rgba(0, 0, 0, 0.6);
}
.breaking-card__label {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.2px;
  margin-bottom: 9px;
}
.breaking-card__label .live-dot { background: #fff; box-shadow: none; }
.breaking-card__title {
  display: block;
  font-family: var(--sans);
  font-size: 23px;
  font-weight: 800;
  line-height: 1.3;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.dawn-hero__side { display: flex; flex-direction: column; min-width: 0; }
.dawn-hero__standfirst {
  font-family: var(--serif);
  font-size: 17.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.dawn-hero__meta {
  font-size: 12.5px;
  color: var(--muted);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 14px;
}
.related-label {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--brand-red);
  margin: 14px 0 4px;
}
.related-list { list-style: none; }
.related-list__item {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}
.related-list__item:last-child { border-bottom: 0; }
.related-list__thumb {
  width: 78px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--paper-alt);
}
.related-list__title {
  font-family: var(--serif);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.36;
  display: block;
  transition: color 0.15s ease;
}
.related-list__title:hover { color: var(--brand-red); }
.related-list__meta { display: block; font-size: 11.5px; color: var(--muted); margin-top: 3px; }

/* ── Must Read list ────────────────────────────────────────────────── */

.must-read-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 34px;
}
.must-read-list__item {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}
.must-read-list__thumb {
  width: 108px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--paper-alt);
}
.must-read-list__title {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  display: block;
  transition: color 0.15s ease;
}
.must-read-list__title:hover { color: var(--brand-red); }
.must-read-list__meta { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }

/* ── Most Popular numbered band ────────────────────────────────────── */

.popular-band {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
.popular-band__item {
  display: flex;
  gap: 12px;
  padding: 4px 16px 4px 0;
  margin-right: 16px;
  border-right: 1px solid var(--rule);
  align-items: start;
}
.popular-band__item:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.popular-band__rank {
  font-family: var(--display);
  font-size: 38px;
  font-weight: 800;
  color: var(--brand-red);
  line-height: 0.9;
}
.popular-band__title {
  font-family: var(--serif);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.35;
  transition: color 0.15s ease;
}
.popular-band__title:hover { color: var(--brand-red); }

/* ── most read ─────────────────────────────────────────────────────── */

.most-read { margin-bottom: 30px; }
.most-read__list { list-style: none; }
.most-read__item {
  display: flex;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--rule);
}
.most-read__rank {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 800;
  color: var(--brand-red);
  line-height: 1;
  min-width: 28px;
  opacity: 0.85;
}
.most-read__link {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.36;
  display: block;
  transition: color 0.15s ease;
}
.most-read__link:hover { color: var(--brand-red); }
.most-read__meta { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; }

/* ── AdSense slots — fixed heights, zero layout shift ──────────────── */

.ad-slot {
  margin: 28px auto;
  text-align: center;
  background: var(--paper-alt);
  border: 1px solid var(--rule);
  padding: 8px;
  overflow: hidden;
}
.ad-slot__label {
  display: block;
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.ad-slot__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: inherit;
  color: #b9b9b9;
  font-size: 13px;
  letter-spacing: 0.4px;
  border: 1px dashed #dcdcdc;
  background: repeating-linear-gradient(45deg, #fbfbfa, #fbfbfa 12px, #f4f3f1 12px, #f4f3f1 24px);
}

.ad-slot--leaderboard { min-height: 132px; max-width: 970px; }
.ad-slot--leaderboard .ad-slot__placeholder,
.ad-slot--leaderboard .ad-slot__unit { height: 90px; min-height: 90px; }

.ad-slot--sidebar { min-height: 292px; max-width: 320px; margin-left: 0; }
.ad-slot--sidebar .ad-slot__placeholder,
.ad-slot--sidebar .ad-slot__unit { height: 250px; min-height: 250px; width: 300px; margin: 0 auto; }

.ad-slot--inarticle { min-height: 322px; }
.ad-slot--inarticle .ad-slot__placeholder,
.ad-slot--inarticle .ad-slot__unit { min-height: 280px; }

/* ── article page ──────────────────────────────────────────────────── */

.article { max-width: 780px; }

.article__kicker {
  display: inline-block;
  background: var(--brand-red);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  padding: 4px 11px;
  margin: 6px 0 14px;
}
.article__title {
  font-family: var(--display);
  font-size: clamp(28px, 4.2vw, 42px);
  line-height: 1.14;
  font-weight: 800;
  margin-bottom: 16px;
}
.article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 13.5px;
  color: var(--muted);
  padding: 10px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-bottom: 6px;
}
.article__source strong { color: var(--ink); }
.article__original-badge {
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 9px;
}

.article__figure { margin: 18px 0; }
.article__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--paper-alt);
  box-shadow: var(--shadow-soft);
}
.article__caption {
  font-size: 12.5px;
  color: var(--muted);
  padding: 7px 0 9px;
  border-bottom: 1px solid var(--rule);
}

.article__body { margin: 8px 0 4px; }
.article__standfirst {
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.55;
  font-weight: 600;
  color: var(--ink-soft);
  margin: 10px 0;
}

/* Original editorial long-form body */
.article__content {
  font-family: var(--serif);
  font-size: 18.5px;
  line-height: 1.78;
  color: #222;
}
.article__content p { margin-bottom: 20px; }
.article__content > p:first-of-type::first-letter {
  font-family: var(--display);
  font-weight: 900;
  font-size: 64px;
  line-height: 0.82;
  float: left;
  padding: 8px 12px 0 0;
  color: var(--brand-red);
}
.article__content h2 {
  font-family: var(--display);
  font-size: 25px;
  font-weight: 800;
  margin: 34px 0 12px;
  padding-left: 14px;
  border-left: 5px solid var(--brand-red);
  line-height: 1.2;
}
.article__content h3 {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  margin: 26px 0 10px;
}
.article__content ul {
  margin: 0 0 20px 22px;
}
.article__content li { margin-bottom: 8px; }
.article__content li .briefing-source { font-size: 14px; color: var(--muted); font-family: var(--sans); }
.article__content blockquote {
  margin: 28px 0;
  padding: 18px 26px;
  background: var(--paper-alt);
  border-left: 5px solid var(--brand-red);
  font-family: var(--display);
  font-size: 21px;
  font-style: italic;
  line-height: 1.5;
}
.article__content a { color: var(--brand-red); font-weight: 600; }
.article__content a:hover { text-decoration: underline; }

.article__cta {
  margin: 26px 0;
  padding: 24px;
  background: var(--paper-alt);
  border-left: 5px solid var(--brand-red);
}
.article__cta-note { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 14px; }
.btn-source {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--brand-red);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 24px;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-source:hover {
  background: var(--brand-red-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -10px rgba(184, 0, 0, 0.7);
}

.article__attribution {
  font-size: 12.5px;
  color: var(--muted);
  border-top: 1px solid var(--rule);
  padding-top: 12px;
  margin-top: 18px;
}

/* ── pagination ────────────────────────────────────────────────────── */

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 36px 0 8px;
}
.pagination__link {
  border: 2px solid var(--ink);
  padding: 9px 20px;
  font-weight: 700;
  font-size: 14px;
  transition: background 0.15s ease, color 0.15s ease;
}
.pagination__link:hover { background: var(--ink); color: #fff; }
.pagination__status { font-size: 13.5px; color: var(--muted); }

/* ── empty / error states ──────────────────────────────────────────── */

.empty-state { text-align: center; padding: 70px 20px; max-width: 620px; margin: 0 auto; }
.empty-state h1, .empty-state h2 { font-family: var(--display); font-size: 27px; margin-bottom: 12px; }
.empty-state p { color: var(--ink-soft); }
.empty-state a { color: var(--brand-red); font-weight: 700; }
.empty-state__code {
  display: block;
  font-family: var(--display);
  font-size: 88px;
  font-weight: 900;
  color: var(--brand-red);
  line-height: 1;
  margin-bottom: 12px;
}

/* ── static pages ──────────────────────────────────────────────────── */

.static-page { max-width: 780px; font-family: var(--serif); font-size: 17.5px; }
.static-page h2 {
  font-family: var(--display);
  font-size: 22px;
  margin: 30px 0 10px;
  padding-left: 14px;
  border-left: 5px solid var(--brand-red);
}
.static-page p { margin-bottom: 15px; color: #262626; }
.static-page a { color: var(--brand-red); font-weight: 600; }
.static-page a:hover { text-decoration: underline; }

/* ── footer ────────────────────────────────────────────────────────── */

.site-footer {
  background: var(--ink);
  color: #cfcfcf;
  margin-top: 44px;
  border-top: 4px solid var(--brand-red);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  padding-top: 42px;
  padding-bottom: 36px;
}
.site-footer__logo {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  display: block;
  margin-bottom: 12px;
}
.site-footer__logo span { color: var(--brand-red); }
.site-footer__about p { font-size: 14px; line-height: 1.6; }
.site-footer__col h4 {
  color: #fff;
  font-size: 12.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.site-footer__col ul { list-style: none; }
.site-footer__col li { margin-bottom: 8px; }
.site-footer__col a { font-size: 14px; color: #cfcfcf; transition: color 0.15s ease; }
.site-footer__col a:hover { color: #fff; text-decoration: underline; }
.site-footer__legal {
  border-top: 1px solid #2c2c2c;
  padding: 16px 0;
  font-size: 12.5px;
  color: #9a9a9a;
}

/* ── responsive ────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .layout-with-sidebar { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .ad-slot--sidebar { margin-left: auto; }
  .card-grid--4 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) and (min-width: 881px) {
  .popular-band { grid-template-columns: repeat(3, 1fr); row-gap: 16px; }
  .popular-band__item:nth-child(3n) { border-right: 0; }
}

@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; gap: 18px; }
  .dawn-hero { grid-template-columns: 1fr; gap: 20px; }
  .aj-hero { grid-template-columns: 1fr; gap: 20px; }
  .aj-hero__media { margin-bottom: 14px; }
  .breaking-card { position: static; max-width: none; margin-top: -46px; margin-left: 14px; margin-right: 14px; display: block; }
  .breaking-card__title { font-size: 18px; }
  .must-read-list { grid-template-columns: 1fr; }
  .popular-band { grid-template-columns: 1fr 1fr; gap: 14px; }
  .popular-band__item { border-right: 0; margin-right: 0; padding-right: 0; }
  .breaking-card { padding: 14px 18px; }
  .breaking-card__title { font-size: 17px; }
  .card-grid--4, .card-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }

  .masthead__inner { padding-top: 18px; padding-bottom: 14px; }
  .masthead__menu-btn { display: flex; }
  .primary-nav__inner { flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
  .primary-nav { position: static; }
  .primary-nav__list {
    display: none;
    flex-direction: column;
    flex-basis: 100%;
    order: 3;
  }
  .primary-nav__list a { border-bottom: 1px solid #2c2c2c; padding: 14px 16px; }
  .primary-nav__list a::after, .primary-nav__list a::before { display: none; }
  .primary-nav.is-open .primary-nav__list { display: flex; }
  .masthead__search { margin-left: auto; }
  .nav-editorials { margin-left: 0; padding: 6px 14px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .masthead__motto { letter-spacing: 2px; font-size: 10px; }
  .card-grid--4, .card-grid--3 { grid-template-columns: 1fr; }
  .card { flex-direction: row; gap: 14px; }
  .card__image-link { flex: 0 0 132px; }
  .card__image { aspect-ratio: 4 / 3; margin-bottom: 0; }
  .card__body { min-width: 0; }
  .utility-strip__tagline { display: none; }
  .masthead__search { width: 160px; }
  .breaking__chip { font-size: 11px; padding: 9px 14px 9px 12px; }
  .hero__overlay { padding: 60px 16px 16px; }
  .breaking-card { position: static; max-width: none; margin-top: 12px; border-radius: 8px; }
  .popular-band { grid-template-columns: 1fr; }

  .ad-slot--leaderboard { min-height: 142px; }
  .ad-slot--leaderboard .ad-slot__placeholder,
  .ad-slot--leaderboard .ad-slot__unit { height: 100px; min-height: 100px; }
}

@media (max-width: 420px) {
  .site-footer__grid { grid-template-columns: 1fr; }
  .page-title { font-size: 28px; }
}

/* ── motion preferences & print ────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  .breaking__track { animation: none; }
  .live-dot { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card:hover .card__image,
  .hero__lead-link:hover .hero__image { transform: none; }
}

@media print {
  .primary-nav, .masthead__search, .ad-slot, .site-footer, .sidebar, .breaking { display: none !important; }
}
