/* Blog article styles. Loaded after /styles.css; relies on its theme tokens (--ink, --muted, --line, --link, --surface, --surface-raised, --body-muted). */
.post { max-width: 720px; padding-block: 40px 72px; }
.crumbs { font-size: 13px; color: var(--muted); margin: 0 0 28px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); }
.post-head h1 { font-size: clamp(32px, 4.4vw, 46px); font-weight: 650; line-height: 1.1; letter-spacing: -.045em; margin: 0 0 16px; text-wrap: balance; }
.post-lede { font-size: 20px; line-height: 1.5; letter-spacing: -.2px; color: var(--body-muted); margin: 0 0 22px; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; font-size: 13px; color: var(--muted); padding: 14px 0; border-block: 1px solid var(--line); margin: 0 0 36px; }
.post-meta strong { color: var(--ink); font-weight: 600; }
.post-meta span + span::before { content: "·"; margin-right: 14px; opacity: .5; }
.post-hero { margin: 0 0 36px; }
.post-hero img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); }
.post-hero figcaption, .post-body figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; line-height: 1.5; }
.post-body { font-size: 18px; line-height: 1.75; color: var(--body-muted); }
.post-body > * { max-width: 100%; }
.post-body p { margin: 0 0 22px; }
.post-body h2 { font-size: 28px; font-weight: 630; line-height: 1.2; letter-spacing: -.035em; color: var(--ink); margin: 52px 0 16px; }
.post-body h3 { font-size: 21px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); margin: 36px 0 12px; }
.post-body strong { color: var(--ink); font-weight: 600; }
.post-body a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.post-body ul, .post-body ol { margin: 0 0 22px; padding-left: 24px; }
.post-body li { margin-bottom: 9px; padding-left: 4px; }
.post-body blockquote { margin: 28px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--line); color: var(--ink); font-size: 19px; }
.post-body code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88em; background: var(--surface-raised); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; color: var(--ink); }
.post-body pre { background: var(--surface-raised); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; overflow-x: auto; font-size: 14px; line-height: 1.6; margin: 0 0 22px; }
.post-body pre code { background: none; border: 0; padding: 0; }
.post-body figure { margin: 32px 0; }
.post-body figure img, .post-body video { display: block; max-width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); }
.post-body table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; margin: 0 0 26px; display: block; overflow-x: auto; }
.post-body th, .post-body td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.post-body th { color: var(--ink); font-weight: 600; white-space: nowrap; }
.post-body hr { border: 0; border-top: 1px solid var(--line); margin: 44px 0; }
.post-toc { background: var(--surface-raised); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; margin: 0 0 36px; font-size: 15px; }
.post-toc p { margin: 0 0 8px; font-weight: 600; color: var(--ink); }
.post-toc ol { margin: 0; padding-left: 20px; line-height: 1.7; color: var(--muted); }
.post-toc a { color: var(--link); }
.post-cta { margin: 56px 0 0; padding: 28px 30px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface-raised); }
.post-cta h2 { font-size: 22px; font-weight: 630; letter-spacing: -.03em; margin: 0 0 8px; color: var(--ink); }
.post-cta p { font-size: 16px; line-height: 1.6; color: var(--muted); margin: 0 0 18px; }
.post-cta .button { font-size: 15px; padding: 12px 22px; }
.post-cta .button:hover { text-decoration: none; }
.related { margin: 56px 0 0; padding-top: 32px; border-top: 1px solid var(--line); }
.related h2 { font-size: 20px; font-weight: 630; letter-spacing: -.02em; margin: 0 0 16px; }
.related ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.related a { display: block; height: 100%; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); transition: border-color .18s, transform .18s; }
.related a:hover { text-decoration: none; border-color: var(--muted); transform: translateY(-2px); }
.related .related-title { display: block; font-size: 16px; font-weight: 600; line-height: 1.35; color: var(--ink); margin-bottom: 6px; }
.related .related-desc { display: block; font-size: 14px; line-height: 1.5; color: var(--muted); }
.post-back { display: inline-block; margin-top: 34px; font-size: 14px; color: var(--link); }
@media (max-width: 700px) {
  .post { padding-block: 28px 56px; }
  .post-lede { font-size: 18px; }
  .post-body { font-size: 17px; line-height: 1.7; }
  .post-body h2 { font-size: 24px; margin-top: 42px; }
  .post-cta { padding: 22px 20px; }
}
@media (prefers-reduced-motion: reduce) { .related a { transition: none; } .related a:hover { transform: none; } }

/* Blog index */
.blog-index { max-width: 960px; padding-block: 40px 72px; }
.blog-index h1 { font-size: clamp(34px, 6vw, 52px); font-weight: 650; letter-spacing: -.04em; line-height: 1.08; margin: 0 0 14px; }
.blog-list { margin-top: 32px !important; }
.blog-list time { display: block; margin-top: 12px; font-size: 13px; color: var(--muted); }
