/* ═══════════════════════════════════════════════════════════
   CelinaReport.com — Ghost Theme CSS
   ═══════════════════════════════════════════════════════════ */

:root {
  --ink: #141c2e;
  --ink-2: #2a3650;
  --ink-3: #546080;
  --ink-4: #8899b2;
  --paper: #f7f9fc;
  --paper-2: #edf1f8;
  --paper-3: #dde4f0;
  --accent: #0d7a5f;
  --accent-2: #0fa87f;
  --rule: #c4cfe0;
  --data-bg: #141c2e;
  --data-text: #e2eaf8;
  --data-accent: #36d9a8;
  --serif: 'Libre Baskerville', Georgia, serif;
  --body: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --max: 1200px;
  --col: 680px;
}

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

/* Screen-reader only — hides element visually but keeps it in the accessibility tree */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ─── DATA STRIP ─────────────────────────────────────────── */
.data-strip {
  background: var(--data-bg);
  padding: 0;
  overflow: hidden;
  border-bottom: 2px solid var(--data-accent);
}

.data-strip-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: stretch;
  gap: 0;
}

.data-label {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--data-accent);
  padding: 10px 20px 10px 0;
  border-right: 1px solid #333;
  display: flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
}

.data-items {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
}
.data-items::-webkit-scrollbar { display: none; }

.data-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  border-right: 1px solid #2a2825;
  white-space: nowrap;
  flex-shrink: 0;
}

.data-item-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b6660;
}

.data-item-value {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--data-text);
}

.data-item-delta {
  font-family: var(--mono);
  font-size: 10px;
  padding: 1px 5px;
  border-radius: 2px;
  color: var(--ink-4);
}
.delta-up { color: #4caf7d; background: rgba(76,175,80,0.12); }
.delta-dn { color: #e57373; background: rgba(229,115,115,0.12); }

.data-item-weather {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--data-text);
}

.data-updated {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: #444;
  padding-left: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

/* ─── MASTHEAD ───────────────────────────────────────────── */
.masthead {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px 24px 18px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 2px solid var(--ink);
}

.masthead-brand a {
  text-decoration: none;
  color: inherit;
}

.masthead-logo-text {
  font-family: var(--serif);
  font-size: clamp(24px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
}

.masthead-sub {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 6px;
}

.masthead-right {
  text-align: right;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  line-height: 1.9;
}

.masthead-count {
  display: block;
  color: var(--ink-4);
}

/* ─── NAV ────────────────────────────────────────────────── */
nav {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
}

nav a {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-decoration: none;
  padding: 13px 20px;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.15s, border-color 0.15s;
}

nav a:hover { color: var(--accent); border-bottom-color: var(--accent); }
nav a.nav-current { color: var(--accent); border-bottom-color: var(--accent); }

/* ─── BREAKING BANNER ────────────────────────────────────── */
.breaking {
  background: var(--accent);
  padding: 10px 24px;
}

.breaking-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.breaking-label {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: white;
  background: rgba(0,0,0,0.2);
  padding: 3px 10px 3px 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 7px;
}

.breaking-pulse {
  width: 7px;
  height: 7px;
  background: white;
  border-radius: 50%;
  flex-shrink: 0;
  animation: breakingPulse 1.5s ease-in-out infinite;
}

@keyframes breakingPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.breaking-time {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.65);
  margin-left: auto;
  flex-shrink: 0;
  white-space: nowrap;
}

.breaking-text {
  font-family: var(--body);
  font-size: 13px;
  color: white;
  font-style: italic;
}

.breaking-text a,
.breaking-more {
  color: white;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-style: normal;
  white-space: nowrap;
}

.breaking-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  flex-shrink: 0;
}

.breaking-dismiss {
  background: rgba(0,0,0,0.2);
  border: none;
  color: rgba(255,255,255,0.8);
  font-size: 11px;
  line-height: 1;
  padding: 3px 6px;
  cursor: pointer;
  flex-shrink: 0;
  border-radius: 2px;
}
.breaking-dismiss:hover { background: rgba(0,0,0,0.35); color: white; }

/* Severity variants */
.breaking--extreme {
  background: #7f1d1d;
  animation: extremePulse 2s ease-in-out infinite;
}
@keyframes extremePulse {
  0%, 100% { background: #7f1d1d; }
  50%       { background: #991b1b; }
}
.breaking--severe   { background: var(--accent); }        /* existing red */
.breaking--moderate { background: #92400e; }               /* amber */
.breaking--minor    { background: #3d3a34; }               /* ink-2 — subtle */

/* ─── MAIN LAYOUT ────────────────────────────────────────── */
.main-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px 24px;
}

/* ─── SECTION HEADERS ────────────────────────────────────── */
.section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-left: 12px;
  border-left: 3px solid var(--accent);
}

.section-head-label {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.section-head-rule {
  display: none;
}

.section-head-date {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--ink-4);
}

/* ─── LEAD STORY ─────────────────────────────────────────── */
.lead-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 36px;
}

.lead-story {}

.lead-feature-img-wrap {
  display: block;
  margin-bottom: 16px;
  overflow: hidden;
}

.lead-feature-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.lead-feature-img-wrap:hover .lead-feature-img {
  transform: scale(1.02);
}

.lead-category {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  display: block;
  text-decoration: none;
}

.lead-headline {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 14px;
}

.lead-headline a {
  color: inherit;
  text-decoration: none;
}
.lead-headline a:hover { color: var(--accent); }

.lead-deck {
  font-family: var(--body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink-2);
  margin-bottom: 16px;
}

.lead-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-4);
}

