.hero-2 .hero-header {
  background: #2B2C2C;
  color: #fff;
}

.hero-2 .hero-header :is(.heading-h1, .caption, .text-medium, .stars) {
  color: #fff;
}

.hero-2 .hero-header .button-primary {
  background: #442dfa;
  color: #fff;
}

.hero-2 .hero-header .button-primary .button-label {
  color: #fff;
}

.team-hero-slideshow {
  position: relative;
  overflow: hidden;
  background: #242135;
}

.team-hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .65s ease;
}

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

.team-hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.team-hero-caption {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 3rem 1.25rem 1.1rem;
  background: linear-gradient(transparent, rgba(20, 15, 47, .83));
  color: #fff;
}

.team-hero-caption strong,
.team-hero-caption span {
  display: block;
  color: #fff;
}

.team-hero-caption strong {
  font-size: 1.1rem;
}

.team-hero-caption span {
  font-size: .9rem;
}

.team-hero-controls {
  position: absolute;
  z-index: 2;
  top: 6rem;
  right: 1rem;
  display: flex;
  gap: .4rem;
}

.team-hero-controls[hidden] {
  display: none;
}

.team-hero-controls button {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 50%;
  background: rgba(25, 20, 45, .75);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
}

.team-hero-controls button:hover {
  background: #442dfa;
}

.team-hero-controls button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

@media (max-width: 991px) {
  .team-hero-controls {
    top: 1rem;
  }
}

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