:root {
  color-scheme: light;
  --ink: #14211b;
  --ink-soft: #26342d;
  --muted: #65736b;
  --paper: #fffdf5;
  --linen: #f3efe4;
  --mist: #eef5ef;
  --line: #d9e2da;
  --leaf: #17734e;
  --leaf-dark: #0d4c34;
  --moss: #7d8f4f;
  --clay: #b7664b;
  --amber: #e9b85d;
  --blue: #dcecf2;
  --white: #ffffff;
  --shadow-sm: 0 10px 30px rgba(20, 33, 27, 0.07);
  --shadow-md: 0 22px 70px rgba(20, 33, 27, 0.13);
  --shadow-lg: 0 34px 100px rgba(20, 33, 27, 0.18);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(238, 245, 239, 0.95), rgba(255, 253, 245, 0) 520px),
    linear-gradient(90deg, rgba(220, 236, 242, 0.32), rgba(255, 253, 245, 0) 42%),
    var(--paper);
  color: var(--ink);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  color: var(--muted);
  line-height: 1.72;
}

h1,
h2,
h3,
p,
summary {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 14px clamp(22px, 5vw, 76px);
  background: rgba(255, 253, 245, 0.88);
  border-bottom: 1px solid rgba(20, 33, 27, 0.1);
  box-shadow: 0 12px 36px rgba(20, 33, 27, 0.05);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 1.05rem;
  font-weight: 950;
  white-space: nowrap;
}

.brand-logo {
  width: min(222px, 68vw);
  height: 44px;
  object-fit: contain;
  object-position: left center;
}

.brand-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 10px;
  box-shadow: 0 12px 24px rgba(23, 115, 78, 0.18);
}

.brand-name {
  color: var(--ink);
  font-size: clamp(1rem, 2.3vw, 1.18rem);
  font-weight: 950;
  line-height: 1;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--leaf), var(--leaf-dark));
  color: var(--white);
  box-shadow: 0 12px 24px rgba(23, 115, 78, 0.24);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(14px, 3vw, 32px);
  color: var(--ink-soft);
  font-weight: 850;
}

.nav a {
  position: relative;
  padding: 8px 0;
}

.nav a::after {
  position: absolute;
  left: 0;
  bottom: 1px;
  width: 0;
  height: 2px;
  background: var(--clay);
  content: "";
  transition: width 180ms ease;
}

.nav a:hover {
  color: var(--leaf-dark);
}

.nav a:hover::after {
  width: 100%;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  gap: clamp(34px, 5.5vw, 82px);
  align-items: center;
  max-width: 1480px;
  margin: 0 auto;
  padding: clamp(36px, 5vw, 78px) clamp(22px, 5vw, 76px) clamp(64px, 8vw, 112px);
}

.blog-hero {
  min-height: calc(100vh - 78px);
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  position: relative;
  max-width: 720px;
}

.hero-copy::before {
  display: block;
  width: 72px;
  height: 6px;
  margin-bottom: 24px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--leaf), var(--amber), var(--clay));
  content: "";
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--leaf);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 790px;
  font-size: clamp(2.85rem, 6vw, 5.8rem);
  line-height: 0.97;
}

h2 {
  font-size: clamp(2rem, 4vw, 4.1rem);
  line-height: 1;
}

h3 {
  font-size: 1.22rem;
  line-height: 1.2;
}

.hero p:not(.eyebrow) {
  max-width: 620px;
  font-size: 1.09rem;
}

.hero-media {
  position: relative;
}

.hero-media::before {
  position: absolute;
  inset: -18px 18px 18px -18px;
  z-index: -1;
  border: 1px solid rgba(20, 33, 27, 0.13);
  border-radius: 8px;
  background: var(--linen);
  content: "";
}

.hero-media img,
.hero > img {
  width: 100%;
  min-height: 500px;
  max-height: 76vh;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}

.hero-badge {
  position: absolute;
  right: 24px;
  bottom: 24px;
  display: grid;
  gap: 4px;
  max-width: 260px;
  padding: 17px 19px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  background: rgba(255, 253, 245, 0.94);
  box-shadow: 0 18px 52px rgba(20, 33, 27, 0.2);
  backdrop-filter: blur(14px);
}

.hero-badge strong {
  color: var(--leaf-dark);
}

.hero-badge span {
  color: var(--muted);
  font-size: 0.92rem;
}

.search-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  max-width: 620px;
  margin-top: 30px;
  padding: 9px;
  border: 1px solid rgba(20, 33, 27, 0.14);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.search-panel input {
  width: 100%;
  min-height: 48px;
  border: 0;
  outline: 0;
  padding: 0 13px;
  background: transparent;
  color: var(--ink);
  font: inherit;
}

.search-panel button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.search-panel button:hover,
.button:hover {
  background: var(--leaf-dark);
}

.topic-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.topic-strip a {
  padding: 10px 13px;
  border: 1px solid rgba(20, 33, 27, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink-soft);
  font-weight: 850;
}

.topic-strip a:hover {
  border-color: rgba(183, 102, 75, 0.36);
  color: var(--leaf-dark);
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 1298px;
  margin: -44px auto 0;
  padding: 0 clamp(22px, 5vw, 76px);
}

.stats-band article {
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: var(--ink);
  box-shadow: var(--shadow-md);
}

.stats-band article:first-child {
  border-radius: 8px 0 0 8px;
}

.stats-band article:last-child {
  border-radius: 0 8px 8px 0;
}