.lead-meta-dot {
  width: 3px; height: 3px;
  background: var(--rule);
  border-radius: 50%;
}

/* Lead sidebar */
.lead-sidebar {
  border-left: 1px solid var(--rule);
  padding-left: 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sidebar-story {
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
}
.sidebar-story:first-child { padding-top: 0; }
.sidebar-story:last-child { border-bottom: none; padding-bottom: 0; }

.sidebar-category {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 6px;
  display: block;
  text-decoration: none;
}

.sidebar-headline {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

.sidebar-headline a {
  color: inherit;
  text-decoration: none;
}
.sidebar-headline a:hover { color: var(--accent); }

.sidebar-time {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--ink-4);
  margin-top: 6px;
}

/* ─── THREE-COL GRID ─────────────────────────────────────── */
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.story-card {
  background: white;
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 20px;
  transition: box-shadow 0.2s, transform 0.2s;
  overflow: hidden;
}

.story-card:hover {
  box-shadow: 0 6px 24px rgba(20,28,46,0.09);
  transform: translateY(-2px);
}

.story-card-cat {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 8px;
  display: block;
  text-decoration: none;
}

.story-card-headline {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 10px;
}

.story-card-headline a {
  color: inherit;
  text-decoration: none;
}
.story-card-headline a:hover { color: var(--accent); }

.story-card-summary {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--ink-3);
  margin-bottom: 12px;
}

.story-card-meta {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--ink-4);
}

/* ─── DATA SECTION ───────────────────────────────────────── */
.data-section {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 24px 28px;
  margin-bottom: 36px;
  overflow: hidden;
}

.data-section-title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.data-section-sub {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--ink-4);
  margin-bottom: 20px;
}

.data-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

.data-cell {
  background: var(--paper);
  padding: 16px 20px;
}

.data-cell-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 6px;
}

.data-cell-value {
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}

.data-cell-context {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-3);
}

.data-cell-context .up { color: #2d7a4f; }
.data-cell-context .dn { color: var(--accent); }

/* ─── TOPICS ROW ─────────────────────────────────────────── */
.topics-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--rule);
}

.topic-pill {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  background: var(--paper-2);
  border: 1px solid var(--rule);
  padding: 6px 14px;
  text-decoration: none;
  transition: all 0.15s;
}

.topic-pill:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.topic-pill.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

/* ─── TWO-COL LOWER ──────────────────────────────────────── */
.lower-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
}

/* More stories list */
.more-stories {}

