/* Blog pages only. Colours and fonts come from style.css (:root), so the blog always matches the main site. */

.blog-nav-cta { pointer-events: auto; }
.blog-main { padding: 130px 0 60px; }

/* ---------- blog list ---------- */
.blog-head { max-width: 40em; margin-bottom: 48px; }
.blog-head h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.post-card { display: flex; flex-direction: column; gap: 12px; padding: 26px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .25s, transform .25s; }
.post-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.post-card h2 { font-size: 1.35rem; line-height: 1.25; }
.post-card p { color: var(--muted); font-size: .98rem; }
.post-meta { color: var(--muted); font-size: .85rem; letter-spacing: .04em; }
.post-more { margin-top: auto; color: var(--accent); font: 600 .95rem var(--font-head); }

/* ---------- single post ---------- */
.post { max-width: 720px; margin-inline: auto; }
.post .crumb { font-size: .9rem; color: var(--muted); margin-bottom: 22px; display: inline-block; }
.post .crumb:hover { color: var(--accent); }
.post h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); margin-bottom: 16px; }
.post .post-meta { margin-bottom: 36px; }
.post h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); margin: 44px 0 14px; }
.post h3 { font-size: 1.15rem; margin: 28px 0 8px; }
.post p { margin-bottom: 18px; color: #d9d5ce; }
.post ul, .post ol { margin: 0 0 20px 0; padding: 0; }
.post li { position: relative; padding-left: 24px; margin-bottom: 10px; color: #d9d5ce; }
.post ul li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.post ol { counter-reset: n; }
.post ol li { counter-increment: n; }
.post ol li::before { content: counter(n) "."; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.post a:not(.btn) { color: var(--accent); border-bottom: 1px solid rgba(198,240,0,.35); }
.post a:not(.btn):hover { border-bottom-color: var(--accent); }
.post .callout { background: var(--bg-2); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 12px; padding: 18px 22px; margin: 28px 0; }
.post .callout p { margin: 0; }
.post-cta { margin-top: 56px; padding: 32px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); }
.post-cta h2 { margin: 0 0 10px; font-size: 1.6rem; }
.post-cta p { color: var(--muted); }
.post-cta .btn { margin-top: 8px; }
.draft-bar { background: var(--accent); color: #0b0b0c; text-align: center; font: 600 .85rem var(--font-head); padding: 8px 16px; position: relative; z-index: 60; }

/* simple footer for blog pages */
.blog-foot { border-top: 1px solid var(--line); margin-top: 60px; padding: 36px 0 50px; color: var(--muted); font-size: .95rem; }
.blog-foot .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; }
.blog-foot a:hover { color: var(--accent); }

.post-cta .author-line { margin-top: 22px; font-size: .95rem; padding-top: 18px; border-top: 1px solid var(--line); }
