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

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

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

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

.vh-guides-hero h1,
.vh-guides-hero p,
.vh-guides-intro h2,
.vh-guides-intro p,
.vh-guides-heading h2,
.vh-guides-heading p,
.vh-guides-card h3,
.vh-guides-card ul,
.vh-guides-legal p {
  margin: 0;
}

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

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

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

.vh-guides-intro,
.vh-guides-directory {
  padding-block: 112px;
}

.vh-guides-intro {
  background: #ffffff;
}

.vh-guides-directory {
  background: #f7f8fa;
}

.vh-guides-intro-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  align-items: start;
  gap: clamp(48px, 8vw, 112px);
}

.vh-guides-intro h2 {
  color: var(--vh-ink);
  font-size: clamp(36px, 4.4vw, 52px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-wrap: balance;
}

.vh-guides-intro p {
  color: var(--vh-secondary);
  font-size: 18px;
  line-height: 29px;
}

.vh-guides-intro p + p {
  margin-top: 20px;
}

.vh-guides-intro a,
.vh-guides-card-link {
  color: var(--vh-accent);
  font-weight: 500;
  text-decoration-color: rgba(23, 100, 219, 0.36);
  text-underline-offset: 4px;
  transition: color 160ms var(--vh-motion);
}

.vh-guides-intro a:hover,
.vh-guides-card-link:hover {
  color: var(--vh-accent-hover);
}

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

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

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

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

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

.vh-guides-card-image,
.vh-guides-card-image img {
  display: block;
}

.vh-guides-card-image {
  overflow: hidden;
  background: #eef0f6;
}

.vh-guides-card-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  transition: transform 300ms var(--vh-motion);
}

.vh-guides-card-image:hover img {
  transform: scale(1.02);
}

.vh-guides-card-copy {
  min-height: 292px;
  display: flex;
  flex-direction: column;
  padding: 28px 24px 24px;
}

.vh-guides-card h3 a {
  color: var(--vh-ink);
  font-size: 24px;
  font-weight: 500;
  line-height: 30px;
  text-decoration: none;
}

.vh-guides-card h3 a:hover {
  color: var(--vh-accent);
}

.vh-guides-card ul {
  display: grid;
  gap: 8px;
  margin-top: 20px;
  padding: 0;
  color: var(--vh-secondary);
  font-size: 15px;
  line-height: 23px;
  list-style: none;
}

.vh-guides-card li {
  position: relative;
  padding-left: 16px;
}

.vh-guides-card li::before {
  position: absolute;
  top: 9px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--vh-accent);
  content: "";
}

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

.vh-guides-legal {
  padding: 48px 24px;
  background: #f1f0ed;
  text-align: center;
}

.vh-guides-legal p {
  max-width: 760px;
  margin-inline: auto;
  color: var(--vh-secondary);
  font-size: 15px;
  line-height: 24px;
}

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

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

  .vh-guides-intro,
  .vh-guides-directory {
    padding-block: 80px;
  }

  .vh-guides-inner,
  .vh-guides-intro-grid {
    width: calc(100% - 32px);
  }

  .vh-guides-intro-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

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

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

  .vh-guides-hero p,
  .vh-guides-intro p,
  .vh-guides-heading p {
    font-size: 16px;
    line-height: 25px;
  }

  .vh-guides-intro,
  .vh-guides-directory {
    padding-block: 64px;
  }

  .vh-guides-intro h2,
  .vh-guides-heading h2 {
    font-size: 34px;
  }

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

  .vh-guides-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-guides-grid::-webkit-scrollbar {
    display: none;
  }

  .vh-guides-card {
    flex: 0 0 84%;
    scroll-snap-align: start;
  }

  .vh-guides-card-copy {
    min-height: 284px;
  }
}
