.nav_content .nav-media-list--swap { --nav-media-text-inset: 1em; }
@media (max-width: 577px) { .nav_content .nav-media-list--swap { --nav-media-text-inset: calc(20px + 1em); } }
.nav_content .nav-media-list--swap .nav-home-screen {
  display: block;
  position: relative;
  flex: 0 0 auto;
  margin-top: auto;
}

.nav_content .nav-media-link--home-screen {
  display: block;
  position: relative;
  max-width: none;
  flex: 0 0 auto;
  border-radius: 0;
}

.nav-media-link--home-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.25) 55%, transparent);
  pointer-events: none;
}

.nav_content .nav-media-link--home-screen img {
  width: 100%;
  height: auto;
  max-height: none;
}

.nav-home-screen-copy {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  left: var(--nav-media-text-inset);
  right: 20px;
  bottom: 30px;
  pointer-events: none;
}

.nav-home-screen-title {
  max-width: 230px;
  margin: 0;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  text-wrap: balance;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
}

.nav_content .nav-home-screen-cta {
  display: inline-flex;
  justify-content: center;
  min-height: 36px;
  padding: 0 19px;
  border: 2px solid transparent;
  border-radius: 999px;
  background: linear-gradient(90deg, #3aaeff 0%, #64d7ff 35%, #93ff67 70%, #93ff67 100%);
  background-size: 220% 100%;
  background-position: 0 0;
  background-origin: border-box;
  background-repeat: no-repeat;
  color: #000;
  font-family: Haffer VF, Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.6px;
  line-height: 1;
  transition: background-position 0.45s ease-in-out;
  pointer-events: auto;
}

.nav_content .nav-home-screen:hover .nav-home-screen-cta,
.nav_content .nav-home-screen:focus-within .nav-home-screen-cta {
  background-position: 70% 0;
  color: #000;
}

@media (min-width: 992px) {
  .nav_content .nav-media-list--swap .nav-home-screen {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    min-height: 124px;
  }

  .nav_content .nav-media-link--home-screen {
    width: 86%;
    max-width: 330px;
    margin-left: auto;
  }

  .nav-home-screen-copy {
    right: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav_content .nav-home-screen-cta {
    transition: none;
  }
}

.nav_content .nav-home-screen a:focus-visible {
  outline: 2px solid #64d7ff;
  outline-offset: -4px;
}

.nav_container:has(.nav-home-screen) .nav_content_wrapper {
  max-height: calc(100dvh - 116px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.nav_container:has(.nav-home-screen) .nav_content_wrapper::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

