/* Blog (lane BLOG): /blog/, /blog/tags/<tag>/, /blog/<slug>/. Reuses r-hero, card, chips from the design system. */
.blog-hero .wrap{grid-template-columns:minmax(0,8fr) minmax(0,4fr)}
.chips{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0}
.chips-filter{margin-bottom:36px}
.chip{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:999px;border:1px solid var(--line-strong);background:var(--surface);color:var(--ink-2);font-size:13.5px;font-weight:600;text-decoration:none;transition:background var(--motion),color var(--motion)}
.chip span{font-weight:500;color:var(--muted);font-variant-numeric:tabular-nums}
.chip:hover{background:var(--hover);color:var(--ink)}
.chip.is-active{background:var(--n900);border-color:var(--n900);color:#fff}
.chip.is-active span{color:rgba(255,255,255,.7)}
.post-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.post-card{display:flex;flex-direction:column;gap:10px;padding:24px;color:inherit;text-decoration:none;transition:border-color var(--motion),box-shadow var(--motion)}
.post-card:hover{border-color:var(--n400);box-shadow:var(--shadow-float)}
.post-card time{font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums}
.post-card h2,.post-card h3{font-size:20px;line-height:1.3;font-weight:600;letter-spacing:-.015em}
.post-card p{font-size:15px;line-height:1.5;color:var(--ink-2);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.post-card .tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:auto;padding-top:6px;list-style:none}
.post-card .tags li{font-size:12px;font-weight:600;color:var(--accent-ink);background:var(--accent-soft);border-radius:999px;padding:3px 9px}
.pager{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:40px}
.pager-n{font-size:14px;color:var(--muted)}
.pager [aria-disabled="true"]{opacity:.5;pointer-events:none}
/* post */
.post-head{padding:48px 0 32px;background:var(--surface);border-bottom:1px solid var(--line)}
.post-head .wrap{max-width:860px}
.post-meta{display:flex;flex-wrap:wrap;gap:10px;font-size:14px;color:var(--muted);margin-bottom:16px}
.post-head h1{margin-bottom:16px}
.post-head .lead{max-width:720px}
.post-head .chips{margin-top:20px}
.post-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:48px;padding-top:48px;padding-bottom:24px;max-width:calc(var(--max) + var(--edge) * 2)}
.post-body{max-width:720px;font-size:17px;line-height:1.7;color:var(--ink)}
.post-body>*+*{margin-top:1.1em}
.post-body h2{font-size:clamp(22px,2vw,28px);line-height:1.25;letter-spacing:-.02em;font-weight:600;margin-top:1.8em}
.post-body h3{font-size:19px;line-height:1.35;font-weight:600;margin-top:1.5em}
.post-body ul{list-style:disc;padding-left:1.4em}
.post-body ol{list-style:decimal;padding-left:1.4em}
.post-body li+li{margin-top:.4em}
.post-body a{color:var(--accent-ink);font-weight:600;text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--n300)}
.post-body a:hover{text-decoration-color:currentColor}
.post-body blockquote{border-left:3px solid var(--accent);padding:4px 0 4px 20px;color:var(--ink-2);font-style:italic}
.post-body code{font-size:.92em;background:var(--n100);border-radius:4px;padding:2px 6px}
.post-body table{width:100%;border-collapse:collapse;font-size:15px}
.post-body th,.post-body td{text-align:left;padding:10px 12px;border-bottom:1px solid var(--line-strong);vertical-align:top}
.post-body th{font-weight:600;background:var(--n50)}
.post-figure{margin:0 0 28px;border-radius:var(--r-2xl);overflow:hidden;border:1px solid var(--line-strong)}
.post-figure img{display:block;width:100%;height:auto}
.post-sources{margin-top:48px;padding-top:24px;border-top:1px solid var(--line-strong);font-size:14px;color:var(--ink-2)}
.post-sources h2{font-size:15px;margin:0 0 10px;text-transform:uppercase;letter-spacing:.06em}
.post-sources ol{padding-left:1.3em;margin:0}
.post-sources a{font-weight:500;word-break:break-all}
.post-side{display:grid;gap:20px;align-content:start;position:sticky;top:88px}
.kit-helps{padding:22px}
.kit-helps p{font-size:15px;line-height:1.55;color:var(--ink-2);margin:0 0 14px}
.kit-helps .ai-line{margin-top:14px}
.app-links{display:grid;gap:6px;list-style:none;margin:0 0 6px;padding:0}
.app-links a{display:inline-flex;align-items:center;gap:6px;font-size:14.5px;font-weight:600;color:var(--accent-ink)}
.app-links svg{width:14px;height:14px}
.side-cta{text-align:center}
.side-cta .cta-fine{margin-top:8px;font-size:13px;color:var(--muted)}
.related .sec-head{margin-bottom:28px}
@media (max-width:980px){
  .blog-hero .wrap{grid-template-columns:1fr}
  .post-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .post-grid{grid-template-columns:1fr;gap:32px}
  .post-side{position:static}
}
@media (max-width:640px){
  .post-cards{grid-template-columns:1fr}
  .post-body{font-size:16.5px}
  .post-head{padding:32px 0 24px}
  .pager{flex-wrap:wrap}
}
