/* Zen Video Slider Main Styles */

.zen-video-slider-container {
    width: 100%;
    position: relative;
    /* Default overflow hidden for most effects */
    overflow: hidden;
    margin: 0 auto;
}

/* 
   Important: Contextual fix for Cube Effect.
   The wrapper needs to be visible to show the 3D rotation corners.
   Swiper adds 'swiper-cube' class to the container when effect is cube.
*/
.zen-video-slider-container.swiper-cube {
    overflow: visible !important;
}

/* Slide Styling */
.zen-video-slider-container .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background-color: #000;
    /* Aspect Ratio is handled inline by Elementor controls */
    /* Border Radius is handled inline */
    overflow: hidden;
    /* Ensures video stays within border-radius of the slide */
}

/* Video Element */
.zen-video-element {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

/* Slide Content Wrapper */
.zen-slide-content {
    width: 100%;
    height: 100%;
    position: relative;
}

/* Overlay Text */
.zen-slide-overlay {
    position: absolute;
    bottom: 20px;
    /* Adjust as needed */
    left: 20px;
    right: 20px;
    z-index: 10;
    color: #fff;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
    pointer-events: none;
    transition: all 0.5s ease;
}

.zen-slide-overlay h3 {
    margin: 0;
    color: inherit;
    font-size: 1.5rem;
    font-weight: 600;
}

/* Swiper Pagination Tweaks if needed */
.zen-video-slider-container .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.5;
}

.zen-video-slider-container .swiper-pagination-bullet-active {
    opacity: 1;
    background: #fff;
}

/* =========================================
   Premium Glass Skin (Replacing Gen Z)
   ========================================= */

.zen-skin-gen-z .zen-video-slider-container {
    overflow: visible;
    /* Glass effect often likes some bleed, but controlled */
    /* Remove brutalist border */
    border: none;
    box-shadow: none;
    background: transparent;
}

/* Using a class target for slides inside the premium skin */
.zen-skin-gen-z .zen-video-slider-container .swiper-slide {
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* Subtle glass border */
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    /* Soft premium shadow */
    /* backdrop-filter: blur( 4px );  -- applied to overlay mainly */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.zen-skin-gen-z .zen-video-slider-container .swiper-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.25);
}

/* Typography - Premium */
.zen-skin-gen-z .zen-slide-overlay {
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    /* Glass background */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.zen-skin-gen-z .zen-slide-overlay h3 {
    background: transparent;
    border: none;
    box-shadow: none;
    font-family: 'Inter', sans-serif;
    /* Fallback to reliable sans */
    text-transform: none;
    /* Elegant sentence case */
    font-weight: 500;
    font-size: 1.2rem;
    color: #fff;
    letter-spacing: 0.5px;
    transform: none;
}

/* Pagination - Sleek Bars */
.zen-skin-gen-z .zen-video-slider-container .swiper-pagination-bullet {
    width: 30px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.4);
    opacity: 1;
    border: none;
    margin: 0 4px;
    transition: all 0.3s ease;
}

.zen-skin-gen-z .zen-video-slider-container .swiper-pagination-bullet-active {
    background: #fff;
    width: 45px;
    /* Expand active */
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    transform: none;
}