﻿/* Sección de Videos */
.videos-section {
    font-family: 'Rokkitt', serif;
    background-image: url('/images/fondos/fondo_agenda.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 5rem 2rem;
}

.franja-videos {
    padding-bottom: 2rem;
    margin-left: -2rem;
    margin-right: -2rem;
    width: calc(100% + 4rem);
}

/* Título centrado */
.videos-title {
    margin-top: -2rem;
    text-align: left;
    margin-bottom: 2rem;
    font-family: 'Rokkitt', serif;
    font-weight: inherit;
    font-size: clamp(1.5rem, 5vw, 2rem);
    color: #914830;
}

/* Contenedor de los videos */
.videos-container {
    background-image: url('/images/tienda/fondo_tienda.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 1.5rem;
}

/* Estilo individual del video */
.video-box {
    flex: 1 1 400px;
    max-width: 600px;
}

    .video-box iframe {
        width: 100%;
        aspect-ratio: 16/9;
        border-radius: 1rem;
        height: auto;
    }

.video-box {
    transition: all 0.6s ease;
}

/* Responsive */
@media (max-width: 768px) {

    .videos-container {
        flex-direction: column;
        align-items: center;
    }

    .video-box {
        flex: none;
        padding: 0.5rem;
    }

    .franja-videos {
        margin-left: -2rem;
        margin-right: -2rem;
        width: calc(100% + 4rem);
    }

    .videos-title {
        font-size: clamp(1.2rem, 6vw, 1.5rem); /* Ajuste flexible */
        margin-left: -1rem;
        margin-top: -3rem;
        margin-bottom: 1rem;
    }
}
