/* page-blog.css — rules that belong to blog.html and the blog-*.html posts.
   Posts reuse the academy lesson layout (page-academy.css loads first), so this file only adds
   what a post has and a lesson does not.

   What is in this file:
   1. inline links and citation markers
   2. FAQ questions
   3. sources list
   4. closing call to action

   Tokens only: no hardcoded colours, radius 0 or 4, one easing token. */

/* ── 1. Links and citations ────────────────────────────────────────────────── */
.sy-post .vy-leaf-stack a,
.sy-post-sources a {
  color: var(--vy-text-primary);
  text-decoration: underline;
  text-decoration-color: var(--color-line);
  text-underline-offset: 3px;
  transition: text-decoration-color var(--vy-dur-micro) var(--vy-ease);
}
.sy-post .vy-leaf-stack a:hover,
.sy-post .vy-leaf-stack a:focus-visible,
.sy-post-sources a:hover,
.sy-post-sources a:focus-visible { text-decoration-color: currentColor; }

.sy-post sup { line-height: 0; }
.sy-post sup a {
  margin-left: 1px;
  font-family: var(--vy-font-mono);
  font-size: 0.7em;
  color: var(--vy-text-secondary);
  text-decoration: none;
}
.sy-post sup a:hover,
.sy-post sup a:focus-visible { color: var(--vy-text-primary); }
.sy-post sup a::before { content: "["; }
.sy-post sup a::after { content: "]"; }

/* ── 2. FAQ ────────────────────────────────────────────────────────────────── */
.sy-post-q { margin-top: clamp(28px, 3vw, 40px); }
.sy-post-q:first-of-type { margin-top: clamp(32px, 4vw, 52px); }

/* ── 3. Sources ────────────────────────────────────────────────────────────── */
.sy-post-sources {
  margin: 0;
  padding: 0 0 0 1.6em;
  max-width: 72ch;
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--vy-text-secondary);
}
.sy-post-sources li { scroll-margin-top: 120px; }
.sy-post-sources li + li { margin-top: 10px; }
.sy-post-sources li:target { color: var(--vy-text-primary); }

/* ── 4. Closing call to action ─────────────────────────────────────────────── */
.sy-post-next .vy-btn { margin-top: clamp(24px, 3vw, 36px); }
