/* Blog (Phase 2 working layout; built from the design tokens in site.css). */
.post-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;justify-content:center;margin-top:18px;font:500 14px/1.4 var(--f-body);color:var(--muted)}
.post-author{display:inline-flex;align-items:center;gap:8px}
.post-author img{width:32px;height:32px;border-radius:50%;object-fit:cover}
.post-cover{max-width:960px;margin:0 auto 8px;padding-inline:24px}
.post-cover img{width:100%;height:auto;border-radius:20px;box-shadow:var(--shadow-md)}
.post-card img{width:100%;height:auto;border-radius:14px;aspect-ratio:16/9;object-fit:cover}
.post-cat{font:600 12px/1 var(--f-body);letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
.blog-empty{text-align:center;color:var(--muted);padding:24px 0 8px}
.post-body .prose h3{font-size:21px;letter-spacing:-.02em;margin:32px 0 10px}
.post-body .prose h4{font-size:17px;margin:24px 0 8px}
.post-body .prose ol{padding-left:22px;margin:12px 0;display:grid;gap:6px}
.post-body .prose blockquote{margin:20px 0;padding:4px 0 4px 18px;border-left:3px solid var(--gold);color:var(--muted)}
.post-body .prose img{max-width:100%;height:auto;border-radius:14px}
.post-body .prose figure{margin:24px 0}
.post-body .prose figcaption{margin-top:8px;font-size:14px;color:var(--muted);text-align:center}
.post-body .prose pre{margin:16px 0;padding:16px 18px;border-radius:14px;background:var(--card);border:1px solid var(--line);overflow-x:auto;font-size:14px;line-height:1.6}
.post-body .prose code{font-size:.92em}
.post-body .prose hr{margin:32px 0;border:0;border-top:1px solid var(--line)}
.post-tags{max-width:760px;margin:28px auto 0;padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:8px}
.post-tags li{padding:6px 12px;border-radius:999px;border:1px solid var(--line);font-size:13px;color:var(--muted)}
/* Rich body elements: tables, key takeaways, callouts, quotes, CTA box. */
.post-body .prose table{display:block;overflow-x:auto;max-width:100%;margin:24px 0;border-collapse:collapse;font-size:.95em}
.post-body .prose caption{caption-side:top;text-align:left;color:var(--muted);font-size:14px;padding:0 0 8px}
.post-body .prose th,.post-body .prose td{padding:.6rem .8rem;border-bottom:1px solid var(--line);text-align:left}
.post-body .prose th{white-space:nowrap}
.post-body .prose thead th{background:var(--card-2)}
.post-body .prose ul.key-takeaways{margin:24px 0;padding:18px 22px 18px 40px;background:var(--card);border:1px solid var(--line-2);border-radius:16px;display:grid;gap:6px}
.post-body .prose ul.key-takeaways::before{content:"Key takeaways";display:block;margin:0 0 6px -18px;font:700 12px/1 var(--f-display);letter-spacing:.08em;text-transform:uppercase;color:var(--gold-text)}
.post-body .prose ul.key-takeaways li::marker{color:var(--gold)}
.post-body .prose blockquote.callout{margin:24px 0;padding:14px 18px;border-left:3px solid var(--gold);border-radius:0 12px 12px 0;background:var(--gold-tint);color:var(--text);font-style:normal}
.post-body .prose blockquote.callout-tip{border-left-color:var(--teal);background:var(--teal-tint)}
.post-body .prose blockquote.callout-warning{border-left-color:var(--rose);background:var(--rose-tint)}
.post-body .prose blockquote.callout-example{border-left-color:var(--sky);background:var(--sky-tint)}
.post-body .prose blockquote.callout>:first-child{margin-top:0}
.post-body .prose blockquote.callout>:last-child{margin-bottom:0}
.post-body .prose blockquote.pull-quote{margin:36px 0;padding:22px 0 0;border-left:0;border-top:3px solid var(--gold);font-family:var(--f-serif)}
.post-body .prose blockquote.pull-quote p{font-size:calc(16.5px*1.35);line-height:1.4;color:var(--ink)}
.post-body .prose blockquote.source-quote{margin:24px 0 6px;padding:4px 0 4px 18px;border-left:3px solid var(--line-2);font-style:italic;color:var(--text)}
.post-body .prose p.quote-source{margin:0 0 24px;padding-left:21px;font-size:14px;color:var(--muted)}
.post-body .prose p.quote-source::before{content:"\2014\00a0"}
.post-body .prose p.cta-box{margin:32px 0;padding:24px;border-radius:16px;background:var(--gold-tint);text-align:center}
.post-body .prose p.cta-box a{display:inline-flex;align-items:center;justify-content:center;height:52px;padding:0 22px;border-radius:12px;border:1.5px solid transparent;background:var(--ink);color:#fff;font:600 16px/1 var(--f-display);letter-spacing:-.01em;text-decoration:none;max-width:100%}
.post-body .prose p.cta-box a:hover{background:var(--ink-2);box-shadow:0 10px 24px -10px rgba(11,13,18,.6)}
/* blog lists: the category menu and the pager */
.blog-cats-wrap{padding-top:8px}
.blog-cats{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
.blog-cat{font:600 14px/1 var(--f-display);color:var(--ink-2);padding:10px 16px;border:1px solid var(--line-2);border-radius:999px;background:var(--card);text-decoration:none;transition:background .15s,border-color .15s}
.blog-cat:hover{border-color:var(--gold);background:var(--gold-tint)}
.blog-cat[aria-current="page"]{background:var(--ink);border-color:var(--ink);color:#fff}
.pager{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px 0 56px;font:600 14px/1 var(--f-display)}
.pager-step{display:inline-flex;align-items:center;gap:6px;color:var(--ink);text-decoration:none;min-width:120px}
.pager-step:last-child{justify-content:flex-end}
.pager-step svg{width:16px;height:16px}
.pager-n{display:flex;gap:6px}
.pager-n a,.pager-n span{display:grid;place-items:center;min-width:38px;height:38px;border-radius:10px;border:1px solid var(--line-2);color:var(--ink);text-decoration:none;background:var(--card)}
.pager-n a:hover{border-color:var(--gold);background:var(--gold-tint)}
.pager-n span[aria-current="page"]{background:var(--ink);border-color:var(--ink);color:#fff}
@media (max-width:560px){.pager-step{min-width:0;font-size:0;gap:0}.pager-step svg{width:20px;height:20px}}
