.section-a {
  position: relative;
  overflow: hidden;
  background-color: #080704;
}

.hero-banner-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-banner-carousel__track {
  display: flex;
  height: 100%;
  width: 100%;
  transform: translate3d(0, 0, 0);
  transition: transform 2s ease-in-out;
  will-change: transform;
}

.hero-banner-carousel__track.is-instant {
  transition: none;
}

.hero-banner-carousel__slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.section-a .section-inner {
  position: relative;
  z-index: 2;
}

.section-a .hero-banner-toggle {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  line-height: 0;
}

.section-a .hero-banner-toggle img {
  display: block;
  width: 32px;
  height: 32px;
  filter: brightness(0) invert(1);
  pointer-events: none;
}

.section-a .hero-banner-toggle img[hidden] {
  display: none;
}

.section-a .hero-banner-toggle:focus {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

@media screen and (min-width: 2200px) {
  .hero-banner-carousel__slide {
    object-fit: contain;
    object-position: center top;
  }
}

@media screen and (max-width: 639px) {
  .hero-banner-carousel__slide {
    object-position: 72% center;
  }

  .hero-banner-carousel__slide:nth-child(2) {
    object-position: 66% center;
  }

  .hero-banner-carousel__slide:nth-child(3) {
    object-position: 66% center;
  }

  .hero-banner-carousel__slide:nth-child(4) {
    object-position: 76% center;
  }

  .section-a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    height: 72%;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(8, 7, 4, 0) 0%, rgba(8, 7, 4, 0.78) 58%, rgba(8, 7, 4, 0.94) 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-banner-carousel__track {
    transition: none;
  }
}
