/* Blog: the blog page and every post. Builds on site.css and uses its colours, fonts and buttons. */

/* blog page: list of posts */
.blog-list{padding-block:clamp(2.5rem,6vw,4.5rem)}
.post-cards{display:grid;gap:1.2rem}
.post-card{display:grid;gap:.7rem;background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:clamp(1.4rem,3vw,2.2rem);text-decoration:none;transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease}
.post-card:hover{border-color:var(--pink-ink);box-shadow:0 16px 40px -24px rgba(13,18,47,.45);transform:translateY(-2px)}
.post-card h2{font-size:clamp(1.5rem,3.2vw,2.2rem);font-weight:800;max-width:28ch}
.post-card p{color:var(--muted);max-width:60ch}
.post-card .more{margin-top:.2rem}

/* a single post */
.page-hero .byline{margin-top:1.3rem;color:var(--on-navy-muted);font-weight:500}
.page-hero .byline a{color:var(--on-navy)}
.post{padding-block:clamp(2.5rem,6vw,4.5rem)}
.prose{max-width:44rem;margin-inline:auto;font-size:clamp(1.06rem,1.2vw,1.15rem);line-height:1.75}
.prose>*+*{margin-top:1.1em}
.prose h2{margin-top:2em;font-size:clamp(1.5rem,3vw,2rem);font-weight:800}
.prose h2 .n{color:var(--pink-ink)}
.prose h3{margin-top:1.6em;font-size:1.25rem;font-weight:700}
.prose a{color:var(--pink-ink);font-weight:600}
.prose ul,.prose ol{padding-left:1.3em;margin-bottom:0}
.prose li+li{margin-top:.45em}
.prose li::marker{color:var(--pink-ink);font-weight:700}
.prose .lead{font-size:1.2em;line-height:1.6;font-weight:500}
.prose blockquote{margin:1.6em 0 0;padding:.2em 0 .2em 1.2em;border-left:5px solid;border-image:var(--glow) 1;font-family:var(--display);font-weight:700;font-size:clamp(1.3rem,2.4vw,1.65rem);line-height:1.3;letter-spacing:-.01em}
.prose .tip{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:1rem 1.2rem}
.prose .tip b:first-child{color:var(--pink-ink)}
.prose figure{margin:1.8em 0 0}
.prose figure img{display:block;width:100%;height:auto;border-radius:16px}
.prose figcaption{margin-top:.6rem;font-size:.92rem;color:var(--muted)}

/* call to action at the end of a post */
.post-cta{max-width:44rem;margin:3rem auto 0;background:var(--navy);color:var(--on-navy);border-radius:22px;padding:clamp(1.5rem,3.5vw,2.4rem);display:grid;gap:1.3rem}
.post-cta h2{font-size:clamp(1.6rem,3.4vw,2.3rem);font-weight:800}
.post-cta p{color:var(--on-navy-muted);margin-top:.6rem}
.post-cta .btns{display:flex;flex-wrap:wrap;gap:.7rem}
.back-link{max-width:44rem;margin:1.6rem auto 0}
