.hs-coaches-page {
  display: grid;
  gap: 24px;
}

.hs-coaches-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: center;
  gap: 14px;
  align-items: stretch;
}

.hs-coaches-grid-wrap {
  margin-top: 0;
  position: relative;
}

.hs-coaches-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(12, 14, 24, 0.72);
  color: var(--text, #e8ecff);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.hs-coaches-carousel-btn:hover {
  background: rgba(98, 54, 255, 0.22);
  border-color: rgba(98, 54, 255, 0.55);
}

.hs-coaches-carousel-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.hs-coaches-carousel-btn__icon {
  display: block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.hs-coaches-carousel-btn--prev {
  left: -18px;
}

.hs-coaches-carousel-btn--next {
  right: -18px;
}

.hs-coaches-booking-cta {
  display: flex;
  justify-content: center;
  margin-top: 8px;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
}

.hs-coaches-booking-cta__btn {
  min-width: min(100%, 240px);
  justify-content: center;
}

.hs-btn--pulse-glow {
  position: relative;
  box-shadow:
    0 4px 20px rgba(98, 54, 255, 0.32),
    0 0 0 0 rgba(98, 54, 255, 0.4);
  animation: hs-btn-pulse-ring 2.8s ease-out infinite;
}

@keyframes hs-btn-pulse-ring {
  0% {
    box-shadow:
      0 4px 20px rgba(98, 54, 255, 0.32),
      0 0 0 0 rgba(98, 54, 255, 0.35);
  }
  70% {
    box-shadow:
      0 4px 24px rgba(98, 54, 255, 0.4),
      0 0 0 10px rgba(98, 54, 255, 0);
  }
  100% {
    box-shadow:
      0 4px 20px rgba(98, 54, 255, 0.32),
      0 0 0 0 rgba(98, 54, 255, 0.32);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hs-btn--pulse-glow {
    animation: none;
  }
}

@media (min-width: 721px) {
  .hs-coaches-grid-wrap {
    margin-inline: -2px;
  }

  .hs-coaches-page .hs-coaches-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 2 * 14px) / 3);
    grid-template-columns: none;
    gap: 14px;
    padding: 0 2px 6px;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 2px;
    -webkit-overflow-scrolling: touch;
  }

  .hs-coaches-page .hs-coaches-grid > * {
    min-width: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .hs-coaches-page .hs-coach-card-v2 {
    contain: layout paint;
  }

  .hs-coaches-page .hs-coaches-grid::-webkit-scrollbar {
    height: 8px;
  }
}

@media (max-width: 720px) {
  .hs-coaches-grid-wrap {
    margin-inline: -4px;
  }

  .hs-coaches-page .hs-coaches-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(84%, 1fr);
    grid-template-columns: none;
    gap: 10px;
    padding: 0 4px 6px;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .hs-coaches-page .hs-coaches-grid > * {
    min-width: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .hs-coaches-page .hs-coach-card-v2 {
    contain: layout paint;
    width: 100%;
  }

  .hs-coaches-page .hs-coaches-grid::-webkit-scrollbar {
    display: none;
  }

  .hs-coaches-carousel-btn {
    width: 36px;
    height: 36px;
  }

  .hs-coaches-carousel-btn--prev {
    left: 2px;
  }

  .hs-coaches-carousel-btn--next {
    right: 2px;
  }
}
