/* Blog post components shared by every post in /blog.
   Linked after design-premium.css and before nav-component.css. */
/* "In this guide" list between the intro and the article. It is a
   <div role="navigation">, not a <nav>: every post's inline CSS styles bare `nav`
   as the fixed top bar. :where() keeps these rules at zero specificity, so posts
   with their own inline .toc styles keep them. */
:where(.toc){background:rgba(59,130,246,0.06);border:1px solid rgba(59,130,246,0.18);border-radius:10px;padding:1.25rem 1.5rem;margin-bottom:2.5rem}
:where(.toc-label){font-family:var(--font-mono,var(--mono,'JetBrains Mono',monospace));font-size:0.68rem;letter-spacing:0.1em;text-transform:uppercase;color:var(--muted2,rgba(240,244,255,0.35));margin:0 0 0.75rem}
:where(.toc-list){padding-left:1.25rem;margin:0;color:var(--muted,rgba(240,244,255,0.6))}
:where(.toc-list li){margin:0 0 0.35rem;font-size:0.88rem;line-height:1.5}
:where(.toc-list a){color:var(--blue-bright,#60a5fa);text-decoration:none}
:where(.toc-list a:hover){text-decoration:underline}
html.light-mode :where(.toc-list a){color:#2563eb}
/* Jumping to a section shouldn't hide its heading under the fixed nav. */
:where(.post-body h2[id]){scroll-margin-top:6rem}
/* "Updated <date>" next to the published date in the post header. */
.post-meta .post-updated{font-family:var(--font-mono,'JetBrains Mono',monospace);font-size:0.72rem;color:var(--muted2,rgba(240,244,255,0.35))}
.post-body .mid-cta{margin:2.4rem 0;padding:1.6rem 1.7rem;border:1px solid rgba(34,211,238,0.22);border-radius:16px;background:radial-gradient(circle at 100% 0%,rgba(124,58,237,0.14),transparent 55%),linear-gradient(135deg,rgba(34,211,238,0.07),rgba(59,130,246,0.07))}
.post-body .mid-cta-kicker{margin:0 0 0.5rem;font-family:'JetBrains Mono',monospace;font-size:0.7rem;letter-spacing:0.12em;text-transform:uppercase;color:#22d3ee}
.post-body .mid-cta-title{margin:0 0 0.45rem;font-family:'Sora','Inter',sans-serif;font-size:1.15rem;font-weight:700;line-height:1.35;color:#f0f4ff}
.post-body .mid-cta-text{margin:0 0 1.15rem;font-size:0.93rem;line-height:1.65;color:rgba(240,244,255,0.68)}
.post-body .mid-cta-actions{display:flex;flex-wrap:wrap;align-items:center;gap:0.75rem 1.25rem}
.post-body .mid-cta-btn{display:inline-flex;align-items:center;padding:0.7rem 1.3rem;border-radius:10px;background:linear-gradient(135deg,#4f46e5,#3b82f6);color:#fff;font-size:0.9rem;font-weight:600;text-decoration:none;box-shadow:0 8px 24px rgba(59,130,246,0.28)}
.post-body .mid-cta-btn:hover{box-shadow:0 10px 32px rgba(59,130,246,0.42);color:#fff}
.post-body .mid-cta-link{color:#60a5fa;font-size:0.9rem;font-weight:600;text-decoration:none}
.post-body .mid-cta-link:hover{text-decoration:underline}
html.light-mode .post-body .mid-cta{background:linear-gradient(135deg,rgba(34,211,238,0.08),rgba(59,130,246,0.08)),#fff;border-color:rgba(37,99,235,0.2)}
html.light-mode .post-body .mid-cta-kicker{color:#0e7490}
html.light-mode .post-body .mid-cta-title{color:#0f172a}
html.light-mode .post-body .mid-cta-text{color:rgba(15,23,42,0.7)}
html.light-mode .post-body .mid-cta-link{color:#2563eb}
@media(max-width:600px){.post-body .mid-cta{padding:1.3rem 1.15rem}.post-body .mid-cta-btn{width:100%;justify-content:center}}
