/* Blog posts and index */
.post-hero { padding: 36px 0 8px; }
.post-hero .crumbs { margin-bottom: 14px; }
.post-hero h1 { font: 700 clamp(30px, 4.4vw, 46px)/1.12 var(--font-display); letter-spacing: -.02em; margin: 0 0 14px; max-width: 820px; }
.post-meta { display: flex; gap: 14px; flex-wrap: wrap; color: var(--ink-3); font: 500 14px var(--font-body); margin-bottom: 18px; }
.post-lead { font: 400 19px/1.6 var(--font-body); color: var(--ink-2); max-width: 760px; margin: 0 0 18px; }
.post-cta { display: inline-flex; gap: 10px; align-items: center; }
.post-img { margin: 26px 0; }
.post-img img { width: 100%; height: auto; display: block; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-2); }
.post-img figcaption { font: 500 13.5px/1.5 var(--font-body); color: var(--ink-3); margin-top: 8px; }
.post-body { max-width: 780px; margin: 0 auto; padding: 8px 0 40px; font: 400 17px/1.7 var(--font-body); color: var(--ink); }
.post-body h2 { font: 700 27px/1.25 var(--font-display); letter-spacing: -.01em; margin: 44px 0 10px; scroll-margin-top: 80px; }
.post-body h2 .n { display: inline-flex; width: 34px; height: 34px; border-radius: 50%; background: var(--tool); color: #fff; align-items: center; justify-content: center; font: 700 17px var(--font-display); margin-right: 10px; vertical-align: 3px; }
.post-body p { margin: 0 0 14px; }
.post-body ul, .post-body ol { margin: 0 0 16px 22px; }
.post-body li { margin: 6px 0; }
.post-body a { color: var(--tool-deep); text-decoration: underline; text-underline-offset: 3px; }
.post-body .tip { border: 1px solid var(--tool-line); background: var(--tool-soft); border-radius: 12px; padding: 14px 16px; margin: 18px 0; font-size: 16px; line-height: 1.6; }
.post-body .tip b { color: var(--tool-deep); }
.post-body .cta-box { border: 1px solid var(--line); border-radius: 16px; padding: 22px; margin: 36px 0; background: var(--bg-2); text-align: center; }
.post-body .cta-box p { margin-bottom: 14px; font-weight: 500; }
.post-body .cta-box a.btn { text-decoration: none; color: #fff; }
.toc { border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin: 20px 0 8px; background: var(--surface); }
.toc b { font: 600 13px var(--font-body); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
.toc ol { margin: 8px 0 0 20px; font-size: 16px; }
.toc a { text-decoration: none; color: var(--ink); }
.toc a:hover { color: var(--tool-deep); }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; padding: 10px 0 50px; }
.blog-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--surface); text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.blog-card img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; object-position: top; display: block; background: var(--bg-2); }
.blog-card .b { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.blog-card .k { font: 600 12px var(--font-body); letter-spacing: .05em; text-transform: uppercase; color: var(--tool-deep); }
.blog-card h2 { font: 700 20px/1.25 var(--font-display); margin: 0; }
.blog-card p { font: 400 15px/1.55 var(--font-body); color: var(--ink-2); margin: 0; }
.blog-card .m { margin-top: auto; font: 500 13px var(--font-body); color: var(--ink-3); }
