.home-hero {
  --home-hero-height: 620px;
  --home-hero-image: 480px;
  position: relative;
  background: #0032a1;
  color: #fff;
  margin-top: 80px;
  overflow: hidden;
}

.home-hero__viewport {
  display: grid;
  min-height: var(--home-hero-height);
}

.home-hero__slide {
  grid-area: 1 / 1;
  display: flex;
  align-items: center;
  align-self: stretch;
  width: 100%;
  min-height: var(--home-hero-height);
  padding: 3.25rem 0 4.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.home-hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.home-hero__inner {
  width: 100%;
  padding-left: 4rem;
  padding-right: 4rem;
}

.home-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: var(--home-hero-image);
}

.home-hero__heading {
  color: #fff;
  font-size: 3rem;
  font-weight: 600;
  line-height: 3.5rem;
  margin: 0 0 1.25rem;
}

.home-hero__text {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.2rem;
  line-height: 2rem;
  margin: 0 0 1.75rem;
  max-width: 34rem;
}

.home-hero__cta {
  align-self: flex-start;
  min-width: 10rem;
}

.home-hero__media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--home-hero-image);
}

.home-hero__figure {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: var(--home-hero-image);
  margin: 0;
}

.home-hero__image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: var(--home-hero-image);
  object-fit: contain;
}

.home-hero__slide:not(.is-active) .home-hero__image {
  display: none;
}

.home-hero__controls {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.home-hero__arrow,
.home-hero__dot {
  appearance: none;
  border: 0;
  background: transparent;
  color: #fff;
  pointer-events: auto;
  cursor: pointer;
}

.home-hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(0, 23, 84, 0.28);
  font-size: 1.7rem;
  line-height: 1;
}

.home-hero__arrow[data-hero-prev] {
  left: 0.85rem;
}

.home-hero__arrow[data-hero-next] {
  right: 0.85rem;
}

.home-hero__arrow:hover,
.home-hero__arrow:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.home-hero__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.4rem;
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  pointer-events: auto;
}

.home-hero__dot {
  width: 2.1rem;
  height: 0.28rem;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.38);
}

.home-hero__dot.is-active {
  background: #fff;
}

.home-hero__dot:hover,
.home-hero__dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media (max-width: 1399.98px) {
  .home-hero__arrow {
    display: none;
  }
}

@media (max-width: 1199.98px) {
  .home-hero {
    --home-hero-height: 580px;
    --home-hero-image: 380px;
  }

  .home-hero__heading {
    font-size: 2.5rem;
    line-height: 3rem;
  }
}

@media (max-width: 991.98px) {
  .home-hero {
    --home-hero-height: auto;
    --home-hero-image: 280px;
  }

  .home-hero__viewport,
  .home-hero__slide {
    min-height: 560px;
  }

  .home-hero__inner {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .home-hero__slide {
    padding: 2.75rem 0 4.75rem;
    text-align: center;
  }

  .home-hero__copy {
    align-items: center;
    min-height: 0;
  }

  .home-hero__heading {
    font-size: 2rem;
    line-height: 2.5rem;
    max-width: none;
  }

  .home-hero__text {
    margin-left: auto;
    margin-right: auto;
  }

  .home-hero__cta {
    align-self: center;
  }

  .home-hero__arrow {
    display: none;
  }
}

@media (max-width: 576px) {
  .home-hero {
    margin-top: 96px;
  }

  .home-hero__viewport,
  .home-hero__slide {
    min-height: 520px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__slide,
  .home-hero__dot,
  .home-hero__arrow {
    transition: none;
  }
}
