/* ---- Article hero: dark green gradient, matches the site's CTA/hero treatment ---- */
.article-hero {
  position: relative;
  background: linear-gradient(150deg, #0e1a12 0%, #213a28 40%, #1a3022 75%, #0e1a12 100%);
  padding-block: calc(var(--s-8) + 56px) var(--s-8);
  overflow: hidden;
}
.article-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(126, 189, 149, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(126, 189, 149, .08) 1px, transparent 1px);
  background-size: 48px 48px;
}
.article-hero .wrap { position: relative; z-index: 1; }
.article-hero .crumbs {
  display: flex;
  gap: var(--s-2);
  align-items: center;
  font-size: var(--fs-xs);
  color: var(--text-on-dark-muted);
  margin-bottom: var(--s-5);
}
.article-hero .crumbs a { color: var(--text-on-dark-muted); text-decoration: none; }
.article-hero .crumbs a:hover { color: #fff; }
.article-hero .eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #7ebd95;
  margin-bottom: var(--s-3);
}
.article-hero h1 {
  font-size: var(--fs-h1);
  max-width: 34ch;
  color: #fff;
}
.article-hero .lede {
  font-size: var(--fs-lede);
  color: var(--text-on-dark);
  max-width: 74ch;
  margin-top: var(--s-5);
}
.article-meta {
  display: flex;
  gap: var(--s-2);
  align-items: center;
  font-size: var(--fs-sm);
  color: var(--text-on-dark-muted);
  margin-top: var(--s-6);
}

/* ---- Article body: readable prose column + pillar-link rail ---- */
.article-body-section { background: #fff; }
.article-body-wrap {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(260px, 300px);
  gap: var(--s-8);
  align-items: start;
  justify-content: center;
}
.article-body {
  width: 100%;
  max-width: 760px;
  padding: clamp(var(--s-6), 4vw, var(--s-8));
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 18px 44px rgba(14, 26, 18, .06);
}
.article-body h2 {
  font-size: var(--fs-h3);
  margin-top: var(--s-8);
  margin-bottom: var(--s-4);
  line-height: 1.25;
  scroll-margin-top: 96px;
}
.article-body h2:first-child { margin-top: 0; }
.article-body p {
  color: var(--text);
  line-height: 1.78;
  margin-bottom: var(--s-5);
}
.article-body strong {
  background: var(--sage);
  color: var(--moss-deep);
  font-weight: 600;
  padding: 0.04em 0.32em;
  border-radius: 3px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.article-related-link strong {
  background: none;
  color: #fff;
  padding: 0;
  border-radius: 0;
}
.article-pillar-links {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  position: sticky;
  top: calc(65px + var(--s-4));
}
.article-toc { padding: var(--s-5); border: 1px solid var(--line); background: #fff; }
.article-toc__title {
  margin: 0 0 var(--s-3);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--moss);
}
.article-toc ol { display: flex; flex-direction: column; gap: var(--s-2); margin: 0; padding: 0; list-style: none; }
.article-toc a { display: block; padding: var(--s-2) 0 var(--s-2) var(--s-3); border-left: 2px solid var(--line); color: var(--text-muted); font-size: var(--fs-sm); line-height: 1.4; text-decoration: none; }
.article-toc a:hover,
.article-toc a:focus-visible,
.article-toc a.is-active { border-left-color: var(--moss); color: var(--moss); text-decoration: none; }
.article-toc-divider { width: 100%; height: 1px; margin: 0; border: 0; background: var(--line); }
.article-related-articles { padding: var(--s-5); border: 1px solid var(--line); background: #fff; }
.article-related-articles__title {
  margin: 0 0 var(--s-3);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--moss);
}
.article-related-articles ul { display: flex; flex-direction: column; gap: var(--s-4); margin: 0; padding: 0; list-style: none; }
.article-related-articles li + li { padding-top: var(--s-4); border-top: 1px solid var(--line); }
.article-related-articles a { display: flex; gap: var(--s-3); align-items: center; text-decoration: none; color: var(--text); }
.article-related-articles__media { flex: 0 0 auto; width: 56px; height: 56px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); }
.article-related-articles__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.article-related-articles a:hover .article-related-articles__media img,
.article-related-articles a:focus-visible .article-related-articles__media img { transform: scale(1.06); }
.article-related-articles__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.article-related-articles__body strong { font-size: var(--fs-sm); font-weight: 600; line-height: 1.35; color: var(--text); }
.article-related-articles a:hover .article-related-articles__body strong,
.article-related-articles a:focus-visible .article-related-articles__body strong { color: var(--moss); }
.article-related-articles__body span { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); }
.article-pillar-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(14, 26, 18, .04);
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.article-pillar-card__media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.article-pillar-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .9s ease;
}
.article-pillar-card__media img.is-active { opacity: 1; }
.article-pillar-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  padding: var(--s-5);
  background: var(--mist);
}
.article-pillar-card:hover,
.article-pillar-card:focus-visible {
  border-color: var(--moss);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(14, 26, 18, .1);
}
.article-pillar-card__label {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--moss);
}
.article-pillar-card strong { font-size: var(--fs-h3); }
.article-pillar-card p { margin: 0; color: var(--text-muted); font-size: var(--fs-sm); }
.article-pillar-card__arrow { margin-top: auto; color: var(--moss); font-size: var(--fs-h3); }

