.blog-page {
  --container: 1160px;
  min-height: 100vh;
  background: #f7f9f7;
}
.blog-page .container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.blog-page .site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid #e4e6e2; background: rgba(255,255,255,.97); backdrop-filter: blur(12px); }
.blog-page .nav-wrap { min-height: 72px; }
.blog-page .reference-brand { display: grid; flex: 0 0 174px; justify-items: start; gap: 0; width: 174px; line-height: 1; }
.blog-page .reference-brand img { width: 170px; height: 63px; object-fit: contain; object-position: left center; }
.blog-page .reference-brand small { margin: -1px 0 0 7px; color: #314738; font: 700 7px/1.1 var(--body); letter-spacing: .075em; white-space: nowrap; }
.blog-page .primary-nav { gap: clamp(12px, 1.5vw, 22px); }
.blog-page .nav-link { color: #27352e; font-size: 13px; }
.blog-page .nav-link:hover, .blog-page .nav-link.active { color: var(--green-deep); }
.blog-page .inner-hero { padding: 44px 0 37px; background: linear-gradient(180deg, #fff, #f7f9f7); }
.blog-page .inner-hero h1 { max-width: 900px; color: #17251e; }
.blog-page .eyebrow { color: #346449; }
.blog-page .category-list { margin-bottom: 19px; }
.blog-page .category-list li { border-color: #dae6df; color: #31523f; background: #fff; }
.blog-intro { max-width: 850px; margin: 0 0 26px; color: #596879; font-size: 15px; line-height: 1.75; }
.blog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.blog-card { min-width: 0; overflow: hidden; border: 1px solid #dce5e1; border-radius: 15px; background: #fff; box-shadow: 0 5px 18px rgba(21,34,56,.035); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.blog-card:hover { transform: translateY(-3px); border-color: #b4d8c8; box-shadow: 0 16px 42px rgba(21,34,56,.08); }
.blog-card-image { display: block; overflow: hidden; background: #eaf2f7; }
.blog-card-image img { width: 100%; height: 205px; object-fit: cover; transition: transform .25s ease; }
.blog-card:hover .blog-card-image img { transform: scale(1.025); }
.blog-card-copy { display: flex; min-height: 245px; flex-direction: column; align-items: flex-start; padding: 19px 21px 20px; }
.blog-card-category { margin: 0 0 8px; color: #07694f; font-size: 11px; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; }
.blog-card h2 { margin: 0 0 10px; font-size: clamp(19px, 2vw, 23px); line-height: 1.24; letter-spacing: -.035em; }
.blog-card h2 a:hover { color: #07694f; }
.blog-card-summary { margin: 0 0 14px; color: #596879; font-size: 14px; line-height: 1.62; }
.blog-card-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; color: #687482; font-size: 11px; }
.blog-read-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 13px; color: #07694f; font-size: 13px; font-weight: 800; }
.blog-read-link:hover, .back-to-blog a:hover { text-decoration: underline; text-underline-offset: 3px; }
.blog-index-cta { margin-top: 34px; padding: 25px 27px; border: 1px solid #d3e4db; border-radius: 15px; background: #edf6f1; }
.blog-index-cta h2 { margin: 0 0 8px; font-size: 23px; }
.blog-index-cta p { margin: 0 0 15px; color: #596879; }
.blog-index-cta .button { min-height: 43px; }
.blog-page .site-footer { background: #fff; }
.blog-page .footer-main { flex-wrap: wrap; }
.blog-page .footer-main > p { max-width: 250px; }
.blog-page .footer-nav { gap: 15px; }
.article-hero { padding-bottom: 29px !important; }
.article-hero h1 { max-width: 920px !important; font-size: clamp(33px, 4vw, 48px) !important; }
.article-meta { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; color: #63716a; font-size: 12px; font-weight: 600; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 35px; align-items: start; }
.article-main { min-width: 0; }
.article-cover { overflow: hidden; margin: 0 0 25px; border: 1px solid #e3e9e5; border-radius: 16px; background: #eaf2f7; }
.article-cover img { width: 100%; max-height: 430px; aspect-ratio: 16 / 9; object-fit: cover; }
.article-cover figcaption { padding: 9px 14px; color: #69766f; background: #fff; font-size: 11px; }
.article-content { padding: clamp(22px, 4vw, 43px); border: 1px solid #e0e8e3; border-radius: 16px; background: #fff; box-shadow: 0 7px 25px rgba(21,34,56,.035); }
.article-content > .article-section + .article-section { margin-top: 31px; padding-top: 25px; border-top: 1px solid #e9eeeb; }
.article-content h2 { margin: 0 0 13px; color: #17251e; font-size: clamp(22px, 2.5vw, 28px); line-height: 1.2; letter-spacing: -.035em; }
.article-content p, .article-content li { color: #465568; font-size: 15px; line-height: 1.8; }
.article-content p { margin: 0 0 15px; }
.article-content ul { display: grid; gap: 8px; margin: 4px 0 17px; padding-left: 23px; }
.article-content li::marker { color: #078864; }
.article-content a { color: #07694f; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.article-callout { margin: 18px 0 0; padding: 16px 18px; border-left: 4px solid #e0711e; border-radius: 0 10px 10px 0; background: #fff7ef; }
.article-callout p { margin: 0; color: #4f453c; font-size: 14px; }
.article-endnote { margin-top: 33px; padding-top: 22px; border-top: 1px solid #e9eeeb; }
.article-endnote p { color: #687482; font-size: 13px; }
.article-endnote .button { min-height: 43px; }
.article-sidebar { position: sticky; top: 96px; display: grid; gap: 14px; }
.article-toc, .article-help { padding: 18px; border: 1px solid #dce5e1; border-radius: 13px; background: #fff; }
.article-toc > p { margin: 0 0 10px; color: #203e2e; font-size: 13px; font-weight: 800; }
.article-toc ol { display: grid; gap: 9px; margin: 0; padding-left: 20px; color: #718078; }
.article-toc li { padding-left: 2px; font-size: 12px; line-height: 1.5; }
.article-toc a { color: #465568; }
.article-toc a:hover { color: #07694f; text-decoration: underline; text-underline-offset: 2px; }
.article-help { background: #edf6f1; }
.article-help strong { color: #203e2e; font-size: 13px; }
.article-help p { margin: 7px 0 11px; color: #58695e; font-size: 12px; line-height: 1.6; }
.article-help a { color: #07694f; font-size: 12px; font-weight: 800; }
.related-section { padding-top: 5px; }
.related-heading { margin-bottom: 19px; }
.related-heading .eyebrow { margin-bottom: 7px; }
.related-heading h2 { font-size: clamp(24px, 3vw, 32px); }
.related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.blog-card-compact .blog-card-image img { height: 145px; }
.blog-card-compact .blog-card-copy { min-height: 220px; padding: 15px; }
.blog-card-compact h2 { font-size: 17px; }
.blog-card-compact .blog-card-summary { font-size: 12px; }
.back-to-blog { margin: 20px 0 0; font-size: 13px; font-weight: 700; }
.back-to-blog a { color: #07694f; }

@media (max-width: 1000px) {
  .blog-page .primary-nav { gap: 11px; }
  .blog-page .nav-link { font-size: 12px; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 225px; gap: 22px; }
}
@media (max-width: 840px) {
  .blog-page .nav-wrap { position: relative; min-height: 70px; }
  .blog-page .menu-toggle { display: block; flex: 0 0 auto; width: 43px; height: 42px; border: 1px solid #e4e6e2; border-radius: 10px; color: #17251e; background: #fff; }
  .blog-page .primary-nav { position: absolute; top: calc(100% + 1px); left: -24px; right: -24px; z-index: 60; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 9px 24px 16px; border-bottom: 1px solid #e4e6e2; background: #fff; box-shadow: 0 12px 20px rgba(15,34,22,.11); }
  .blog-page .primary-nav.is-open { display: flex; }
  .blog-page .primary-nav > .nav-link { padding: 10px 3px; border-bottom: 1px solid #eceeeb; font-size: 14px; }
  .blog-page .primary-nav > .button { width: 100%; margin-top: 12px; }
}
@media (max-width: 760px) {
  .blog-page .container { width: min(var(--container), calc(100% - 30px)); }
  .blog-grid { grid-template-columns: 1fr; gap: 15px; }
  .blog-card { display: grid; grid-template-columns: minmax(130px, .38fr) minmax(0, .62fr); }
  .blog-card-image img { height: 100%; min-height: 180px; }
  .blog-card-copy { min-height: 0; padding: 16px; }
  .blog-card h2 { font-size: 18px; }
  .blog-card-summary { font-size: 13px; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; grid-row: 1; }
  .article-toc ol { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .article-help { display: none; }
  .related-grid { grid-template-columns: 1fr; }
  .blog-card-compact { display: grid; grid-template-columns: 130px minmax(0,1fr); }
  .blog-card-compact .blog-card-image img { height: 100%; min-height: 160px; }
  .blog-card-compact .blog-card-copy { min-height: 0; }
}
@media (max-width: 520px) {
  .blog-page .container { width: calc(100% - 30px); }
  .blog-page .inner-hero { padding: 31px 0 27px; }
  .blog-page .nav-wrap { min-height: 65px; }
  .blog-page .reference-brand { flex-basis: 154px; width: 154px; }
  .blog-page .reference-brand img { width: 150px; height: 56px; }
  .blog-page .reference-brand small { margin-left: 6px; font-size: 6px; }
  .blog-page .blog-card { display: block; }
  .blog-page .blog-card-image img { height: 190px; min-height: 0; }
  .blog-card-copy { min-height: 215px; }
  .article-toc ol { grid-template-columns: 1fr; }
  .article-content { padding: 22px 19px; }
  .article-content p, .article-content li { font-size: 14px; }
  .article-cover img { aspect-ratio: 4 / 3; }
  .blog-index-cta { padding: 20px; }
  .blog-page .footer-main { align-items: flex-start; }
  .blog-page .footer-main > p { display: none; }
}
