/* ============================================================
   Today in Cars — Post page (/p/<DATE>) + Archive
   Depends on tokens.css + home.css (masthead/footer/container chrome).
   Renders one verbatim issue in the site design system.
   ============================================================ */

.post { padding: var(--sp-7) 0 var(--sp-9); }
.post-narrow { max-width: var(--col-body); }

/* ---------- Head ---------- */
.post-head {
  border-bottom: var(--bw-rule) solid var(--ink);
  padding-bottom: var(--sp-5);
  margin-bottom: var(--sp-6);
}
.post-head .eyebrow {
  display: inline-block;
  margin-bottom: var(--sp-3);
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  color: var(--ash-500);
}
.post-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.04;
  letter-spacing: var(--ls-tight);
  color: var(--ink);
  margin: 0;
}
.post-preview {
  font-family: var(--font-body);
  font-size: var(--fs-21);
  line-height: 1.4;
  color: var(--ash-700);
  margin: var(--sp-4) 0 0;
}

/* ---------- Sections ---------- */
.post-section { margin: 0 0 var(--sp-7); }
.post-section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--fs-24);
  letter-spacing: var(--ls-tight);
  color: var(--ink);
  margin: 0 0 var(--sp-4);
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid var(--ash-200);
}
.post-emoji { font-size: var(--fs-21); }

.post-story { margin: 0 0 var(--sp-5); }
.post-story h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-21);
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 6px;
}
.post-story h3 a { color: var(--ink); }
.post-story h3 a:hover {
  color: var(--signal);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.post-story.quick h3 { font-size: var(--fs-18); }
.post-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ash-500);
  margin: 0 0 6px;
}
.post-summary {
  font-family: var(--font-body);
  font-size: var(--fs-18);
  line-height: var(--lh-body);
  color: var(--ash-700);
  margin: 0;
}

/* ---------- Inline CTA ---------- */
.post-cta {
  margin-top: var(--sp-7);
  padding: var(--sp-6);
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r-1);
}
.post-cta h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--fs-24);
  letter-spacing: var(--ls-tight);
  margin: 0 0 var(--sp-4);
}
.post-cta h3 .amp { color: var(--signal); font-style: italic; }

/* ---------- Archive list ---------- */
.arch-list { list-style: none; margin: 0; padding: 0; }
.arch-item { border-bottom: 1px solid var(--ash-200); }
.arch-item a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: var(--sp-4) 0;
  color: var(--ink);
}
.arch-item a:hover .arch-subject { color: var(--signal); }
.arch-date {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ash-500);
}
.arch-subject {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-18);
  line-height: 1.3;
}

/* ---------- Subscribe-state feedback (shared with subscribe.js) ---------- */
.form-msg {
  font-family: var(--font-body);
  font-size: var(--fs-14);
  margin: var(--sp-2) 0 0;
}
.form-msg.error { color: var(--signal); }

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .post-title { font-size: 30px; }
}
