.bts-section {
  padding-bottom: var(--section-padding);
}

.bts-card {
  overflow: hidden;
}

.bts-card h2,
.bts-card p,
.bts-card .hero-actions {
  padding-inline: 1.35rem;
}

.bts-card h2 {
  margin-top: 1.35rem;
}

.bts-card .hero-actions {
  padding-bottom: 1.35rem;
}

.bts-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface-soft);
}

.bts-carousel-empty {
  display: grid;
  place-items: center;
  padding: 1rem;
  color: var(--color-muted);
  text-align: center;
}

.bts-carousel-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 220ms ease;
}

.bts-carousel-image.is-active {
  opacity: 1;
}

.bts-carousel-contain .bts-carousel-image {
  object-fit: contain;
  background: var(--color-surface-soft);
}

.bts-carousel-button {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--color-surface) 88%, transparent);
  color: var(--color-heading);
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
  transform: translateY(-50%);
  box-shadow: var(--shadow-card);
}

.bts-carousel-button:hover {
  background: var(--color-accent-soft);
}

.bts-carousel-button-previous {
  left: 0.75rem;
}

.bts-carousel-button-next {
  right: 0.75rem;
}

.bts-carousel-count {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 2;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  background: color-mix(in srgb, var(--color-surface) 88%, transparent);
  color: var(--color-heading);
  font-size: 0.75rem;
  font-weight: 800;
  box-shadow: var(--shadow-card);
}