/* Blog-specific reading layouts on the shared Workshop editorial shell. */
:root {
  --bg: #08080c;
  --surface-glass: #17151f;
  --line-strong: rgba(255, 255, 255, 0.18);
  --brand-soft: rgba(130, 96, 255, 0.12);
  --code-bg: #0b0a10;
  --max: 1240px;
}

body.blog-page .hero {
  border-bottom: 1px solid var(--medux-line);
}

body.blog-page .hero .lead {
  text-align-last: auto;
}

body.blog-page .post-meta {
  justify-content: center;
  color: var(--medux-muted);
  font-size: 13px;
}

body.blog-page .hero-card::after,
body.blog-page .publish-note::before {
  display: none;
}

body.blog-page .takeaway-list {
  margin: 0;
  padding-left: 20px;
  font-size: 16px;
  line-height: 1.8;
}

body.blog-page .toc h2 {
  font-size: 26px;
  font-weight: 500;
}

body.blog-page .article-body {
  max-width: 1000px;
  margin-inline: auto;
}

body.blog-page .article-body > :is(p, h2, h3, ul, ol, blockquote) {
  max-width: none;
}

body.blog-page .article-body :is(p, li) {
  font-size: 17px;
  line-height: 1.85;
}

body.blog-page .article-body h2 {
  margin-top: 42px;
}

body.blog-page .faq-item {
  border-color: var(--medux-line);
  border-radius: 16px;
  background: var(--medux-surface-inset);
  box-shadow: none;
}

body.blog-page .faq-item h3 {
  font-size: 20px;
  font-weight: 500;
}

body.blog-page .seo-related-grid a {
  border-color: var(--medux-line);
  border-radius: 18px;
  background: var(--medux-surface);
  color: var(--medux-ink);
  box-shadow: none;
  font-weight: 500;
}

body.blog-page .seo-related-grid a:hover {
  border-color: rgba(173, 149, 255, 0.52);
}

body.blog-page .cta {
  border-radius: 11px;
  background: #7047f5;
  color: white;
  font-size: 14px;
  font-weight: 600;
  box-shadow: none;
}

body.blog-page .cta.ghost {
  border-color: rgba(168, 144, 255, 0.25);
  background: rgba(130, 96, 255, 0.12);
  color: #c8b8ff;
}

body.blog-page .publish-note p {
  max-width: 82ch;
  color: var(--medux-copy);
}

@media (max-width: 760px) {
  body.blog-page .article-body :is(p, li) {
    font-size: 16px;
  }

  body.blog-page .hero-grid {
    gap: 18px;
  }
}
