.vh-resources-page .vh-header {
  border-bottom-color: var(--vh-line);
  background: #f1f0ed;
}

.vh-resources-page .vh-header.is-stuck {
  background: #ffffff;
}

.vh-resources-hero {
  padding: 164px 32px 104px;
  background: #f1f0ed;
}

.vh-resources-hero-inner {
  width: min(900px, 100%);
  margin-inline: auto;
  text-align: center;
}

.vh-resources-hero h1,
.vh-resources-hero p,
.vh-resources-feature-band h2,
.vh-resources-feature-band p,
.vh-resources-heading h2,
.vh-resources-heading p,
.vh-resources-country-card h3,
.vh-resources-country-card p {
  margin: 0;
}

.vh-resources-hero h1 {
  color: var(--vh-ink);
  font-size: clamp(48px, 6.4vw, 72px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.02;
  text-wrap: balance;
}

.vh-resources-hero p {
  max-width: 680px;
  margin: 28px auto 0;
  color: var(--vh-secondary);
  font-size: 19px;
  line-height: 29px;
  text-wrap: pretty;
}

.vh-resources-inner {
  width: min(1184px, calc(100% - 64px));
  margin-inline: auto;
}

.vh-resources-feature,
.vh-resources-countries,
.vh-resources-explainers,
.vh-resources-paths {
  padding-block: 112px;
}

.vh-resources-feature,
.vh-resources-explainers {
  background: #ffffff;
}

.vh-resources-countries {
  background: #f7f8fa;
}

.vh-resources-paths {
  background: #f1f0ed;
}

.vh-resources-feature-band {
  min-height: 248px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 48px;
  padding: 56px 64px;
  border-radius: 16px;
  background: var(--vh-ink);
}

.vh-resources-feature-band h2 {
  max-width: 700px;
  color: #ffffff;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.06;
  text-wrap: balance;
}

.vh-resources-feature-band p {
  max-width: 620px;
  margin-top: 16px;
  color: #d7e0e5;
  font-size: 18px;
  line-height: 28px;
}

.vh-resources-feature-band > a,
.vh-resources-action a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 8px;
  background: var(--vh-accent);
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  line-height: 22px;
  text-decoration: none;
  transition: background-color 160ms var(--vh-motion);
}

.vh-resources-feature-band > a:hover,
.vh-resources-action a:hover {
  background: var(--vh-accent-hover);
}

.vh-resources-heading {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.vh-resources-heading h2 {
  color: var(--vh-ink);
  font-size: clamp(34px, 4.4vw, 48px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.06;
  text-wrap: balance;
}

.vh-resources-heading p {
  max-width: 620px;
  margin: 20px auto 0;
  color: var(--vh-secondary);
  font-size: 18px;
  line-height: 28px;
}

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

.vh-resources-country-card {
  min-width: 0;
  overflow: hidden;
  border-radius: 14px;
  background: #ffffff;
}

.vh-resources-country-card img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 8 / 5;
  object-fit: cover;
}

.vh-resources-country-card > div {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.vh-resources-country-card h3 {
  color: var(--vh-ink);
  font-size: 22px;
  font-weight: 500;
  line-height: 28px;
}

.vh-resources-country-card p {
  margin-top: 12px;
  color: var(--vh-secondary);
  font-size: 15px;
  line-height: 24px;
}

.vh-resources-country-card a,
.vh-resources-rows a,
.vh-resources-link-list a {
  color: var(--vh-accent);
  font-weight: 500;
  text-decoration: none;
  transition: color 160ms var(--vh-motion), background-color 160ms var(--vh-motion);
}

.vh-resources-country-card a {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 24px;
  font-size: 15px;
}

.vh-resources-country-card a:hover,
.vh-resources-rows a:hover,
.vh-resources-link-list a:hover {
  color: var(--vh-accent-hover);
}

.vh-resources-action {
  margin-top: 48px;
  text-align: center;
}

.vh-resources-rows {
  max-width: 1000px;
  margin-inline: auto;
}

.vh-resources-rows a {
  display: grid;
  grid-template-columns: minmax(220px, 0.4fr) minmax(0, 1fr);
  align-items: start;
  gap: 48px;
  padding: 32px;
  border-radius: 14px;
  color: var(--vh-ink);
}

.vh-resources-rows a:nth-child(odd) {
  background: #f3f4f6;
}

.vh-resources-rows strong {
  font-size: 22px;
  font-weight: 500;
  line-height: 28px;
}

.vh-resources-rows span {
  color: var(--vh-secondary);
  font-size: 17px;
  font-weight: 400;
  line-height: 27px;
}

.vh-resources-paths-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.vh-resources-paths-grid > div {
  min-width: 0;
  padding: 48px;
  border-radius: 16px;
  background: #ffffff;
}

.vh-resources-heading-left {
  margin: 0 0 28px;
  text-align: left;
}

.vh-resources-heading-left p {
  margin-inline: 0;
}

.vh-resources-link-list {
  display: grid;
  gap: 8px;
}

.vh-resources-link-list a {
  min-height: 56px;
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border-radius: 8px;
  background: #f7f8fa;
  color: var(--vh-ink);
  font-size: 18px;
  line-height: 26px;
}

.vh-resources-link-list a:hover {
  background: #eef0f6;
}

@media (max-width: 940px) {
  .vh-resources-country-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vh-resources-feature-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .vh-resources-hero {
    padding: 96px 20px 72px;
  }

  .vh-resources-feature,
  .vh-resources-countries,
  .vh-resources-explainers,
  .vh-resources-paths {
    padding-block: 80px;
  }

  .vh-resources-inner {
    width: calc(100% - 32px);
  }

  .vh-resources-feature-band {
    min-height: 0;
    gap: 28px;
    padding: 40px 32px;
  }

  .vh-resources-rows a {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 28px 24px;
  }

  .vh-resources-paths-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .vh-resources-hero {
    padding: 72px 16px 64px;
  }

  .vh-resources-hero h1 {
    font-size: clamp(40px, 12vw, 48px);
  }

  .vh-resources-hero p,
  .vh-resources-heading p,
  .vh-resources-feature-band p {
    font-size: 16px;
    line-height: 25px;
  }

  .vh-resources-feature,
  .vh-resources-countries,
  .vh-resources-explainers,
  .vh-resources-paths {
    padding-block: 64px;
  }

  .vh-resources-heading {
    margin-bottom: 32px;
  }

  .vh-resources-heading h2 {
    font-size: 34px;
  }

  .vh-resources-country-grid {
    width: 100vw;
    display: flex;
    gap: 12px;
    margin-left: calc(50% - 50vw);
    padding-inline: 16px;
    overflow-x: auto;
    scroll-padding-inline: 16px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .vh-resources-country-grid::-webkit-scrollbar {
    display: none;
  }

  .vh-resources-country-card {
    flex: 0 0 82%;
    scroll-snap-align: start;
  }

  .vh-resources-country-card > div {
    min-height: 220px;
  }

  .vh-resources-paths-grid > div {
    padding: 32px 24px;
  }
}
