/* Container wrapper - Main constraints handled natively via Elementor style tab controls */
.ts-slider-wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    /* Elementor widget takes care of Border Radius, Shadow, MaxHeight, AspectRatio via inline styles */
}

/* Fallback if no inline elementor styles are active */
.ts-slider-wrapper:not([style]) {
    aspect-ratio: 9/16;
    max-height: 800px;
    border-radius: 0.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.ts-video-swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
}

.ts-slide-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Pagination container */
.ts-swiper-pagination {
    position: absolute;
    bottom: 1rem;
    left: 0 !important;
    width: 100% !important;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    z-index: 10;
    transform: none !important;
}

/* Pagination bullet default */
.ts-swiper-pagination .swiper-pagination-bullet {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    transition: all 300ms ease; /* default inactive color set by Elementor CSS */
    opacity: 1;
    cursor: pointer;
    margin: 0 !important;
}

.ts-swiper-pagination .swiper-pagination-bullet:hover {
    filter: brightness(1.2);
}

/* Swiper pagination active overrides */
.ts-swiper-pagination .swiper-pagination-bullet-active {
    width: 2rem;
    /* Active color set by Elementor CSS variables */
}

/* Navigation Arrows Override */
.ts-swiper-button-prev,
.ts-swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;
    text-shadow: 0px 0px 4px rgba(0,0,0,0.5); /* subtle shadow over videos */
    transition: filter 300ms ease;
}

.ts-swiper-button-prev:hover,
.ts-swiper-button-next:hover {
    filter: brightness(0.8);
}

.ts-swiper-button-prev {
    left: 10px;
}

.ts-swiper-button-next {
    right: 10px;
}
