/* Blog: index and article pages. Uses the tokens defined in site.css. */
.blog-index { padding-block: clamp(40px, 6vw, 72px); }
.post-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.post-list li { border-bottom: 1px solid var(--rule); }
.post-list a { display: flex; flex-direction: column; gap: 6px; padding-block: 22px; text-decoration: none; }
.post-list a:hover h3 { color: var(--accent); }
.post-list h3 { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 3.4vw, 34px); line-height: 1.05; }
.post-list p { color: var(--ink-2); max-width: 65ch; }
.empty { color: var(--ink-2); }

.post { padding-block: clamp(32px, 5vw, 56px) clamp(48px, 7vw, 88px); max-width: 760px; }
.back { font-family: var(--mono); font-size: 13px; text-decoration: none; color: var(--muted); }
.back:hover { color: var(--accent); }
.post-head { margin-top: 24px; padding-bottom: 22px; border-bottom: 2px solid var(--ink); display: flex; flex-direction: column; gap: 12px; }
.post-head .label { color: var(--accent); }
.post-head h1 { font-size: clamp(38px, 6vw, 60px); line-height: 1; }
.post-head .lede { font-size: 19px; color: var(--ink-2); }
.post-head .meta { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.prose { margin-top: 28px; font-size: 18px; line-height: 1.65; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-family: var(--display); font-weight: 700; font-size: 30px; line-height: 1.1; margin-top: 1.6em; }
.prose h3 { font-family: var(--body); font-weight: 600; font-size: 20px; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.4em; }
.prose a { color: var(--accent); }
.prose blockquote { margin: 1.4em 0; padding-left: 18px; border-left: 3px solid var(--accent); color: var(--ink-2); }
.prose img { max-width: 100%; height: auto; }
.prose table { border-collapse: collapse; width: 100%; font-size: 16px; display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--rule); padding: 8px 10px; text-align: left; }
.post-cta { margin-top: 48px; padding: 28px; background: var(--band); color: var(--on-band); display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.post-cta h2 { font-size: 32px; }
.post-cta p { opacity: 0.92; }
