/* Blog pages only. Tokens (colors, themes) come from style.css. */

.post-wrap { max-width: 720px; padding-top: 56px; padding-bottom: 72px; }
.post-back { margin: 0 0 28px; font-size: 14px; }
.post-back a { color: var(--ink-muted); text-decoration: none; }
.post-back a:hover { color: var(--accent); }

.post-header h1,
.blog-index h1 {
  font-family: Georgia, "Iowan Old Style", Palatino, serif;
  font-size: clamp(30px, 4.6vw, 42px);
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
  text-wrap: balance;
}
.post-meta { margin: 0 0 36px; color: var(--ink-faint); font-size: 14px; }

/* Long-form body */
.prose { font-size: 17.5px; line-height: 1.75; }
.prose > * { max-width: none; }
.prose p { margin: 0 0 1.25em; }
.prose h2, .prose h3 {
  font-family: Georgia, "Iowan Old Style", Palatino, serif;
  line-height: 1.25;
  margin: 2em 0 0.6em;
  text-wrap: balance;
}
.prose h2 { font-size: 26px; }
.prose h3 { font-size: 21px; }
.prose a { color: var(--accent); text-underline-offset: 3px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose ul, .prose ol { margin: 0 0 1.25em; padding-left: 1.4em; }
.prose li { margin-bottom: 0.4em; }
.prose blockquote {
  margin: 1.6em 0;
  padding: 0.2em 0 0.2em 1.2em;
  border-left: 3px solid var(--accent);
  color: var(--ink-muted);
}
.prose blockquote p:last-child { margin-bottom: 0; }
.prose img { max-width: 100%; height: auto; border-radius: 8px; margin: 1.5em 0; }
.prose hr { border: none; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: var(--surface-2);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}
.prose pre { overflow-x: auto; background: var(--surface-2); padding: 14px 16px; border-radius: 8px; }
.prose pre code { background: none; padding: 0; }
.prose table { display: block; overflow-x: auto; border-collapse: collapse; margin: 0 0 1.25em; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }

.post-author {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 15px;
}
.post-author p { margin: 0; max-width: none; }
.post-author strong { color: var(--ink); }

/* Index */
.blog-index .lede { margin-bottom: 40px; }
.blog-index .empty { color: var(--ink-muted); }
.post-list { list-style: none; margin: 0; padding: 0; }
.post-list li { padding: 26px 0; border-top: 1px solid var(--line); }
.post-list li:last-child { border-bottom: 1px solid var(--line); }
.post-list h2 { font-size: 24px; margin: 4px 0 6px; line-height: 1.25; }
.post-list h2 a { color: var(--ink); text-decoration: none; }
.post-list h2 a:hover { color: var(--accent); }
.post-list .post-meta { margin: 0 0 8px; }
.post-list p { margin: 0; color: var(--ink-muted); }
.post-list .eyebrow { margin: 0; }
