/* ============================================================
   PHASE 5 — Article page polish (canonical story pages only)
   Reading-first editorial layout. Loaded only on /article/<id>/.
   ============================================================ */

.article-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px 48px;
}

/* --- Breadcrumb --- */
.article-shell .crumbs {
  font-size: .82rem;
  color: var(--ink-soft, #6b7280);
  margin: 0 0 18px;
  max-width: 760px;
}
.article-shell .crumbs a { color: var(--ink-mid, #374151); text-decoration: none; }
.article-shell .crumbs a:hover { text-decoration: underline; }

/* --- Article page grid: text column 680-760, chrome wider --- */
.article-page { max-width: 760px; }
.article-page.article--standard,
.article-page.article--public-safety,
.article-page.article--weather,
.article-page.article--national { max-width: 760px; }

/* --- Header --- */
.article-header .kicker {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--red, #b91c1c);
  margin: 0 0 10px;
}
.article-header .kicker a { color: var(--red, #b91c1c); text-decoration: none; }
.article-header .kicker a:hover { text-decoration: underline; }

.article-header h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.01em;
  color: var(--ink, #0f1419);
  font-size: clamp(2rem, 4.2vw, 3.4rem); /* ~32px mobile → ~54px desktop */
  margin: 0 0 14px;
  text-wrap: balance;
}

.article-header .dek {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.18rem;
  line-height: 1.45;
  color: var(--ink-mid, #374151);
  margin: 0 0 16px;
}

/* --- Meta --- */
.article-meta {
  border-top: 1px solid var(--surface-border, #e5e2da);
  border-bottom: 1px solid var(--surface-border, #e5e2da);
  padding: 10px 0;
  margin: 0 0 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  font-size: .92rem;
  color: var(--ink-mid, #374151);
}
.article-meta .byline { margin: 0; font-size: .92rem; }
.article-meta .byline-sep { margin: 0; font-size: .92rem; }

/* --- Authorities-allege note (public safety) --- */
.authorities-note {
  background: var(--surface-alt, #f6f4ef);
  border-left: 3px solid var(--red, #b91c1c);
  padding: 10px 14px;
  font-size: .92rem;
  color: var(--ink-mid, #374151);
  margin: 0 0 18px;
}

/* --- Share row --- */
.share-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
}
.share-label {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ink-soft, #6b7280);
  margin-right: 4px;
}
.share-btn {
  display: inline-block;
  border: 1px solid var(--surface-border, #d8d3c6);
  background: var(--surface, #fff);
  color: var(--ink-mid, #374151);
  font: inherit;
  font-size: .82rem;
  padding: 7px 12px;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  min-height: 36px;
}
.share-btn:hover { border-color: var(--ink-soft, #6b7280); }
.share-btn:focus-visible { outline: 2px solid var(--red, #b91c1c); outline-offset: 2px; }

/* --- Hero figure --- */
.article-hero-fig {
  margin: 20px 0 26px;
}
.article-hero-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 4px;
  background: linear-gradient(135deg,#16314b,#1f4462 40%,#4b1d1d);
}
.article-hero-fig figcaption {
  margin-top: 8px;
  font-size: .82rem;
  line-height: 1.45;
  color: var(--ink-soft, #6b7280);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  align-items: baseline;
}
.article-hero-fig .media-tag.ill {
  background: var(--gold-light, #fef3c7);
  color: #92400e;
  border: 1px solid #f0d58a;
  font-weight: 700;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 1px 8px;
  border-radius: 999px;
}
.article-hero-fig .credit a { color: var(--ink-soft, #6b7280); }
.article-hero-fig.media-missing { display: none; }

/* --- Body --- */
.article-body {
  font-size: 1.13rem;   /* ~18px */
  line-height: 1.6;
  color: var(--ink, #0f1419);
}
.article-body p { margin: 0 0 22px; }
.article-body h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.6rem;
  line-height: 1.2;
  margin: 34px 0 12px;
}
.article-body h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.25rem;
  margin: 26px 0 10px;
}
.article-body blockquote {
  border-left: 3px solid var(--red, #b91c1c);
  margin: 0 0 22px;
  padding: 4px 0 4px 18px;
  color: var(--ink-mid, #374151);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.15rem;
}
.article-body ul { margin: 0 0 22px; padding-left: 22px; }
.article-body li { margin: 0 0 6px; }
.article-body a { color: var(--red-dark, #991b1b); }

/* --- Context / key numbers --- */
.context-box {
  border-top: 2px solid var(--ink, #0f1419);
  margin: 30px 0 8px;
  padding-top: 14px;
}
.context-box h2, .key-numbers h2, .hwr h2, .related h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.35rem;
  margin: 0 0 10px;
}
.context-box p { margin: 0; font-size: 1.06rem; line-height: 1.55; }

.key-numbers { margin: 26px 0 8px; border-top: 2px solid var(--ink, #0f1419); padding-top: 14px; }
.kn-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.kn-cell {
  border: 1px solid var(--surface-border, #e5e2da);
  border-radius: 4px;
  padding: 12px 16px;
  min-width: 140px;
  display: flex;
  flex-direction: column;
}
.kn-val { font-family: Georgia, serif; font-size: 1.7rem; font-weight: 700; }
.kn-label { font-size: .8rem; color: var(--ink-soft, #6b7280); }

/* --- How we reported this --- */
.hwr-wrap { margin-top: 34px; }
.hwr {
  background: var(--surface-alt, #f6f4ef);
  border: 1px solid var(--surface-border, #e5e2da);
  border-radius: 4px;
  padding: 18px 20px;
}
.hwr h2 { margin-top: 0; }
.hwr-lede { margin: 0 0 10px; font-size: 1rem; }
.src-list { list-style: none; margin: 0 0 12px; padding: 0; }
.src-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--surface-border, #e5e2da);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.src-list li:last-child { border-bottom: 0; }
.src-name a { color: var(--ink, #0f1419); font-weight: 600; text-decoration: none; }
.src-name a:hover { text-decoration: underline; }
.src-meta { font-size: .8rem; color: var(--ink-soft, #6b7280); }
.hwr-ai { font-size: .82rem; color: var(--ink-mid, #374151); margin: 10px 0 6px; }
.hwr-ai a { color: var(--ink-mid, #374151); }
.hwr-meta { font-size: .78rem; color: var(--ink-soft, #6b7280); margin: 0; }

.error-line { margin: 12px 0 0; font-size: .85rem; }
.error-line a { color: var(--ink-mid, #374151); }

/* --- Related coverage --- */
.related { margin-top: 36px; border-top: 2px solid var(--ink, #0f1419); padding-top: 14px; }
.related ul { list-style: none; margin: 0; padding: 0; }
.related li { padding: 10px 0; border-bottom: 1px solid var(--surface-border, #e5e2da); }
.related li a { font-family: Georgia, serif; font-size: 1.1rem; color: var(--ink, #0f1419); text-decoration: none; display: block; }
.related li a:hover { text-decoration: underline; }
.rel-meta { font-size: .8rem; color: var(--ink-soft, #6b7280); }

/* --- Newsletter CTA --- */
.article-newsletter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border: 1px solid var(--surface-border, #e5e2da);
  border-left: 4px solid var(--ink, #0f1419);
  padding: 16px 20px;
  margin-top: 34px;
  background: var(--surface-alt, #faf8f4);
}
.article-newsletter h2 { font-family: Georgia, serif; font-size: 1.3rem; margin: 0 0 4px; }
.article-newsletter p { margin: 0; color: var(--ink-mid, #374151); }

/* --- Responsive --- */
@media (max-width: 720px) {
  .article-shell { padding: 16px 16px 40px; }
  .article-header h1 { font-size: clamp(1.85rem, 8.5vw, 2.5rem); }
  .article-body { font-size: 1.06rem; }
  .share-row { gap: 6px; }
  .share-btn { padding: 6px 10px; }
}
