:root {
  --canvas: #f4f6f5;
  --paper: #ffffff;
  --paper-soft: #eef5f3;
  --warm-soft: #fbf1ed;
  --ink: #14201e;
  --muted: #5b6966;
  --line: #d8e1df;
  --line-strong: #afc2be;
  --green: #0e746b;
  --green-dark: #16443f;
  --coral: #d65f48;
  --gold: #b58b35;
  --radius: 6px;
  --content: 1240px;
  --reading: 740px;
  --shadow-sm: 0 8px 24px rgba(20, 32, 30, 0.06);
  --shadow-lg: 0 24px 64px rgba(20, 32, 30, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 16px/1.65 Inter, "Segoe UI", Roboto, Arial, sans-serif;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--green);
  text-decoration: none;
}

a:hover {
  color: var(--green-dark);
}

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

button,
input {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 9px 13px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-150%);
}

.skip-link:focus {
  color: #fff;
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
}

.header-shell,
.section,
.page-hero,
.article-layout,
.page,
.footer-inner,
.footer-bottom,
.feature-inner,
.trust-strip {
  width: min(var(--content), calc(100% - 40px));
  margin-inline: auto;
}

.header-shell {
  min-height: 74px;
  display: grid;
  grid-template-columns: minmax(180px, auto) minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
}

.brand {
  min-width: 0;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  line-height: 1;
}

.brand-name {
  font-size: 1.72rem;
  font-weight: 850;
}

.brand-name span,
.footer-brand span {
  color: var(--coral);
}

.brand small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0;
}

.nav {
  min-width: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
  align-self: stretch;
}

.nav-link,
.nav-submenu > summary {
  min-height: 73px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-bottom: 3px solid transparent;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 750;
  white-space: nowrap;
}

.nav-link:hover,
.nav-submenu > summary:hover,
.nav-submenu[open] > summary {
  border-color: var(--coral);
  color: var(--green-dark);
}

.nav-submenu {
  position: relative;
}

.nav-submenu > summary {
  gap: 8px;
  cursor: pointer;
  list-style: none;
}

.nav-submenu > summary::-webkit-details-marker {
  display: none;
}

.nav-submenu > summary::after {
  width: 7px;
  height: 7px;
  content: "";
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.nav-submenu[open] > summary::after {
  transform: translateY(2px) rotate(225deg);
}

.submenu-panel {
  position: absolute;
  top: calc(100% + 1px);
  right: -80px;
  z-index: 50;
  width: min(680px, calc(100vw - 32px));
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 12px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--coral);
  border-radius: 0 0 var(--radius) var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-lg);
}

.submenu-panel a {
  min-width: 0;
  display: block;
  padding: 13px 14px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--ink);
}

.submenu-panel a:hover {
  border-color: var(--line);
  background: var(--paper-soft);
}

.submenu-panel span,
.submenu-panel small {
  display: block;
}

.submenu-panel span {
  font-weight: 800;
}

.submenu-panel small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

.header-action,
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 17px;
  border: 1px solid var(--green-dark);
  border-radius: var(--radius);
  background: var(--green-dark);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.header-action {
  min-height: 40px;
  padding-inline: 15px;
  font-size: 0.86rem;
}

.header-action:hover,
.button:hover {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.button.secondary {
  border-color: var(--line-strong);
  background: var(--paper);
  color: var(--ink);
}

.button.secondary:hover {
  border-color: var(--green);
  background: var(--paper-soft);
}

.hero {
  position: relative;
  min-height: 610px;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #eee9e2;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--content), calc(100% - 40px));
  margin-inline: auto;
  padding-block: 72px;
}

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

.kicker {
  display: inline-block;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  letter-spacing: 0;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.hero h1 {
  max-width: 690px;
  margin: 13px 0 18px;
  font-size: 3.55rem;
  font-weight: 850;
}

.hero-copy > p {
  max-width: 610px;
  margin: 0;
  color: #42504d;
  font-size: 1.12rem;
}

.hero-search,
.search-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.hero-search {
  max-width: 620px;
  margin-top: 27px;
  padding: 8px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
}

.hero-search input,
.search-panel input {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
}

.hero-search input {
  border-color: transparent;
  background: #f7f8f7;
}

.hero-search input:focus,
.search-panel input:focus {
  border-color: var(--green);
  outline: 2px solid rgba(14, 116, 107, 0.14);
}

.hero-popular,
.popular-searches {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.hero-popular {
  max-width: 660px;
  margin-top: 15px;
}

.hero-popular > span,
.popular-searches > span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-popular a,
.popular-searches a,
.topic-filter a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  color: var(--green-dark);
  font-size: 0.84rem;
  font-weight: 750;
}

.hero-popular a:hover,
.popular-searches a:hover,
.topic-filter a:hover {
  border-color: var(--coral);
  background: var(--paper);
}

.trust-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--green-dark);
  box-shadow: 0 0 0 100vmax var(--green-dark);
  clip-path: inset(0 -100vmax);
  color: #fff;
}

