/* ==========================================================================
   elLector · Editorial Design System (2026)
   High-contrast, typography-driven digital publication.
   No artificial dashboard containers, no generic AI-template cards.
   ========================================================================== */

:root {
  color-scheme: light dark;
  --serif: Newsreader, Charter, "Bitstream Charter", "Sitka Text", Cambria, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* Warm paper canvas (Light Mode) */
  --bg: #faf8f5;
  --card: #ffffff;
  --card-subtle: #f4f1ea;
  --card-muted: #ece9e0;
  --fg: #161614;
  --fg-secondary: #40403a;
  --muted: #6e6e67;
  --border: #e2ded5;
  --border-subtle: #eae7e0;
  --accent: #b32628;
  --accent-soft: rgba(179, 38, 40, 0.08);
  --link: #184c7a;
  --link-hover: #b32628;
  --headline-hover: #b91c1c;
  --headline-hover-decoration: rgba(185, 28, 28, 0.35);
  --live: #cc2b2e;

  /* Media bias spectrum */
  --bias-left: #2563eb;
  --bias-left-bg: rgba(37, 99, 235, 0.09);
  --bias-center-left: #0891b2;
  --bias-center-left-bg: rgba(8, 145, 178, 0.09);
  --bias-center: #7c3aed;
  --bias-center-bg: rgba(124, 58, 237, 0.09);
  --bias-center-right: #ea580c;
  --bias-center-right-bg: rgba(234, 88, 12, 0.09);
  --bias-right: #dc2626;
  --bias-right-bg: rgba(220, 38, 38, 0.09);
  --bias-unknown: #6b7280;
  --bias-unknown-bg: rgba(107, 114, 128, 0.09);

  /* Container bounds */
  --container-max-w: 1040px;
  --reading-max-w: 680px;
}

:root[data-theme="dark"] {
  /* Warm obsidian ink canvas (Dark Mode) */
  --bg: #0d0d0f;
  --card: #141418;
  --card-subtle: #191920;
  --card-muted: #21212a;
  --fg: #f4f4f0;
  --fg-secondary: #b0b0a8;
  --muted: #787870;
  --border: rgba(255, 255, 255, 0.1);
  --border-subtle: rgba(255, 255, 255, 0.05);
  --accent: #e54b4d;
  --accent-soft: rgba(229, 75, 77, 0.14);
  --link: #7da9db;
  --link-hover: #f77072;
  --headline-hover: #f87171;
  --headline-hover-decoration: rgba(248, 113, 113, 0.4);
  --live: #f87171;

  --bias-left: #60a5fa;
  --bias-left-bg: rgba(96, 165, 250, 0.14);
  --bias-center-left: #22d3ee;
  --bias-center-left-bg: rgba(34, 211, 238, 0.14);
  --bias-center: #a78bfa;
  --bias-center-bg: rgba(167, 139, 250, 0.14);
  --bias-center-right: #fb923c;
  --bias-center-right-bg: rgba(251, 146, 60, 0.14);
  --bias-right: #f87171;
  --bias-right-bg: rgba(248, 113, 113, 0.14);
  --bias-unknown: #9ca3af;
  --bias-unknown-bg: rgba(156, 163, 175, 0.14);
}


* {
  box-sizing: border-box;
}

body {
  margin: 0 auto;
  padding: 0 1.5rem 5rem;
  max-width: var(--container-max-w);
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 15px; /* Base estándar de lectura */
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--link);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

/* Pulse animation */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.4;
  }
}

/* ==========================================================================
   Masthead (Classic Newspaper Architecture)
   ========================================================================== */

.masthead {
  padding-top: 0.75rem;
  margin-bottom: 0;
}

.masthead-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.76rem;
  color: var(--muted);
}

.masthead-topbar-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.topbar-sep {
  opacity: 0.5;
}

.topbar-status {
  font-weight: 500;
  letter-spacing: 0.02em;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--live);
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--live);
  animation: pulse 1.8s infinite ease-in-out;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.55rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  background: none;
  border: 1px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.theme-toggle:hover {
  color: var(--fg);
  border-color: var(--fg);
}

/* Stately centered brandplate */
.masthead-brand-area {
  text-align: center;
  padding: 1.15rem 0 0.85rem;
}

.brand-link {
  color: var(--fg);
  text-decoration: none;
  display: inline-block;
}

.brand-link:hover {
  text-decoration: none;
}

.brand-header-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
}

.brand-logo-emblem {
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
  border-radius: 9px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.brand-link:hover .brand-logo-emblem {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(204, 43, 46, 0.22);
}

.brand-name {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.8vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  margin: 0;
  color: var(--fg);
}

/* Distinctive live-red Z brand mark */
.brand-z {
  color: var(--live);
  transition: color 0.15s ease;
}

.brand-tagline {
  margin: 0.4rem 0 0;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Double-ruled navigation row */
.nav-bar {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 2px solid var(--border);
  padding: 0;
}

.nav-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.tab-link {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
  padding: 0.6rem 0.25rem 0.5rem;
  border-bottom: 3px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.tab-link:hover {
  color: var(--fg);
  text-decoration: none;
}

.tab-link.active {
  color: var(--fg);
  font-weight: 700;
  border-bottom-color: var(--accent);
}

/* ==========================================================================
   Datebar & Audio Edition Player
   ========================================================================== */

.datebar {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.datebar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  text-align: center;
}

.datebar-left {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.86rem;
  color: var(--muted);
}

.datebar-date {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--fg);
  text-transform: capitalize;
}

.datebar-sep {
  opacity: 0.4;
}

.datebar-edition {
  font-weight: 500;
}

.datebar-badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.1rem 0.45rem;
  border-radius: 3px;
  background: var(--card-subtle);
  border: 1px solid var(--border);
  color: var(--muted);
  text-transform: uppercase;
}

.audio-bar-inline {
  display: inline-flex;
  align-items: center;
}

.audio-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.audio-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.audio-bar-inline audio {
  display: none;
}

/* ==========================================================================
   Live Ticker Strip (Última hora)
   Slim teletype bar under the datebar, preserving front-page lead hierarchy
   ========================================================================== */

.live-ticker-strip {
  margin: 0 0 2rem;
  padding: 0.45rem 0.85rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--live);
  border-radius: 4px;
}

.live-ticker-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.live-ticker-main {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  min-width: 0;
}

.pulse-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--live);
  animation: pulse 1.8s infinite ease-in-out;
}

.ticker-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--live);
  white-space: nowrap;
}

.ticker-meta {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
}

.ticker-sep {
  color: var(--border-strong);
  user-select: none;
}

