/* Blog (/blog): uses the home page tokens from /home.css. */
.nav.solid { position: sticky; top: 0; background: var(--ink); }
.nav.solid nav a[aria-current="page"] { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.blog main { min-height: 60vh; }
.crumbs { font-size: 14px; font-weight: 600; }
.crumbs a { color: var(--blue); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.lead { font-size: 20px; color: var(--mute); max-width: 52ch; }

/* index */
.blog-hero { padding: 72px 0 40px; }
.blog-hero h1 { font-size: clamp(44px, 6vw, 84px); }
.blog-hero .lead { margin-top: 16px; }
.post-card.big { grid-column: 1 / -1; flex-direction: row; }
.post-card.big img { width: 58%; aspect-ratio: auto; min-height: 340px; }
.post-card.big > div { padding: 36px; justify-content: center; }
.post-card.big h3 { font: 800 clamp(26px, 2.6vw, 36px)/1.15 var(--display); letter-spacing: -.025em; }
.post-card.big p { font-size: 17px; }

/* stat tiles */
.post-body .stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 24px; }
.post-body .stat:last-child:nth-child(odd) { grid-column: 1 / -1; }
.post-body .stat { background: #fff; border: 1px solid var(--concrete); border-radius: 16px; padding: 20px 20px 18px; display: flex; flex-direction: column; gap: 6px; }
.post-body .stat b { font: 800 44px/1 var(--display); letter-spacing: -.03em; color: var(--blue); }
.post-body .stat span { font-size: 15px; line-height: 1.45; color: var(--ink); }
.post-body .stat small { margin-top: auto; padding-top: 6px; font-size: 13px; font-weight: 600; color: var(--mute); }
.post-body .stat:first-child { background: var(--ink); border-color: var(--ink); }
.post-body .stat:first-child b { color: var(--sky); }
.post-body .stat:first-child span { color: #fff; }
.post-body .stat:first-child small { color: #b9c6d2; }

/* post */
.post-head { padding: 64px 0 32px; }
.post-head h1 { font-size: clamp(36px, 5vw, 64px); max-width: 20ch; margin-top: 14px; }
.post-head .lead { margin-top: 18px; }
.post-head .meta { display: flex; gap: 18px; margin-top: 20px; font-size: 14px; font-weight: 600; color: var(--mute); }
.post-cover img { width: 100%; max-height: 560px; object-fit: cover; border-radius: 18px; }
.post-body { width: min(720px, 100% - 48px); margin: 0 auto; padding: 48px 0 24px; font-size: 18px; line-height: 1.75; }
.post-body > * + * { margin-top: 20px; }
.post-body h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.15; margin-top: 52px; }
.post-body h3 { font: 700 21px/1.3 var(--body); margin-top: 36px; }
.post-body p, .post-body li { color: #33414f; }
.post-body a { color: var(--blue); font-weight: 600; }
.post-body b { color: var(--ink); }
.post-body ul, .post-body ol { padding-left: 24px; }
.post-body li + li { margin-top: 8px; }
.post-body ol.steps2 { list-style: decimal; }
.post-body kbd { font: 600 15px var(--body); background: #fff; border: 1px solid var(--concrete); border-radius: 6px; padding: 1px 7px; }
.post-body .tip { background: #e3effa; border-radius: 12px; padding: 14px 18px; color: #0d4f80; }
.post-body .warn2 { background: #fff4e5; border-radius: 12px; padding: 14px 18px; color: #8a4b00; }
.post-body .shot img { border-radius: 14px; }
.post-body .cap2 { font-size: 14px; color: var(--mute); margin-top: 8px; }
.post-body .tbl { overflow-x: auto; border: 1px solid var(--concrete); border-radius: 14px; background: #fff; margin-top: 24px; }
.post-body table { border-collapse: collapse; width: 100%; font-size: 15px; line-height: 1.5; min-width: 640px; }
.post-body th, .post-body td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--concrete); vertical-align: top; }
.post-body thead th { background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; }
.post-body tbody th, .post-body td:first-child { font-weight: 600; color: var(--ink); }
.post-body td:last-child, .post-body th:last-child { background: #eef5fb; }
.post-body thead th:last-child { background: var(--blue); }
.post-body tr:last-child td { border-bottom: 0; }
.post-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: var(--ink); color: #fff; border-radius: 22px; padding: 36px 40px; margin-top: 48px; }
.post-cta h2 { font-size: clamp(26px, 3vw, 36px); }
.post-cta p { color: #b9c6d2; margin-top: 8px; }
.post-more { padding: 80px 0 110px; }
.post-more h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 28px; }
.foot .foot-h { color: #fff; font: 800 clamp(36px, 5vw, 72px)/1.02 var(--display); letter-spacing: -.025em; max-width: 14ch; }

@media (max-width: 900px) {
  .post-grid, .post-grid.two { grid-template-columns: 1fr; }
  .post-card.big { flex-direction: column; }
  .post-card.big img { width: 100%; min-height: 0; aspect-ratio: 16 / 9; }
  .post-card.big > div { padding: 22px; }
  .blog-hero { padding: 48px 0 28px; }
  .post-head { padding: 40px 0 24px; }
  .post-body { font-size: 17px; padding-top: 32px; }
  .post-cta { padding: 28px 24px; }
}
