/* ── Reset ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font: inherit; }

/* ── Design tokens ───────────────────────────────────────────────────────── */
:root {
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans:  "Inter", system-ui, -apple-system, sans-serif;

  --ink:         #111111;
  --ink-2:       #3a3a3a;
  --ink-3:       #6e6e6e;
  --ink-4:       #a8a8a8;
  --paper:       #f5f3ee;
  --white:       #ffffff;
  --border:      #d2cec6;
  --border-soft: #e4e0d8;
  --accent:      #b87000;  /* amber editorial — brand signal, no political read */
  --link:        #1d6fa4;  /* medium blue — clearly brighter than --b5, reads as interactive */

  /* Bias spectrum — Spanish convention: left=red, right=blue */
  --b1: #b81c1c;
  --b2: #d45c5c;
  --b3: #888888;  /* true neutral gray — no hue lean left or right */
  --b4: #5b8fd4;
  --b5: #1a3e8f;

  --max-w:   1140px;
  --col-gap: 1.5rem;
  --radius:  2px;
}

/* ── Base ────────────────────────────────────────────────────────────────── */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-anchor: none;
}

/* ── Masthead ────────────────────────────────────────────────────────────── */
.masthead {
  background: var(--ink);
  position: sticky;
  top: 0;
  z-index: 100;
}
.masthead::before {
  content: '';
  display: block;
  height: 4px;
  background: linear-gradient(to right,
    var(--b1)  0%, var(--b1) 20%,
    var(--b2) 20%, var(--b2) 40%,
    var(--b3) 40%, var(--b3) 60%,
    var(--b4) 60%, var(--b4) 80%,
    var(--b5) 80%, var(--b5) 100%
  );
}
.masthead__top {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0.875rem 1.5rem 0.75rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
}
.masthead__meta {
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
}
.masthead__meta--right { text-align: right; }
.masthead__logo {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1;
  text-align: center;
  display: block;
}
.masthead__logo-compact {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.025em;
  white-space: nowrap;
  align-self: center;
  flex-shrink: 0;
  max-width: 0;
  overflow: hidden;
  padding-right: 0;
  margin-right: 0;
  border-right: none;
  opacity: 0;
  pointer-events: none;
}
.masthead--compact .masthead__top {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
}
.masthead--compact .masthead__logo-compact {
  max-width: 12rem;
  padding-right: 0.875rem;
  margin-right: 0.25rem;
  border-right: 1px solid rgba(255,255,255,0.15);
  opacity: 1;
  pointer-events: auto;
}
.masthead--compact .news-ticker {
  max-height: 0;
  opacity: 0;
  border-top-color: transparent;
}

.masthead__nav { background: transparent; }
.masthead__nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
}
.masthead__nav-inner::-webkit-scrollbar { display: none; }

.nav-link {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.60);
  padding: 0.5625rem 0.875rem;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
}
.nav-link:hover  { color: rgba(255,255,255,0.85); }
.nav-link.active { color: var(--white); border-bottom-color: var(--accent); }
/* ── News ticker ─────────────────────────────────────────────────────────── */
.news-ticker {
  display: flex;
  align-items: stretch;
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,0.18);
  height: 2.25rem;
  overflow: hidden;
  max-height: 2.25rem;
  opacity: 1;
}
.news-ticker--factcheck { background: #0d2b29; border-top-color: rgba(13,148,136,0.4); }
.news-ticker--factcheck .news-ticker__label { background: #0d9488; letter-spacing: 0.09em; }

.news-ticker__label {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 0 0.875rem 0 1rem;
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--accent);
  white-space: nowrap;
  position: relative;
  z-index: 1;
}

.news-ticker__wrap {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  /* desvanecimiento suave en los bordes */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 2rem, #000 calc(100% - 3rem), transparent 100%);
  mask-image:         linear-gradient(to right, transparent 0%, #000 2rem, #000 calc(100% - 3rem), transparent 100%);
}

.news-ticker__track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: ticker-scroll calc(var(--ticker-n, 5) * 11s) linear infinite;
  will-change: transform;
}

/* Pausa al pasar el ratón para poder leer el titular */
.news-ticker:hover .news-ticker__track { animation-play-state: paused; }

.news-ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255,255,255,0.82);
  padding: 0 1rem;
  white-space: nowrap;
  transition: color 0.15s;
  line-height: 1;
}
.news-ticker__item:hover { color: var(--white); }

