/* ============================================================
   site.css — bestaivoiceover.com additions on top of Template 03
   (Gazette). The template sheet is kept verbatim; this file adds
   the article-level pieces the ranking, method, and blog pages need.
   ============================================================ */

/* ---------- article header: standfirst under the headline ---------- */
.article-head .lede {
  font-family: var(--font-head);
  font-size: 1.18rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: 64ch;
  margin: 0 auto 12px;
}
.article-head .byline a { color: var(--burgundy); }

/* ---------- in-page note ---------- */
.prose .editor-note strong { color: var(--burgundy); }
.prose .editor-note a { font-weight: 600; }

/* ---------- MDX tables: same rules as the template scorecard ---------- */
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 26px 0;
  font-variant-numeric: tabular-nums;
}
.prose th,
.prose td {
  border: 1px solid var(--line);
  padding: 10px 13px;
  text-align: left;
  vertical-align: top;
  background: var(--paper-raised);
}
.prose th {
  background: var(--ink);
  color: var(--paper);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.prose td:first-child { font-weight: 600; }
.prose table a { font-weight: 600; }

/* ---------- MDX body: lists, subheads, quotes, code ---------- */
.prose h3 {
  font-size: 1.22rem;
  margin: 30px 0 10px;
}
.prose ul,
.prose ol {
  margin: 0 0 18px 24px;
  color: var(--muted);
}
.prose li { margin-bottom: 7px; }
.prose li::marker { color: var(--gold); }
.prose strong { color: var(--ink); }
.prose blockquote {
  border-left: 4px solid var(--gold);
  background: var(--paper-raised);
  padding: 16px 20px;
  margin: 26px 0;
  color: var(--muted);
}
.prose blockquote p:last-child { margin-bottom: 0; }
.prose code {
  font-size: 0.88em;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  padding: 1px 5px;
}

/* ---------- FAQ ---------- */
.faq-block { margin-top: 40px; border-top: 1px solid var(--line); padding-top: 10px; }
.faq-item { margin-bottom: 20px; }
.faq-item h3 {
  font-size: 1.1rem;
  margin: 18px 0 6px;
}
.faq-item p { color: var(--muted); margin-bottom: 0; }

/* ---------- blog index ---------- */
.post-list { padding: 18px 0 40px; }
.post-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.post-card .post-date {
  font-family: var(--font-head);
  color: var(--burgundy);
  font-size: 0.95rem;
  line-height: 1.3;
  border-right: 1px solid var(--line);
  padding-right: 14px;
}
.post-card h3 { font-size: 1.35rem; margin-bottom: 6px; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a:hover { color: var(--burgundy); }
.post-card p { color: var(--muted); max-width: 68ch; }
.post-card .post-meta {
  margin-top: 8px;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
}
@media (max-width: 640px) {
  .post-card { grid-template-columns: 1fr; gap: 6px; }
  .post-card .post-date { border-right: 0; padding-right: 0; }
}

/* Mobile: keep wide scorecards inside their own scroll container */
@media (max-width: 640px) {
  .prose { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