.trust-strip > div {
  min-width: 0;
  padding: 22px 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.trust-strip > div:first-child {
  padding-left: 0;
}

.trust-strip > div:last-child {
  padding-right: 0;
  border-right: 0;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  font-size: 0.94rem;
}

.trust-strip span {
  margin-top: 3px;
  color: #d9e8e5;
  font-size: 0.84rem;
}

.section {
  padding-block: 52px;
}

.section-heading {
  min-width: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
}

.section-heading h2,
.page-hero h1 {
  margin: 5px 0 0;
  font-size: 2.35rem;
  font-weight: 850;
}

.text-link {
  flex: 0 0 auto;
  padding-bottom: 3px;
  color: var(--green-dark);
  font-weight: 800;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.topic-card,
.article-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.topic-card {
  min-height: 172px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border-top: 3px solid var(--green);
  color: var(--ink);
}

.topic-card:nth-child(2n) {
  border-top-color: var(--coral);
}

.topic-card:nth-child(3n) {
  border-top-color: var(--gold);
}

.topic-card:hover,
.article-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 14px 34px rgba(20, 32, 30, 0.1);
  transform: translateY(-2px);
}

.topic-card .topic-count {
  margin-bottom: auto;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.topic-card strong {
  margin-top: 16px;
  font-size: 1.12rem;
}

.topic-card > span:last-child {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.feature-band {
  border-top: 1px solid #efd8d1;
  border-bottom: 1px solid #efd8d1;
  background: var(--warm-soft);
}

.feature-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  align-items: center;
  gap: 54px;
  padding-block: 52px;
}

.feature-media {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.feature-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 260ms ease;
}

.feature-media:hover img {
  transform: scale(1.015);
}

.feature-copy h2 {
  margin: 10px 0 14px;
  font-size: 2.5rem;
}

.feature-copy h2 a {
  color: var(--ink);
}

.feature-copy p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 1.02rem;
}

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

.article-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.card-media {
  overflow: hidden;
  background: var(--paper-soft);
}

.article-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 220ms ease;
}

.article-card:hover img {
  transform: scale(1.018);
}

