/* The blog (/blog/): the homepage's sheet (market.css) gives the type, colors,
   top bar, buttons, questions and footer; this sheet only lays out the posts.
   Made pages: scripts/build-blog.mjs. */
.blog-page{background:#fff}
/* The bar marks the blog like the homepage marks the part on the screen:
   yellow on the dark bar, and yellow words over a yellow line in the menu. */
.topbar-nav a[aria-current='page']{color:var(--yellow)}
.mobile-nav-links a[aria-current='page']{background:none;color:var(--yellow);text-decoration:underline;text-decoration-color:var(--yellow);text-decoration-thickness:2px;text-underline-offset:7px}

.blog-hero{padding:56px 0 52px;background:var(--mint);border-bottom:1px solid var(--line)}
.blog-hero-inner{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,.7fr);gap:48px;align-items:end}
.blog-hero h1{font-size:clamp(40px,4.4vw,62px)}
.blog-hero h1 span,.blog-hero h1 em{display:block}
.blog-lede{max-width:62ch;margin:22px 0 0;font-size:var(--lead-size);line-height:1.55;color:var(--muted)}
.blog-hero-art{display:flex;justify-content:center;align-self:end}
.blog-hero-art img{width:auto;max-width:100%;max-height:360px;object-fit:contain}
.breadcrumbs{margin:0 0 22px;font-size:15px;font-weight:600;color:var(--muted)}
.breadcrumbs a{color:var(--green-dark);text-underline-offset:3px}
.breadcrumbs a:hover{color:var(--green)}
.post-meta{margin:20px 0 0;font-size:15px;font-weight:600;color:var(--muted)}
.post-meta a{color:var(--green-dark);text-underline-offset:3px}

.post-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:64px;padding:56px 0 80px}
.post-toc{position:sticky;top:110px;align-self:start;max-height:calc(100vh - 130px);overflow:auto;font-size:15px;font-weight:600}
.post-toc p{margin:0 0 12px;font-family:var(--display);font-size:16px;font-weight:700;text-transform:uppercase;letter-spacing:.035em;color:var(--ink)}
.post-toc ol{margin:0;padding:0;list-style:none;border-left:2px solid var(--line)}
.post-toc li a{display:block;padding:7px 0 7px 14px;color:var(--muted);text-decoration:none;line-height:1.35}
.post-toc li a:hover{color:var(--green-dark);text-decoration:underline;text-underline-offset:3px}

.post-body{max-width:760px;min-width:0}
.post-body>p,.post-body li,.post-body section>p{font-size:var(--copy-size);line-height:1.65;color:var(--text)}
.post-body h2{margin:52px 0 18px;scroll-margin-top:100px}
.post-body h3{margin:32px 0 12px;font-size:22px}
.post-body ul,.post-body ol{margin:0 0 1.2em;padding-left:1.3em}
.post-body li{margin:0 0 .55em}
.post-body li::marker{color:var(--green-dark);font-weight:700}
.post-body a{color:var(--green-dark);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;overflow-wrap:anywhere}
.post-body a:hover{color:var(--green);text-decoration-thickness:2px}
.post-body strong{color:var(--ink)}
.definition{margin:0 0 36px;padding:22px 26px;border-left:5px solid var(--yellow);background:var(--mint)}
.definition p{margin:0;font-size:var(--copy-size);line-height:1.6;color:var(--ink)}
.steps-list{counter-reset:none}