.more-story {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 16px 0 16px 12px;
  border-bottom: 1px solid var(--rule);
  border-left: 3px solid transparent;
  align-items: start;
  transition: border-left-color 0.15s;
}

.more-story:hover { border-left-color: var(--accent); }
.more-story:first-child { padding-top: 0; }

.more-story-content {}

.more-story-cat {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 5px;
  display: block;
  text-decoration: none;
}

.more-story-headline {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

.more-story-headline a {
  color: inherit;
  text-decoration: none;
}
.more-story-headline a:hover { color: var(--accent); }

.more-story-summary {
  font-size: 13px;
  font-weight: 300;
  color: var(--ink-3);
  margin-top: 5px;
  line-height: 1.5;
}

.more-story-time {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--ink-4);
  white-space: nowrap;
  margin-top: 3px;
}

/* Sidebar widgets */
.sidebar-widgets {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.widget {
  border: none;
  background: var(--paper-2);
  border-radius: 8px;
  overflow: hidden;
}

.widget-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--rule);
  background: transparent;
}

.widget-title {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.widget-body { padding: 16px; }

/* About widget */
.about-text {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-3);
  margin-bottom: 12px;
}

.about-stat {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 6px 0;
  border-bottom: 1px solid var(--rule);
}

.about-stat:last-child { border-bottom: none; }

.about-stat-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-4);
}

.about-stat-value {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

/* Newsletter widget */
.newsletter-pitch {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-3);
  margin-bottom: 14px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.newsletter-input {
  font-family: var(--body);
  font-size: 14px;
  padding: 10px 14px;
  border: 1px solid var(--rule);
  background: var(--paper);
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s;
}

.newsletter-input:focus { border-color: var(--accent); outline: none; }

.newsletter-btn {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 11px 16px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s;
}

.newsletter-btn:hover { background: var(--accent-2); }

/* Topics widget */
.widget-topic-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
}
.widget-topic-item:last-child { border-bottom: none; }

.widget-topic-name {
  font-family: var(--body);
  font-size: 13px;
  color: var(--ink-2);
  transition: color 0.15s;
}
.widget-topic-item:hover .widget-topic-name { color: var(--accent); }

.widget-topic-count {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-4);
}

/* ─── FOOTER ─────────────────────────────────────────────── */
footer {
  background: var(--ink);
  color: var(--paper-3);
  margin-top: 48px;
  padding: 40px 24px 24px;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid #2d2b28;
  margin-bottom: 24px;
}

.footer-brand h2 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--paper);
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-3);
  font-weight: 300;
}

.footer-col-title {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--data-accent);
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: 13px;
  color: var(--ink-3);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-links a:hover { color: var(--paper); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #444;
}

.footer-mission {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: #3a3835;
  text-align: right;
  max-width: 320px;
  line-height: 1.7;
}

/* ─── ANIMATIONS ─────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.data-strip  { animation: fadeUp 0.4s ease forwards; }
.masthead    { animation: fadeUp 0.5s 0.05s ease forwards; opacity: 0; }
.lead-grid   { animation: fadeUp 0.5s 0.1s ease forwards; opacity: 0; }
.story-grid  { animation: fadeUp 0.5s 0.15s ease forwards; opacity: 0; }
.lower-grid  { animation: fadeUp 0.5s 0.2s ease forwards; opacity: 0; }

/* ─── POST/ARTICLE PAGES ─────────────────────────────────── */
.post-article {
  max-width: var(--col);
  margin: 0 auto;
}

.post-header {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--rule);
}

.post-category {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  display: block;
  margin-bottom: 12px;
}

.post-headline {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 18px;
}

.post-deck {
  font-family: var(--body);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink-2);
  margin-bottom: 20px;
}

.post-byline {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.post-byline-dot {
  color: var(--rule);
}

.post-tags a {
  color: var(--ink-4);
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0;
}
.post-tags a:hover { color: var(--accent); }

.post-feature-image {
  margin: 24px 0;
  border: 1px solid var(--rule);
}

.post-feature-image img {
  width: 100%;
  height: auto;
  display: block;
}

.post-feature-image figcaption {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-4);
  padding: 8px 12px;
  background: var(--paper-2);
  border-top: 1px solid var(--rule);
}

