/* BuzzKit blog (/blog, /blog/<slug>), rendered by lib/blog.js. Reuses the reading layout of About/Terms
   (.wrap.reading + .card.legal-document); only blog-specific pieces live here. */
.blog-topnav { display: flex; align-items: center; gap: 14px; }
.blog-topnav a { color: #fff; font-weight: 900; }
.blog-head { margin: 8px 0 22px; }
.blog-head h1 { margin: 4px 0 6px; }
.blog-head p { margin: 0; color: var(--surface-ink-soft); }
.blog-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.blog-item { display: grid; gap: 4px; padding: 18px 20px; background: var(--bg-raised); color: var(--surface-ink); border: 3px solid var(--edge); border-radius: 12px; box-shadow: 4px 4px 0 var(--edge); text-decoration: none; transition: transform .12s ease, box-shadow .12s ease; }
.blog-item:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--edge); }
.blog-item strong { font-size: 1.15rem; line-height: 1.3; }
.blog-date { color: var(--blue-ink); font-size: .72rem; font-weight: 950; letter-spacing: .1em; text-transform: uppercase; }
.blog-desc { color: var(--surface-ink-soft); line-height: 1.5; }
.blog-empty { color: var(--surface-ink-soft); }
.blog-post h1 { margin-top: 6px; }
.blog-byline { margin: 4px 0 18px; color: var(--surface-ink-soft); font-size: .9rem; }
.blog-cover { display: block; width: 100%; height: auto; margin: 0 0 18px; border: 3px solid var(--edge); border-radius: 12px; }
.blog-body img { max-width: 100%; height: auto; border: 3px solid var(--edge); border-radius: 10px; }
.blog-body li { margin: 4px 0; }
.blog-body blockquote { margin: 16px 0; padding: 4px 16px; border-left: 5px solid var(--yellow); }
.blog-body code { padding: 1px 5px; border-radius: 5px; background: var(--panel-2); font-size: .9em; }
.blog-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 28px; padding: 16px; border: 3px solid var(--edge); border-radius: 12px; background: var(--yellow); color: var(--edge); }
.blog-cta span { display: flex; gap: 10px; flex-wrap: wrap; margin-left: auto; }
.blog-more { margin: 28px 0 8px; }
.blog-more h2 { font-size: 1.15rem; margin-bottom: 12px; }
.blog-foot { max-width: 820px; margin: 10px auto 40px; padding: 0 clamp(16px, 4vw, 24px); color: var(--surface-ink-soft); font-size: .82rem; text-align: center; }
.blog-foot a { color: inherit; }
@media (prefers-reduced-motion: reduce) { .blog-item { transition: none; } .blog-item:hover { transform: none; } }
/* Reading text at normal weight (like the homepage), so bold words stand out. */
.blog-post .blog-body, .blog-desc, .blog-head p, .blog-byline { font-weight: 450; }
.blog-post .blog-body p, .blog-post .blog-body li { color: var(--surface-ink); }
.blog-post .blog-body strong { font-weight: 850; }
.blog-post h1, .blog-post h2, .blog-post h3, .blog-head h1 { line-height: 1.15; text-wrap: balance; }
/* `.card a` would recolour these buttons with the link colour. */
.card .blog-cta a.btn { color: var(--edge); background: #fff; font-weight: 900; }
.card .blog-cta a.btn-primary { color: #fff; background: var(--blue); }
