/* Shared header system for the six primary navigation destinations. */
:is(.vr-sale-hero, .vr-value-hero, .vr-offers-hero, .vr-about-hero, .vr-contact-hero) {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 40rem;
  align-items: center;
  overflow: hidden;
  color: var(--vr-white);
}

:is(.vr-sale-hero, .vr-value-hero, .vr-offers-hero, .vr-about-hero, .vr-contact-hero)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(6, 31, 54, .97) 0%, rgba(9, 39, 66, .84) 48%, rgba(9, 39, 66, .46) 100%);
}

:is(.vr-hero, .vr-sale-hero, .vr-value-hero, .vr-offers-hero, .vr-about-hero, .vr-contact-hero) {
  background: var(--vr-hero-image, url("../images/mainspitze-landscape-kaiborgeest-20261009.jpg")) center 54% / cover no-repeat;
  background: var(--vr-hero-image, image-set(url("../images/mainspitze-landscape-kaiborgeest-20261009-960.webp") 1x)) center 54% / cover no-repeat;
}

@media (min-width: 60.01rem) {
  :is(.vr-hero, .vr-sale-hero, .vr-value-hero, .vr-offers-hero, .vr-about-hero, .vr-contact-hero) {
    background: var(--vr-hero-image, image-set(url("../images/mainspitze-landscape-kaiborgeest-20261009-1920.webp") 1x)) center 54% / cover no-repeat;
  }
}

:is(.vr-hero, .vr-sale-hero, .vr-value-hero, .vr-offers-hero, .vr-about-hero, .vr-contact-hero)::before {
  background: linear-gradient(90deg, rgba(6, 31, 54, .91) 0%, rgba(9, 39, 66, .76) 48%, rgba(9, 39, 66, .28) 100%);
}

.vr-hero-credit {
  position: absolute;
  right: 1.5rem;
  bottom: .75rem;
  z-index: 1;
  max-width: calc(100% - 3rem);
  margin: 0;
  padding: .4rem .65rem;
  border-radius: .3rem;
  background: rgba(6, 31, 54, .9);
  color: #fff;
  font-size: .75rem;
  line-height: 1.5;
}

.vr-hero-credit a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: .15em;
}

.vr-about-hero__image {
  display: none;
}

:is(.vr-sale-hero__inner, .vr-value-hero__inner, .vr-offers-hero__inner, .vr-about-hero__copy, .vr-contact-hero__content) {
  position: relative;
  z-index: 1;
  display: block;
  width: min(73.75rem, calc(100% - 3rem));
  margin-inline: auto;
  padding: 5.5rem 0 4.75rem;
}

:is(.vr-sale-hero, .vr-value-hero, .vr-offers-hero, .vr-about-hero, .vr-contact-hero) .vr-kicker {
  margin: 0 0 .9rem;
  color: #8fd3ff;
}

:is(.vr-sale-hero, .vr-value-hero, .vr-offers-hero, .vr-about-hero, .vr-contact-hero) h1 {
  max-width: 52.5rem;
  margin: 0 0 1.5rem;
  color: var(--vr-white);
  font-size: clamp(3.5rem, 5.6vw, 5.75rem);
  font-weight: 400;
  line-height: .96;
  letter-spacing: -.055em;
}

.vr-references-page .vr-offers-hero h1 {
  max-width: 52.5rem;
}

:is(.vr-sale-hero__lead, .vr-value-hero__lead, .vr-offers-hero__lead, .vr-about-hero__copy > p:not(.vr-kicker), .vr-contact-hero__lead) {
  max-width: 47.5rem;
  margin: 0 0 1.875rem;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  line-height: 1.58;
}

@media (max-width: 45rem) {
  .vr-navigation ul,
  body.vr-contact-page .vr-navigation ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .25rem .5rem;
  }

  .vr-navigation li,
  .vr-navigation a,
  body.vr-contact-page .vr-navigation a {
    min-width: 0;
    max-width: 100%;
  }

  .vr-navigation a {
    width: 100%;
    justify-content: flex-start;
  }

  .vr-navigation a[aria-current="page"],
  body.vr-contact-page .vr-navigation a[aria-current="page"] {
    justify-content: center;
  }

  :is(.vr-sale-hero, .vr-value-hero, .vr-offers-hero, .vr-about-hero, .vr-contact-hero) {
    min-height: 38rem;
    align-items: center;
  }

  :is(.vr-sale-hero__inner, .vr-value-hero__inner, .vr-offers-hero__inner, .vr-about-hero__copy, .vr-contact-hero__content) {
    width: min(100% - 2.5rem, 73.75rem);
    padding: 3.75rem 0 3.5rem;
  }

  body :is(.vr-hero, .vr-sale-hero, .vr-value-hero, .vr-offers-hero) > :is(.vr-hero__inner, .vr-sale-hero__inner, .vr-value-hero__inner, .vr-offers-hero__inner) {
    padding-bottom: 6.5rem;
  }

  :is(.vr-sale-hero, .vr-value-hero, .vr-offers-hero, .vr-about-hero, .vr-contact-hero) h1 {
    max-width: none;
    font-size: clamp(2.7rem, 12vw, 3.5rem);
    line-height: .98;
  }

  .vr-references-page .vr-offers-hero h1 {
    max-width: none;
    overflow-wrap: anywhere;
  }

  :is(.vr-sale-hero__lead, .vr-value-hero__lead, .vr-offers-hero__lead, .vr-about-hero__copy > p:not(.vr-kicker), .vr-contact-hero__lead) {
    font-size: 1rem;
    line-height: 1.6;
  }
}
