.hero-carousel {
  position: relative;
}

.hero-carousel__slides {
  overflow: hidden;
  position: relative;
}

.hero-slide {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transition: opacity 0.45s ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
}

.hero-slide::before {
  background: rgba(0, 0, 0, 0.18);
  content: "";
  inset: 0;
  position: absolute;
}

.hero-slide__inner {
  position: relative;
  z-index: 2;
}

.hero-slide__copy {
  max-width: 52rem;
  min-height: 820px;
  padding: 270px 0 115px;
}

.hero-slide__copy h1,
.hero-slide__copy p,
.hero-slide__cta {
  color: #ffffff;
}

.hero-slide__copy p {
  font-size: 24px;
  line-height: 36px;
  padding: 44px 0 56px;
}

.hero-slide__cta {
  display: inline-flex;
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 36px;
  text-transform: uppercase;
}

.hero-carousel__controls {
  inset: 50% 0 auto;
  position: absolute;
  transform: translateY(-50%);
  z-index: 3;
}

.hero-carousel__control {
  background: #fff;
  border: 0;
  color: #062172;
  cursor: pointer;
  font-size: 26px;
  padding: 17px;
  position: absolute;
}

.hero-carousel__control:first-child {
  left: 0;
}

.hero-carousel__control:last-child {
  right: 0;
}

.hero-carousel__dots {
  bottom: 2rem;
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  left: 0;
  position: absolute;
  right: 0;
  z-index: 3;
}

.hero-carousel__dot {
  background: rgba(255, 255, 255, 0.5);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  height: 0.8rem;
  width: 0.8rem;
}

.hero-carousel__dot.is-active {
  background: #fff;
}

.ttm-area {
  padding: 0;
}

.ttm-area__grid {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr 1fr;
}

.ttm-card {
  align-items: center;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  justify-content: center;
  min-height: 360px;
  padding: 2rem;
}

.ttm-card--trainer {
  background-image: url("/assets/f1-personalTrainer.png");
}

.ttm-card--running {
  background-image: url("/assets/f1-runningClub.png");
}

.ttm-card img {
  max-width: 320px;
  width: 100%;
}

.promo-banner {
  align-items: center;
  background-image: url("/assets/h1.jpg");
  background-position: center;
  background-size: cover;
  display: flex;
  min-height: 420px;
  position: relative;
}

.promo-banner::before {
  background: rgba(0, 0, 0, 0.45);
  content: "";
  inset: 0;
  position: absolute;
}

.promo-banner__inner {
  position: relative;
  z-index: 1;
}

.promo-banner h2 {
  color: #fff;
  max-width: 36rem;
}

@media (max-width: 900px) {
  .hero-slide__copy {
    min-height: 680px;
    padding: 220px 0 80px;
  }

  .hero-slide__copy h1 {
    font-size: 38px;
    line-height: 42px;
  }

  .ttm-area__grid {
    grid-template-columns: 1fr;
  }
}