.news-ticker__fc-tag {
  display: inline-block;
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: #0d9488;
  border-radius: 3px;
  padding: 0.15rem 0.45rem;
  flex-shrink: 0;
}

.news-ticker__dot {
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255,255,255,0.32);
  flex-shrink: 0;
  vertical-align: middle;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .news-ticker__track {
    animation: none;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .news-ticker__track::-webkit-scrollbar { display: none; }
}
@media (max-width: 640px) {
  .news-ticker__label { display: none; }
}

/* ── Layout wrapper ──────────────────────────────────────────────────────── */
.site-main { max-width: var(--max-w); margin: 0 auto; padding: 2.25rem 1.5rem 3rem; }

/* ── Featured row (main 3/4 + secondary 1/4) ────────────────────────────── */
.featured-row {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: var(--col-gap);
  margin-bottom: 2.5rem;
  align-items: stretch;
}

/* ── Featured story (main, left column) ─────────────────────────────────── */
.story-featured {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--ink);
}

/* Top: full-width headline block */
.story-featured__head {
  padding: 1.5rem 2rem 1.375rem;
  border-bottom: 1px solid var(--border-soft);
}

.story-featured__headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  display: block;
  margin-top: 0.5rem;
}
.story-featured__headline:hover { color: var(--link); }

/* Middle: image + body side by side */
.story-featured__main {
  display: flex;
  align-items: stretch;
}

.story-featured__img-wrap {
  flex: 0 0 54%;
  position: relative;
  overflow: hidden;
}
.story-featured__img-link {
  position: absolute;
  inset: 0;
}
.story-featured__img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transition: transform 0.7s ease;
}
.story-featured__img-wrap:hover .story-featured__img { transform: scale(1.04); }

.story-featured__body {
  flex: 1;
  min-width: 0;
  padding: 1.625rem 2rem 1.5rem;
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.story-featured__kicker {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.story-featured__kicker::before {
  content: '';
  display: inline-block;
  width: 20px; height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}

.story-featured__summary {
  font-size: 1.0625rem;
  color: var(--ink-2);
  line-height: 1.72;
  flex: 1;
}

.story-featured--no-img .story-featured__body {
  border-left: none;
  padding: 2rem 2.5rem;
  max-width: 72ch;
}
.story-featured--no-img .story-featured__headline {
  font-size: clamp(2.5rem, 4.5vw, 4.25rem);
}

/* ── Secondary featured (right column, 1/4) ─────────────────────────────── */
.story-secondary {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--ink-3);
  overflow: hidden;
}

.story-secondary__img-wrap {
  display: block;
  position: relative;
  aspect-ratio: 3/2;
  overflow: hidden;
  flex-shrink: 0;
}
.story-secondary__img-wrap > a { position: absolute; inset: 0; display: block; }
.story-secondary__img-wrap img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
  transition: transform 0.5s ease;
}
.story-secondary__img-wrap:hover img { transform: scale(1.04); }

.story-secondary__content {
  padding: 0.875rem 1rem 0.75rem;
  display: flex;
  flex-direction: column;
}

.story-secondary__headline {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink);
  display: block;
  margin-top: 0.3rem;
  margin-bottom: 0.4rem;
}
.story-secondary__headline:hover { color: var(--link); }

.story-secondary__summary {
  font-size: 0.8125rem;
  color: var(--ink-3);
  line-height: 1.58;
  margin-bottom: 0;
}

.story-secondary__coverage {
  flex: 1;
  padding: 0.4375rem 1rem 0.5rem;
  background: var(--paper);
  border-top: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
}

/* Items más compactos dentro de la secundaria */
.story-secondary__content .card-meta { margin-bottom: 0.25rem; }
.story-secondary__coverage .cov-item  { padding: 0.2rem 0; }
.story-secondary__coverage .cov-item__text   { font-size: 0.75rem; line-height: 1.32; }
.story-secondary__coverage .cov-item__source { font-size: 0.5rem; }

/* ── Perspective triptych ────────────────────────────────────────────────── */
.story-featured__perspectives {
  display: flex;
  border-top: 1px solid var(--border);
  background: var(--paper);
  flex: 1;
  align-items: stretch;
}