.ticker-headline {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--fg);
  text-decoration: none;
  line-height: 1.3;
}

.ticker-headline:hover {
  color: var(--headline-hover);
  text-decoration: underline;
  text-decoration-color: var(--headline-hover-decoration);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

.ticker-action {
  margin-left: auto;
}

.ticker-directo-link {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--link);
  text-decoration: none;
  white-space: nowrap;
  padding: 0.2rem 0.55rem;
  border-radius: 3px;
  background: var(--card-subtle);
  border: 1px solid var(--border-subtle);
  transition: all 0.15s ease;
}

.ticker-directo-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ==========================================================================
   Lead Story (Newspaper Centerpiece)
   ========================================================================== */

.front {
  max-width: var(--container-max-w);
  margin: 0 auto;
  padding: 2rem 1.5rem 5rem;
}

.story.lead {
  width: 100%;
  max-width: var(--container-max-w);
  margin: 0 auto 2.5rem auto;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.story-kicker-line {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  margin-bottom: 0.45rem;
}

.category-tag {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.kicker {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
  color: var(--fg-secondary);
  line-height: 1.4;
  width: 100%;
}

.headline a {
  font-family: var(--serif);
  color: var(--fg);
  text-decoration: none;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.headline a:hover {
  color: var(--headline-hover);
  text-decoration: underline;
  text-decoration-color: var(--headline-hover-decoration);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

.lead .headline {
  font-family: var(--serif);
  font-size: 2.1rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0.5rem 0 1rem;
}

.lead .headline a {
  color: var(--fg);
  text-decoration: none;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.lead .headline a:hover {
  color: var(--headline-hover);
  text-decoration: underline;
  text-decoration-color: var(--headline-hover-decoration);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

.lead .summary {
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 820px;
  color: var(--fg);
  margin-bottom: 1.5rem;
}

/* Editorial Divergence Callout - 2 Columns or Unified Card */
.divergence-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
  margin: 1.25rem 0;
}

@media (max-width: 640px) {
  .divergence-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.divergence-col {
  display: flex;
  flex-direction: column;
  background: var(--card-subtle);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.15rem 1.25rem;
  font-size: 0.92rem;
  line-height: 1.55;
}

.divergence-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 0.5rem;
  color: var(--muted);
}

.divergence-card {
  background: var(--card-subtle);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 6px;
  padding: 1.1rem 1.35rem;
  margin: 1.25rem 0;
}

.divergence-text {
  margin: 0;
  font-family: var(--serif);
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--fg);
}

.divergence-text strong {
  font-style: normal;
  font-weight: 700;
}

.divergence-outlet-link {
  color: var(--fg);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

.divergence-outlet-link:hover {
  color: var(--accent);
  text-decoration-thickness: 2px;
}

.divergence-outlet-link .ext-arrow {
  font-size: 0.75em;
  opacity: 0.8;
  margin-left: 0.1rem;
  color: var(--accent);
}

/* Coverage Bar & Plurality Modal Trigger */
.coverage-bar {
  width: 100%;
  margin-top: 1.15rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.coverage-header,
.coverage-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
}

.coverage-count {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-text-link {
  background: none;
  border: none;
  padding: 0;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--link);
  cursor: pointer;
  text-decoration: none;
  transition: color 0.15s ease;
}

.btn-text-link:hover {
  color: var(--accent);
  text-decoration: underline;
}

.source-tag {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--fg);
  padding: 0.2rem 0.6rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 4px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: all 0.15s ease;
}

.source-tag.source-tag-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--card-subtle);
}

.source-tag .ext-arrow {
  font-size: 0.75em;
  opacity: 0.75;
  color: var(--accent);
}

.btn-more {
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--link);
  background: var(--card-subtle);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.2rem 0.6rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-more:hover {
  border-color: var(--link);
  color: var(--accent);
}

/* Styled spectrum bar */
.bias-spectrum-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.bias-spectrum-bar {
  display: flex;
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
  background: var(--border);
  width: 100%;
}

.bias-seg {
  height: 100%;
}

.bias-seg-left { background: var(--bias-left); }
.bias-seg-center-left, .bias-seg-center_left { background: var(--bias-center-left); }
.bias-seg-center { background: var(--bias-center); }
.bias-seg-center-right, .bias-seg-center_right { background: var(--bias-center-right); }
.bias-seg-right { background: var(--bias-right); }
.bias-seg-unknown, .bias-seg-unrated { background: var(--bias-unknown); }

.bias-breakdown {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0.15rem 0 0;
  font-size: 0.76rem;
  color: var(--muted);
}

.bias-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.bias-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.bias-dot-left { background: var(--bias-left); }
.bias-dot-center-left, .bias-dot-center_left { background: var(--bias-center-left); }
.bias-dot-center { background: var(--bias-center); }
.bias-dot-center-right, .bias-dot-center_right { background: var(--bias-center-right); }
.bias-dot-right { background: var(--bias-right); }
.bias-dot-unknown, .bias-dot-unrated { background: var(--bias-unknown); }

.bias-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.12rem 0.45rem;
  border-radius: 3px;
  background: var(--card-subtle);
  border: 1px solid var(--border);
  color: var(--muted);
  line-height: 1.3;
}

.bias-tag-left { color: var(--bias-left); border-color: rgba(37, 99, 235, 0.25); background: var(--bias-left-bg); }
.bias-tag-center-left, .bias-tag-center_left { color: var(--bias-center-left); border-color: rgba(8, 145, 178, 0.25); background: var(--bias-center-left-bg); }
.bias-tag-center { color: var(--bias-center); border-color: rgba(124, 58, 237, 0.25); background: var(--bias-center-bg); }
.bias-tag-center-right, .bias-tag-center_right { color: var(--bias-center-right); border-color: rgba(234, 88, 12, 0.25); background: var(--bias-center-right-bg); }
.bias-tag-right { color: var(--bias-right); border-color: rgba(220, 38, 38, 0.25); background: var(--bias-right-bg); }
.bias-tag-unknown, .bias-tag-unrated { color: var(--bias-unknown); border-color: rgba(107, 114, 128, 0.25); background: var(--bias-unknown-bg); }

/* Storyline thread banner on cards */
.story-thread-banner {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  padding: 0.55rem 0.85rem;
  background: var(--card-subtle);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--accent);
  border-radius: 0 4px 4px 0;
}

.story-thread-banner .thread-badge {
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
  white-space: nowrap;
}

.story-thread-banner .thread-follow {
  color: var(--fg);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
}

.story-thread-banner .thread-follow:hover {
  color: var(--link);
  text-decoration: underline;
}

.story-thread-banner .thread-arrow {
  font-weight: 400;
  color: var(--muted);
}

