/* Blog: the list of posts and the article page. */
.blog-list{background:var(--night)}
.blog-list .wrap{padding-top:clamp(32px,4vw,56px)}
.blog-list .post-row:first-child .pr-title{font-size:clamp(36px,4.8vw,76px);max-width:16ch}
.blog-empty{font-size:18px;color:var(--soft)}

/* ---------- article ---------- */
.progress{position:fixed;left:0;right:0;top:0;height:6px;z-index:40;pointer-events:none}
.progress i{display:block;height:100%;transform:scaleX(0);transform-origin:left;
  background:repeating-linear-gradient(135deg,rgba(255,255,255,.6) 0 2px,transparent 2px 6px),linear-gradient(180deg,#E6EBF2,#AEB9C9);box-shadow:0 0 12px 1px rgba(255,255,255,.55)}
.night-post .stage{min-height:clamp(520px,76svh,840px)}
.night-post .h1{font-size:clamp(44px,6.8vw,112px);line-height:.9;max-width:17ch}
.hero-foot .post-meta{display:flex;flex-wrap:wrap;gap:6px 24px;max-width:none;font-size:16px;font-weight:600}
.post-body{display:grid;grid-template-columns:minmax(200px,250px) minmax(0,68ch);gap:clamp(32px,6vw,96px);justify-content:start;padding:clamp(48px,7vw,104px) var(--g) clamp(64px,8vw,120px)}
.toc{position:sticky;top:32px;align-self:start;font-size:15px}
.toc-h{font-weight:800;color:var(--ink);margin-bottom:10px}
.toc ol{list-style:none;border-left:2px solid var(--rule)}
.toc a{display:block;padding:7px 0 7px 14px;margin-left:-2px;border-left:3px solid transparent;text-decoration:none;color:var(--muted);font-weight:600;line-height:1.3}
.toc a:hover{color:var(--ink)}
.toc a[aria-current]{color:var(--ink);border-left-color:var(--ink)}
.post-cta{position:relative;background:var(--fluoro);color:var(--ink);border-radius:6px;padding:34px 26px 26px;overflow:hidden}
.prose .post-cta{margin-top:2em;margin-bottom:.4em}
.post-cta::before{content:"";position:absolute;left:0;right:0;top:0;height:12px;background:repeating-linear-gradient(135deg,rgba(255,255,255,.3) 0 2px,transparent 2px 7px),linear-gradient(180deg,#AEB6C1,#8E98A6 55%,#A6AFBB)}
.post-cta-h{font-weight:900;font-variation-settings:"wdth" 75;font-size:clamp(26px,2.4vw,34px);line-height:1;letter-spacing:-.01em}
.post-cta p{color:var(--ink);margin-top:10px}
.post-cta .btn{margin-top:18px;color:var(--fluoro);font-weight:800;text-decoration:none}
.related{background:var(--night)}
/* Pictures, videos and bylines from the website editor */
.prose figure.img img{display:block;width:100%;height:auto;border-radius:6px}
.prose figcaption{margin-top:8px;font-size:15px;line-height:1.45;color:var(--muted)}
.video-play{position:relative;display:block;aspect-ratio:16/9;border-radius:6px;overflow:hidden;background:var(--night);color:#fff;text-decoration:none}
.video-play img{width:100%;height:100%;object-fit:cover;opacity:.7}
.video-btn{position:absolute;left:18px;right:18px;bottom:18px;display:flex;align-items:center;gap:14px;font-weight:800;font-size:17px;line-height:1.25;text-shadow:0 1px 8px rgba(0,0,0,.5)}
.video-btn::before{content:"";flex:none;width:58px;height:58px;border-radius:50%;background:var(--fluoro) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='%230A1830'/%3E%3C/svg%3E") 55% 50%/26px no-repeat;box-shadow:0 0 0 3px #fff}
.video-play:hover .video-btn::before,.video-play:focus-visible .video-btn::before{transform:scale(1.06)}
.video-frame{display:block;width:100%;aspect-ratio:16/9;border:0;border-radius:6px;background:var(--night)}
.post-author{display:grid;grid-template-columns:auto minmax(0,1fr);gap:16px;align-items:start;margin-top:2.2em;padding:20px 22px;border:2px solid var(--ink);border-radius:8px;background:#fff}
.post-author img{width:72px;height:72px;border-radius:50%;object-fit:cover}
.post-author-n{font-weight:800;color:var(--ink)}
.post-author-r{font-size:15px;color:var(--muted)}
.post-author-b{margin-top:8px;font-size:16px;line-height:1.55}
.post-author-l{display:flex;flex-wrap:wrap;gap:4px 14px;margin-top:8px;font-size:15px}
@media (min-width:961px){.prose figure.img-wide{width:calc(100% + min(12vw,160px))}}
.related .big{margin-bottom:clamp(32px,4vw,48px)}

@media (max-width:960px){
  .post-body{grid-template-columns:minmax(0,1fr)}
  .toc{position:static;border:2px solid var(--rule);border-radius:8px;padding:16px 18px;background:#fff;max-width:68ch}
}