.post-footer-meta {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-4);
}

.post-tags-label {
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-right: 8px;
}

.related-section {
  max-width: var(--col);
  margin: 48px auto 0;
}

/* Post body content styles */
.post-content h2 { font-family: var(--serif); font-size: 24px; font-weight: 700; margin: 36px 0 16px; }
.post-content h3 { font-family: var(--serif); font-size: 20px; font-weight: 600; margin: 28px 0 12px; }
.post-content p { margin-bottom: 20px; }
.post-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.post-content blockquote { border-left: 3px solid var(--accent); padding-left: 20px; margin: 28px 0; font-style: italic; color: var(--ink-2); }
.post-content ul, .post-content ol { padding-left: 24px; margin-bottom: 20px; }
.post-content li { margin-bottom: 6px; }
.post-content img { max-width: 100%; height: auto; display: block; margin: 24px 0; }
.post-content figure { margin: 28px 0; }
.post-content figcaption { font-family: var(--mono); font-size: 11px; color: var(--ink-4); margin-top: 8px; }

/* FAQ block rendered from pipeline */
.faq-block { background: var(--paper-2); border: 1px solid var(--rule); padding: 28px; margin: 36px 0; }
.faq-block h2 { font-family: var(--serif); font-size: 22px; font-weight: 700; margin-bottom: 20px; }
.faq-block h3 { font-family: var(--serif); font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.faq-block p { font-size: 15px; color: var(--ink-2); margin-bottom: 18px; }

/* Pipeline-injected FAQ uses section + itemscope; apply faq-block styles */
.post-content section[itemtype="https://schema.org/FAQPage"] {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  padding: 28px;
  margin: 36px 0;
}
.post-content section[itemtype="https://schema.org/FAQPage"] h2 {
  font-family: var(--serif); font-size: 22px; font-weight: 700; margin-bottom: 20px;
}
.post-content section[itemtype="https://schema.org/FAQPage"] h3 {
  font-family: var(--serif); font-size: 16px; font-weight: 600; margin-bottom: 6px;
}
.post-content section[itemtype="https://schema.org/FAQPage"] p {
  font-size: 15px; color: var(--ink-2); margin-bottom: 18px;
}

/* Article verified footer */
.article-verified { border-top: 1px solid var(--rule); margin-top: 40px; padding-top: 12px; }
.article-verified small { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; color: var(--ink-4); }

/* Living page badge */
.living-badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; background: var(--paper-2); border: 1px solid var(--rule); padding: 5px 12px; margin-bottom: 20px; color: var(--ink-3); }
.living-badge-dot { width: 6px; height: 6px; background: #4caf7d; border-radius: 50%; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }

/* ─── KOENIG EDITOR (required by Ghost validator) ────────── */
.kg-width-wide {
  margin-left: calc(50% - 50vw + 24px);
  margin-right: calc(50% - 50vw + 24px);
  max-width: min(calc(100vw - 48px), 1100px);
}

.kg-width-full {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: 100vw;
}

.kg-image { max-width: 100%; height: auto; display: block; }
.kg-image-card { margin: 28px 0; }
.kg-image-card figcaption { font-family: var(--mono); font-size: 11px; color: var(--ink-4); margin-top: 8px; text-align: center; }
.kg-gallery-container { display: flex; flex-direction: column; margin: 28px 0; }
.kg-gallery-row { display: flex; gap: 8px; }
.kg-gallery-image img { max-width: 100%; height: 100%; object-fit: cover; display: block; }
.kg-video-card { margin: 28px 0; }
.kg-video-card video { max-width: 100%; }
.kg-audio-card { margin: 28px 0; }
.kg-embed-card { margin: 28px 0; }
.kg-file-card { border: 1px solid var(--rule); padding: 16px; margin: 24px 0; display: flex; align-items: center; gap: 16px; text-decoration: none; color: var(--ink); }
.kg-file-card-title { font-family: var(--serif); font-weight: 600; }
.kg-file-card-caption { font-family: var(--mono); font-size: 11px; color: var(--ink-4); }
.kg-callout-card { border-left: 4px solid var(--accent); background: var(--paper-2); padding: 16px 20px; margin: 24px 0; display: flex; gap: 12px; }
.kg-callout-text { font-size: 15px; color: var(--ink-2); }
.kg-toggle-card { border: 1px solid var(--rule); margin: 24px 0; }
.kg-toggle-heading { padding: 16px; cursor: pointer; font-family: var(--serif); font-weight: 600; }
.kg-toggle-content { padding: 0 16px 16px; }
.kg-button-card { margin: 24px 0; text-align: center; }
.kg-btn { display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; padding: 12px 28px; background: var(--ink); color: var(--paper); text-decoration: none; }
.kg-btn:hover { background: var(--accent); }

/* ─── PAGINATION ─────────────────────────────────────────── */
.pagination {
  display: flex;
  justify-content: space-between;
  padding: 24px 0;
  border-top: 1px solid var(--rule);
  margin-top: 16px;
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .lead-grid { grid-template-columns: 1fr; }
  .lead-sidebar { border-left: none; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 24px; flex-direction: row; flex-wrap: wrap; gap: 0; }
  .sidebar-story { width: 50%; padding-right: 16px; }
  .story-grid { grid-template-columns: repeat(2, 1fr); }
  .lower-grid { grid-template-columns: 1fr; }
  .data-row { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .masthead { grid-template-columns: 1fr; text-align: center; }
  .masthead-meta-left, .masthead-meta-right { display: none; }
}

@media (max-width: 600px) {
  .story-grid { grid-template-columns: 1fr; }
  .sidebar-story { width: 100%; }
  .data-row { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .topics-row { gap: 6px; }
  .post-headline { font-size: 28px; }
}

/* ═══════════════════════════════════════════════════════════
   LIVING PAGES — homepage grid, sidebar, and page body styles
   ═══════════════════════════════════════════════════════════ */

/* ─── Living badge (top of each living page body) ───────── */
.living-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 20px;
}

.living-badge-dot {
  width: 7px;
  height: 7px;
  background: #4caf7d;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.55; transform: scale(0.85); }
}

/* ─── Homepage living-pages grid ────────────────────────── */
.living-pages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-bottom: 32px;
}

.living-card {
  background: var(--paper);
  padding: 20px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background 0.15s;
  position: relative;
  min-height: 140px;
}

.living-card:hover { background: var(--paper-2); }

.living-card-pulse {
  width: 7px;
  height: 7px;
  background: #4caf7d;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 2.5s ease-in-out infinite;
}

.living-card-topic {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

.living-card-summary {
  font-size: 13px;
  font-weight: 300;
  color: var(--ink-3);
  line-height: 1.55;
  flex: 1;
}

.living-card-meta {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--ink-4);
}

.living-card.skeleton {
  background: var(--paper-2);
  min-height: 140px;
  pointer-events: none;
}

@media (max-width: 768px) {
  .living-pages-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .living-pages-grid { grid-template-columns: 1fr; }
}

/* ─── Living page body — summary paragraph ──────────────── */
.living-summary {
  font-size: 19px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--ink-2);
  font-style: italic;
  border-left: 3px solid var(--accent);
  padding-left: 20px;
  margin: 24px 0 32px;
}

