.hero-carousel {
  isolation: isolate;
  background: #183747;
  touch-action: pan-y pinch-zoom;
}

.hero-carousel .hero-slide {
  inset: 0;
  opacity: 0;
  transition: opacity 540ms ease-in-out;
}

.hero-carousel .hero-slide.is-active {
  opacity: 1;
}

.hero-carousel .hero-slide-walking {
  object-position: 49% 62%;
}

.hero-carousel .hero-slide-drums {
  object-position: 51% 41%;
  filter: brightness(1.08);
}

.hero-carousel::after {
  z-index: 1;
}

.hero-carousel .photo-tag,
.hero-carousel .round-label {
  z-index: 2;
}

.hero-carousel-controls {
  position: absolute;
  right: .85rem;
  bottom: .85rem;
  z-index: 3;
  display: flex;
  align-items: center;
  padding: .15rem .35rem;
  border: 1px solid #ffffff54;
  border-radius: 1.8rem;
  background: #0b2e40ec;
  color: white;
}

.hero-carousel-controls button {
  display: grid;
  min-height: 44px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 1.6rem;
  background: transparent;
  color: white;
}

.hero-carousel-controls button:hover {
  background: #ffffff1f;
}

.hero-carousel-controls button:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: -2px;
}

.hero-carousel-controls .hero-rotation {
  min-width: 5.25rem;
  padding-inline: .55rem;
  font-size: .8rem;
  font-weight: 650;
}

.hero-slide-picker {
  display: flex;
}

.hero-slide-picker button {
  width: 44px;
}

.hero-slide-picker button::before {
  width: .55rem;
  height: .55rem;
  border: 1px solid white;
  border-radius: 50%;
  content: '';
}

.hero-slide-picker button[aria-pressed="true"]::before {
  border-color: var(--lime);
  background: var(--lime);
}

@media (max-width: 1000px) {
  .hero-carousel:has(.hero-carousel-controls:not([hidden])) .photo-tag {
    bottom: 4.45rem;
    left: 1rem;
  }
}

@media (max-width: 760px) {
  .hero-carousel-controls {
    right: .6rem;
    bottom: .55rem;
  }
}

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