/* Blog shared styles for SSR pages */
:root{
  --c-text:#0f172a;
  --c-muted:#475569;
  --c-border:#e2e8f0;
  --c-accent:#1e40af;
}
html{scroll-behavior:smooth}
img{max-width:100%;height:auto}

/* Layout shell */
body.blog-body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
  color:var(--c-text);
  background:#f8fafc;
}

.blog-shell{
  min-height:100vh;
  display:flex;
  flex-direction:column;
}

.blog-header{
  border-bottom:1px solid var(--c-border);
  background:#0f172a;
  color:#e5e7eb;
}

.blog-header-inner{
  max-width:960px;
  margin:0 auto;
  padding:12px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.blog-brand{
  display:flex;
  align-items:center;
  gap:8px;
  text-decoration:none;
  color:#e5e7eb;
}

.blog-brand-logo{
  width:28px;
  height:28px;
}

.blog-brand-name{
  font-weight:600;
  letter-spacing:.02em;
}

.blog-cta{
  display:inline-flex;
  align-items:center;
  padding:6px 12px;
  border-radius:999px;
  background:var(--c-accent);
  color:#eff6ff;
  font-size:.875rem;
  text-decoration:none;
  border:1px solid #1d4ed8;
}

.blog-cta:hover{
  background:#1d4ed8;
}

.blog-main{
  flex:1;
  max-width:860px;
  margin:24px auto 32px;
  padding:0 16px;
  line-height:1.7;
}

.blog-footer{
  border-top:1px solid var(--c-border);
  background:#0f172a;
  color:#e5e7eb;
}

.blog-footer-inner{
  max-width:960px;
  margin:0 auto;
  padding:12px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  font-size:.8125rem;
}

.blog-footer-link{
  color:#bfdbfe;
  text-decoration:none;
}

.blog-footer-link:hover{
  text-decoration:underline;
}

/* Article typography */
article h1,article h2,article h3{line-height:1.25}
article p{margin:0 0 1rem}
article ul{padding-left:1.25rem;margin:0 0 1rem}
article li{margin:0.25rem 0}
article blockquote{border-left:3px solid var(--c-border);padding-left:12px;color:var(--c-muted);margin:0 0 1rem}
article pre{background:#0b1220;color:#e2e8f0;padding:12px;border-radius:8px;overflow:auto}
article code{background:#0b122011;padding:2px 4px;border-radius:4px}
.yt{position:relative;padding-bottom:56.25%;height:0;overflow:hidden;border-radius:8px;margin:16px 0}
.yt iframe{position:absolute;top:0;left:0;width:100%;height:100%;border:0}