/* ─── Key facts block ────────────────────────────────────── */
.key-facts-block {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  padding: 24px 28px;
  margin: 28px 0;
}

.key-facts-block h2 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--ink);
}

.key-facts-block ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.key-facts-block li {
  font-size: 14px;
  color: var(--ink-2);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}

.key-facts-block li::before {
  content: '→';
  font-family: var(--mono);
  color: var(--accent);
  position: absolute;
  left: 0;
  font-size: 11px;
  top: 2px;
}

/* ─── Data highlights block ──────────────────────────────── */
.data-highlights-block {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  padding: 16px 20px;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.data-highlight-item {
  font-size: 13px;
  color: var(--ink-2);
}

.dhi-key {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-4);
}

.dhi-delta { color: #4caf7d; font-size: 12px; }
.dhi-source { color: var(--ink-4); }

/* ─── Timeline ───────────────────────────────────────────── */
.living-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 20px 0 32px;
  border-left: 2px solid var(--rule);
  padding-left: 24px;
}

.timeline-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  position: relative;
}

.timeline-item::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rule);
  position: absolute;
  left: -29px;
  top: 18px;
}

.timeline-item.major::before { background: var(--accent); }

.timeline-item-date {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 4px;
}

.timeline-item-headline a {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

.timeline-item-headline a:hover { color: var(--accent); }

/* ─── Related articles grid ──────────────────────────────── */
.related-articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 20px 0 32px;
}