.stats-band strong {
  color: var(--amber);
  font-size: 1.6rem;
}

.stats-band span {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

.section {
  max-width: 1480px;
  margin: 0 auto;
  padding: clamp(76px, 9vw, 132px) clamp(22px, 5vw, 76px);
  scroll-margin-top: 110px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}

.section-note {
  max-width: 460px;
  margin: 0;
  font-size: 1.02rem;
}

.editor-note {
  display: grid;
  gap: 7px;
  min-width: min(360px, 100%);
  padding: 18px 20px;
  border: 1px solid rgba(20, 33, 27, 0.12);
  border-left: 6px solid var(--clay);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-sm);
}

.editor-note span {
  color: var(--clay);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.editor-note strong {
  color: var(--ink);
  font-size: 1.04rem;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.post-card {
  overflow: hidden;
  border: 1px solid rgba(20, 33, 27, 0.11);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.post-card:hover {
  transform: translateY(-5px);
  border-color: rgba(23, 115, 78, 0.35);
  box-shadow: var(--shadow-md);
}

.post-card a {
  display: grid;
  height: 100%;
}

.post-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

.post-card div {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 24px;
}

.post-card p {
  margin: 0;
}

.archive-hero {
  padding-top: clamp(54px, 7vw, 92px);
  padding-bottom: clamp(34px, 5vw, 62px);
}

.archive-hero p:not(.eyebrow) {
  max-width: 760px;
}

.article-archive {
  padding-top: 0;
}

.source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.source-links a {
  display: inline-flex;
  padding: 9px 12px;
  border: 1px solid rgba(23, 115, 78, 0.18);
  border-radius: 8px;
  background: rgba(238, 245, 239, 0.72);
  line-height: 1.2;
}

.featured-card {
  grid-column: span 2;
}

.featured-card a {
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
}

.featured-card img {
  height: 100%;
  min-height: 430px;
  aspect-ratio: auto;
}

.featured-card div {
  padding: clamp(28px, 4vw, 46px);
  background:
    linear-gradient(135deg, rgba(13, 76, 52, 0.94), rgba(20, 33, 27, 0.98)),
    var(--ink);
}

.featured-card h3 {
  color: var(--white);
  font-size: clamp(1.7rem, 2.5vw, 2.45rem);
  line-height: 1.08;
}

.featured-card p {
  color: rgba(255, 255, 255, 0.76);
}

.featured-card .category {
  color: var(--amber);
}

.featured-card .read-more {
  color: var(--white);
}

.category {
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--leaf-dark);
  font-weight: 950;
}

.read-more::after {
  width: 22px;
  height: 1px;
  background: currentColor;
  content: "";
}

.category-band {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(340px, 1fr);
  gap: clamp(30px, 5vw, 74px);
  align-items: center;
  max-width: 1480px;
  margin: 0 auto clamp(34px, 5vw, 74px);
  padding: clamp(62px, 7vw, 98px) clamp(22px, 5vw, 76px);
  border-top: 1px solid rgba(20, 33, 27, 0.1);
  border-bottom: 1px solid rgba(20, 33, 27, 0.1);
  background:
    linear-gradient(135deg, rgba(220, 236, 242, 0.76), rgba(243, 239, 228, 0.96)),
    var(--linen);
  scroll-margin-top: 110px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.category-grid a {
  display: grid;
  gap: 12px;
  min-height: 128px;
  padding: 24px;
  border: 1px solid rgba(20, 33, 27, 0.1);
  border-left: 6px solid var(--leaf);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-sm);
  font-size: 1.05rem;
  font-weight: 950;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.category-grid a:hover {
  transform: translateY(-3px);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.category-grid span {
  color: var(--clay);
  font-size: 0.82rem;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid rgba(20, 33, 27, 0.1);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

summary {
  cursor: pointer;
  padding: 21px 22px;
  font-weight: 950;
}

details p {
  margin: 0;
  padding: 0 22px 22px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(22px, 5vw, 76px);
  border-top: 1px solid rgba(20, 33, 27, 0.1);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.article-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: center;
  max-width: 1480px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 88px) clamp(22px, 5vw, 76px);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(238, 245, 239, 0.95), rgba(255, 253, 245, 0.7)),
    var(--linen);
}

.article-hero h1 {
  font-size: clamp(2.35rem, 5vw, 4.8rem);
}

.article-hero img {
  width: 100%;
  min-height: 380px;
  max-height: 58vh;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  color: var(--muted);
  font-weight: 800;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(240px, 320px);
  gap: clamp(30px, 5vw, 76px);
  align-items: start;
  max-width: 1260px;
  margin: 0 auto;
  padding: clamp(52px, 7vw, 94px) clamp(22px, 5vw, 76px);
}

.article-content {
  min-width: 0;
}

.article-content h2 {
  margin-top: 46px;
  font-size: clamp(1.62rem, 3vw, 2.45rem);
  line-height: 1.12;
}

.article-content h3 {
  margin-top: 30px;
}

.article-content p,
.article-content li {
  color: var(--muted);
  font-size: 1.07rem;
  line-height: 1.8;
}

.article-content a {
  color: var(--leaf-dark);
  font-weight: 850;
}

.article-content ul,
.article-content ol {
  padding-left: 22px;
}

.key-box,
.toc,
.related-box {
  border: 1px solid rgba(20, 33, 27, 0.1);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.key-box {
  margin: 28px 0;
  padding: 24px;
  border-left: 7px solid var(--amber);
}

.toc,
.related-box {
  position: sticky;
  top: 98px;
  padding: 20px;
}

.toc strong,
.related-box strong {
  display: block;
  margin-bottom: 12px;
}

.toc a,
.related-box a {
  display: block;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 800;
}

.article-footer-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 44px;
}

.article-footer-nav a {
  padding: 15px 17px;
  border: 1px solid rgba(20, 33, 27, 0.12);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  font-weight: 900;
}

@media (max-width: 980px) {
  .hero,
  .article-hero,
  .article-layout,
  .category-band {
    grid-template-columns: 1fr;
  }

  .blog-hero {
    min-height: auto;
  }

  .stats-band {
    margin-top: 0;
  }

  .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-card {
    grid-column: span 2;
  }

  .featured-card a {
    grid-template-columns: 1fr;
  }

  .toc,
  .related-box {
    position: static;
  }
}

@media (max-width: 680px) {
  .site-header,
  .section-heading,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  h1 {
    max-width: 100%;
    font-size: 2.48rem;
    line-height: 1.04;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    gap: 12px 20px;
    font-size: 0.92rem;
  }

  .topic-strip a {
    max-width: 100%;
  }

  .search-panel,
  .stats-band,
  .post-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .stats-band article,
  .stats-band article:first-child,
  .stats-band article:last-child {
    border-radius: 8px;
  }

  .featured-card {
    grid-column: span 1;
  }

  .hero-media::before {
    display: none;
  }

  .hero-media img,
  .hero > img,
  .article-hero img {
    min-height: 290px;
  }

  .hero-badge {
    position: static;
    margin-top: 12px;
  }

  .article-footer-nav {
    flex-direction: column;
  }
}

/* Modern refresh */
:root {
  --ink: #101c17;
  --ink-soft: #22322b;
  --muted: #66766e;
  --paper: #fbfbf4;
  --linen: #eef2e7;
  --mist: #edf6f0;
  --line: #dfe7dc;
  --leaf: #13845a;
  --leaf-dark: #083d2c;
  --clay: #c76145;
  --amber: #efbd52;
  --blue: #d9edf1;
  --shadow-sm: 0 12px 34px rgba(16, 28, 23, 0.08);
  --shadow-md: 0 22px 70px rgba(16, 28, 23, 0.13);
  --shadow-lg: 0 38px 120px rgba(16, 28, 23, 0.18);
}

body {
  background:
    linear-gradient(180deg, rgba(237, 246, 240, 0.98), rgba(251, 251, 244, 0) 520px),
    linear-gradient(90deg, rgba(217, 237, 241, 0.44), rgba(251, 251, 244, 0) 48%),
    var(--paper);
}

.site-header {
  min-height: 72px;
  padding: 12px clamp(20px, 5vw, 72px);
  background: rgba(251, 251, 244, 0.9);
  box-shadow: 0 8px 28px rgba(16, 28, 23, 0.055);
}

.brand {
  gap: 10px;
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
}

.brand-name {
  font-size: clamp(1rem, 2vw, 1.12rem);
}

.nav {
  gap: clamp(18px, 3vw, 34px);
  font-size: 0.98rem;
}

.nav a {
  padding: 10px 0;
}

.nav a::after {
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--leaf), var(--amber), var(--clay));
}

.hero {
  grid-template-columns: minmax(0, 0.88fr) minmax(380px, 1.12fr);
  gap: clamp(32px, 5vw, 76px);
  max-width: 1390px;
  padding-top: clamp(44px, 6vw, 86px);
}

.blog-hero {
  min-height: calc(100svh - 72px);
}

.hero-copy::before {
  width: 64px;
  height: 5px;
  margin-bottom: 28px;
}

.eyebrow {
  color: var(--leaf-dark);
  font-size: 0.76rem;
}

h1 {
  max-width: 830px;
  font-size: clamp(3.05rem, 6.25vw, 6.1rem);
  line-height: 0.94;
}

h2 {
  font-size: clamp(2.1rem, 4.2vw, 4.25rem);
}

.hero p:not(.eyebrow) {
  max-width: 590px;
  color: #526158;
}

.search-panel {
  max-width: 590px;
  border-color: rgba(16, 28, 23, 0.1);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 52px rgba(16, 28, 23, 0.09);
}

.search-panel button,
.button {
  background: var(--leaf-dark);
}

.topic-strip a {
  border-color: rgba(16, 28, 23, 0.1);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 22px rgba(16, 28, 23, 0.05);
}

.hero-media::before {
  inset: 18px -14px -14px 18px;
  border: 0;
  background: linear-gradient(135deg, rgba(19, 132, 90, 0.16), rgba(239, 189, 82, 0.18));
}

.hero-media img,
.hero > img,
.article-hero img {
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}

.hero-badge {
  right: 26px;
  bottom: 26px;
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(8, 61, 44, 0.92);
  color: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px);
}