.table-wrap{max-width:100%;margin:28px 0 32px;overflow-x:auto;border:1px solid var(--line)}
.table-wrap table{width:100%;min-width:640px;border-collapse:collapse;font-size:16px;line-height:1.5}
.table-wrap caption{padding:12px 14px;text-align:left;font-size:15px;font-weight:600;color:var(--muted);background:#fff}
.table-wrap th{padding:12px 14px;background:var(--forest);color:#fff;font-family:var(--display);font-size:16px;font-weight:700;text-transform:uppercase;letter-spacing:.02em;text-align:left;vertical-align:bottom}
.table-wrap td{padding:13px 14px;border-top:1px solid var(--line);vertical-align:top;color:var(--text)}
.table-wrap tbody tr:nth-child(even) td{background:#f8faf5}
.table-wrap td a{color:var(--green-dark)}

.stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;margin:24px 0 28px;background:var(--line);border:1px solid var(--line)}
.stat-grid .stat{margin:0;padding:20px 22px;background:#fff}
.stat strong{display:block;font-family:var(--display);font-size:46px;font-weight:700;line-height:1;color:var(--green-dark)}
.stat span{display:block;margin-top:8px;font-size:17px;line-height:1.45;color:var(--text)}

.post-figure{margin:36px 0}
.post-figure img{width:100%;height:auto;border:1px solid var(--line)}
.post-figure figcaption{margin-top:10px;font-size:15px;font-weight:500;line-height:1.5;color:var(--muted)}

.post-faq{margin-top:12px}
.post-faq .faq-list{margin-top:8px}
.post-sources{margin-top:12px}
.post-sources>p{font-size:16px;color:var(--muted)}
.post-sources ol{padding-left:1.4em}
.post-sources li{font-size:16px;line-height:1.5}
.post-credits{margin:24px 0 0;font-size:15px;line-height:1.5;color:var(--muted)}
.post-credits a{color:var(--green-dark)}


.blog-related{padding:64px 0 76px;background:var(--mint);border-top:1px solid var(--line)}
.blog-related h2{margin:0 0 28px}
.blog-list{padding:56px 0 24px}
.blog-list-title{margin:64px 0 26px}
.post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.post-card{display:flex;flex-direction:column;border:1px solid var(--line);background:#fff}
.post-card-art{display:flex;align-items:flex-end;justify-content:center;height:220px;padding-top:16px;background:var(--mint);border-bottom:1px solid var(--line)}
.post-card-art img{width:auto;max-width:90%;max-height:200px;object-fit:contain}
.post-card-body{display:flex;flex:1;flex-direction:column;padding:22px 22px 24px}
.post-card-kicker{margin:0 0 10px;font-family:var(--display);font-size:15px;font-weight:700;text-transform:uppercase;letter-spacing:.035em;color:var(--green-dark)}
.post-card h2,.post-card h3{margin:0 0 12px;font-size:23px;line-height:1.2}
.post-card h2 a,.post-card h3 a,.post-feature h3 a{color:var(--ink);text-decoration:none}
.post-card h2 a:hover,.post-card h3 a:hover,.post-feature h3 a:hover{color:var(--green-dark);text-decoration:underline;text-underline-offset:4px}
.post-card-body>p:not(.post-card-kicker):not(.post-card-meta){margin:0 0 16px;font-size:17px;line-height:1.5;color:var(--text)}
.post-card-meta{margin:auto 0 0;font-size:14px;font-weight:600;color:var(--muted)}
.post-feature{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);border:1px solid var(--line);background:#fff}
.post-feature-art{display:flex;align-items:flex-end;justify-content:center;min-height:320px;padding-top:24px;background:var(--mint)}
.post-feature-art img{width:auto;max-width:92%;max-height:330px;object-fit:contain}
.post-feature-body{display:flex;flex-direction:column;justify-content:center;padding:36px 40px}
.post-feature h3{margin:0 0 14px;font-size:clamp(28px,2.6vw,38px);line-height:1.12}
.post-feature-body>p:not(.post-card-kicker):not(.post-card-meta){margin:0 0 18px;font-size:var(--copy-size);color:var(--text)}
.post-feature .post-card-meta{margin:0}
.blog-author{padding:64px 0;border-top:1px solid var(--line)}
.blog-author-inner{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:56px}
.blog-author h2{margin:0}
.blog-author p:not(.eyebrow){font-size:var(--copy-size);color:var(--text)}

@media(max-width:1050px){
  .post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:880px){
  .blog-hero-inner{grid-template-columns:1fr;gap:28px}
  .blog-hero-art img{max-height:260px}
  .post-layout{grid-template-columns:1fr;gap:32px;padding-top:36px}
  .post-toc{position:static;max-height:none;padding:18px 20px;border:1px solid var(--line);background:#fff}
  .post-feature{grid-template-columns:1fr}
  .post-feature-art{min-height:240px}
  .post-feature-body{padding:26px 24px 28px}
  .blog-author-inner{grid-template-columns:1fr;gap:12px}
}
@media(max-width:600px){
  .blog-hero{padding:34px 0 36px}
  .blog-hero h1{font-size:clamp(34px,10vw,44px)}
  .blog-hero-art img{max-height:210px}
  .post-grid{grid-template-columns:1fr}
  .stat-grid{grid-template-columns:1fr}
  .stat strong{font-size:40px}
  .definition{padding:18px 18px}
  .table-wrap table{font-size:15px}
}

/* A quieter editorial treatment for the blog, separate from the homepage. */
.blog-page h1,.blog-page h2,.blog-page h3{font-family:var(--sans);text-transform:none;letter-spacing:-.035em}
.blog-hero{padding:32px 0 38px;background:#fff}
.blog-hero-inner{display:block}
.blog-hero-copy{max-width:900px}
.blog-hero .eyebrow{margin-bottom:12px;color:var(--green-dark)}
.blog-hero h1{font-size:clamp(34px,3.4vw,50px);line-height:1.12;font-weight:750}
.blog-hero h1 span,.blog-hero h1 em{display:inline}
.blog-lede{max-width:70ch;margin-top:15px;font-size:18px;line-height:1.6}
.post-hero .blog-hero-copy{max-width:1050px}
.post-hero h1{max-width:28ch}
.post-meta{margin-top:18px}
.blog-list{padding:38px 0 24px}
.post-feature{grid-template-columns:minmax(0,1fr) minmax(0,1fr);border:0;background:var(--mint)}
.post-feature-art{display:block;min-height:0;padding:0;overflow:hidden}
.post-feature-art img{display:block;width:100%;height:100%;min-height:340px;max-width:none;max-height:none;object-fit:cover}
.post-feature-body{padding:38px 42px}
.post-feature h3{font-size:clamp(25px,2.2vw,34px);line-height:1.18}
.post-card{border:0;border-top:1px solid var(--line)}
.post-card-art{display:block;height:auto;aspect-ratio:3/2;padding:0;overflow:hidden;border:0;background:var(--mint)}
.post-card-art img{display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:cover}
.post-card-body{padding:20px 0 24px}
.post-card h2,.post-card h3{font-size:22px;line-height:1.25}
.post-card-kicker{font-family:var(--sans);font-size:14px;letter-spacing:.06em}
.blog-list-title{margin:58px 0 26px}
.blog-page .footer-crew{display:none}
@media(max-width:880px){
  .post-feature{grid-template-columns:1fr}
  .post-feature-art img{min-height:0;aspect-ratio:3/2}
  .post-feature-body{padding:26px 24px 28px}
}
@media(max-width:600px){
  .blog-hero{padding:26px 0 30px}
  .blog-hero h1{font-size:32px}
  .blog-lede{font-size:17px}
  .blog-list{padding-top:28px}
  .blog-list-title{margin-top:42px}
}
