
/*HEADER*/
.hero-overlay h4{
    color: #fff;
} 

/*  Estilos generales del modal */
.modal {
    display: none; 
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    margin-top: 2%;
    background-color: rgba(0, 0, 0, 0.6); 
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Contenedor del contenido */
.modal-content {
    background-color: #fff;
    border-radius: 10px;
    text-align: center;
    width: 100%;
    max-width: 600px;
    overflow: hidden;
}

/* Encabezado del modal */
.modal-header {
    background: #E91E63;
    color: white;
    padding: 5px 15px;
    font-size: 16px;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header p {
    margin: 0;
}

/*  Botón para cerrar */
.close {
    color: white;
    font-size: 25px;
    cursor: pointer;
}
/*  Cuerpo del modal */
.modal-body {
    padding: 20px;
}

#podcastVideo{
    width: 50%;
    border-radius: 10px;
}

#podcastModal {
    display: none; /* Asegura que el modal esté oculto desde el inicio */
    opacity: 0;
    visibility: hidden;
}


/*  Ajuste del video */
video {
    width: 100%;
    border-radius: 10px;
}


@media screen and (max-width: 600px) {
    .modal-content {
        width: 90%;
        max-width: 90%;
    }

    .modal-header {
        font-size: 16px;
        padding: 10px;
    }

    .modal-header h2 {
        font-size: 18px;
    }

    #podcastVideo{
        width: 90%;
        border-radius: 10px;
    }

    
    .close {
        font-size: 22px;
    }

    .modal-body {
        padding: 15px;
    }
}

/* 🖥️ Para pantallas grandes (más de 1024px) */
@media screen and (min-width: 1024px) {
    .modal-content {
        width: 50%;
        max-width: 600px;
    }
}