.blog-intro h1 { font-size: clamp(39px, 5.2vw, 62px); }
.blog-list-heading { margin-bottom: 8px; font-size: 18px; }
.post-header { padding-top: 65px; padding-bottom: 37px; }
.post-header h1 { max-width: 780px; margin-top: 19px; font-size: clamp(36px, 4.5vw, 54px); line-height: 1.15; letter-spacing: -.045em; }
.post-deck { max-width: 700px; margin-top: 24px; color: var(--body); font-size: 18px; line-height: 1.75; }
.post-author { margin-top: 20px; color: var(--muted); font: 11px/1.8 var(--mono); }
.post-author a { color: var(--ink); }
.post-author a:hover { color: var(--accent); }
.post-layout { padding-top: 38px; padding-bottom: 49px; }
.post-sidebar { align-self: start; position: sticky; top: 28px; }
.post-toc { font: 10px/1.8 var(--mono); }
.post-toc > p { color: var(--muted); margin-bottom: 16px; }
.post-toc a { display: block; color: var(--body); padding: 8px 0; border-bottom: 1px solid var(--line); }
.post-toc a:hover { color: var(--accent); }
.post-prose { max-width: 74ch; min-width: 0; color: var(--body); font-size: 17px; line-height: 1.9; overflow-wrap: break-word; }
.post-prose > p { margin-bottom: 23px; }
.post-prose > p:first-child { color: var(--ink); font-size: 19px; line-height: 1.8; }
.post-prose h2 { color: var(--ink); font-size: 25px; line-height: 1.4; margin: 47px 0 20px; letter-spacing: -.03em; }
.post-prose h3 { color: var(--ink); font-size: 20px; line-height: 1.5; margin: 28px 0 14px; }
.post-prose > :last-child { margin-bottom: 0; }
.post-prose a { color: var(--accent); text-decoration: underline; text-decoration-color: var(--line); }
.post-prose a:hover { text-decoration-color: var(--accent); }
.post-prose ul, .post-prose ol { padding-left: 23px; margin: 23px 0; }
.post-prose li { padding-left: 5px; margin-bottom: 10px; }
.post-prose li::marker { color: var(--muted); }
.post-prose table { width: 100%; margin: 28px 0; border-collapse: collapse; font-size: 15px; line-height: 1.6; }
.post-prose th, .post-prose td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.post-prose thead th { color: var(--ink); font: 12px/1.6 var(--mono); }
.post-prose tbody th { font-weight: 400; }
.post-prose th:last-child, .post-prose td:last-child { text-align: right; }
.post-figure { margin: 32px 0 37px; }
.post-figure > a { display: block; }
.post-figure img { display: block; width: 100%; height: auto; border: 1px solid var(--line); background: #fff; }
.post-figure figcaption { margin-top: 13px; color: var(--muted); font: 10px/1.9 var(--mono); }
.post-figure figcaption a { display: inline-block; margin-left: 7px; }
.post-end { padding-top: 33px; padding-bottom: 42px; }
.post-end p { max-width: 640px; color: var(--body); font-size: 14px; }
.post-end .hero-links { margin-top: 17px; }

@media (max-width: 1000px) {
  .post-toc { font-size: 9px; }
  .post-prose { font-size: 16px; }
  .post-deck { font-size: 17px; }
}

@media (max-width: 700px) {
  .post-header { padding-top: 31px; padding-bottom: 30px; }
  .post-header h1 { font-size: clamp(32px, 8vw, 45px); margin-top: 16px; }
  .post-deck { font-size: 16px; margin-top: 20px; }
  .post-author { margin-top: 16px; }
  .post-layout { padding-top: 29px; }
  .post-sidebar { display: none; }
  .post-prose { font-size: 16px; line-height: 1.85; }
  .post-prose > p:first-child { font-size: 17px; }
  .post-prose h2 { font-size: 22px; margin-top: 35px; }
  .post-figure { margin: 25px 0 29px; }
  .post-figure figcaption { font-size: 9px; }
  .post-end p { font-size: 13px; }
}

@media print {
  .post-sidebar, .post-end, .post-header > .section-label { display: none; }
  .post-header, .post-layout { display: block; padding: 20px 0; }
  .post-header h1 { font-size: 26pt; }
  .post-deck { font-size: 12pt; }
  .post-prose, .post-prose > p:first-child { max-width: none; font-size: 11pt; line-height: 1.65; }
  .post-prose h2 { font-size: 16pt; margin-top: 25px; break-after: avoid; }
  .post-prose p { orphans: 3; widows: 3; }
  .post-figure { break-inside: avoid; max-width: 540px; }
  .post-figure figcaption a { display: none; }
}
