:root {
  --blog-content-max: 720px;
  --blog-wide-max: 1040px;
  --blog-gap: clamp(28px, 5vw, 56px);
  --blog-card-r: var(--r-lg);
  --reading-font: Georgia, "Times New Roman", serif;
}

.blog-body { background: var(--paper); }
.blog-body .site-header { position: sticky; top: 0; z-index: 30; }
.blog-body .brand, .blog-body .nav a { text-decoration: none; }
.blog-body .nav a[aria-current="page"] { background: var(--mint); color: var(--soft-ink); }
.blog-main { min-height: 65vh; }
.blog-shell { width: min(100% - (2 * var(--gutter)), var(--blog-wide-max)); margin-inline: auto; }

.blog-intro { padding: clamp(54px, 9vw, 104px) 0 38px; position: relative; overflow: hidden; }
.blog-intro::before { content: ""; position: absolute; width: 420px; height: 420px; right: -160px; top: -180px; border-radius: 50%; background: var(--mint); opacity: .75; filter: blur(1px); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; color: var(--pine); font-size: 13px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.blog-intro h1, .post-header h1 { max-width: 900px; font-family: var(--font-display); font-size: clamp(38px, 7vw, 72px); line-height: .98; letter-spacing: -.05em; }
.blog-intro p { max-width: 650px; margin-top: 18px; color: var(--ink-2); font-size: clamp(18px, 2.5vw, 22px); line-height: 1.55; }

.posts { padding: 12px 0 clamp(70px, 10vw, 120px); }
.section-label { margin-bottom: 18px; color: var(--ink-3); font-size: 13px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.featured-card { display: grid; overflow: hidden; border: 1px solid var(--line); border-radius: 26px; color: inherit; background: color-mix(in srgb, var(--surface) 88%, transparent); box-shadow: var(--shadow); text-decoration: none; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.featured-card:hover { transform: translateY(-5px); border-color: var(--mint-strong); box-shadow: 0 20px 50px -24px rgba(4, 68, 47, .45); }
.featured-card__media { min-height: 260px; overflow: hidden; background: var(--mint); }
.featured-card__media img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .5s ease; }
.featured-card:hover img { transform: scale(1.025); }
.featured-card__body { padding: clamp(24px, 5vw, 48px); align-self: center; }
.post-badge { display: inline-flex; padding: 6px 11px; border: 1px solid var(--mint-strong); border-radius: 999px; background: var(--mint); color: var(--soft-ink); font-size: 12px; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }
.featured-card h2 { margin-top: 16px; font-family: var(--font-display); font-size: clamp(28px, 4vw, 44px); line-height: 1.08; letter-spacing: -.035em; }
.featured-card__excerpt { margin-top: 14px; color: var(--ink-2); font-size: 17px; line-height: 1.65; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 20px; color: var(--ink-3); font-size: 14px; }
.post-meta span { display: inline-flex; align-items: center; gap: 6px; }
.latest-posts { margin-top: clamp(46px, 7vw, 78px); }
.post-grid { display: grid; gap: 22px; }
.post-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--blog-card-r); background: var(--surface); color: inherit; box-shadow: 0 10px 30px -24px rgba(4, 68, 47, .35); text-decoration: none; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.post-card:hover { transform: translateY(-4px); border-color: var(--mint-strong); box-shadow: var(--shadow); }
.post-card img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-card__body { padding: 22px; }
.post-card h2 { margin-top: 13px; font-family: var(--font-display); font-size: clamp(23px, 3vw, 30px); line-height: 1.14; letter-spacing: -.025em; }
.post-card p { margin-top: 10px; color: var(--ink-2); line-height: 1.6; }

.breadcrumb { padding: 20px 0; color: var(--ink-3); font-size: 14px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 7px; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 7px; color: var(--line-2); }
.breadcrumb a { color: var(--ink-2); }
.post-header { padding: clamp(36px, 7vw, 74px) 0 34px; }
.post-header h1 { margin-top: 16px; font-size: clamp(40px, 7vw, 76px); }
.post-deck { max-width: 750px; margin-top: 22px; color: var(--ink-2); font-size: clamp(18px, 2.4vw, 22px); line-height: 1.55; }
.post-byline { margin-top: 22px; }
.post-byline a { font-weight: 750; }
.hero-figure { width: min(100% - (2 * var(--gutter)), 1200px); margin: 0 auto; }
.hero-figure img { display: block; width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: clamp(16px, 3vw, 28px); box-shadow: var(--shadow); }
.hero-figure figcaption, .article-figure figcaption { margin-top: 10px; color: var(--ink-3); font-size: 13px; text-align: center; }

.reading-progress { position: fixed; z-index: 60; top: 0; left: 0; width: 0; height: 3px; background: var(--pine); }
.article-layout { display: grid; gap: 34px; width: min(100% - (2 * var(--gutter)), 1080px); margin: var(--blog-gap) auto; }
.toc { align-self: start; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.toc summary { padding: 16px 18px; cursor: pointer; font-weight: 800; }
.toc ol { padding: 0 18px 18px 36px; list-style: decimal; }
.toc li { margin: 8px 0; color: var(--ink-3); font-size: 14px; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--pine); text-decoration: underline; }
.article { min-width: 0; max-width: var(--blog-content-max); }
.article > * + * { margin-top: 22px; }
.article h2 { margin-top: 54px; scroll-margin-top: 80px; font-family: var(--font-display); font-size: clamp(29px, 4vw, 40px); line-height: 1.15; letter-spacing: -.025em; }
.article h3 { margin-top: 34px; scroll-margin-top: 80px; font-family: var(--font-display); font-size: clamp(21px, 3vw, 27px); line-height: 1.25; }
.article p, .article li { font-family: var(--reading-font); font-size: clamp(17px, 1.8vw, 19px); line-height: 1.78; }
.article ul, .article ol { padding-left: 25px; }
.article ul { list-style: disc; }
.article ol { list-style: decimal; }
.article li + li { margin-top: 8px; }
.article a { text-underline-offset: 3px; }
.lead { padding-bottom: 26px; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: clamp(19px, 2.2vw, 22px) !important; }
.quick-answer { padding: 20px 22px; border-left: 4px solid var(--pine); border-radius: 0 var(--r-md) var(--r-md) 0; background: var(--mint); color: var(--soft-ink); }
.callout { padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.callout strong { display: block; margin-bottom: 5px; color: var(--pine); font-family: var(--font); font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
.callout--important { border-color: var(--note-line); background: var(--note-bg); color: var(--note-ink); }
.callout--important strong { color: inherit; }
.table-scroll { overflow-x: auto; margin-inline: 0; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.article table { width: 100%; min-width: 650px; border-collapse: collapse; font-family: var(--font); font-size: 14px; }
.article th, .article td { padding: 13px 15px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.article th { background: var(--mint); color: var(--soft-ink); font-size: 12px; letter-spacing: .045em; text-transform: uppercase; }
.article tbody tr:nth-child(even) { background: var(--surface-2); }
.article-figure { margin-top: 32px; }
.article-figure img { display: block; width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.steps { counter-reset: steps; padding-left: 0 !important; list-style: none !important; }
.steps li { position: relative; padding-left: 50px; }
.steps li::before { counter-increment: steps; content: counter(steps); position: absolute; left: 0; top: 2px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--pine); color: var(--on-pine); font-family: var(--font); font-size: 14px; font-weight: 850; }
.cta-banner { margin-top: 38px !important; padding: clamp(24px, 5vw, 36px); border-radius: var(--r-lg); background: var(--pine); color: var(--on-pine); }
.cta-banner h2, .cta-banner h3 { margin: 0; color: inherit; }
.cta-banner p { margin-top: 8px; font-family: var(--font); font-size: 16px; }
.cta-banner .btn { display: inline-flex; margin-top: 18px; background: var(--surface); color: var(--soft-ink); text-decoration: none; }
.faq-block details { padding: 16px 0; border-top: 1px solid var(--line); }
.faq-block summary { cursor: pointer; font-family: var(--font); font-size: 17px; font-weight: 800; }
.faq-block details p { margin-top: 10px; }

.share-row { display: flex; flex-wrap: wrap; gap: 9px; padding-top: 24px; border-top: 1px solid var(--line); }
.share-row button, .share-row a { min-height: 42px; padding: 9px 13px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); color: var(--ink-2); font: 750 13px/1 var(--font); text-decoration: none; }
.share-row button:hover, .share-row a:hover { border-color: var(--pine); color: var(--pine); }
.author-card { display: grid; gap: 14px; max-width: var(--blog-content-max); margin: 62px auto 0; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow); }
.author-card__mark { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--mint); color: var(--soft-ink); font-weight: 900; }
.author-card h2 { font-size: 20px; }
.author-card p { margin-top: 5px; color: var(--ink-2); }
.back-top { position: fixed; z-index: 20; right: 18px; bottom: 18px; width: 46px; height: 46px; border: 1px solid var(--line-2); border-radius: 50%; background: var(--surface); color: var(--pine); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.back-top.is-visible { opacity: 1; pointer-events: auto; }
.back-top:hover { transform: translateY(-3px); }
.blog-body .site-footer { margin-top: 80px; }

.related-guides { margin: 62px auto 0; padding-bottom: 20px; }
.related-guides > h2 { font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 34px); letter-spacing: -.025em; }
.related-grid { margin-top: 20px; }
.related-grid .post-card img { height: auto; }
.post-card h3 { margin-top: 13px; font-family: var(--font-display); font-size: clamp(19px, 2.2vw, 22px); line-height: 1.2; letter-spacing: -.02em; }
.related-grid .post-card__body { padding: 18px; }
.related-grid .post-card p { font-size: 15px; }

.js .reveal { opacity: 0; transform: translateY(18px); }
.js .reveal.is-visible { opacity: 1; transform: none; transition: opacity .55s ease, transform .55s ease; }

@media (min-width: 760px) {
  .featured-card { grid-template-columns: 1.08fr .92fr; }
  .featured-card__media { min-height: 430px; }
  .author-card { grid-template-columns: auto 1fr; align-items: center; }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1100px) {
  .related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 980px) {
  .article-layout { grid-template-columns: 230px minmax(0, var(--blog-content-max)); justify-content: center; }
  .toc { position: sticky; top: calc(var(--header-h) + 24px); }
  .toc summary { cursor: default; }
  .toc summary::marker { content: ""; }
  .table-scroll { margin-inline: min(0px, calc((var(--blog-wide-max) - var(--blog-content-max)) / -2)); }
  .article-layout .table-scroll { margin-inline: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .featured-card, .featured-card img, .back-top, .reveal, .reveal.is-visible { transition: none; transform: none; }
  .js .reveal { opacity: 1; }
}