.perspective-box {
  flex: 1;
  min-width: 0;
  padding: 1rem 1.25rem 1.125rem;
  border-left: 4px solid transparent;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.perspective-box:not(:last-child) { border-right: 1px solid var(--border-soft); }
.perspective-box--left   { border-left-color: var(--b1); }
.perspective-box--center { border-left-color: var(--b3); }
.perspective-box--right  { border-left-color: var(--b5); }

.perspective-box__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.perspective-box__meta-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
}

.perspective-box__label {
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.perspective-box--left   .perspective-box__label { color: var(--b1); }
.perspective-box--center .perspective-box__label { color: var(--b3); }
.perspective-box--right  .perspective-box__label { color: var(--b5); }

.perspective-box__outlet {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ink);
  text-align: right;
  line-height: 1.25;
}

.perspective-box__headline {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  display: block;
}
.perspective-box__headline:hover { color: var(--link); }

/* ── Section divider ─────────────────────────────────────────────────────── */
.section-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.75rem 0 1.5rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}
.section-divider::after {
  content: '';
  flex: 1;
  height: 2px;
  background: var(--ink);
}

/* ── Story grid ──────────────────────────────────────────────────────────── */
.story-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--col-gap);
  margin-bottom: 0.75rem;
}

.story-card {
  flex: 0 0 calc((100% - 2 * var(--col-gap)) / 3);
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.story-card__img-wrap {
  display: block;
  position: relative;
  padding-top: 58%;
  overflow: hidden;
  flex-shrink: 0;
}
.story-card__img-link { position: absolute; inset: 0; display: block; }
.story-card__img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transition: transform 0.5s ease;
}
.story-card__img-wrap:hover .story-card__img { transform: scale(1.04); }

.story-card__content {
  padding: 1.125rem 1.125rem 1rem;
  display: flex;
  flex-direction: column;
}

.story-card__headline {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.28;
  color: var(--ink);
  margin-bottom: 0.5rem;
  display: block;
}
.story-card__headline:hover { color: var(--link); }

.story-card__summary {
  font-size: 0.875rem;
  color: var(--ink-3);
  line-height: 1.62;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

/* ── News stream ─────────────────────────────────────────────────────────── */
.news-stream {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--col-gap);
}

.news-stream__break {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 300px 1fr;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.news-stream__break-img {
  display: block;
  position: relative;
  overflow: hidden;
}
.news-stream__break-img a { position: absolute; inset: 0; display: block; }
.news-stream__break-img img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
  transition: transform 0.5s ease;
}
.news-stream__break-img:hover img { transform: scale(1.04); }

.news-stream__break-body {
  padding: 1.375rem 1.625rem 1.25rem;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--border);
}

.news-stream__break-headline {
  font-family: var(--font-serif);
  font-size: 1.4375rem;
  font-weight: 700;
  line-height: 1.22;
  color: var(--ink);
  display: block;
  margin-bottom: 0.625rem;
  letter-spacing: -0.01em;
}
.news-stream__break-headline:hover { color: var(--link); }

.news-stream__break-summary {
  font-size: 0.9375rem;
  color: var(--ink-3);
  line-height: 1.65;
  margin-bottom: 0.875rem;
  flex: 1;
}

/* ── Coverage links ──────────────────────────────────────────────────────── */
.coverage { display: flex; flex-direction: column; gap: 0; }

.story-card > .coverage {
  flex: 1;
  padding: 0.5rem 1.125rem 0.625rem;
  background: var(--paper);
  border-top: 1px solid var(--border-soft);
}

.news-stream__break-body .coverage {
  margin-top: 0.75rem;
  padding-top: 0.625rem;
  border-top: 1px solid var(--border-soft);
}

.cov-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.3rem 0;
}
.cov-item:not(:last-child) { border-bottom: 1px solid rgba(0,0,0,0.05); }

.cov-item__left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  flex-shrink: 0;
}

.cov-item__bias {
  font-size: 0.4375rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}
.cov-item__bias--1, .cov-item__bias--2 { color: var(--b1); }
.cov-item__bias--3 { color: var(--b3); }
.cov-item__bias--4, .cov-item__bias--5 { color: var(--b5); }

.cov-item__body { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }

.cov-item__text {
  font-size: 0.8125rem;
  line-height: 1.38;
  color: var(--ink-2);
}
.cov-item__text:hover { color: var(--link); }

.cov-item__source {
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-4);
}

