/* Blog pages (/blog, /blog/<slug>). Colours come from ui.css (light and dark). Article text styles are in prose.css. */
.bw{max-width:1120px;margin:0 auto;padding:0 20px}
a{color:inherit}
.bh{position:sticky;top:0;z-index:30;background:color-mix(in srgb,var(--bg) 88%,transparent);backdrop-filter:blur(10px);border-bottom:1px solid var(--bd)}
.bh .bw{display:flex;align-items:center;justify-content:space-between;height:68px}
.bh .logo{display:flex;align-items:center;text-decoration:none}.bh .logo img{display:block;width:auto;height:44px}
.bh nav{display:flex;align-items:center;gap:6px}
.bh nav a{padding:9px 14px;border-radius:99px;text-decoration:none;font-weight:600;font-size:14.5px;color:var(--mut)}
.bh nav a:hover,.bh nav a[aria-current=page]{color:var(--tx);background:var(--surface2)}
.bh nav a.cta{background:var(--acc);color:var(--acc-tx);margin-left:6px}.bh nav a.cta:hover{filter:brightness(1.06);background:var(--acc);color:var(--acc-tx)}
main.bw{padding-top:26px;padding-bottom:64px;min-height:70vh}
.crumbs{display:flex;flex-wrap:wrap;gap:8px;font-size:13.5px;color:var(--mut);margin-bottom:18px}.crumbs a{text-decoration:none}.crumbs a:hover{color:var(--tx);text-decoration:underline}
main>h1{font-size:clamp(30px,4.4vw,44px);line-height:1.08;font-weight:800;margin:6px 0 8px}
.lede{font-size:18px;color:var(--mut);margin:0 0 26px;max-width:42em}
.meta{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:13.5px;color:var(--mut);margin:12px 0}
.meta>*+*::before{content:"·";margin-right:16px;opacity:.6}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
@media(max-width:960px){.grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){.grid{grid-template-columns:1fr}}
.pc{display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--bd);border-radius:18px;overflow:hidden;box-shadow:var(--sh);transition:transform .15s,border-color .15s}
.pc:hover{transform:translateY(-3px);border-color:var(--acc)}
.pcv{display:block;aspect-ratio:1200/630;background:var(--surface2)}.pcv img{width:100%;height:100%;object-fit:cover;display:block}.pcv .ph{display:block;width:100%;height:100%;background:linear-gradient(135deg,var(--surface2),var(--bd))}
.pcb{padding:16px 18px 20px;display:flex;flex-direction:column;flex:1}
.pcb .meta{margin:0 0 8px;font-size:12.5px}
.pcb h2{font-size:19px;line-height:1.25;margin:0 0 8px}.pcb h2 a{text-decoration:none}.pcb h2 a:hover{text-decoration:underline}
.pcb p{margin:0 0 14px;color:var(--mut);font-size:14.5px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.pcb .more{margin-top:auto;font-weight:700;color:var(--acc);text-decoration:none;font-size:14.5px}.pcb .more:hover{text-decoration:underline}
.pager{display:flex;justify-content:space-between;margin-top:32px}.pager a{padding:11px 18px;border-radius:12px;border:1px solid var(--bd);background:var(--surface);text-decoration:none;font-weight:700}.pager a:hover{border-color:var(--acc)}
.empty{text-align:center;padding:70px 20px;background:var(--surface);border-radius:18px;border:1px solid var(--bd)}.empty h1,.empty h2{font-size:24px;margin-bottom:8px}.empty p{color:var(--mut);margin:0}
.post{max-width:760px;margin:0 auto}
.post h1{font-size:clamp(30px,4.6vw,46px);line-height:1.08;font-weight:800;margin:0}
.post .lede{margin:14px 0 0}
.post .hero{margin:26px 0 8px}.post .hero img{width:100%;height:auto;aspect-ratio:1200/630;object-fit:cover;border-radius:18px;display:block;border:1px solid var(--bd)}
.cta2{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;margin:44px 0 0;padding:22px 24px;border-radius:18px;background:var(--surface);border:1px solid var(--bd);box-shadow:var(--sh)}
.cta2 div{display:grid;gap:2px}.cta2 span{color:var(--mut);font-size:14.5px}.cta2 .btn{text-decoration:none}
.related{max-width:1120px;margin:56px auto 0}.related h2{font-size:24px;margin-bottom:18px}
.bf{border-top:1px solid var(--bd);color:var(--mut);font-size:13.5px}.bf .bw{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;padding-top:22px;padding-bottom:30px}.bf a{text-decoration:none}.bf a:hover{color:var(--tx);text-decoration:underline}
@media(max-width:600px){.bh nav a:not(.cta){display:none}}
.bf .pol{display:flex;flex-wrap:wrap;gap:6px 18px;padding-bottom:26px}