/* ==========================================================================
   Secondary Stories & News Wire
   ========================================================================== */

.front-composite,
.front-row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
  margin: 3rem 0;
  padding-top: 0;
  border-top: none;
}

@media (max-width: 60rem) {
  .front-composite,
  .front-row {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin: 2rem 0;
  }
}

.front-main-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.secondary-stack {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.secondary-stack > .story.secondary:not(:last-child) {
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-items: start;
}

@media (max-width: 48rem) {
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (min-width: 48rem) {
  .grid-2 > :first-child {
    padding-right: 1.5rem;
    border-right: 1px solid var(--border-subtle);
  }
}

.story.secondary {
  display: flex;
  flex-direction: column;
  padding-bottom: 0.5rem;
}

.secondary-kicker-line {
  margin-bottom: 0.35rem;
}

.secondary .headline {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin: 0.25rem 0 0.5rem;
}

.secondary .headline a {
  color: var(--fg);
  text-decoration: none;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.secondary .headline a:hover {
  color: var(--headline-hover);
  text-decoration: underline;
  text-decoration-color: var(--headline-hover-decoration);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

.secondary .summary {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--fg-secondary);
  margin: 0 0 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.secondary-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
}

.secondary-coverage {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.78rem;
}

.secondary-coverage-label {
  font-weight: 700;
  color: var(--fg-secondary);
}

.secondary-outlets-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.secondary-outlet-chip {
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--fg);
  background: var(--card-subtle);
  border: 1px solid var(--border-subtle);
  padding: 0.12rem 0.5rem;
  border-radius: 3px;
}

.secondary-more-link {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--link);
  text-decoration: none;
}

.secondary-more-link:hover {
  color: var(--accent);
  text-decoration: underline;
}

.secondary-thread {
  margin-top: 0.15rem;
}

.secondary-thread-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--fg);
  text-decoration: none;
  padding: 0.25rem 0.55rem;
  background: var(--card-subtle);
  border-left: 2px solid var(--accent);
  border-radius: 0 3px 3px 0;
  transition: all 0.15s ease;
  width: fit-content;
}

.secondary-thread-link:hover {
  color: var(--link);
  background: var(--card);
}

.secondary-thread-link .thread-badge {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.secondary-thread-title {
  color: var(--fg);
  font-weight: 600;
}

/* Radar side column */
.radar {
  border-left: 1px solid var(--border);
  padding-left: 2rem;
}

@media (max-width: 60rem) {
  .radar {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
  }
}

.radar-header {
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--border);
}

.radar-title {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--fg);
}