.related-article-card {
  border-top: 2px solid var(--rule);
  padding-top: 12px;
  transition: border-color 0.15s;
}

.related-article-card:hover { border-top-color: var(--accent); }

.related-article-card a {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.3;
  display: block;
}

.related-article-card a:hover { color: var(--accent); }

.related-article-date {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--ink-4);
  margin-top: 6px;
}

@media (max-width: 768px) {
  .related-articles-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .related-articles-grid { grid-template-columns: 1fr; }
}

/* ─── ARTICLE SOURCES ────────────────────────────────────── */
.article-sources {
  border-top: 1px solid var(--rule);
  margin-top: 36px;
  padding-top: 16px;
}
.article-sources h3 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 10px;
}
.article-sources ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.article-sources li {
  font-size: 13px;
  color: var(--ink-3);
}
.article-sources a {
  color: var(--ink-3);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.article-sources a:hover { color: var(--accent); }

/* ─── RELATED COVERAGE ───────────────────────────────────── */
.related-coverage {
  border-top: 1px solid var(--rule);
  margin-top: 40px;
  padding-top: 20px;
}
.related-coverage h3 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 16px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.related-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  padding: 14px;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  transition: border-color 0.2s ease;
}
.related-item:hover { border-color: var(--accent); }
.related-cat {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.related-headline {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}
.related-date {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-4);
  margin-top: auto;
}
@media (max-width: 768px) {
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .related-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   HOMEPAGE REDESIGN — append-only additions
   Do not modify any rules above this line.
   ═══════════════════════════════════════════════════════════ */

/* ─── CATEGORY COLOR VARIABLES ───────────────────────────── */
:root {
  --cat-city-hall: #1a5c8a;
  --cat-schools: #2d7a4f;
  --cat-development: #854f0b;
  --cat-business: #533089;
  --cat-public-safety: #8a1a1a;
  --cat-data: #1a5c6b;
}

/* ─── LEAD STORY ENHANCEMENTS ────────────────────────────── */
.lead-story {
  border-left: 3px solid var(--accent);
  padding-left: 24px;
}

.lead-headline {
  font-size: clamp(36px, 4.5vw, 52px);
  line-height: 1.1;
}

.lead-deck {
  font-size: 18px;
}

.lead-category {
  font-size: 11px;
  letter-spacing: 0.2em;
}

/* ─── SIDEBAR STORY HIERARCHY ────────────────────────────── */
.sidebar-story:first-child {
  border-left: 2px solid var(--accent);
  padding-left: 12px;
}

.sidebar-story:first-child .sidebar-headline {
  font-size: 17px;
  font-weight: 700;
}

.sidebar-story:not(:first-child) .sidebar-headline {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
}

.sidebar-time {
  font-size: 10px;
  font-family: var(--mono);
  letter-spacing: 0.08em;
  color: var(--ink-3);
  margin-top: 5px;
}

/* ─── CATEGORY DOT ON SIDEBAR STORIES ───────────────────── */
.sidebar-category {
  display: flex;
  align-items: center;
  gap: 5px;
}

.cat-dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ink-4);
  flex-shrink: 0;
}

/* City Hall variants */
.sidebar-story[data-category="city-hall"] .cat-dot,
.sidebar-story[data-category="city-government"] .cat-dot,
.sidebar-story[data-category="city-council"] .cat-dot { background: var(--cat-city-hall); }