.hero-badge strong {
  color: var(--white);
}

.stats-band {
  max-width: 1250px;
  margin-top: -36px;
}

.stats-band article {
  background: linear-gradient(135deg, #0a241b, #102d23);
}

.section,
.category-band,
.article-hero,
.article-layout {
  max-width: 1390px;
}

.section-heading {
  margin-bottom: 40px;
}

.editor-note {
  border-color: rgba(19, 132, 90, 0.18);
  background: rgba(255, 255, 255, 0.72);
}

.post-grid {
  gap: 22px;
}

.post-card {
  border-color: rgba(16, 28, 23, 0.08);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 48px rgba(16, 28, 23, 0.075);
}

.post-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 78px rgba(16, 28, 23, 0.14);
}

.post-card img {
  aspect-ratio: 16 / 11;
}

.post-card div {
  gap: 13px;
  padding: 25px;
}

.featured-card div {
  background:
    linear-gradient(135deg, rgba(8, 61, 44, 0.96), rgba(16, 28, 23, 0.99)),
    var(--ink);
}

.category-band {
  border: 0;
  box-shadow: inset 0 1px 0 rgba(16, 28, 23, 0.08), inset 0 -1px 0 rgba(16, 28, 23, 0.08);
}

.category-grid a {
  border-left-color: var(--leaf-dark);
  background: rgba(255, 255, 255, 0.88);
}

