/* Estilos para "Videos especiales" Carrusel */
.bvm-special-videos {
    width: 100%;
    padding: 40px 0;
}

.bvm-special-videos .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
}

/* Redefinir .video para que funcione dentro del carrusel */
.bvm-special-videos .video {
    width: 100%;
    margin: 0 auto;
    height: 0;
    padding-bottom: 56.25%;
    /* 16:9 default */
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.bvm-special-videos .video.video-tiktok,
.video.video-tiktok {
    padding-bottom: 177.77% !important;
    /* 9:16 vertical */
    max-width: 320px !important;
    margin: 0 auto;
}

/* Personalización de flechas de Swiper */
.bvm-special-videos .swiper-button-next,
.bvm-special-videos .swiper-button-prev {
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.bvm-special-videos .swiper-button-next:after,
.bvm-special-videos .swiper-button-prev:after {
    font-size: 20px;
}

.bvm-special-videos .swiper-button-next:hover,
.bvm-special-videos .swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

/* Personalización de paginación */
.bvm-special-videos .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.5;
}

.bvm-special-videos .swiper-pagination-bullet-active {
    background: #fff;
    opacity: 1;
}

/* Estilo general para todos los videos */
.video-container {
    display: grid;
    gap: 15px;
    background-color: transparent;
    align-items: start;
}

/* Estilos para "Lo mejor de la fecha" (6 videos, 3 columnas y 2 filas) */
.video-container {
    grid-template-columns: repeat(3, 1fr);
}

.video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

/* Estilos de TikTok integrados arriba */

.video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Responsive: 2 columnas en pantallas medianas */
@media screen and (max-width: 1024px) {
    .video-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive: 1 columna en pantallas pequeñas */
@media screen and (max-width: 768px) {
    .video-container {
        grid-template-columns: 1fr;
    }
}

.video-container-1row {
    grid-template-columns: repeat(4, 1fr);
}

.video-container1-1row {
    grid-template-columns: repeat(3, 1fr);
}

@media screen and (max-width: 1024px) {
    .video-container-1row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .video-container-1row {
        grid-template-columns: 1fr;
    }
}