/* Schools variants */
.sidebar-story[data-category="schools"] .cat-dot,
.sidebar-story[data-category="anna-isd"] .cat-dot,
.sidebar-story[data-category="education"] .cat-dot { background: var(--cat-schools); }

/* Development variants */
.sidebar-story[data-category="development"] .cat-dot,
.sidebar-story[data-category="building-permits"] .cat-dot,
.sidebar-story[data-category="planning"] .cat-dot { background: var(--cat-development); }

/* Business variants */
.sidebar-story[data-category="business"] .cat-dot,
.sidebar-story[data-category="new-businesses"] .cat-dot { background: var(--cat-business); }

/* Public Safety variants */
.sidebar-story[data-category="public-safety"] .cat-dot,
.sidebar-story[data-category="anna-police-department"] .cat-dot,
.sidebar-story[data-category="emergency"] .cat-dot { background: var(--cat-public-safety); }

/* Data variants */
.sidebar-story[data-category="data"] .cat-dot,
.sidebar-story[data-category="permits-data"] .cat-dot,
.sidebar-story[data-category="property-values"] .cat-dot { background: var(--cat-data); }

/* ─── CATEGORY COLOR SYSTEM — story cards ────────────────── */
/* City Hall */
.story-card[data-category="city-hall"] .story-card-cat,
.story-card[data-category="city-government"] .story-card-cat,
.story-card[data-category="city-council"] .story-card-cat,
.more-story[data-category="city-hall"] .more-story-cat,
.more-story[data-category="city-government"] .more-story-cat,
.more-story[data-category="city-council"] .more-story-cat {
  border-left: 2px solid var(--cat-city-hall);
  padding-left: 8px;
  color: var(--cat-city-hall);
}

/* Schools */
.story-card[data-category="schools"] .story-card-cat,
.story-card[data-category="anna-isd"] .story-card-cat,
.story-card[data-category="education"] .story-card-cat,
.more-story[data-category="schools"] .more-story-cat,
.more-story[data-category="anna-isd"] .more-story-cat,
.more-story[data-category="education"] .more-story-cat {
  border-left: 2px solid var(--cat-schools);
  padding-left: 8px;
  color: var(--cat-schools);
}

/* Development */
.story-card[data-category="development"] .story-card-cat,
.story-card[data-category="building-permits"] .story-card-cat,
.story-card[data-category="planning"] .story-card-cat,
.more-story[data-category="development"] .more-story-cat,
.more-story[data-category="building-permits"] .more-story-cat,
.more-story[data-category="planning"] .more-story-cat {
  border-left: 2px solid var(--cat-development);
  padding-left: 8px;
  color: var(--cat-development);
}

/* Business */
.story-card[data-category="business"] .story-card-cat,
.story-card[data-category="new-businesses"] .story-card-cat,
.more-story[data-category="business"] .more-story-cat,
.more-story[data-category="new-businesses"] .more-story-cat {
  border-left: 2px solid var(--cat-business);
  padding-left: 8px;
  color: var(--cat-business);
}

/* Public Safety */
.story-card[data-category="public-safety"] .story-card-cat,
.story-card[data-category="anna-police-department"] .story-card-cat,
.story-card[data-category="emergency"] .story-card-cat,
.more-story[data-category="public-safety"] .more-story-cat,
.more-story[data-category="anna-police-department"] .more-story-cat,
.more-story[data-category="emergency"] .more-story-cat {
  border-left: 2px solid var(--cat-public-safety);
  padding-left: 8px;
  color: var(--cat-public-safety);
}

/* Data */
.story-card[data-category="data"] .story-card-cat,
.story-card[data-category="permits-data"] .story-card-cat,
.story-card[data-category="property-values"] .story-card-cat,
.more-story[data-category="data"] .more-story-cat,
.more-story[data-category="permits-data"] .more-story-cat,
.more-story[data-category="property-values"] .more-story-cat {
  border-left: 2px solid var(--cat-data);
  padding-left: 8px;
  color: var(--cat-data);
}