.article-sidebar-cta {
  padding: var(--s-5);
  border: 1px solid rgba(255, 255, 255, .12);
  background: var(--forest);
  color: #fff;
}
.article-sidebar-cta__label {
  margin: 0 0 var(--s-2);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #7ebd95;
}
.article-sidebar-cta strong { display: block; font-size: var(--fs-h3); line-height: 1.25; }
.article-sidebar-cta > p:not(.article-sidebar-cta__label) { margin: var(--s-3) 0 var(--s-4); color: var(--text-on-dark-muted); font-size: var(--fs-sm); line-height: 1.55; }
.article-sidebar-cta .btn { width: 100%; justify-content: center; background: #fff; color: var(--forest); }

@media (max-width: 900px) {
  .article-body-wrap { grid-template-columns: minmax(0, 1fr); }
  .article-body-wrap > * { min-width: 0; }
  .article-body { max-width: none; }
  .article-pillar-links { order: -1; position: static; flex-direction: row; flex-wrap: wrap; }
  .article-toc { flex: 1 1 100%; }
  .article-toc-divider { flex-basis: 100%; }
  .article-pillar-card,
  .article-related-articles,
  .article-toc-divider,
  .article-sidebar-cta { display: none; }
}

@media (max-width: 600px) {
  .article-body { padding: var(--s-5); }
  .article-body h2 { margin-top: var(--s-7); }
  .article-meta { flex-wrap: wrap; }
}

.article-faq-section {
  background: var(--mist);
  padding-top: var(--s-8);
}
.article-faq-section .section-head {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.article-final-cta {
  background: linear-gradient(150deg, #0e1a12 0%, #213a28 40%, #1a3022 75%, #0e1a12 100%);
}
.article-final-cta .eyebrow { color: #7ebd95; }
.article-final-cta h2 { color: #fff; margin-top: var(--s-3); }
.article-final-cta__desc { max-width: 560px; margin-top: var(--s-4); color: rgba(255, 255, 255, .74); }
.article-final-cta.cta-band .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-8);
  flex-wrap: wrap;
}
.article-final-cta.cta-band .wrap > div:first-child { flex: 1 1 420px; }
.article-final-cta__actions {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  margin-top: 0;
  flex: 0 0 auto;
  min-width: 240px;
  max-width: 100%;
  width: max-content;
}
.article-final-cta__actions .btn {
  width: 100%;
  justify-content: center;
  text-align: center;
  white-space: normal;
  line-height: 1.35;
  padding-inline: var(--s-5);
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .22);
}
.article-final-cta__actions .btn:hover,
.article-final-cta__actions .btn:focus-visible {
  background: var(--moss);
  border-color: var(--moss);
}
@media (max-width: 640px) {
  .article-final-cta__actions { width: 100%; }
}

/* ---- Body content blocks ---- */
.article-body__list {
  margin: 0 0 var(--s-5);
  padding-left: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.article-body__list li { color: var(--text); line-height: 1.6; }

.article-callout {
  background: #fff;
  border: 1px solid var(--line);
  padding: var(--s-5) var(--s-6);
  margin: var(--s-6) 0;
}
.article-callout__label {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--moss-deep);
  margin-bottom: var(--s-2);
}
.article-callout p { margin: 0; color: var(--text-strong); font-size: var(--fs-sm); line-height: 1.65; }
.article-callout p:not(:last-child) { margin-bottom: var(--s-2); }

.article-figure {
  margin: var(--s-7) 0;
}
.article-figure img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 420px;
  margin: 0 auto;
  border: 1px solid var(--line);
  object-fit: contain;
}
.article-figure figcaption {
  margin-top: var(--s-2);
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-align: center;
}

.article-table-wrap {
  overflow-x: auto;
  margin: var(--s-6) 0;
}
.article-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}
.article-table caption {
  text-align: left;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--s-3);
}
.article-table th,
.article-table td {
  padding: var(--s-3) var(--s-4);
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.article-table th {
  background: var(--forest);
  color: var(--text-on-dark);
  font-weight: 500;
}
.article-table tbody tr:nth-child(odd) { background: var(--mist); }

.article-related-link {
  display: block;
  margin: var(--s-7) 0;
  padding: var(--s-5) var(--s-6);
  background: linear-gradient(150deg, #0e1a12 0%, #213a28 40%, #1a3022 75%, #0e1a12 100%);
  color: var(--text-on-dark);
  text-decoration: none;
  transition: background .18s ease;
}
.article-related-link:hover,
.article-related-link:focus-visible { background: linear-gradient(150deg, #14251a 0%, #28513a 40%, #20412e 75%, #14251a 100%); }
.article-related-link__label {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
  margin-bottom: var(--s-2);
}
.article-related-link strong { font-size: var(--fs-h3); }
.article-related-link p { margin: var(--s-2) 0 0; color: var(--text-on-dark-muted); font-size: var(--fs-sm); }
.article-related-link span[aria-hidden] { display: inline-block; margin-top: var(--s-3); font-size: var(--fs-h3); }

/* Long article titles stay complete while using the same two-line desktop composition. */
@media (min-width: 901px) {
  .article-hero h1 {
    max-width: 42ch;
    font-size: clamp(42px, 4vw, 58px);
  }
  .article-hero,
  .article-hero::before {
    background-attachment: fixed;
  }
}

.article-citations {
  margin-top: var(--s-8);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
}
.article-citations__label {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--s-3);
}
.article-citations ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.article-citations li { font-size: var(--fs-sm); color: var(--text-muted); }
.article-citations a { color: var(--moss-deep); }

/* About the author (E-E-A-T) */
.article-author{margin:32px 0 0;padding:20px 22px;border:1px solid #d8ded9;border-left:4px solid #2f6f52;border-radius:6px;background:#f6f9f6}
.article-author p{margin:0 0 8px;font-size:15px;line-height:1.6}
.article-author p:last-child{margin-bottom:0}
.article-author__label{font-size:12px!important;letter-spacing:.08em;text-transform:uppercase;color:#6d7a70}
.article-author__name{font-weight:700;color:#1f3d2e}
.article-author__name span{font-weight:400}
.article-author__note{font-size:13px!important;color:#6d7a70}

/* Mobile safety: wide media/tables must scroll inside the column, never widen it */
.article-body img, .article-body video, .article-body iframe { max-width: 100%; height: auto; }
.article-body > table { display: block; max-width: 100%; overflow-x: auto; }
.article-body pre { max-width: 100%; overflow-x: auto; }
.article-body a, .article-body code { overflow-wrap: anywhere; }

/* video + gallery blocks (2026-10-24) */
.article-video video{display:block;width:100%;height:auto;border-radius:8px;background:#111}
.article-gallery{margin:28px 0}
.article-gallery__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}
.article-gallery__item{position:relative;margin:0}
.article-gallery__item img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:6px}
.article-gallery__item span{position:absolute;left:8px;bottom:8px;background:rgba(0,0,0,.62);color:#fff;font-size:12px;line-height:1.3;padding:3px 8px;border-radius:4px}
.article-gallery figcaption{margin-top:8px;font-size:14px;color:#6d7a70}