details {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 36px rgba(16, 28, 23, 0.06);
}

.article-hero {
  background:
    linear-gradient(135deg, rgba(237, 246, 240, 0.96), rgba(251, 251, 244, 0.82)),
    var(--linen);
}

.article-content p,
.article-content li {
  color: #526158;
}

.key-box,
.toc,
.related-box,
.article-footer-nav a {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 42px rgba(16, 28, 23, 0.07);
}

@media (max-width: 980px) {
  .hero,
  .article-hero,
  .article-layout,
  .category-band {
    grid-template-columns: 1fr;
  }

  .blog-hero {
    min-height: auto;
  }

  .hero-copy {
    max-width: 720px;
  }
}

@media (max-width: 680px) {
  .site-header {
    gap: 14px;
  }

  .brand-icon {
    width: 40px;
    height: 40px;
  }

  .brand-name {
    font-size: 1rem;
  }

  h1 {
    font-size: 2.42rem;
    line-height: 1.02;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 36px;
  }

  .search-panel {
    padding: 8px;
  }

  .topic-strip {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .topic-strip a {
    flex: 0 0 auto;
  }
}

/* Prompt refresh v11: professional blog layout */
:root {
  --ink: #102019;
  --ink-soft: #24362e;
  --muted: #607268;
  --paper: #fbfaf1;
  --linen: #f1eddf;
  --mist: #edf7ef;
  --line: #dde7dd;
  --leaf: #167a51;
  --leaf-dark: #083d2b;
  --clay: #d27654;
  --amber: #efbc58;
  --white: #ffffff;
  --shadow-sm: 0 10px 28px rgba(16, 32, 25, 0.08);
  --shadow-md: 0 20px 58px rgba(16, 32, 25, 0.12);
  --shadow-lg: 0 34px 96px rgba(16, 32, 25, 0.16);
}

body {
  background:
    radial-gradient(circle at 16% 12%, rgba(22, 122, 81, 0.12), transparent 30%),
    linear-gradient(180deg, #f3faf4 0, #fbfaf1 540px),
    var(--paper);
  overflow-x: hidden;
}

.site-header {
  position: sticky;
  min-height: 74px;
  border-bottom: 1px solid rgba(16, 32, 25, 0.08);
  background: rgba(251, 250, 241, 0.92);
  backdrop-filter: blur(18px);
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
}

.brand-name {
  font-size: 1.08rem;
}

.nav {
  align-items: center;
  gap: clamp(16px, 2.4vw, 30px);
}

.nav a {
  color: #26372f;
  font-size: 0.97rem;
}

.hero {
  grid-template-columns: minmax(0, 0.94fr) minmax(380px, 1.06fr);
  max-width: 1320px;
  min-height: auto;
  gap: clamp(34px, 5vw, 68px);
  padding: clamp(48px, 6vw, 86px) clamp(20px, 5vw, 64px) clamp(70px, 8vw, 110px);
}

.blog-hero {
  border-bottom: 0;
}

.hero-copy {
  max-width: 650px;
  min-width: 0;
}

.hero-copy::before {
  width: 68px;
  height: 5px;
  margin-bottom: 22px;
}

.eyebrow {
  color: #0f6847;
  font-size: 0.75rem;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.9rem, 5.7vw, 5.55rem);
  line-height: 0.97;
}

h1 span {
  display: block;
}

h2 {
  font-size: clamp(2rem, 3.7vw, 3.65rem);
  line-height: 1.02;
}

.hero p:not(.eyebrow) {
  max-width: 620px;
  color: #52645a;
  font-size: 1.06rem;
}

.search-panel {
  max-width: 610px;
  margin-top: 28px;
  border-color: rgba(16, 32, 25, 0.1);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 54px rgba(16, 32, 25, 0.09);
}

.search-panel input {
  min-height: 50px;
}

.search-panel button,
.button {
  background: var(--leaf-dark);
}

.outline-button {
  border-color: rgba(22, 122, 81, 0.2);
  background: rgba(255, 255, 255, 0.72);
  color: var(--leaf-dark);
  box-shadow: var(--shadow-sm);
}

.outline-button:hover {
  background: var(--leaf-dark);
  color: var(--white);
}

.topic-strip {
  gap: 11px;
  margin-top: 18px;
}

.topic-strip a {
  padding: 11px 14px;
  border-color: rgba(16, 32, 25, 0.1);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 8px 22px rgba(16, 32, 25, 0.05);
}

.hero-media {
  padding: 18px;
  border: 1px solid rgba(16, 32, 25, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(241, 237, 223, 0.72)),
    var(--white);
  box-shadow: var(--shadow-lg);
}

.hero-media::before {
  display: none;
}

.hero-media img,
.hero > img {
  min-height: 470px;
  max-height: 660px;
  border-radius: 8px;
  box-shadow: none;
}

.hero-badge {
  right: 34px;
  bottom: 34px;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(8, 61, 43, 0.92);
  color: rgba(255, 255, 255, 0.78);
}

.hero-badge strong {
  color: #fff;
}

.stats-band {
  max-width: 1180px;
  margin-top: -38px;
}

.stats-band article {
  background: linear-gradient(135deg, #082e22, #113d30);
}

.section {
  max-width: 1320px;
  padding: clamp(68px, 8vw, 112px) clamp(20px, 5vw, 64px);
}

.section-heading {
  align-items: end;
  margin-bottom: 36px;
}

.editor-note {
  background: rgba(255, 255, 255, 0.78);
}

.post-grid {
  gap: 22px;
}

.post-card {
  border-color: rgba(16, 32, 25, 0.08);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 34px rgba(16, 32, 25, 0.075);
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 68px rgba(16, 32, 25, 0.14);
}

.post-card img {
  aspect-ratio: 16 / 10.8;
}

.post-card div {
  padding: 25px;
}

.featured-card div {
  background:
    linear-gradient(135deg, rgba(8, 61, 43, 0.97), rgba(16, 32, 25, 0.98)),
    var(--ink);
}

.compact-grid .post-card img {
  aspect-ratio: 16 / 9.8;
}

.category-band {
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 1fr);
  max-width: 1320px;
  border: 1px solid rgba(16, 32, 25, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(237, 247, 239, 0.95), rgba(251, 250, 241, 0.88)),
    var(--mist);
  box-shadow: var(--shadow-sm);
}

.category-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.category-grid a {
  align-content: start;
  min-height: 142px;
  border-left: 0;
  border-color: rgba(16, 32, 25, 0.1);
  background: rgba(255, 255, 255, 0.86);
}

.category-grid a:hover {
  border-color: rgba(22, 122, 81, 0.24);
}

.category-grid span {
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 950;
}

.category-grid strong {
  color: var(--ink);
  font-size: 1.2rem;
}

.category-grid small {
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 650;
  line-height: 1.55;
}

.latest-section {
  padding-top: clamp(48px, 6vw, 86px);
}

details,
.key-box,
.toc,
.related-box,
.article-footer-nav a {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 36px rgba(16, 32, 25, 0.07);
}

@media (max-width: 980px) {
  .hero,
  .article-hero,
  .article-layout,
  .category-band {
    grid-template-columns: 1fr;
  }

  .hero-media img,
  .hero > img {
    min-height: 360px;
  }

  .category-band {
    margin-inline: clamp(20px, 5vw, 64px);
  }
}

@media (max-width: 760px) {
  .site-header,
  .section-heading,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header {
    gap: 13px;
  }

  .nav {
    width: 100%;
    gap: 10px 18px;
    font-size: 0.92rem;
  }

  h1 {
    font-size: clamp(2.02rem, 10vw, 2.34rem);
    line-height: 1.06;
  }

  h2 {
    font-size: clamp(1.85rem, 10vw, 2.5rem);
  }

  .hero {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100vw;
    gap: 28px;
    padding-top: 34px;
    overflow: hidden;
  }

  .hero-copy,
  .hero p:not(.eyebrow),
  .search-panel,
  .topic-strip,
  .hero-media {
    width: min(100%, 78vw);
    max-width: 78vw;
  }

  .search-panel {
    grid-template-columns: 1fr;
  }

  .topic-strip {
    max-width: 100%;
    overflow-x: visible;
    flex-wrap: wrap;
    padding-bottom: 6px;
  }

  .topic-strip a {
    flex: 0 1 auto;
  }

  .hero-media {
    padding: 10px;
  }

  .hero-media img,
  .hero > img,
  .article-hero img {
    min-height: 280px;
  }

  .hero-badge {
    position: static;
    margin-top: 10px;
    background: var(--leaf-dark);
  }

  .stats-band,
  .post-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .category-band {
    margin-inline: 20px;
    padding: 30px 20px;
  }

  .featured-card {
    grid-column: span 1;
  }

  .featured-card a {
    grid-template-columns: 1fr;
  }

  .featured-card img {
    min-height: 260px;
  }
}

/* v12 premium editorial theme */
:root {
  --ink: #0e1b16;
  --ink-soft: #22352c;
  --muted: #5f7167;
  --paper: #fbfaf2;
  --surface: #ffffff;
  --linen: #f3efe2;
  --mist: #edf7ef;
  --sage: #dfeada;
  --line: #dce6dc;
  --leaf: #177a52;
  --leaf-dark: #073b2a;
  --clay: #cf6d4d;
  --amber: #efbc58;
  --sky: #d9edf1;
  --shadow-sm: 0 10px 28px rgba(14, 27, 22, 0.07);
  --shadow-md: 0 20px 58px rgba(14, 27, 22, 0.12);
  --shadow-lg: 0 34px 96px rgba(14, 27, 22, 0.16);
}

body {
  background:
    linear-gradient(180deg, rgba(237, 247, 239, 0.96) 0, rgba(251, 250, 242, 0.96) 520px, #fbfaf2 100%),
    var(--paper);
  color: var(--ink);
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(14, 27, 22, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 27, 22, 0.028) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent 560px);
  content: "";
}

p {
  color: var(--muted);
  line-height: 1.76;
}

.site-header {
  min-height: 76px;
  padding: 12px clamp(18px, 4.8vw, 72px);
  border-bottom: 1px solid rgba(14, 27, 22, 0.08);
  background: rgba(251, 250, 242, 0.88);
  box-shadow: 0 10px 30px rgba(14, 27, 22, 0.055);
}

.brand {
  gap: 12px;
}

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  box-shadow: 0 14px 28px rgba(23, 122, 82, 0.18);
}