/* ─── NAV HOVER UNDERLINE ANIMATION ─────────────────────── */
nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.2s ease;
  transform-origin: left;
}
nav a:hover::after { transform: scaleX(1); }
nav a.nav-current::after { transform: scaleX(1); }

/* ─── STORY GRID BREATHING ROOM ──────────────────────────── */
.story-grid {
  gap: 32px;
}

.story-card {
  padding: 24px 0 24px;
  min-height: 160px;
}

/* ─── MORE STORIES ENHANCEMENTS ──────────────────────────── */
.more-story-headline {
  font-size: 18px;
}

.more-story {
  transition: all 0.15s;
  border-bottom-color: var(--ink-4);
}

.more-story:hover {
  background: var(--paper-2);
  padding-left: 8px;
  margin-left: -8px;
}

/* ─── UPCOMING EVENTS STRIP ──────────────────────────────── */
.upcoming-strip {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--accent);
  padding: 12px 20px;
  margin-bottom: 28px;
  overflow-x: auto;
  scrollbar-width: none;
}
.upcoming-strip::-webkit-scrollbar { display: none; }

.upcoming-label {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-right: 20px;
  flex-shrink: 0;
  padding-right: 20px;
  border-right: 1px solid var(--rule);
}

.upcoming-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
  border-right: 1px solid var(--rule);
  flex-shrink: 0;
  text-decoration: none;
}
.upcoming-item:last-child { border-right: none; }

.upcoming-date {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
  white-space: nowrap;
}

.upcoming-name {
  font-family: var(--body);
  font-size: 13px;
  color: var(--ink-2);
  white-space: nowrap;
  transition: color 0.15s;
}
.upcoming-item:hover .upcoming-name { color: var(--accent); }

/* ─── SECTION NAV PILLS ──────────────────────────────────── */
.section-nav-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--rule);
}

.section-nav-pill {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  background: transparent;
  border: 1px solid var(--rule);
  padding: 7px 16px;
  text-decoration: none;
  transition: all 0.15s;
}

.section-nav-pill:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

/* ─── TOPIC EXPLORER GRID ────────────────────────────────── */
.topic-explorer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-bottom: 32px;
}

.topic-card {
  background: var(--paper);
  padding: 20px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 2px solid transparent;
  transition: all 0.15s;
  min-height: 140px;
}

.topic-card:hover {
  background: var(--paper-2);
  border-top-color: var(--accent);
}

.topic-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topic-pulse {
  width: 6px; height: 6px;
  background: #4caf7d;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 2.5s ease-in-out infinite;
}

.topic-card-name {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

.topic-card-summary {
  font-size: 12px;
  font-weight: 300;
  color: var(--ink-3);
  line-height: 1.5;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.topic-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}

.topic-card-count {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--ink-4);
}

.topic-card-updated {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--ink-4);
}

.topic-card.skeleton {
  background: var(--paper-2);
  pointer-events: none;
}

@media (max-width: 768px) {
  .topic-explorer { grid-template-columns: 1fr 1fr; }
  .lead-story { border-left: none; padding-left: 0; }
}
@media (max-width: 500px) {
  .topic-explorer { grid-template-columns: 1fr; }
}

/* ─── ABOUT WIDGET 2×2 GRID ─────────────────────────────── */
.about-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-top: 14px;
}

.about-stat-card {
  background: var(--paper);
  padding: 14px;
}

.about-stat-num {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 3px;
}

.about-stat-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-4);
}

.about-mission {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-3);
  margin-bottom: 0;
}

/* ─── PEOPLE & PLACES WIDGET ─────────────────────────────── */
.people-place-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
}
.people-place-item:last-child { border-bottom: none; }

.people-place-name {
  font-family: var(--body);
  font-size: 13px;
  color: var(--ink-2);
  transition: color 0.15s;
}
.people-place-item:hover .people-place-name { color: var(--accent); }

.people-place-type {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--ink-4);
  text-transform: uppercase;
}

/* ─── TOPIC EXPLORER GRID SPACER (prevents background bleed in last row) ── */
.topic-card-spacer {
  background: var(--paper);
}
