.bths-hero-slider { position: relative; width: 100%; max-width: none; overflow: hidden; background: #111; }
.bths-slider-viewport { position: relative; width: 100%; min-height: 180px; overflow: hidden; transition: height .2s ease; }
.bths-slide { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity var(--bths-slide-transition, 700ms) ease, transform var(--bths-slide-transition, 700ms) ease; }
.bths-slide.transition-slide { transform: translateX(3%); }
.bths-slide.is-active { z-index: 2; opacity: 1; pointer-events: auto; transform: translateX(0); }
.bths-slide-canvas { position: absolute; top: 0; left: 0; overflow: hidden; transform-origin: 0 0; background-repeat: no-repeat; background-size: cover; }
.bths-slide-layer { position: absolute; z-index: 4; transform: translate(-50%, -50%); }
.bths-slide-text-layer { overflow-wrap: break-word; }
.bths-slide-image-layer { z-index: 3; }
.bths-slide-image-layer img { display: block; width: 100%; height: auto; }
.bths-slide-button-layer { z-index: 5; white-space: nowrap; }
.bths-slide-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 230px; padding: 16px 32px; border-radius: 999px; color: #fff; font-weight: 600; line-height: 1; text-transform: uppercase; text-shadow: none; }
.bths-slide-button:hover { color: #fff; filter: brightness(1.08); }
.bths-slide-button.is-dark { background: rgba(20,20,20,.82); }
.bths-slide-button.is-primary { background: #2a3280; }
.bths-slide-button.is-light { color: #1e1c56; background: rgba(255,255,255,.92); }
.bths-slider-arrow { position: absolute; z-index: 8; top: 50%; width: 48px; height: 48px; padding: 0; color: #fff; border: 0; border-radius: 50%; background: rgba(0,0,0,.52); font-size: 42px; line-height: 1; transform: translateY(-50%); }
.bths-slider-arrow:hover { background: rgba(0,0,0,.78); }
.bths-slider-arrow.is-prev { left: 18px; }
.bths-slider-arrow.is-next { right: 18px; }
.bths-slider-dots { position: absolute; z-index: 8; left: 50%; bottom: 14px; display: flex; gap: 8px; transform: translateX(-50%); }
.bths-slider-dots button { width: 11px; height: 11px; padding: 0; border: 2px solid #fff; border-radius: 50%; background: transparent; }
.bths-slider-dots button.is-active { background: #fff; }
.bths-slider-empty { padding: 30px; border: 2px dashed #bbb; background: #f5f5f5; text-align: center; }

.bths-slide.is-active .bths-animate-none.is-animating { opacity: 1; }
.bths-slide.is-active .bths-animate-fade.is-animating { animation: bthsLayerFade var(--bths-layer-duration, 800ms) var(--bths-layer-delay, 0ms) both; }
.bths-slide.is-active .bths-animate-rise.is-animating { animation: bthsLayerRise var(--bths-layer-duration, 800ms) var(--bths-layer-delay, 0ms) both; }
.bths-slide.is-active .bths-animate-top.is-animating { animation: bthsLayerTop var(--bths-layer-duration, 800ms) var(--bths-layer-delay, 0ms) both; }
.bths-slide.is-active .bths-animate-left.is-animating { animation: bthsLayerLeft var(--bths-layer-duration, 800ms) var(--bths-layer-delay, 0ms) both; }
.bths-slide.is-active .bths-animate-right.is-animating { animation: bthsLayerRight var(--bths-layer-duration, 800ms) var(--bths-layer-delay, 0ms) both; }
.bths-slide.is-active .bths-animate-zoom.is-animating { animation: bthsLayerZoom var(--bths-layer-duration, 800ms) var(--bths-layer-delay, 0ms) both; }

@keyframes bthsLayerFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes bthsLayerRise { from { opacity: 0; transform: translate(-50%, calc(-50% + 55px)); } to { opacity: 1; transform: translate(-50%, -50%); } }
@keyframes bthsLayerTop { from { opacity: 0; transform: translate(-50%, calc(-50% - 90px)); } to { opacity: 1; transform: translate(-50%, -50%); } }
@keyframes bthsLayerLeft { from { opacity: 0; transform: translate(calc(-50% - 85px), -50%); } to { opacity: 1; transform: translate(-50%, -50%); } }
@keyframes bthsLayerRight { from { opacity: 0; transform: translate(calc(-50% + 85px), -50%); } to { opacity: 1; transform: translate(-50%, -50%); } }
@keyframes bthsLayerZoom { from { opacity: 0; transform: translate(-50%, -50%) scale(.86); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }

@media (max-width: 760px) {
  .bths-slider-arrow { width: 38px; height: 38px; font-size: 32px; }
  .bths-slider-arrow.is-prev { left: 8px; }
  .bths-slider-arrow.is-next { right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .bths-slide, .bths-slide-layer { transition: none !important; animation: none !important; }
}
