.blog-shell {
  min-height: calc(100vh - 150px);
  padding-top: 142px;
  padding-bottom: 100px;
}
.blog-eyebrow {
  color: var(--neon-green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}
.blog-title, .blog-empty h1, .post-header h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 58px);
  line-height: 1.08;
  letter-spacing: -.035em;
  max-width: 800px;
}
.article-list {
  border-top: 1px solid var(--border-glow);
  margin-top: 52px;
  max-width: 850px;
}
.article-row {
  padding: 27px 0 25px;
  border-bottom: 1px solid var(--border-glow);
}
.article-link { color: var(--text-primary); text-decoration: none; }
.article-link h2 {
  font-size: clamp(21px, 3vw, 27px);
  line-height: 1.3;
  transition: color .2s ease;
}
.article-link:hover h2 { color: var(--neon-orange); }
.article-meta {
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 9px;
}
.blog-status, .blog-empty p {
  color: var(--text-muted);
  margin-top: 18px;
}
.post { max-width: 740px; margin: 0 auto; }
.post-back { display: inline-flex; color: var(--text-muted); font-size: 14px; text-decoration: none; margin: 0 0 28px; transition: color .2s ease; }
.post-back:hover { color: var(--neon-orange); }
.post-header { margin-bottom: 38px; }
.post-header .article-meta { margin-top: 16px; }
.post-content {
  color: #dedee5;
  font-size: 18px;
  line-height: 1.82;
  overflow-wrap: anywhere;
}
.post-content h2 {
  color: #fff;
  font-size: clamp(25px, 4vw, 32px);
  line-height: 1.25;
  margin: 48px 0 17px;
  scroll-margin-top: 100px;
}
.post-content h3 { color: #fff; font-size: 21px; margin: 32px 0 12px; }
.post-content h4 { color: #fff; font-size: 18px; margin: 26px 0 10px; }
.post-content p { margin: 0 0 20px; }
.post-content ul, .post-content ol { margin: 0 0 24px 25px; }
.post-content li { padding-left: 5px; margin: 5px 0; }
.post-content a, .post-toc a { color: var(--neon-cyan); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.post-content a:hover, .post-toc a:hover { color: var(--neon-orange); }
.post-content blockquote {
  border-left: 3px solid var(--neon-orange);
  background: rgba(255,255,255,.025);
  color: var(--text-muted);
  padding: 18px 22px;
  margin: 26px 0;
  border-radius: 0 12px 12px 0;
}
.post-content table { width: 100%; border-collapse: collapse; margin: 26px 0; font-size: 15px; }
.post-content th, .post-content td { border: 1px solid rgba(255,255,255,.1); padding: 10px 12px; text-align: left; }
.post-content th { color: #fff; background: rgba(255,255,255,.04); }
.post-content code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88em; color: var(--neon-cyan); }
.post-content pre { overflow-x: auto; background: var(--bg-card); border: 1px solid var(--border-glow); border-radius: 12px; padding: 18px; margin: 24px 0; }
.post-content pre code { color: #dedee5; }
.post-takeaways { background: linear-gradient(135deg, rgba(255,255,255,.045), rgba(255,255,255,.018)); border: 1px solid var(--border-glow); border-left: 3px solid var(--neon-orange); border-radius: 14px; padding: 20px 24px 16px; margin: 30px 0 28px; }
.post-takeaways h2 { color: #fff; font-size: 18px; margin: 0 0 10px; }
.post-takeaways ul, .post-takeaways ol { margin: 0 0 0 20px; color: #e6e6eb; font-size: 15px; line-height: 1.65; }
.post-takeaways li { padding-left: 4px; margin: 6px 0; }
.post-toc {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 16px;
  padding: 0;
  margin: 24px 0 38px;
}
.post-toc summary { cursor: pointer; list-style: none; color: #fff; padding: 17px 21px; font-size: 15px; font-weight: 650; }
.post-toc summary::-webkit-details-marker { display: none; }
.post-toc summary::after { content: "+"; float: right; color: var(--neon-orange); font-size: 20px; line-height: 1; }
.post-toc[open] summary::after { content: "−"; }
.post-toc nav { padding: 0 21px 18px; }
.post-toc ul { margin: 0 0 0 18px; font-size: 14px; columns: 2; column-gap: 34px; }
.post-toc li { break-inside: avoid; padding: 3px 0; }
.post-toc a { color: var(--text-muted); }
.blog-empty .btn { margin-top: 22px; }
[hidden] { display: none !important; }
@media (max-width: 640px) {
  .blog-shell { padding-top: 116px; padding-bottom: 72px; }
  .nav-links { gap: 12px; }
  .nav-links a { font-size: 12px; }
  .post-content { font-size: 16px; }
  .post-takeaways { padding: 17px 18px 14px; }
  .post-toc ul { columns: 1; }
}
