/* blog.css — MINIMAL article-prose layer for Linkedify blog pages.
   Load AFTER /css/vs-comparison.css (articles) or /css/vs-hub.css (hub).
   Every color is a var(--…) from the vs :root. Dark-only. No hex, no light values.
   Scope is limited to: .article-body prose, .toc, .answer-box, .byline, figure, .post-meta,
   the calculator, and the a.feature-card reset. Nothing else belongs here. */

/* constrained reading column */
.article-body { max-width: 760px; margin: 0 auto; }

/* prose rhythm — colors inherit from the vs :root */
.article-body h2 { font-size: 1.6rem; font-weight: 700; color: var(--text); margin: 2.5rem 0 1rem; letter-spacing: -0.01em; }
.article-body h3 { font-size: 1.25rem; font-weight: 600; color: var(--text); margin: 2rem 0 0.75rem; }
.article-body p  { color: var(--text-secondary); margin-bottom: 1.25rem; line-height: 1.8; }
.article-body ul, .article-body ol { margin: 0 0 1.25rem 1.25rem; color: var(--text-secondary); }
.article-body li { margin-bottom: 0.5rem; line-height: 1.7; }
.article-body a  { color: var(--primary-light); text-decoration: underline; text-underline-offset: 2px; }
.article-body a:hover { color: var(--primary); }
.article-body strong { color: var(--text); }
.article-body code { font-family: var(--font-mono, monospace); font-size: 0.9em; background: var(--surface); padding: 0.15em 0.4em; border-radius: 6px; color: var(--primary-light); }
.article-body img { max-width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--border); }
.article-body :where(h2, h3) { scroll-margin-top: 90px; }

/* blockquote / pull-quote */
.article-body blockquote {
  border-left: 3px solid var(--primary);
  background: var(--surface);
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  margin: 0 0 1.5rem;
  color: var(--text);
  font-style: italic;
}

/* answer / callout box (great for AI-citation snippets) */
.answer-box { background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--primary); border-radius: 12px; padding: 20px 24px; margin: 0 0 1.5rem; }
.answer-box p, .answer-box li { color: var(--text-secondary); }
.answer-box strong { color: var(--primary-light); }

/* table of contents */
.toc { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 20px 24px; margin-bottom: 2.5rem; }
.toc h2 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin: 0 0 12px; }
.toc ul, .toc ol { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 28px; }
.toc li { margin-bottom: 8px; }
.toc a { color: var(--text-secondary); text-decoration: none; font-size: 0.95rem; }
.toc a:hover { color: var(--primary-light); }
@media (max-width: 640px) { .toc ul, .toc ol { columns: 1; } }

/* byline */
.byline { display: flex; align-items: center; gap: 12px; color: var(--text-muted); font-size: 0.9rem; margin-top: 16px; justify-content: center; flex-wrap: wrap; }
.byline .byline-sep { opacity: 0.4; }

/* figure / diagram */
.article-body figure { margin: 2rem 0; text-align: center; }
.article-body figure svg { background: #fff; border-radius: 12px; padding: 12px; max-width: 100%; height: auto; }
.article-body figcaption { color: var(--text-muted); font-size: 0.85rem; text-align: center; margin-top: 10px; }

/* blog hub post-card meta (on top of vs-hub .comparison-card) */
.post-meta { color: var(--text-muted); font-size: 0.8rem; margin-bottom: 12px; }

/* related-guides cards rendered as links */
a.feature-card { text-decoration: none; color: inherit; display: block; }

/* interactive calculator (limits article) — uses vs tokens */
.calc { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 26px; margin: 2rem 0; }
.calc h3 { margin-top: 0; color: var(--text); }
.calc label { display: block; font-weight: 600; color: var(--text); margin: 16px 0 6px; }
.calc select { width: 100%; padding: 11px; border: 1px solid var(--border); border-radius: 8px; font-size: 1rem; background: var(--surface-2, var(--bg)); color: var(--text); }
.calc .result { margin-top: 20px; padding: 20px; border-radius: 12px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: #fff; }
.calc .result strong { font-size: 1.3rem; color: #fff; }