.brand-name {
  color: var(--ink);
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  letter-spacing: 0;
}

.nav {
  gap: 8px;
  padding: 5px;
  border: 1px solid rgba(14, 27, 22, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 8px 24px rgba(14, 27, 22, 0.045);
}

.nav a {
  padding: 9px 13px;
  border-radius: 8px;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1;
}

.nav a::after {
  display: none;
}

.nav a:hover {
  background: var(--leaf-dark);
  color: var(--white);
}

.hero {
  position: relative;
  grid-template-columns: minmax(0, 0.96fr) minmax(390px, 1.04fr);
  max-width: 1360px;
  padding: clamp(46px, 6vw, 84px) clamp(20px, 5vw, 70px) clamp(76px, 8vw, 118px);
}

.blog-hero {
  min-height: calc(100svh - 76px);
}

.hero-copy {
  max-width: 700px;
}

.hero-copy::before {
  width: 76px;
  height: 4px;
  margin-bottom: 24px;
  background: linear-gradient(90deg, var(--leaf-dark), var(--leaf), var(--amber), var(--clay));
}

.eyebrow {
  color: var(--leaf-dark);
  font-size: 0.74rem;
  letter-spacing: 0;
}

h1 {
  max-width: 810px;
  color: var(--ink);
  font-size: clamp(3rem, 5.9vw, 5.85rem);
  line-height: 0.95;
}

h2 {
  color: var(--ink);
  font-size: clamp(2.05rem, 3.9vw, 3.85rem);
}

h3 {
  color: var(--ink);
}

.hero p:not(.eyebrow) {
  max-width: 640px;
  color: #50635a;
  font-size: 1.08rem;
}

.search-panel {
  max-width: 640px;
  margin-top: 30px;
  padding: 8px;
  border-color: rgba(14, 27, 22, 0.1);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 52px rgba(14, 27, 22, 0.1);
}

.search-panel input {
  min-height: 52px;
}

.search-panel button,
.button {
  min-height: 52px;
  background: var(--leaf-dark);
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.search-panel button:hover,
.button:hover {
  transform: translateY(-1px);
  background: #0b4c36;
  box-shadow: 0 14px 30px rgba(7, 59, 42, 0.2);
}

.outline-button {
  border-color: rgba(23, 122, 82, 0.22);
  background: rgba(255, 255, 255, 0.8);
  color: var(--leaf-dark);
}

.topic-strip {
  gap: 10px;
}

.topic-strip a {
  padding: 11px 14px;
  border-color: rgba(14, 27, 22, 0.09);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 8px 20px rgba(14, 27, 22, 0.05);
}

.topic-strip a:hover {
  transform: translateY(-1px);
  border-color: rgba(23, 122, 82, 0.24);
  background: var(--surface);
}

.hero-media {
  position: relative;
  padding: 14px;
  border: 1px solid rgba(14, 27, 22, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(243, 239, 226, 0.82)),
    var(--surface);
  box-shadow: var(--shadow-lg);
}

.hero-media::before {
  display: none;
}

.hero-media img,
.hero > img {
  min-height: 500px;
  max-height: 650px;
  border-radius: 8px;
  box-shadow: none;
}

.hero-badge {
  right: 30px;
  bottom: 30px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(7, 59, 42, 0.94);
  color: rgba(255, 255, 255, 0.82);
}

.hero-badge strong,
.hero-badge span {
  color: inherit;
}

.hero-badge strong {
  color: #fff;
}

.stats-band {
  max-width: 1180px;
  margin-top: -42px;
}

.stats-band article {
  min-height: 128px;
  border-color: rgba(255, 255, 255, 0.14);
  background: linear-gradient(135deg, #082f22, #123c30);
}

.stats-band strong {
  color: var(--amber);
}

.section {
  max-width: 1360px;
  padding: clamp(72px, 8vw, 116px) clamp(20px, 5vw, 70px);
}

.section-heading {
  margin-bottom: 40px;
}

.editor-note {
  border-color: rgba(14, 27, 22, 0.1);
  border-left-color: var(--clay);
  background: rgba(255, 255, 255, 0.74);
}

.post-grid {
  gap: 24px;
}

.post-card {
  border: 1px solid rgba(14, 27, 22, 0.09);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 40px rgba(14, 27, 22, 0.075);
}

.post-card:hover {
  transform: translateY(-6px);
  border-color: rgba(23, 122, 82, 0.26);
  box-shadow: 0 24px 70px rgba(14, 27, 22, 0.14);
}

.post-card img {
  aspect-ratio: 16 / 10.5;
}

.post-card div {
  gap: 13px;
  padding: 26px;
}

.post-card h3 {
  font-size: 1.24rem;
}

.featured-card a {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.92fr);
}

.featured-card img {
  min-height: 460px;
}

.featured-card div {
  background:
    linear-gradient(135deg, rgba(7, 59, 42, 0.98), rgba(14, 27, 22, 0.98)),
    var(--ink);
}

.featured-card h3 {
  font-size: clamp(1.9rem, 2.7vw, 2.62rem);
}

.category {
  color: var(--clay);
}

.read-more {
  color: var(--leaf-dark);
}

.category-band {
  max-width: 1360px;
  margin-bottom: clamp(44px, 6vw, 84px);
  border: 1px solid rgba(14, 27, 22, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(237, 247, 239, 0.95), rgba(251, 250, 242, 0.92)),
    var(--mist);
  box-shadow: var(--shadow-sm);
}

.category-grid a {
  min-height: 148px;
  border-left: 0;
  border-color: rgba(14, 27, 22, 0.1);
  background: rgba(255, 255, 255, 0.86);
}

.category-grid a:hover {
  transform: translateY(-4px);
  border-color: rgba(23, 122, 82, 0.26);
}

.category-grid strong {
  font-size: 1.2rem;
}

.category-grid small {
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 650;
  line-height: 1.55;
}

.archive-hero {
  max-width: 1360px;
}

.article-archive .post-grid {
  align-items: stretch;
}

.article-hero {
  max-width: none;
  padding: clamp(52px, 6vw, 88px) clamp(20px, 5vw, 70px);
  border-bottom: 1px solid rgba(14, 27, 22, 0.08);
  background:
    linear-gradient(135deg, rgba(237, 247, 239, 0.96), rgba(251, 250, 242, 0.88)),
    var(--linen);
}

.article-hero > * {
  max-width: 1360px;
}

.article-hero h1 {
  font-size: clamp(2.35rem, 4.7vw, 4.7rem);
  line-height: 1;
}

.article-hero img {
  min-height: 420px;
  border: 12px solid rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow-md);
}

.article-meta span {
  padding: 8px 10px;
  border: 1px solid rgba(14, 27, 22, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
}

.article-layout {
  max-width: 1240px;
  grid-template-columns: minmax(0, 760px) minmax(250px, 320px);
}

.article-content {
  padding: clamp(4px, 1vw, 14px) 0;
}

.article-content h2 {
  margin-top: 52px;
  color: var(--ink);
}

.article-content p,
.article-content li {
  color: #53655b;
  font-size: 1.075rem;
}

.key-box {
  border-left-color: var(--amber);
  background: rgba(255, 255, 255, 0.94);
}

.toc,
.related-box {
  border-color: rgba(14, 27, 22, 0.09);
  background: rgba(255, 255, 255, 0.9);
}

details,
.key-box,
.toc,
.related-box,
.article-footer-nav a {
  box-shadow: 0 12px 34px rgba(14, 27, 22, 0.07);
}

footer {
  background: linear-gradient(135deg, #071f17, #102b22);
}

@media (max-width: 980px) {
  .hero,
  .article-hero,
  .article-layout,
  .category-band {
    grid-template-columns: 1fr;
  }

  .blog-hero {
    min-height: auto;
  }

  .hero-media img,
  .hero > img {
    min-height: 360px;
  }

  .featured-card a {
    grid-template-columns: 1fr;
  }

  .category-band {
    margin-inline: clamp(20px, 5vw, 70px);
  }

  .toc,
  .related-box {
    position: static;
  }
}

@media (max-width: 760px) {
  .site-header,
  .section-heading,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header {
    gap: 14px;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    gap: 6px;
    padding: 4px;
  }

  .nav a {
    padding: 8px 10px;
    font-size: 0.9rem;
  }

  h1 {
    font-size: clamp(2.1rem, 10vw, 2.55rem);
    line-height: 1.04;
  }

  h2 {
    font-size: clamp(1.85rem, 9vw, 2.45rem);
  }

  .hero {
    width: 100%;
    max-width: 100vw;
    gap: 30px;
    padding: 34px 20px 54px;
    overflow: hidden;
  }

  .hero-copy,
  .hero p:not(.eyebrow),
  .search-panel,
  .topic-strip,
  .hero-media {
    width: 100%;
    max-width: 100%;
  }

  .search-panel {
    grid-template-columns: 1fr;
  }

  .topic-strip {
    flex-wrap: wrap;
  }

  .hero-media {
    padding: 9px;
  }

  .hero-media img,
  .hero > img,
  .article-hero img {
    min-height: 280px;
  }

  .hero-badge {
    position: static;
    margin-top: 10px;
  }

  .stats-band,
  .post-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .stats-band {
    margin-top: 0;
  }

  .stats-band article,
  .stats-band article:first-child,
  .stats-band article:last-child {
    border-radius: 8px;
  }

  .section {
    padding: 54px 20px;
  }

  .category-band {
    margin-inline: 20px;
    padding: 32px 20px;
  }

  .featured-card {
    grid-column: span 1;
  }

  .featured-card img {
    min-height: 260px;
  }

  .article-hero,
  .article-layout {
    padding-inline: 20px;
  }

  .article-footer-nav {
    flex-direction: column;
  }
}

/* v12 mobile overflow fix */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

@media (max-width: 760px) {
  .site-header {
    width: 100%;
    padding-inline: 20px;
  }

  .nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: calc(100vw - 40px) !important;
    max-width: calc(100vw - 40px) !important;
  }

  .nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding-inline: 6px;
    text-align: center;
    white-space: nowrap;
  }

  .hero,
  .section,
  .article-hero,
  .article-layout {
    width: 100%;
    max-width: 100%;
  }

  .search-panel,
  .topic-strip,
  .hero-media,
  .hero-copy,
  .hero-media img,
  .post-card,
  .category-band,
  .category-grid,
  .stats-band {
    width: calc(100vw - 40px) !important;
    max-width: calc(100vw - 40px) !important;
  }

  .topic-strip {
    display: grid;
    grid-template-columns: 1fr;
  }

  .topic-strip a {
    display: flex;
    align-items: center;
    min-width: 0;
    white-space: normal;
  }

  .hero-media img,
  .article-hero img,
  .post-card img {
    width: 100%;
    max-width: 100%;
  }

  .hero-badge {
    width: 100%;
    max-width: 100%;
  }

  .hero p:not(.eyebrow) {
    width: calc(100vw - 40px) !important;
    max-width: calc(100vw - 40px) !important;
  }
}

@media (max-width: 420px) {
  .nav a {
    font-size: 0.84rem;
  }

  .brand-name {
    font-size: 0.98rem;
  }

  .topic-strip {
    grid-template-columns: 1fr;
  }
}

/* v13 professional polish + mobile containment */
.site-header {
  backdrop-filter: blur(18px);
}

.brand {
  min-width: 0;
}

.brand-name {
  white-space: nowrap;
}

.post-card,
.category-grid a,
.search-panel,
.hero-media,
.editor-note,
.key-box,
.toc,
.related-box,
.article-footer-nav a {
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.post-card a:focus-visible,
.category-grid a:focus-visible,
.nav a:focus-visible,
.topic-strip a:focus-visible,
.button:focus-visible,
.search-panel button:focus-visible {
  outline: 3px solid rgba(239, 188, 88, 0.78);
  outline-offset: 3px;
}

.search-panel input {
  color: var(--ink);
  font-size: 1rem;
}

.search-panel input::placeholder {
  color: #7b8b82;
}

.hero-media {
  overflow: hidden;
}

.hero-media::after {
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 8px;
  pointer-events: none;
  content: "";
}

.post-card img {
  background: var(--sage);
}

.category-grid a span,
.category {
  letter-spacing: 0;
}

.article-content {
  max-width: 760px;
}

.article-content h2 {
  line-height: 1.12;
}

@media (max-width: 760px) {
  :root {
    --mobile-gutter: 32px;
    --mobile-safe: calc(100vw - (var(--mobile-gutter) * 2));
  }

  body {
    min-width: 0;
  }

  .site-header {
    padding: 12px var(--mobile-gutter);
  }

  .brand {
    width: var(--mobile-safe);
  }

  .brand-icon {
    flex: 0 0 42px;
  }

  .brand-name {
    min-width: 0;
    overflow: hidden;
    font-size: 1.02rem;
    text-overflow: ellipsis;
  }

  .nav {
    width: var(--mobile-safe) !important;
    max-width: var(--mobile-safe) !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
  }

  .nav a {
    width: 100%;
    min-height: 38px;
    white-space: nowrap;
  }

  .hero,
  .section,
  .article-hero,
  .article-layout {
    padding-right: var(--mobile-gutter);
    padding-left: var(--mobile-gutter);
    overflow: hidden;
  }

  .hero-copy,
  .hero p:not(.eyebrow),
  .search-panel,
  .topic-strip,
  .hero-media,
  .hero-media img,
  .stats-band,
  .section-heading,
  .post-grid,
  .post-card,
  .category-band,
  .category-grid,
  .article-hero > div,
  .article-hero img,
  .article-meta,
  .article-layout,
  .article-content,
  .key-box,
  .toc,
  .related-box,
  .faq-list {
    width: var(--mobile-safe) !important;
    max-width: var(--mobile-safe) !important;
  }

  .hero p:not(.eyebrow),
  .section-note,
  .post-card p,
  .article-content p,
  .article-content li,
  details p {
    overflow-wrap: break-word;
  }

  .search-panel {
    padding: 7px;
  }

  .search-panel input,
  .search-panel button {
    width: 100%;
  }

  .topic-strip {
    gap: 8px;
  }

  .topic-strip a {
    justify-content: center;
    padding: 10px 12px;
    text-align: center;
  }

  .hero-media {
    padding: 8px;
  }

  .hero-media::after {
    inset: 8px;
  }

  .hero-media img,
  .hero > img,
  .article-hero img,
  .post-card img {
    min-width: 0;
    height: auto;
  }

  .hero-badge {
    width: 100%;
  }

  .stats-band {
    padding-inline: 0;
  }

  .section-heading {
    gap: 18px;
  }

  .editor-note {
    width: 100%;
  }

  .post-card div {
    padding: 22px;
  }

  .category-band {
    margin-right: var(--mobile-gutter);
    margin-left: var(--mobile-gutter);
    padding: 30px 18px;
  }

  .category-band > div,
  .category-grid a {
    max-width: 100%;
  }

  .article-meta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .article-meta span {
    width: 100%;
  }

  .article-content h2 {
    margin-top: 42px;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: clamp(2rem, 11vw, 2.42rem);
  }

  .nav a {
    font-size: 0.82rem;
  }

  .post-card div,
  details,
  .key-box,
  .toc,
  .related-box {
    padding: 20px;
  }
}

@media (max-width: 760px) {
  .site-header,
  .hero,
  .section,
  .article-hero,
  .article-layout {
    box-sizing: border-box;
  }

  .brand,
  .nav,
  .hero-copy,
  .hero p:not(.eyebrow),
  .search-panel,
  .topic-strip,
  .hero-media,
  .hero-media img,
  .stats-band,
  .section-heading,
  .post-grid,
  .post-card,
  .category-grid,
  .article-hero > div,
  .article-hero img,
  .article-meta,
  .article-content,
  .key-box,
  .toc,
  .related-box,
  .faq-list {
    width: 100% !important;
    max-width: 100% !important;
  }

  .category-band {
    width: auto !important;
    max-width: none !important;
  }
}