.fc-chip {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.45rem 0.6rem;
  margin-bottom: 0.25rem;
  background: #f0fdfa;
  border: 1px solid #99f6e4;
  border-radius: 5px;
  text-decoration: none;
}
.fc-chip__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.fc-chip__badge {
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: #0d9488;
  border-radius: 3px;
  padding: 0.15rem 0.5rem;
  flex-shrink: 0;
}
.fc-chip__source {
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #0d9488;
}
.fc-chip__headline {
  font-size: 0.8125rem;
  line-height: 1.38;
  color: #0f766e;
  font-weight: 500;
}

/* ── Topic chip + card meta ──────────────────────────────────────────────── */
.topic-chip {
  display: inline-block;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(184,112,0,0.35);
  border-radius: 2px;
  padding: 0.1rem 0.4rem;
  line-height: 1.7;
}
.card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.375rem;
  flex-wrap: wrap;
}
.card-meta__count {
  font-size: 0.625rem;
  font-weight: 500;
  color: var(--ink-4);
  letter-spacing: 0.04em;
}

/* ── Bias meter ──────────────────────────────────────────────────────────── */
.bias-meter {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
  padding-top: 4px;
}
.bm-seg {
  display: inline-block;
  width: 5px;
  height: 11px;
  border-radius: 1px;
  opacity: 0.15;
}
.bm-seg.on { opacity: 1; }
.bm-1 { background: var(--b1); }
.bm-2 { background: var(--b2); }
.bm-3 { background: var(--b3); }
.bm-4 { background: var(--b4); }
.bm-5 { background: var(--b5); }
.bias-meter--lg .bm-seg { width: 10px; height: 18px; border-radius: 2px; }

/* ── Detail page ─────────────────────────────────────────────────────────── */
.detail-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}

.detail-header__img-wrap {
  display: block;
  position: relative;
  padding-top: 42.86%;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 2rem;
}
.detail-header__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* ── Image credit ────────────────────────────────────────────────────────── */
.img-credit {
  position: absolute;
  bottom: 0; right: 0;
  padding: 0.2rem 0.4rem;
  background: rgba(0,0,0,0.52);
  font-size: 0.5625rem;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.8);
  line-height: 1;
  pointer-events: none;
  z-index: 2;
}
.img-credit__link { color: inherit; pointer-events: all; }
.img-credit__link:hover { text-decoration: underline; }

.detail-header__kicker {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.detail-header__kicker::before {
  content: '';
  display: inline-block;
  width: 20px; height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}

.detail-header__headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1.125rem;
}

.detail-header__summary {
  font-size: 1.1875rem;
  color: #333333;
  line-height: 1.72;
  max-width: 68ch;
  border-left: 3px solid var(--accent);
  padding-left: 1.125rem;
}

.detail-header__original-headline {
  margin: 1rem 0 0;
  font-size: 0.875rem;
  color: var(--ink-3);
  line-height: 1.55;
  max-width: 68ch;
}
.detail-header__original-label {
  display: block;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-4, #aaa);
  margin-bottom: 0.2rem;
}

.detail-header__dates {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  color: #666666;
}
.detail-header__dates-updated {
  color: #666666;
}

/* ── Fact-check band & chips ─────────────────────────────────────────────── */
.factcheck-band {
  background: #0d9488;
  color: #fff;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.28rem 0.75rem;
  border-radius: 3px 3px 0 0;
  display: inline-block;
}
.has-factcheck {
  position: relative;
}
.has-factcheck::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid #0d9488;
  border-radius: inherit;
  pointer-events: none;
  z-index: 10;
}
/* Band lives inside the img-wrap, floated slightly off the top edge */
.story-featured__img-wrap .factcheck-band,
.story-secondary__img-wrap .factcheck-band,
.story-card__img-wrap .factcheck-band,
.news-stream__break-img .factcheck-band {
  position: absolute;
  top: 14px;
  left: 0;
  border-radius: 0 3px 3px 0;
  z-index: 2;
}
.factcheck-band--detail {
  display: block;
  border-radius: 4px;
  margin-bottom: 1rem;
  padding: 0.35rem 0.9rem;
  font-size: 0.7rem;
}

