/* YouTube Shorts Gallery Block Styles */
.lkng-youtube-shorts-gallery {
    width: 100% !important;
    max-width: none !important;
    margin: 0;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.lkng-youtube-shorts-gallery .swiper-container {
    width: 100% !important;
    height: 720px;
    position: relative;
    overflow: visible;
    box-sizing: border-box;
}

.lkng-youtube-shorts-gallery .swiper-wrapper {
    width: 100% !important;
    height: 100%;
    display: flex;
    align-items: center;
}

/* Garantir largura total quando inicializado */
.lkng-youtube-shorts-gallery.swiper-initialized {
    width: 100% !important;
    max-width: none !important;
}

.lkng-youtube-shorts-gallery.swiper-initialized .swiper-container {
    width: 100% !important;
}

.lkng-youtube-shorts-gallery .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto !important;
    flex-shrink: 0;
}

.lkng-youtube-shorts-gallery .video-container {
    width: 350px;
    height: 700px;
    position: relative;
    background-color: #000;
    border-radius: 12px;
    overflow: hidden;
    margin: 0;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

/* Scale effect for active slide */
.lkng-youtube-shorts-gallery .swiper-slide-active .video-container {
    /* transform: scale(1.15); */
    z-index: 2;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

/* Slightly scale down non-active slides */
.lkng-youtube-shorts-gallery .swiper-slide:not(.swiper-slide-active) .video-container {
    transform: scale(0.90);
    opacity: 0.8;
}

.lkng-youtube-shorts-gallery .video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Placeholder styles */
.lkng-youtube-shorts-gallery-placeholder {
    width: 100%;
    padding: 40px 20px;
    text-align: center;
    background-color: #f9f9f9;
    border: 2px dashed #ddd;
    border-radius: 8px;
    color: #666;
}

.lkng-youtube-shorts-gallery-placeholder p {
    margin: 0;
    font-size: 16px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .lkng-youtube-shorts-gallery .video-container {
        width: 300px;
        height: 600px;
    }
    
    .lkng-youtube-shorts-gallery .swiper-container {
        height: 620px;
    }
}

@media (max-width: 480px) {
    .lkng-youtube-shorts-gallery {
        padding: 0 10px;
    }
    
    .lkng-youtube-shorts-gallery .video-container {
        width: 200px;
        height: 500px;
        border-radius: 8px;
    }
    
    .lkng-youtube-shorts-gallery .swiper-container {
        height: 520px;
    }
}

/* Custom Navigation Arrows */
.lkng-youtube-shorts-gallery .swiper-button-next,
.lkng-youtube-shorts-gallery .swiper-button-prev {
    width: 50px !important;
    height: 50px !important;
    background-color: #E74011 !important;
    border-radius: 50% !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.lkng-youtube-shorts-gallery .swiper-button-next:after,
.lkng-youtube-shorts-gallery .swiper-button-prev:after {
    font-size: 18px !important;
    font-weight: bold !important;
    color: white !important;
}

.lkng-youtube-shorts-gallery .swiper-button-next:hover,
.lkng-youtube-shorts-gallery .swiper-button-prev:hover {
    background-color: #D13510 !important;
    transform: scale(1.1);
}

.lkng-youtube-shorts-gallery .swiper-button-disabled {
    opacity: 0.3 !important;
}