.radar-subtitle {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Radar category grouping (Option 1) */
.radar-groups {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.radar-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.radar-group-title {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.radar-group-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.radar-item {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.9rem;
  line-height: 1.35;
}

.radar-bullet {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.35;
  user-select: none;
  flex-shrink: 0;
}

.radar-item-content {
  flex: 1;
}

.radar-item-link {
  font-family: var(--serif);
  color: var(--fg);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.radar-item-link:hover {
  color: var(--headline-hover);
  text-decoration: underline;
  text-decoration-color: var(--headline-hover-decoration);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

.radar-item-coverage {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 400;
  color: var(--muted);
  white-space: nowrap;
  margin-left: 0.25rem;
}

.radar-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.brief {
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.brief:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.brief-kicker {
  margin: 0 0 0.15rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.brief-headline {
  margin: 0 0 0.2rem;
  font-family: var(--serif);
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.3;
}

.brief-headline a {
  color: var(--fg);
  text-decoration: none;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.brief-headline a:hover {
  color: var(--headline-hover);
  text-decoration: underline;
  text-decoration-color: var(--headline-hover-decoration);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

.brief-coverage {
  margin: 0;
  font-size: 0.75rem;
  color: var(--muted);
}

/* ==========================================================================
   Grandes Temas Catalog Grid (temas.html)
   ========================================================================== */

.section-kicker {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
  gap: 1.75rem;
}

.course-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.course-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.course-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.course-meta-top {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: var(--fg-secondary);
}

.theme-live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 0.15rem;
}

.course-meta-top .meta-sep {
  color: var(--border);
}

.course-updated {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
}

.course-title {
  margin: 0.15rem 0 0;
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-title a {
  color: var(--fg);
  text-decoration: none;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.course-title a:hover {
  color: var(--headline-hover);
  text-decoration: underline;
  text-decoration-color: var(--headline-hover-decoration);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

.course-summary {
  margin: 0;
  font-size: 0.88rem;
  color: var(--fg-secondary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-footer {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.course-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}

.course-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Catalog & Search (temas.html Dossier Layout)
   ========================================================================== */

.themes-catalog-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.theme-dossier-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.5rem 1.75rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.theme-dossier-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

.theme-dossier-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.theme-metrics-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: var(--fg-secondary);
}

.theme-stat-item strong {
  color: var(--fg);
  font-weight: 700;
}

.theme-stat-sep, .metric-sep, .meta-sep {
  color: var(--border);
  font-weight: 400;
}

.theme-updated-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  padding: 0.1rem 0.55rem;
  background: var(--card-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
}

.theme-dossier-title {
  margin: 0.2rem 0 0;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.28;
}

.theme-dossier-title a {
  color: var(--fg);
  text-decoration: none;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.theme-dossier-title a:hover {
  color: var(--headline-hover);
  text-decoration: underline;
  text-decoration-color: var(--headline-hover-decoration);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

.theme-dossier-summary {
  margin: 0;
  font-size: 0.95rem;
  color: var(--fg-secondary);
  line-height: 1.6;
}

.theme-dossier-footer {
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.theme-dossier-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.theme-dossier-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Catalog & Search (temas.html)
   ========================================================================== */

.thread-catalog-page {
  max-width: 76rem;
  margin: 0 auto;
}

.catalog-header {
  margin: 1.5rem 0 2rem;
}

.catalog-sub {
  margin: 0.35rem 0 1.25rem;
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 60ch;
}

.search-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  max-width: 36rem;
}

.search-input-wrap {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 0.6rem;
  font-size: 0.85rem;
  color: var(--muted);
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 0.45rem 0.75rem 0.45rem 2rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--fg);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  outline: none;
}

.search-input:focus {
  border-color: var(--accent);
}

.search-count {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}

/* ==========================================================================
   Storyline Narrative Chronicle (tema.html)
   ========================================================================== */

.story-chronicle-page {
  max-width: 52rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 5rem;
}

.chronicle-header {
  margin-bottom: 2.75rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2rem;
}

.chronicle-kicker-line {
  margin-bottom: 0.75rem;
}

.chronicle-kicker {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.chronicle-title {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 4.2vw, 2.85rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--fg);
}

.chronicle-lead {
  font-family: var(--serif);
  font-size: 1.18rem;
  line-height: 1.62;
  color: var(--fg-secondary);
  margin: 0 0 1.35rem;
}

/* Single-line editorial byline */
.chronicle-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.84rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.byline-item {
  display: inline-flex;
  align-items: center;
}

.byline-item strong {
  color: var(--fg);
  font-weight: 700;
  margin: 0 0.15rem;
}

.byline-sep {
  color: var(--border-strong);
  user-select: none;
}

/* Plurality bar & sources drawer */
.chronicle-plurality-bar {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1rem 1.25rem;
  margin-top: 1.25rem;
}

.chronicle-plurality-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.chronicle-plurality-count {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}

.plurality-lbl {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.chronicle-plurality-bar .bias-spectrum-wrap {
  width: 100%;
}

.chronicle-plurality-bar .bias-spectrum-bar {
  height: 8px;
  border-radius: 4px;
  display: flex;
  overflow: hidden;
  background: var(--border-subtle);
  width: 100%;
}

.chronicle-plurality-bar .bias-breakdown {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0.65rem 0 0;
  font-size: 0.76rem;
}

.plurality-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.plurality-inline .bias-spectrum-wrap {
  width: 100%;
}

.plurality-inline .bias-spectrum-wrap .bias-spectrum-bar {
  height: 8px;
  border-radius: 4px;
  display: flex;
  overflow: hidden;
  background: var(--border-subtle);
  width: 100%;
}

.plurality-inline .bias-breakdown {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.76rem;
}

.sources-drawer {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
}

.sources-drawer-toggle {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--link);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  user-select: none;
  list-style: none;
}

.sources-drawer-toggle::-webkit-details-marker {
  display: none;
}

.sources-drawer-toggle:hover {
  color: var(--accent);
  text-decoration: underline;
}

.drawer-arrow {
  font-size: 0.72rem;
  transition: transform 0.2s ease;
  display: inline-block;
}

details[open] .drawer-arrow {
  transform: rotate(180deg);
}

.sources-drawer-content {
  margin-top: 0.75rem;
}

.sources-chip-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.source-chip-link,
.source-chip-plain {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: var(--bg);
  font-size: 0.78rem;
  color: var(--fg);
  text-decoration: none;
  transition: border-color 0.15s ease;
}

a.source-chip-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.chip-name {
  font-weight: 600;
}

.chip-count {
  font-size: 0.72rem;
  color: var(--muted);
  background: var(--card-subtle);
  padding: 0.05rem 0.35rem;
  border-radius: 3px;
}

/* Timeline & Chronicle Narrative */
.timeline-narrative-section {
  margin-top: 1.5rem;
}

.timeline-narrative-head {
  margin-bottom: 2rem;
}

.timeline-narrative-head h2 {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--fg);
  margin: 0 0 0.35rem;
}

.timeline-narrative-sub {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.45;
}

.timeline-day-groups {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.day-group {
  position: relative;
}

.day-heading {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  padding-bottom: 0.45rem;
  margin: 0 0 1.25rem;
  border-bottom: 2px solid var(--border);
}

.day-entries {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.timeline-entry {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 1.25rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.timeline-entry:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

@media (max-width: 40rem) {
  .timeline-entry {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

.entry-time-col {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding-top: 0.15rem;
}

.entry-time {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}

.entry-primary-outlet {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--fg-secondary);
  background: var(--card-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 3px;
  padding: 0.1rem 0.4rem;
  width: fit-content;
}

.entry-content-col {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.entry-headline {
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}

.entry-headline a {
  color: var(--fg);
  text-decoration: none;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.entry-headline a:hover {
  color: var(--headline-hover);
  text-decoration: underline;
  text-decoration-color: var(--headline-hover-decoration);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

.entry-excerpt {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--fg-secondary);
  margin: 0;
}

.entry-sources-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.6rem;
  margin-top: 0.35rem;
  font-size: 0.78rem;
}

.event-sources-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.entry-sources-chips {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.source-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  background: var(--card-subtle);
  border: 1px solid var(--border-subtle);
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--fg);
  text-decoration: none;
}

a.source-tag:hover {
  border-color: var(--accent);
  color: var(--link);
  text-decoration: none;
}

.source-tag-name {
  font-weight: 600;
}

/* Chronicle back wrap */
.chronicle-back-wrap {
  margin: 3.5rem 0 1.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.chronicle-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--fg);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: all 0.15s ease;
  text-decoration: none;
}

.chronicle-back-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
  background: var(--card-subtle);
}

/* ==========================================================================
   Teletipo En Directo (directo.html)
   ========================================================================== */

.directo-page {
  max-width: var(--container-max-w);
  margin: 0 auto;
  padding: 2rem 1.5rem 5rem;
}

.directo-header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.directo-badge-line {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.directo-badge-text {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--live);
}

.directo-title {
  margin: 0 0 0.5rem;
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.directo-sub {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.45;
  max-width: 620px;
}

.directo-feed {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.directo-item {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1.5rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.directo-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

@media (max-width: 40rem) {
  .directo-item {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

.directo-item-time-col {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-top: 0.2rem;
}

.directo-time {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}

.directo-outlet {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--fg);
}

.directo-coverage-count {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--card-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 3px;
  padding: 0.12rem 0.45rem;
  width: fit-content;
}

.directo-item-body-col {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.directo-headline {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
}

.directo-headline a {
  color: var(--fg);
  text-decoration: none;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.directo-headline a:hover {
  color: var(--headline-hover);
  text-decoration: underline;
  text-decoration-color: var(--headline-hover-decoration);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

.directo-excerpt {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--fg-secondary);
}

.directo-actions-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-top: 0.25rem;
}

.directo-ficha-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.directo-ficha-link:hover {
  color: var(--accent);
  text-decoration: underline;
}

.directo-thread-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  color: var(--fg-secondary);
  text-decoration: none;
}

.directo-thread-link:hover {
  color: var(--accent);
  text-decoration: underline;
}

.directo-back-wrap {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.directo-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.25rem;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--fg);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.directo-back-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--card-subtle);
}

/* ==========================================================================
   Detail Pages (historia.html & candente.html)
   ========================================================================== */

.story-detail-page {
  max-width: 54rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 5rem;
}

.story-detail-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.candente-kicker-line {
  margin-bottom: 0.75rem;
}

.candente-badge-line {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.candente-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--live);
}

.candente-time {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}

.story-detail-page .thread-title {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--fg);
}

.story-detail-page .now-meta {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0.5rem 0 0;
}

.primary-action-wrap {
  margin: 1.5rem 0 2rem;
}

.now-read {
  margin: 0;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  background: var(--accent);
  color: #ffffff;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 4px;
  text-decoration: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.btn-primary:hover {
  opacity: 0.92;
  text-decoration: none;
  color: #ffffff;
  transform: translateY(-1px);
}

.story-lead-card,
.story-excerpt-card {
  margin: 1.75rem 0;
}

.story-lead-summary,
.story-detail-page .summary {
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.65;
  color: var(--fg-secondary);
  margin: 0;
}

.sources-comparison-section {
  margin: 2.75rem 0;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}

.section-title-wrap {
  margin-bottom: 1.25rem;
}

.section-title-wrap h2 {
  margin: 0 0 0.35rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-sub {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.45;
}

.source-choices-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14.5rem, 1fr));
  gap: 0.65rem;
}

.source-choice-item {
  list-style: none;
  margin: 0;
  padding: 0;
}

.source-choice-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.65rem 0.9rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 5px;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.source-choice-link:hover {
  border-color: var(--accent);
  background: var(--card-subtle);
  transform: translateY(-1px);
  text-decoration: none;
}

.source-choice-plain {
  cursor: default;
}

.source-choice-plain:hover {
  border-color: var(--border);
  background: var(--card);
  transform: none;
}

.source-choice-name {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--fg);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.source-choice-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.source-choice-meta .ext-arrow {
  font-size: 0.75rem;
  color: var(--accent);
  opacity: 0.7;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.source-choice-link:hover .ext-arrow {
  opacity: 1;
  transform: translateX(1px);
}

.source-choice-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1.1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.bias-tag {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
  background: var(--card-subtle);
  border: 1px solid var(--border);
  color: var(--muted);
  margin-left: 0.35rem;
}

.source-choice-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--link);
  padding: 0.3rem 0.65rem;
  border-radius: 4px;
  background: var(--card-subtle);
  border: 1px solid var(--border);
}

.source-choice-btn:hover {
  color: var(--accent);
  border-color: var(--accent);
  text-decoration: none;
}

/* ==========================================================================
   Candente / Story Breakdown by Editorial Spectrum
   ========================================================================== */

.sources-breakdown {
  margin-top: 2.5rem;
  padding: 1.75rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.sources-header {
  margin-bottom: 1.25rem;
}

.sources-heading {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 0.25rem 0;
  color: var(--fg);
  letter-spacing: -0.01em;
}

.sources-subtitle {
  font-size: 0.88rem;
  color: var(--muted);
}

.bias-distribution-widget {
  margin: 1.25rem 0 1.75rem 0;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.bias-distribution-widget .bias-breakdown {
  margin: 0 0 0.25rem 0;
}

.sources-groups-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.bias-group {
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.bias-group:first-of-type {
  border-top: none;
  padding-top: 0;
}

.bias-group-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.bias-indicator {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.bias-indicator-left { background-color: #2563eb; }
.bias-indicator-center { background-color: #0d9488; }
.bias-indicator-right { background-color: #dc2626; }
.bias-indicator-unrated { background-color: #a8a29e; }

.bias-group-name {
  color: var(--fg);
}

.bias-group-count {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--muted);
  margin-left: auto;
}

.sources-chips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.source-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.65rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.82rem;
  color: var(--fg);
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

a.source-chip:hover {
  background: var(--card-subtle);
  border-color: var(--fg-secondary);
  color: var(--accent);
  text-decoration: none;
}

.source-chip.is-primary {
  border-color: rgba(185, 28, 28, 0.3);
  background: rgba(185, 28, 28, 0.05);
  font-weight: 600;
}

[data-theme="dark"] .source-chip.is-primary {
  border-color: rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.1);
}

.chip-tag {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.05rem 0.3rem;
  border-radius: 2px;
  background: rgba(185, 28, 28, 0.08);
}

[data-theme="dark"] .chip-tag {
  background: rgba(239, 68, 68, 0.15);
}

.source-chip-plain {
  color: var(--muted);
}

/* ==========================================================================
   Story Detail Collapsible Coverage Drawer
   ========================================================================== */

.coverage-drawer {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.15s ease;
}

.coverage-drawer:hover {
  border-color: var(--border-strong, var(--fg-secondary));
}

.coverage-summary-bar {
  display: block;
  padding: 1.25rem 1.35rem;
  cursor: pointer;
  user-select: none;
  list-style: none;
  background: var(--card);
  transition: background 0.15s ease;
}

.coverage-summary-bar::-webkit-details-marker {
  display: none;
}

.coverage-summary-bar:hover {
  background: var(--card-subtle);
}

.coverage-summary-content {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.coverage-summary-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.coverage-count-bold {
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--fg);
}

.coverage-spectrum-block {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.coverage-spectrum-block .bias-spectrum-bar {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  background: var(--border);
}

.coverage-breakdown-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.55rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--fg-secondary);
}

.coverage-breakdown-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.coverage-breakdown-count {
  font-weight: 700;
  color: var(--fg);
}

.coverage-breakdown-label {
  color: var(--muted);
}

.breakdown-sep {
  color: var(--border);
  font-weight: 400;
  user-select: none;
}

.coverage-toggle-row {
  margin-top: 0.2rem;
}

.coverage-toggle-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--sans);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--link);
}

.coverage-summary-bar:hover .coverage-toggle-cta {
  text-decoration: underline;
}

.coverage-toggle-cta .cta-label-open {
  display: none;
}

details[open] .coverage-toggle-cta .cta-label-closed {
  display: none;
}

details[open] .coverage-toggle-cta .cta-label-open {
  display: inline;
}

.coverage-expanded-content {
  padding: 1.25rem 1.35rem 1.5rem;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg);
}

/* ==========================================================================
   Story Detail Sections Separation & Timeline Preview
   ========================================================================== */

.story-section {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.story-section-header {
  margin-bottom: 1.5rem;
}

.story-section-title {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin: 0 0 0.35rem 0;
}

.story-section-subtitle {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.45;
}

.timeline-footer {
  margin-top: 1.25rem;
  padding-top: 0.75rem;
  display: flex;
}

@media (min-width: 40.01rem) {
  .timeline-footer {
    margin-left: calc(6.5rem + 1.25rem);
  }
}

.timeline-more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  padding: 0.35rem 0.65rem;
  margin-left: -0.65rem;
  border-radius: 4px;
  transition: color 0.15s ease, background 0.15s ease;
}

.timeline-more-link:hover {
  background: var(--card-subtle);
  color: var(--link);
  text-decoration: none;
}

.timeline-more-link .more-arrow {
  font-size: 1.05rem;
  transition: transform 0.15s ease;
  display: inline-block;
}

.timeline-more-link:hover .more-arrow {
  transform: translateX(4px);
}


.candente-thread-banner {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  margin: 1.5rem 0;
}

.thread-banner-icon {
  font-size: 1.35rem;
}

.thread-banner-content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.thread-banner-label {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.thread-banner-title {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--fg);
  text-decoration: none;
}

.thread-banner-title:hover {
  text-decoration: underline;
}

.thread-banner-arrow {
  font-size: 1.2rem;
  color: var(--accent);
}

/* ==========================================================================
   Archive & Hemeroteca (archivo.html & edicion.html)
   ========================================================================== */

.archive-catalog-page {
  max-width: 68rem;
  margin: 0 auto;
  padding-top: 1.5rem;
}

.archive-sub {
  font-size: 1.02rem;
  color: var(--muted);
  margin: 0.35rem 0 2rem;
  max-width: 65ch;
}

.editions-archive-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.edition-archive-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.75rem 2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.edition-archive-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.edition-card-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-subtle);
}

.edition-date-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.edition-calendar-icon {
  font-size: 1.1rem;
  opacity: 0.8;
}

.edition-archive-date {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fg);
  text-transform: capitalize;
}

.edition-time-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  background: var(--card-subtle);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--muted);
}

.edition-meta-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.edition-stories-count {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fg-secondary);
}

.archive-audio-pill {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.edition-lead-preview {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.edition-lead-kicker {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.edition-lead-title {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
}

.edition-lead-title a {
  color: var(--fg);
  text-decoration: none;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.edition-lead-title a:hover {
  color: var(--headline-hover);
  text-decoration: underline;
  text-decoration-color: var(--headline-hover-decoration);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

.edition-lead-summary {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--fg-secondary);
}

.edition-secondary-previews {
  margin-top: 0.25rem;
  padding: 0.85rem 1.15rem;
  background: var(--card-subtle);
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
}

.edition-secondary-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  display: block;
  margin-bottom: 0.4rem;
}

.edition-secondary-list {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.edition-secondary-item {
  font-size: 0.88rem;
  line-height: 1.4;
}

.edition-secondary-item a {
  color: var(--fg);
  text-decoration: none;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.edition-secondary-item a:hover {
  color: var(--headline-hover);
  text-decoration: underline;
  text-decoration-color: var(--headline-hover-decoration);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

.edition-card-actions {
  margin-top: 0.5rem;
  display: flex;
  justify-content: flex-end;
}

.btn-open-edition {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: var(--card-subtle);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--fg);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.15s ease;
}

.btn-open-edition:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--card);
}

/* ==========================================================================
   Native Modal Dialog (sources-modal)
   ========================================================================== */

.sources-modal {
  width: min(34rem, calc(100vw - 2rem));
  max-height: min(32rem, 80vh);
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  color: var(--fg);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.sources-modal::backdrop {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.modal-title-group h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
}

.modal-sub {
  margin: 0.15rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.1rem;
  color: var(--muted);
  cursor: pointer;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
}

.modal-close:hover {
  color: var(--accent);
}

.modal-body {
  padding: 1.25rem;
  max-height: calc(min(32rem, 80vh) - 5rem);
  overflow-y: auto;
}

.sources-grid {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
  gap: 0.5rem;
}

.source-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.4rem 0.6rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.84rem;
}

.source-link {
  color: var(--fg);
  font-weight: 600;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.source-link:hover {
  color: var(--link);
  text-decoration: underline;
}

.source-name {
  font-weight: 600;
  color: var(--fg);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ==========================================================================
   Expanded Front Page Sections: Tendencias, Wire & Recent Stories
   ========================================================================== */

.section-rule-header {
  margin: 1.75rem 0 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.section-head-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.section-kicker {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-heading {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--fg);
}

.section-lead {
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--fg-secondary);
  max-width: none;
  margin: 0.2rem 0 0;
}

.section-action-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--link);
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.section-action-link:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* 1. Tendencias en curso grid (3 columnas en escritorio) */
.tendencias-front-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.25rem;
}

@media (max-width: 60rem) {
  .tendencias-front-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

@media (max-width: 40rem) {
  .tendencias-front-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.tendencia-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.35rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.tendencia-card:hover {
  border-color: var(--accent);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.tendencia-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
  font-size: 0.72rem;
}

.tendencia-pulse-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  color: var(--live);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.68rem;
}

.tendencia-date {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.72rem;
}

.tendencia-card-title {
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
  margin: 0 0 0.55rem;
}

.tendencia-card-title a {
  color: var(--fg);
  text-decoration: none;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.tendencia-card-title a:hover {
  color: var(--headline-hover);
  text-decoration: underline;
  text-decoration-color: var(--headline-hover-decoration);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

.tendencia-card-summary {
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--fg-secondary);
  margin: 0 0 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tendencia-card-footer {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.tendencia-stats {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--muted);
}

.tendencia-link {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--link);
  text-decoration: none;
  white-space: nowrap;
}

.tendencia-link:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* 2. Cables de última hora grid (3 columnas en escritorio) */
.front-wire-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (max-width: 60rem) {
  .front-wire-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

@media (max-width: 40rem) {
  .front-wire-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.front-wire-item {
  display: flex;
  flex-direction: column;
  background: var(--card-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 1.15rem;
  transition: all 0.15s ease;
}

.front-wire-item:hover {
  border-color: var(--border);
  background: var(--card);
}

.front-wire-time-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  margin-bottom: 0.45rem;
}

.wire-time {
  font-weight: 700;
  color: var(--accent);
}

.wire-outlet-tag {
  font-weight: 600;
  color: var(--muted);
  background: var(--card);
  padding: 0.12rem 0.45rem;
  border-radius: 3px;
  border: 1px solid var(--border-subtle);
}

.front-wire-title {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 0.65rem;
}

.front-wire-title a {
  color: var(--fg);
  text-decoration: none;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.front-wire-title a:hover {
  color: var(--headline-hover);
  text-decoration: underline;
  text-decoration-color: var(--headline-hover-decoration);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

.front-wire-bottom {
  margin-top: auto;
  padding-top: 0.65rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.72rem;
}

.wire-coverage {
  color: var(--muted);
}

.wire-topic-link {
  color: var(--link);
  text-decoration: none;
  font-weight: 600;
}

.wire-topic-link:hover {
  text-decoration: underline;
  color: var(--accent);
}

.front-wire-footer {
  text-align: center;
  margin-top: 0.5rem;
  margin-bottom: 2.5rem;
}

.front-wire-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--fg);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.front-wire-more-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--card-subtle);
  text-decoration: none;
}

.front-wire-more-btn .cta-arrow {
  transition: transform 0.15s ease;
}

.front-wire-more-btn:hover .cta-arrow {
  transform: translateX(3px);
}

/* 3. Historias recientes grid */
.front-recent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.recent-story-card {
  display: flex;
  flex-direction: column;
  padding: 1.35rem;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  background: var(--card);
  transition: border-color 0.15s ease;
}

.recent-story-card:hover {
  border-color: var(--border);
}

.recent-card-tag {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.recent-card-title {
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 0.55rem;
}

.recent-card-title a {
  color: var(--fg);
  text-decoration: none;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.recent-card-title a:hover {
  color: var(--headline-hover);
  text-decoration: underline;
  text-decoration-color: var(--headline-hover-decoration);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

.recent-card-summary {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--fg-secondary);
  margin: 0 0 0.85rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.recent-card-coverage {
  font-size: 0.74rem;
  color: var(--muted);
  margin-top: auto;
  font-weight: 500;
}

/* ==========================================================================
   Footer & Utility
   ========================================================================== */

.back {
  margin: 3.5rem 0 1.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

.back a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--fg);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: all 0.15s ease;
  text-decoration: none;
}

.back a:hover {
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
  background: var(--card-subtle);
}

/* ==========================================================================
   Global Broadsheet Footer
   ========================================================================== */

footer.site-footer {
  max-width: 76rem;
  margin: 5rem auto 0;
  border-top: 2px solid var(--border);
  padding: 3rem 0 2rem;
}

.footer-main {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr;
  gap: 3.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

@media (max-width: 56rem) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer-brand-col {
    grid-column: span 2;
  }
}

@media (max-width: 36rem) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-brand-col {
    grid-column: span 1;
  }
}

.footer-brand-title {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.footer-logo-emblem {
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
  color: var(--fg);
  transition: transform 0.2s ease;
}

.footer-logo-emblem:hover {
  transform: scale(1.05);
}

.footer-brand-desc {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--fg-secondary);
  max-width: 46ch;
  margin: 0 0 1.25rem;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.55rem;
  border-radius: 3px;
  background: var(--card-subtle);
  color: var(--muted);
  border: 1px solid var(--border);
}

.footer-col-title {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1rem;
}

.footer-link-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-link-list a {
  font-size: 0.88rem;
  color: var(--fg-secondary);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-link-list a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.footer-live-dot {
  color: var(--live);
  font-size: 0.7rem;
  margin-left: 0.2rem;
}

.footer-bottom-bar {
  padding-top: 1.5rem;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-bottom-copy {
  margin: 0;
  font-weight: 500;
}

.footer-bottom-date {
  margin: 0;
}

/* ==========================================================================
   Unified Subpage Headers (Shared across Directo, Tendencias, Hemeroteca, etc.)
   ========================================================================== */

.section-page-header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.section-page-title {
  margin: 0 0 0.5rem;
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.section-page-sub {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.45;
  max-width: 620px;
}

/* ==========================================================================
   Tendencias Page (Unified with Portada cards)
   ========================================================================== */

.tendencias-page {
  max-width: var(--container-max-w);
  margin: 0 auto;
  padding: 2rem 1.5rem 5rem;
}

.sticky-toolbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  margin-top: 1.5rem;
}

.tendencias-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.toolbar-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1 1 20rem;
}

.toolbar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.tendencias-toolbar .search-input-wrap {
  position: relative;
  width: 100%;
  max-width: 28rem;
}

.tendencias-toolbar .search-input {
  width: 100%;
  padding: 0.55rem 0.85rem 0.55rem 2.2rem;
  font-family: var(--sans);
  font-size: 0.88rem;
  color: var(--fg);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 4px;
  outline: none;
  transition: border-color 0.15s ease;
}

.tendencias-toolbar .search-input:focus {
  border-color: var(--accent);
}

.tendencias-toolbar .search-count {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}

/* Dominant stories (1 apaisada + 2 secundarias en rejilla) */
.dominant-stories {
  margin: 2rem 0 3rem;
}

.dominant-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.lead-topic-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  padding: 1.5rem;
  border-radius: 4px;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
}

.topic-meta-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.badge-foco {
  color: var(--accent);
  font-weight: 600;
}

.badge-status {
  color: var(--muted);
  font-weight: 600;
}

.lead-topic-title {
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.25;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
}

.lead-topic-title a {
  text-decoration: none;
  color: var(--fg);
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}
.lead-topic-title a:hover {
  text-decoration: underline;
  text-decoration-color: var(--headline-hover-decoration);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  color: var(--headline-hover);
}

.lead-topic-summary {
  font-size: 0.9rem;
  color: var(--fg-secondary);
  line-height: 1.5;
  max-width: 820px;
  margin: 0 0 1rem 0;
}

.topic-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.75rem;
}

.topic-stats {
  color: var(--muted);
}

.topic-action {
  font-weight: 500;
  color: var(--fg);
  text-decoration: none;
}
.topic-action:hover {
  text-decoration: underline;
  color: var(--link);
}

.secondary-topics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 60rem) {
  .secondary-topics-grid {
    grid-template-columns: 1fr;
  }
}

.topic-card-compact {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 1.25rem;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
}

.topic-compact-title {
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.3;
  margin: 0 0 0.5rem 0;
}
.topic-compact-title a {
  color: var(--fg);
  text-decoration: none;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}
.topic-compact-title a:hover {
  text-decoration: underline;
  text-decoration-color: var(--headline-hover-decoration);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  color: var(--headline-hover);
}

.topic-compact-summary {
  font-size: 0.85rem;
  color: var(--fg-secondary);
  line-height: 1.4;
  margin: 0 0 1rem 0;
  flex-grow: 1;
}

/* Archive continuous editorial list (Lista editorial limpia) */
.tendencias-archive-section {
  margin: 3rem 0;
}

.tendencias-editorial-list {
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--border);
}

.editorial-list-row {
  display: grid;
  grid-template-columns: 12rem 1fr 16rem;
  align-items: baseline;
  gap: 1.5rem;
  padding: 1.1rem 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.12s ease;
}

.editorial-list-row:hover {
  background: var(--card-subtle);
}

@media (max-width: 56rem) {
  .editorial-list-row {
    grid-template-columns: 1fr;
    gap: 0.4rem;
    padding: 1rem 0;
  }
}

.list-row-date {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}

.list-row-main {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.list-row-title {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.35;
}

.list-row-title a {
  color: var(--fg);
  text-decoration: none;
}

.list-row-title a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.list-row-summary {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--fg-secondary);
}

.list-row-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  font-size: 0.82rem;
  white-space: nowrap;
}

@media (max-width: 56rem) {
  .list-row-meta {
    justify-content: space-between;
    margin-top: 0.35rem;
  }
}

.list-row-stats {
  color: var(--muted);
}

.list-row-link {
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}

.list-row-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Hemeroteca Page (Broadsheet Chronological Archive)
   ========================================================================== */

.hemeroteca-page {
  max-width: var(--container-max-w);
  margin: 0 auto;
  padding: 2rem 1.5rem 5rem;
}

.hemeroteca-toolbar {
  margin-top: 1.5rem;
  padding-bottom: 0.5rem;
}

.hemeroteca-status-line {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hemeroteca-total-badge {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--card-subtle);
  border: 1px solid var(--border);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.hemeroteca-note {
  font-size: 0.86rem;
  color: var(--muted);
}

.hemeroteca-timeline-list {
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--border);
  margin-top: 1rem;
}

.hemeroteca-edition-entry {
  padding: 1.75rem 0.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.hemeroteca-edition-entry:last-child {
  border-bottom: none;
}

.edition-entry-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.edition-entry-date {
  color: var(--accent);
}

.edition-entry-time {
  color: var(--muted);
}

.edition-entry-sep {
  color: var(--border-strong);
  user-select: none;
}

.edition-entry-headline {
  margin: 0.15rem 0 0.35rem;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.4vw, 1.65rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.edition-entry-headline a {
  color: var(--fg);
  text-decoration: none;
}

.edition-entry-headline a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.edition-entry-radar {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--fg-secondary);
}

.radar-label {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.radar-inline-list {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.radar-inline-item {
  display: inline-flex;
  align-items: center;
}

.radar-inline-item a {
  color: var(--fg-secondary);
  text-decoration: none;
}

.radar-inline-item a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.radar-inline-item:not(:last-child)::after {
  content: "·";
  margin-left: 0.5rem;
  color: var(--border-strong);
  font-weight: 700;
}

.edition-entry-footer {
  margin-top: 0.35rem;
}

.edition-entry-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--sans);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--link);
  text-decoration: none;
  transition: color 0.15s ease;
}

.edition-entry-cta:hover {
  color: var(--accent);
  text-decoration: underline;
}

.archive-return-banner {
  background: var(--card-subtle);
  border-bottom: 1px solid var(--border);
  padding: 0.65rem 1.25rem;
  font-size: 0.84rem;
  color: var(--fg-secondary);
}

.archive-return-inner {
  max-width: 76rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.archive-return-link {
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}

.archive-return-link:hover {
  text-decoration: underline;
}

.hemeroteca-audio-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(179, 38, 40, 0.2);
}

/* ==========================================================================
   Editorial Essay & Policy Pages (Acerca de & Privacidad)
   ========================================================================== */

.essay-page {
  max-width: 48rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 5rem;
}

.essay-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--fg);
}

.essay-body p {
  margin: 0 0 1.5rem;
}

.essay-lead {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--fg);
}

.drop-cap {
  float: left;
  font-family: var(--serif);
  font-size: 4.4rem;
  line-height: 0.78;
  font-weight: 800;
  margin: 0.2rem 0.75rem 0 0;
  color: var(--accent);
}

.essay-heading {
  margin: 2.75rem 0 1rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--fg);
}

.essay-quote {
  margin: 2.25rem 0;
  padding: 1.25rem 1.75rem;
  border-left: 3px solid var(--accent);
  background: var(--card-subtle);
  border-radius: 0 4px 4px 0;
  font-family: var(--serif);
  font-size: 1.18rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--fg);
}

.essay-points {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.essay-points li {
  padding-left: 1.25rem;
  border-left: 2px solid var(--border);
  line-height: 1.65;
}

.essay-points li strong {
  color: var(--fg);
  font-weight: 700;
}

.essay-colophon {
  margin-top: 3.5rem;
  padding: 1.5rem 1.75rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 4px;
}

.colophon-kicker {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.colophon-text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--fg-secondary);
}

.policy-callout {
  background: var(--card-subtle);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.4rem 1.6rem;
  margin-bottom: 2rem;
}

.policy-callout p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--fg);
  font-weight: 500;
}

.essay-body code {
  font-family: var(--mono);
  font-size: 0.85em;
  background: var(--card-subtle);
  padding: 0.15rem 0.35rem;
  border-radius: 3px;
  border: 1px solid var(--border);
}

/* ==========================================================================
   RSS Catalog Page (Clean Broadsheet Directory)
   ========================================================================== */

.rss-catalog-page {
  max-width: 60rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 5rem;
}

.rss-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

@media (max-width: 56rem) {
  .rss-cards-grid {
    grid-template-columns: 1fr;
  }
}

.rss-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.rss-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.rss-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.rss-card-tag {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg);
  background: var(--card-subtle);
  border: 1px solid var(--border);
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
}

.rss-card-tag.tag-live {
  color: var(--live);
  border-color: rgba(204, 43, 46, 0.2);
  background: rgba(204, 43, 46, 0.06);
}

.rss-card-tag.tag-tema {
  color: var(--bias-center);
  border-color: rgba(124, 58, 237, 0.2);
  background: rgba(124, 58, 237, 0.06);
}

.rss-card-format {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--muted);
}

.rss-card-title {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.55rem;
  color: var(--fg);
}

.rss-card-desc {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--fg-secondary);
  margin: 0 0 1rem;
}

.rss-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.74rem;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.rss-card-url-row {
  display: flex;
  align-items: center;
  background: var(--card-subtle);
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.rss-url-pill {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--fg);
  padding: 0.45rem 0.75rem;
  flex-grow: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btn-copy-rss {
  border: none;
  border-left: 1px solid var(--border);
  background: var(--card);
  color: var(--link);
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.45rem 0.85rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.btn-copy-rss:hover {
  background: var(--accent);
  color: #ffffff;
}

.btn-copy-rss.copied {
  background: #16a34a;
  color: #ffffff;
}

.rss-card-links {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.rss-direct-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--link);
  text-decoration: none;
}

.rss-direct-link:hover {
  color: var(--accent);
  text-decoration: underline;
}

.rss-editorial-note {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.rss-note-heading {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.65rem;
  color: var(--fg);
}

.rss-note-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--fg-secondary);
  margin: 0 0 2rem;
}

.readers-box-heading {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1rem;
}

.readers-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

@media (max-width: 44rem) {
  .readers-grid {
    grid-template-columns: 1fr;
  }
}

.reader-card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1rem 1.25rem;
}

.reader-name {
  font-size: 0.92rem;
  color: var(--fg);
}

.reader-desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}