.card-body {
  min-height: 244px;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.eyebrow,
.article-meta {
  color: var(--coral);
  font-size: 0.75rem;
  font-weight: 850;
  text-transform: uppercase;
}

.article-card h3 {
  margin: 9px 0 10px;
  font-size: 1.2rem;
  line-height: 1.2;
}

.article-card h3 a {
  color: var(--ink);
}

.article-card p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 17px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.card-link {
  color: var(--green-dark);
  font-size: 0.88rem;
  font-weight: 850;
}

.card-link::after {
  margin-left: 5px;
  content: "→";
}

.page-hero {
  padding-block: 38px 30px;
  border-bottom: 1px solid var(--line);
}

.page-hero p {
  max-width: 720px;
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.breadcrumbs a {
  color: var(--muted);
}

.breadcrumbs a:hover {
  color: var(--green);
}

.breadcrumbs i {
  color: var(--line-strong);
  font-style: normal;
}

.listing-meta,
.search-count {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.topic-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 24px;
}

.topic-filter a {
  background: var(--paper);
}

.pagination {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin-top: 36px;
}

.pagination-status {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 750;
}

.pagination-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.pagination a,
.pagination span {
  min-width: 40px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font-weight: 750;
}

.pagination a:hover {
  border-color: var(--green);
  background: var(--paper-soft);
}

.pagination .pager-number[aria-current="page"] {
  border-color: var(--green-dark);
  background: var(--green-dark);
  color: #fff;
}

.pagination .pager-step {
  min-width: 116px;
}

.pagination .pager-disabled {
  color: #93a09d;
  pointer-events: none;
}

.pagination .pager-gap {
  min-width: 26px;
  border-color: transparent;
  background: transparent;
}

.search-panel {
  margin-bottom: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.popular-searches {
  margin-bottom: 26px;
}

.article-layout {
  padding-block: 36px 62px;
}

.article {
  min-width: 0;
}

.article-header {
  max-width: 960px;
  margin-inline: auto;
}

.article-header .breadcrumbs {
  margin-bottom: 22px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.article-meta a {
  padding: 4px 8px;
  border: 1px solid #efc9c1;
  border-radius: var(--radius);
  background: var(--warm-soft);
  color: #a64331;
}

.article h1 {
  max-width: 950px;
  margin: 15px 0 15px;
  font-size: 3.25rem;
  font-weight: 850;
}

.article-dek {
  max-width: 800px;
  margin: 0;
  color: var(--muted);
  font-size: 1.15rem;
}

.article-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 18px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.article-byline span + span::before {
  margin-right: 18px;
  color: var(--line-strong);
  content: "•";
}

.article-hero {
  width: min(1040px, 100%);
  margin: 30px auto 38px;
  aspect-ratio: 16 / 8.5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.article-content {
  display: grid;
  grid-template-columns: 220px minmax(0, var(--reading));
  justify-content: center;
  gap: 42px;
}

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

.article-toc {
  position: sticky;
  top: 100px;
  padding: 16px 0;
  border-top: 2px solid var(--green);
  border-bottom: 1px solid var(--line);
}

.article-toc strong {
  font-size: 0.82rem;
  text-transform: uppercase;
}

.article-toc ol {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.article-toc li + li {
  margin-top: 7px;
}

.article-toc a {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.article-toc a:hover {
  color: var(--green);
}

.aside-note {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 20px;
  padding: 14px;
  border-left: 3px solid var(--coral);
  background: var(--warm-soft);
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.aside-note strong {
  color: var(--ink);
}

.article-body {
  min-width: 0;
  font-size: 1.06rem;
  line-height: 1.8;
}

.article-body .lead {
  margin-top: 0;
  color: #34423f;
  font-size: 1.22rem;
  line-height: 1.65;
}

.article-body h2 {
  margin: 42px 0 12px;
  font-size: 1.85rem;
  scroll-margin-top: 100px;
}

.article-body h3 {
  margin: 24px 0 8px;
  font-size: 1.28rem;
}

.article-body p,
.article-body ul,
.article-body ol {
  margin: 0 0 20px;
}

.article-body ul,
.article-body ol {
  padding-left: 24px;
}

.article-body li + li {
  margin-top: 7px;
}

.article-body a {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: #9bc2bd;
  text-underline-offset: 3px;
}

.article-body .note,
.article-body .checklist,
.article-body .faq,
.article-body .sources {
  margin: 28px 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-soft);
}

.article-body .note {
  border-left: 4px solid var(--coral);
  background: var(--warm-soft);
}

.article-body .faq h2,
.article-body .sources h2 {
  margin-top: 0;
}

.article-body .sources {
  font-size: 0.92rem;
}

.article-body .sources li + li {
  margin-top: 5px;
}

.article-trust {
  max-width: var(--reading);
  margin: 34px auto 0;
  padding: 19px 20px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
  background: var(--paper);
}

.article-trust p {
  margin: 6px 0 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.article-trust a {
  font-weight: 800;
}

.related {
  padding-bottom: 0;
}

.page {
  max-width: 940px;
  padding-block: 38px 60px;
}

.page > .article {
  max-width: var(--reading);
  margin-inline: auto;
}

.empty-state {
  padding-block: 54px;
  text-align: center;
}

.empty-state p {
  color: var(--muted);
}

.empty-state .search-panel {
  margin-block: 28px 18px;
  text-align: left;
}

.page .article h1 {
  font-size: 2.65rem;
}

.site-footer {
  border-top: 4px solid var(--coral);
  background: #122724;
  color: #f1f7f6;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(260px, 1.3fr) repeat(2, minmax(160px, 0.7fr));
  gap: 54px;
  padding-block: 42px 36px;
}

.footer-brand strong {
  font-size: 1.7rem;
}

.footer-brand p {
  max-width: 430px;
  margin: 8px 0 0;
  color: #cbdcd9;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}

.footer-links strong {
  margin-bottom: 4px;
  color: #fff;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.footer-links a {
  color: #cbdcd9;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 17px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: #abc2be;
  font-size: 0.78rem;
}

@media (max-width: 1020px) {
  .header-shell {
    grid-template-columns: minmax(170px, 1fr) auto;
    gap: 14px 22px;
    padding-top: 12px;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .header-action {
    grid-column: 2;
    grid-row: 1;
  }

  .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    border-top: 1px solid var(--line);
  }

  .nav-link,
  .nav-submenu > summary {
    min-height: 42px;
  }

  .submenu-panel {
    right: auto;
    left: 0;
  }

  .hero {
    min-height: 560px;
  }

  .hero h1 {
    font-size: 3rem;
  }

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

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

  .article-content {
    grid-template-columns: minmax(0, var(--reading));
  }

  .article-aside {
    order: 0;
  }

  .article-toc {
    position: static;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-top: 3px solid var(--green);
    border-radius: var(--radius);
    background: var(--paper);
  }

  .article-toc ol {
    columns: 2;
    column-gap: 28px;
  }

  .article-toc li {
    break-inside: avoid;
  }

  .aside-note {
    display: none;
  }
}

@media (max-width: 720px) {
  .header-shell,
  .section,
  .page-hero,
  .article-layout,
  .page,
  .footer-inner,
  .footer-bottom,
  .feature-inner,
  .trust-strip {
    width: min(var(--content), calc(100% - 24px));
  }

  .header-shell {
    grid-template-columns: 1fr auto;
  }

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

  .header-action {
    min-height: 38px;
  }

  .nav {
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .nav-link,
  .nav-submenu > summary {
    padding-inline: 10px;
    font-size: 0.82rem;
  }

  .nav-submenu {
    position: static;
  }

  .nav-submenu[open] {
    flex-basis: 100%;
  }

  .submenu-panel {
    position: absolute;
    top: 100%;
    right: 12px;
    left: 12px;
    width: auto;
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 590px;
    background: #f4f0ea;
  }

  .hero-image {
    object-position: 65% center;
    opacity: 0.3;
  }

  .hero-inner {
    width: calc(100% - 24px);
    padding-block: 48px;
  }

  .hero h1 {
    font-size: 2.45rem;
  }

  .hero-copy > p {
    color: var(--ink);
    font-size: 1.02rem;
  }

  .trust-strip {
    grid-template-columns: 1fr;
    padding-block: 10px;
  }

  .trust-strip > div,
  .trust-strip > div:first-child,
  .trust-strip > div:last-child {
    padding: 13px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .trust-strip > div:last-child {
    border-bottom: 0;
  }

  .section {
    padding-block: 38px;
  }

  .section-heading {
    align-items: flex-start;
  }

  .section-heading h2,
  .page-hero h1 {
    font-size: 1.95rem;
  }

  .feature-inner {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-block: 38px;
  }

  .feature-copy h2 {
    font-size: 2rem;
  }

  .article h1 {
    font-size: 2.45rem;
  }

  .article-hero {
    margin-top: 24px;
    aspect-ratio: 16 / 10;
  }

  .article-dek {
    font-size: 1.04rem;
  }

  .article-byline {
    display: grid;
    gap: 3px;
  }

  .article-byline span + span::before {
    display: none;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .brand small {
    display: none;
  }

  .header-action {
    padding-inline: 11px;
  }

  .hero {
    min-height: 640px;
  }

  .hero h1 {
    font-size: 2.08rem;
  }

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

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

  .section-heading {
    display: block;
  }

  .section-heading .text-link {
    display: inline-flex;
    margin-top: 12px;
  }

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

  .topic-card {
    min-height: 150px;
  }

  .card-body {
    min-height: 0;
  }

  .pagination .pager-step {
    min-width: 0;
  }

  .pagination .pager-number,
  .pagination .pager-gap {
    display: none;
  }

  .article-layout {
    padding-top: 26px;
  }

  .article-header .breadcrumbs span[aria-current="page"],
  .article-header .breadcrumbs i:last-of-type {
    display: none;
  }

  .article h1,
  .page .article h1 {
    font-size: 2.05rem;
  }

  .article-body {
    font-size: 1rem;
  }

  .article-body .lead {
    font-size: 1.1rem;
  }

  .article-body h2 {
    font-size: 1.58rem;
  }

  .article-toc ol {
    columns: 1;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
