/* The blog: the site's masthead over a quiet reading column. */
.blog-page .site-header a[aria-current="page"] { color: var(--blue); }
.blog-intro { padding: clamp(2.5rem, 6vh, 5rem) var(--gutter) clamp(2.5rem, 5vw, 4.5rem); }
.blog-intro h1 { margin: 0; font: 400 clamp(4rem, 11vw, 11rem)/0.92 var(--display); letter-spacing: -0.015em; }
.blog-intro h1 span { display: block; }
.blog-lede { max-width: 44ch; margin: 1.5rem 0 0; font-size: clamp(1.05rem, 1.5vw, 1.35rem); }
.post-list { margin: 0; padding: 0; list-style: none; }
.post-list li { border-top: 1px solid var(--ink); }
.post-list a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(16rem, 26rem); gap: 1.5rem clamp(2rem, 5vw, 5rem); align-items: center; padding: clamp(2rem, 4vw, 3.5rem) var(--gutter); text-decoration: none; }
.post-list time { display: block; margin-bottom: 1rem; font: 0.8rem/1.4 monospace; color: var(--muted); }
.post-list h2 { max-width: 20ch; margin: 0; font: 400 clamp(2.4rem, 4.5vw, 4.5rem)/1 var(--display); letter-spacing: -0.005em; text-wrap: balance; transition: color 180ms ease; }
.post-list p { max-width: 52ch; margin: 1rem 0 0; line-height: 1.55; }
.post-list-art img, .post-art img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.post-list-art img { border-radius: 6px; transition: transform 320ms var(--ease); }
.post-list a:hover h2 { color: var(--blue); }
.post-list a:hover .post-list-art img { transform: translateY(-4px); }

.post { --measure: 42rem; padding: clamp(2.5rem, 6vh, 5rem) var(--gutter) clamp(3rem, 6vw, 6rem); }
.post-head, .post-body, .post-join { max-width: var(--measure); margin-inline: auto; }
.post-meta { display: flex; gap: 0.6rem; margin: 0 0 1.5rem; font: 0.8rem/1.4 monospace; color: var(--muted); }
.post-meta a { color: var(--blue); font-weight: 700; }
.post-head h1 { margin: 0; font: 400 clamp(3.25rem, 7vw, 6rem)/0.95 var(--display); letter-spacing: -0.01em; text-wrap: balance; }
.post-dek { margin: 1.5rem 0 0; font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.45; }
.post-art { max-width: 60rem; margin: clamp(2rem, 4vw, 3rem) auto clamp(2.5rem, 5vw, 3.5rem); }
.post-art img { border-radius: 6px; }
.post-body { font-size: 1.125rem; line-height: 1.7; }
.post-body > p, .post-body > ul { margin: 1.4rem 0 0; }
.post-body > h2 { margin: 3.5rem 0 0; font: 400 clamp(2.4rem, 3.6vw, 3.25rem)/1 var(--display); }
.post-body a { color: var(--blue); text-underline-offset: 0.2em; }
.post-body code { font: 0.86em monospace; overflow-wrap: anywhere; }
.post-body :not(pre) > code { padding: 0.1em 0.3em; border-radius: 3px; background: rgb(21 19 18 / 0.07); }
.post-body pre { margin: 1.5rem 0 0; padding: 1.1rem 1.25rem; overflow-x: auto; border-left: 4px solid var(--ink); background: var(--paper-slip); font-size: 0.95rem; line-height: 1.6; }
.post-body pre code { white-space: pre-wrap; }
.post-body p > code { white-space: nowrap; }
.post-body ul { padding: 0; list-style: none; }
.post-body li { padding: 0.9rem 0; border-top: 1px solid rgb(21 19 18 / 0.2); }
.post-body li strong { font-weight: 700; }
/* The review exchange keeps the home page's tickets and sits a little wider than the prose. */
.post-body .post-verdicts { margin: 2.25rem -2rem 0.75rem; font-size: 1rem; line-height: 1.5; }
.post-body .post-verdicts li { padding: 0; border: 0; }
.post-body .post-verdicts code { padding: 0; background: none; }
.post-body .verdict-fix h3 { margin: 0.5rem 0 0; font-family: var(--display); font-weight: 400; }

.post-next { display: grid; grid-template-columns: minmax(0, 1fr) 2.5rem; gap: 0.35rem 1rem; max-width: var(--measure); margin: 4rem auto 0; padding: 1.5rem 0; border-block: 1px solid var(--ink); text-decoration: none; }
.post-next-label { font: 0.8rem/1.4 monospace; color: var(--muted); }
.post-next-title { grid-column: 1; font: 400 clamp(1.9rem, 3vw, 2.5rem)/1.05 var(--display); transition: color 180ms ease; }
.post-next .icon { grid-area: 1 / 2 / 3; align-self: center; width: 2.25rem; height: 2.25rem; }
.post-next:hover .post-next-title, .post-next:hover .icon { color: var(--blue); }
.post-join { margin-top: 4.5rem; padding-top: 2.5rem; border-top: 1px solid var(--ink); }
.post-join h2 { margin: 0; font: 400 clamp(2.6rem, 4.5vw, 4rem)/1 var(--display); }
.post-join h2 span { display: block; }
.post-join h2 span:last-child { color: var(--blue); }
.post-join p { margin: 1rem 0 0; line-height: 1.55; }
.post-join .section-link { padding-inline: 1.25rem 0.75rem; color: var(--paper); background: var(--blue); border-color: var(--blue); border-radius: 6px; text-decoration: none; }
.post-join .section-link:hover { background: var(--ink); border-color: var(--ink); }

@media (max-width: 760px) {
  .post-list a { grid-template-columns: minmax(0, 1fr); }
  .post-list-art { grid-row: 1; }
  .post-body .post-verdicts { margin-inline: 0; }
}