.factcheck-section { margin: 1.75rem 0 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.factcheck-section__label { font-size: 0.625rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 0.25rem; }
.factcheck-chip {
  display: block;
  background: #f0fdfa;
  border: 1px solid #99f6e4;
  border-left: 3px solid #0d9488;
  border-radius: 6px;
  padding: 0.875rem 1rem;
  text-decoration: none;
  transition: background 0.15s;
}
.factcheck-chip:hover { background: #e0faf5; }
.factcheck-chip__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.factcheck-chip__badge { font-size: 0.5625rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; background: #0d9488; border-radius: 3px; padding: 0.15rem 0.45rem; flex-shrink: 0; }
.factcheck-chip__source { font-size: 0.8125rem; font-weight: 700; color: #134e4a; flex: 1; }
.factcheck-chip__arrow { font-size: 0.875rem; color: #0d9488; flex-shrink: 0; }
.factcheck-chip__headline { font-size: 0.9375rem; line-height: 1.52; color: #0f172a; font-weight: 500; margin: 0; }

/* ── Coverage articles (detail) ──────────────────────────────────────────── */
.detail-perspectives {
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  margin-top: 1rem;
  margin-bottom: 2rem;
}
.detail-perspectives .story-featured__perspectives { border-top: none; }
.detail-perspectives .perspective-box {
  border-left: none;
  border-top: none;
  padding: 0;
  flex-direction: column;
}

.dp-header {
  padding: 0.875rem 1rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.perspective-box--left   .dp-header { background: var(--b1); }
.perspective-box--center .dp-header { background: var(--b3); }
.perspective-box--right  .dp-header { background: var(--b5); }

.dp-header .bm-seg        { background: rgba(255,255,255,0.25); opacity: 1; }
.dp-header .bm-seg.on     { background: #fff; }
.dp-header .bias-meter    { padding-top: 0; }

.dp-outlet {
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.dp-body {
  padding: 0.875rem 1rem 1.125rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.dp-label {
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-4);
}

.dp-headline {
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
  display: block;
}
.dp-headline:hover { color: var(--link); }

.dp-summary {
  font-size: 0.875rem;
  color: var(--ink-2);
  line-height: 1.6;
  margin-top: 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.detail-more-label {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 1rem;
}

.coverages-label {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 0;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}
.coverages-label__count {
  font-weight: 400;
  color: var(--ink-3);
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.875rem;
}

.coverage-article {
  border-bottom: 1px solid var(--border-soft);
  border-left: 3px solid var(--border);
  padding: 1.25rem 0 1.25rem 1.375rem;
}
.coverage-article:last-child { border-bottom: none; }
.coverage-article--b1, .coverage-article--b2 { border-left-color: var(--b1); }
.coverage-article--b3 { border-left-color: var(--b3); }
.coverage-article--b4, .coverage-article--b5 { border-left-color: var(--b5); }

.coverage-article__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.coverage-article__meta-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
}

.coverage-article__bias-label {
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.coverage-article--b1 .coverage-article__bias-label,
.coverage-article--b2 .coverage-article__bias-label { color: var(--b1); }
.coverage-article--b3 .coverage-article__bias-label { color: var(--b3); }
.coverage-article--b4 .coverage-article__bias-label,
.coverage-article--b5 .coverage-article__bias-label { color: var(--b5); }

.coverage-article__outlet {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ink-2);
  text-align: right;
  line-height: 1.25;
}

.coverage-article__link {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--link);
  display: block;
  margin-top: 0.5rem;
  text-align: right;
}
.coverage-article__link:hover { text-decoration: underline; }

.coverage-article__headline {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.coverage-article__summary {
  font-size: 0.9375rem;
  color: var(--ink-2);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}

/* ── Back link ───────────────────────────────────────────────────────────── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink-3);
  margin-bottom: 1.75rem;
  transition: color 0.15s;
}
.back-link:hover { color: var(--ink); }

/* ── Pagination ──────────────────────────────────────────────────────────── */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}
.pagination a,
.pagination .pg-current {
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  transition: background 0.15s, color 0.15s;
}
.pagination a:hover { background: var(--paper); color: var(--ink); }
.pagination .pg-current { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* ── Footer ──────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--ink);
  padding: 2.25rem 1.5rem;
  margin-top: 2rem;
}
.site-footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.6);
  gap: 1rem;
  flex-wrap: wrap;
}
.site-footer__nav { display: flex; gap: 1.25rem; margin-left: auto; }
.site-footer__link { color: rgba(255,255,255,0.4); text-decoration: none; font-size: 0.8125rem; transition: color 0.15s; }
.site-footer__link:hover { color: rgba(255,255,255,0.75); }

.site-footer__logo {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--white);
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .featured-row { grid-template-columns: 1fr; }
  .story-featured__main { flex-direction: column; min-height: 0; }
  .story-featured__img-wrap { flex: none; width: 100%; min-height: 240px; }
  .story-featured__body { border-left: none; border-top: 1px solid var(--border); }
  .story-featured__perspectives { flex-direction: column; }
  .perspective-box:not(:last-child) { border-right: none; border-bottom: 1px solid var(--border-soft); }
  .story-secondary__img-wrap { padding-top: 42%; }
  .news-stream { grid-template-columns: repeat(2, 1fr); }
  .news-stream__break { grid-template-columns: 220px 1fr; }
}

/* ── Media list ───────────────────────────────────────────────────────────── */
.media-list-header { padding: 2rem 0 1.5rem; border-bottom: 1px solid var(--border); margin-bottom: 1.5rem; }
.media-list-header__title { font-family: var(--serif); font-size: 1.75rem; font-weight: 700; margin: 0 0 0.4rem; }
.media-list-header__desc { color: var(--ink-3); font-size: 0.85rem; margin: 0; }

.media-grid { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 1.5rem; }
@media (min-width: 600px) { .media-grid { columns: 3; } }
@media (min-width: 900px) { .media-grid { columns: 4; } }
.media-grid__item { break-inside: avoid; padding: 0.35rem 0; border-bottom: 1px solid var(--border); }
.media-grid__link { font-size: 0.9rem; color: var(--ink); text-decoration: none; }
.media-grid__link[href]:hover { text-decoration: underline; color: var(--accent); }
.media-grid__empty { color: var(--ink-3); font-size: 0.9rem; }

.reference-badge { display: inline-block; font-size: 0.65rem; font-weight: 700; background: #f5c842; color: #7a5500; border-radius: 3px; padding: 1px 5px; margin-left: 0.35rem; vertical-align: middle; letter-spacing: 0.02em; }
.reference-badge--lg { font-size: 0.75rem; padding: 2px 8px; }

/* ── Outlet profile ───────────────────────────────────────────────────────── */
.outlet-header { display: flex; gap: 2rem; align-items: flex-start; padding: 2rem 0 1.5rem; border-bottom: 1px solid var(--border); margin-bottom: 1.5rem; flex-wrap: wrap; }
.outlet-header__main { flex: 1; min-width: 200px; }
.outlet-header__name-row { display: flex; align-items: baseline; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 0.75rem; }
.outlet-header__name { font-family: var(--serif); font-size: 2rem; font-weight: 700; margin: 0; }
.outlet-header__meta { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.outlet-header__grade-label { font-size: 0.8rem; color: var(--ink-3); }
.outlet-header__web { font-size: 0.8rem; color: var(--ink-3); text-decoration: none; }
.outlet-header__web:hover { color: var(--ink); text-decoration: underline; }

.outlet-scores { min-width: 200px; }
.outlet-scores__label { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-3); margin-bottom: 0.5rem; }
.outlet-scores__chart { display: flex; align-items: flex-end; gap: 4px; height: 60px; }
.outlet-scores__bar-wrap { display: flex; flex-direction: column; align-items: center; gap: 2px; flex: 1; height: 100%; justify-content: flex-end; }
.outlet-scores__bar { width: 100%; background: var(--ink-3); border-radius: 2px 2px 0 0; min-height: 2px; transition: background 0.15s; }
.outlet-scores__bar-wrap:hover .outlet-scores__bar { background: var(--ink); }
.outlet-scores__bar-label { font-size: 0.55rem; color: var(--ink-3); text-transform: uppercase; }

.outlet-articles { margin-top: 0.5rem; }

@media (max-width: 640px) {
  .outlet-header { flex-direction: column; gap: 1rem; }
  .outlet-scores__chart { height: 48px; }
}

@media (max-width: 640px) {
  .masthead__top {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 0.2rem;
    padding-bottom: 0.5rem;
  }
  .masthead__meta--right { text-align: center; }
  .story-featured__head { padding: 1.25rem 1.25rem 1rem; }
  .story-card { flex: 0 0 100%; }
  .news-stream { grid-template-columns: 1fr; }
  .news-stream__break { grid-template-columns: 1fr; }
  .news-stream__break-img { min-height: 180px; }
  .news-stream__break-body { border-left: none; border-top: 1px solid var(--border); }
}
