/* ThriveColumbus — deliberately plain. Drudge's basic look is a feature. */
:root {
  --ink: #1a1a1a;
  --muted: #6b6b6b;
  --link: #1a3faa;
  --rule: #ddd;
  --accent: #b30000;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  background: #fff;
}
main, .masthead-inner, .meta-row, footer { max-width: 720px; margin: 0 auto; padding: 0 16px; }

/* Masthead */
.masthead { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 3px double var(--ink); padding: 14px 0 8px; transition: padding 0.18s ease; }
.masthead-inner { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.wordmark { font-weight: 800; font-size: 1.5rem; letter-spacing: -0.5px; color: var(--ink); text-decoration: none; transition: font-size 0.18s ease; }
.tagline { color: var(--muted); font-size: 0.9rem }
/* Compact state (added by app.js on scroll): slim sticky bar. */
.masthead.compact { padding: 6px 0; }
.masthead.compact .tagline { display: none; }
.masthead.compact .wordmark { font-size: 1.15rem; }
.masthead.compact .meta-row { margin-top: 2px; }
.meta-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.dateline { color: var(--muted); font-size: 0.8rem; white-space: nowrap; }
.meta-sep { display: none; color: var(--muted); }
@media (max-width: 640px) {
  .masthead { padding: 8px 0 6px; }
  .wordmark { font-size: 1.25rem; }
  .tagline { font-size: 0.82rem; }
  .meta-row { margin-top: 4px; gap: 6px; }
  .dateline, .wx { font-size: 0.75rem; }
  /* One-line meta row on phones: "Updated 10/20/2026 · 2:13 PM ET | ☀️ 54°F · H 69° · L 39°"
     — the "Weather" word is dropped (separator carries the split). */
  .meta-sep { display: inline; }
  .wx { margin-left: 0; }
  .wx-label { display: none; }
}
.sample-badge {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 1px;
  color: #fff; background: var(--accent); border-radius: 3px; padding: 2px 6px;
}
.wx { color: var(--muted); font-size: 0.8rem; white-space: nowrap; margin-left: auto; }

/* Hero */
.hero { border-bottom: 1px solid var(--rule); padding: 12px 0 4px; }
.edition-kicker { text-align: center; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; color: var(--muted); margin: 14px 0 2px; }
.wx-line { text-align: center; font-size: 0.95rem; color: var(--ink); margin: 4px 0 12px; }
.paywall { color: var(--muted); font-size: 0.85em; margin-left: 0.1em; cursor: help; }
.section-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--accent); margin: 0 0 8px; }
.hero-story { margin: 0 0 14px; }
.hero-story h3 { margin: 0 0 2px; font-size: 1.25rem; line-height: 1.3; }
.hero-story h3 a { color: var(--ink); }
.dek { margin: 0; color: #333; font-size: 0.95rem; }
.byline { margin: 2px 0 0; color: var(--muted); font-size: 0.8rem; }

/* Category sections */
.cat { border-bottom: 1px solid var(--rule); }
.cat-head { margin: 0; }
.cat-toggle {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  background: none; border: 0; padding: 12px 0; cursor: pointer;
  font-size: 1.05rem; font-weight: 700; color: var(--ink); text-align: left;
  font-family: inherit;
}
.cat-caret { color: var(--muted); font-size: 0.85rem; transition: transform 0.15s; }
.cat-toggle[aria-expanded="false"] .cat-caret { transform: rotate(-90deg); }
.cat-body { padding-bottom: 6px; }
.subhead { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin: 10px 0 4px; }

.linklist { list-style: none; margin: 0; padding: 0; }
.linklist li { padding: 7px 0; border-top: 1px dotted var(--rule); }
.linklist li:first-child { border-top: 0; }
.linklist a { color: var(--link); text-decoration: none; line-height: 1.35; }
.linklist a:hover { text-decoration: underline; }
/* Source sits on its own line under the (fully wrapped) headline —
   Mike's Oct 21 reversal of single-line rows: truncated titles were
   unreadable on mobile. $ rides at the end of the source line. */
.src { display: block; color: var(--muted); font-size: 0.8rem; margin-top: 2px; }
.linklist.full li { padding: 9px 0; }

.tail { margin: 8px 0 12px; font-size: 0.9rem; }
.tail a { color: var(--muted); }

/* Category / stub pages */
.crumbs { margin: 14px 0 4px; font-size: 0.85rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.page-title { margin: 4px 0; font-size: 1.6rem; letter-spacing: -0.5px; }
.page-blurb { color: var(--muted); margin: 0 0 14px; }
.partners { border: 1px solid var(--rule); background: #fafafa; padding: 12px 14px; margin: 0 0 18px; }
.partners h2 { margin: 0 0 6px; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; }
.empty-state { margin: 0; color: var(--muted); font-size: 0.9rem; font-style: italic; }

/* In-feed ad slots — tasteful placeholders; become paid pin inventory later */
.infeed-ad {
  border: 1px dashed #bbb; background: #fafafa;
  margin: 14px 0; padding: 12px 14px; text-align: center;
}
.infeed-ad a { color: var(--muted); text-decoration: none; font-size: 0.85rem; }
.infeed-ad a:hover { text-decoration: underline; }
.infeed-cta { color: var(--link); }

/* Featured placement: the premium slot (front page after City News,
   category pages at top). Solid border + accent edge vs. the dashed
   in-feed placeholders, so the rate card reads at a glance. */
.featured-ad {
  border: 1px solid var(--rule); border-left: 3px solid var(--accent);
  background: #fff; margin: 16px 0; padding: 12px 14px; text-align: center;
}
.featured-ad .ad-label {
  display: block; font-size: 0.65rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 3px;
}
.featured-ad a { color: var(--ink); text-decoration: none; font-size: 0.95rem; font-weight: 600; }
.featured-ad a:hover { text-decoration: underline; }

/* Share rows */
.share-row { font-size: 0.8rem; color: var(--muted); margin: 4px 0 0; }
.share-row a { color: var(--muted); }
.share-label { margin-right: 2px; }
.footer-share { margin: 0 0 8px; }

/* Footer */
footer { border-top: 3px double var(--ink); margin-top: 20px; padding: 14px 16px 30px; }
.closer { font-weight: 700; font-size: 1.05rem; margin: 0 0 8px; }
.footer-links { margin: 0 0 8px; font-size: 0.9rem; }
.fineprint { margin: 0; color: var(--muted); font-size: 0.78rem; }

/* Archive UX (Mike, Oct 24, 2026): dated category pages + edition
   pages carry a house promo box, never paid-ad markup. The box reuses
   the dashed in-feed look but is labeled as a site promotion, so a
   reader never mistakes it for a paid pin. */
.house-promo {
  border: 1px dashed #bbb; background: #fafafa;
  margin: 14px 0; padding: 12px 14px; text-align: center;
}
.house-promo .ad-label {
  display: block; font-size: 0.65rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--muted); margin-bottom: 3px;
}
.house-promo a { color: var(--link); text-decoration: none; font-size: 0.95rem; font-weight: 600; }
.house-promo a:hover { text-decoration: underline; }

/* Prev/next navigation on dated category pages. */
.edition-nav { margin: 12px 0; font-size: 0.9rem; color: var(--muted); }
.edition-nav a { color: var(--link); text-decoration: none; }
.edition-nav a:hover { text-decoration: underline; }
.edition-nav-sep { margin: 0 6px; }

/* "Show all dates" / "Show all" toggles: plain <details>, no JS. */
.show-all { margin: 10px 0; }
.show-all summary { cursor: pointer; color: var(--link); font-size: 0.9rem; }
.show-all summary:hover { text-decoration: underline; }

/* Most-recent edition row on the Past Rundowns index. */
.edition-first { border: 1px solid var(--rule); padding: 12px 14px; margin: 12px 0 16px; }
.edition-first .edition-date { font-size: 1.1rem; font-weight: 700; margin: 0 0 8px; }
.edition-first .edition-date a { color: var(--ink); }
