/**
 * Christie's YouTube Slider Styles (2026 Splide Edition)
 * Author: Matthew Mathieson
 */

/* 1. Base Container & Slide Layout */
.cyts-modern-slider {
    padding: 20px 0;
    background-color: transparent !important;
}

.cyts-slide-card {
    background: #ffffff !important;
    border-radius: 8px;
    padding: 16px;
    margin: 10px;
    box-shadow: none !important; /* Removed as requested */
    border: none !important;
}

/* 2. Responsive Flexbox for Side-by-Side Video & Text */
@media (min-width: 768px) {
    .cyts-slide-card {
        display: flex;
        align-items: center;
        gap: 24px;
    }
    .cyts-video, .cyts-info { 
        width: 50%; 
    }
}

/* 3. Video Aspect Ratio Fix */
.cyts-video iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border: none;
    border-radius: 4px;
    display: block;
}

/* 4. Typography - Christie's Branding */
.cyts-info h3.cyts-title {
    font-family: 'Merriweather', serif !important;
    font-size: clamp(1.125rem, 1.5vw + 0.5rem, 1.625rem) !important;
    color: inherit; /* Inherits from Elementor global */
    margin: 0 0 12px 0;
    font-weight: 400;
}

.cyts-info p.cyts-desc {
    font-family: inherit; /* Inherits Gilroy or your body font */
    font-size: 18px;
    line-height: 1.6;
    color: inherit;
    margin: 0;
}

/* 5. Splide Pagination (Dots) - Christie's Red & Gold */
.splide__pagination {
    bottom: -1.5rem !important;
}

.splide__pagination__page {
    background: #e0e0e0 !important; /* Inactive Dot */
    opacity: 1 !important;
    width: 10px !important;
    height: 10px !important;
    margin: 4px !important;
    border: none !important;
    transition: all 0.3s ease !important;
}

/* Active Dot: Christie's Red */
.splide__pagination__page.is-active {
    background: #C62127 !important; 
    transform: scale(1.3) !important;
}

/* Hover Dot: Christie's Gold */
.splide__pagination__page:hover {
    background: #C5A059 !important;
}

/* 6. Navigation Arrows - Christie's Red & Gold */
.splide__arrow {
    background: transparent !important;
    opacity: 1 !important;
    transition: transform 0.2s ease;
}

.splide__arrow:active {
    transform: scale(0.9);
}

.splide__arrow svg {
    fill: #C62127 !important; /* Christie's Red */
    width: 2.5em;
    height: 2.5em;
    transition: fill 0.3s ease !important;
}

.splide__arrow:hover svg {
    fill: #C5A059 !important; /* Christie's Gold */
}

/* Position arrows slightly outside for professional look */
.splide__arrow--prev { 
    left: -1rem !important; 
}
.splide__arrow--next { 
    right: -1rem !important; 
}

/* Ensure mobile-friendliness */
@media (max-width: 767px) {
    .cyts-slide-card {
        padding: 12px;
    }
    .cyts-info h3.cyts-title {
        margin-top: 15px;
    }
    .splide__arrow {
        display: none !important; /* Hide arrows on small mobile for cleaner look */
    }
}