/* Tableau des documentaires (galerie-documentaire.html) */
.titre-documentaires {
    font-family: 'Libre Baskerville', serif;
    font-size:55px;
    color: #9E0433;
    text-align: center;
    margin: 30px 0 10px 0;
    white-space: nowrap;
}

/* Le tableau englobant de la page prend toute la largeur (75% par défaut dans association.css) */
#main-div-association > table {
    width: 100%;
}

#main-div-association .table-documentaires {
    width: auto;
    margin: 20px auto;
    border-collapse: separate;
    border-spacing: 0 25px;
}

.table-documentaires .cellule-vignette {
    padding-right: 30px;
    vertical-align: middle;
}

.table-documentaires .cellule-titre {
    text-align: left;
    vertical-align: middle;
}

.vignette-documentaire {
    width: 260px;
    max-width: 100%;
    height: auto;
    border: 3px solid #9E0433;
    border-radius: 12px;
    box-shadow: 4px 6px 12px rgba(0, 0, 0, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vignette-documentaire:hover {
    transform: scale(1.03);
    box-shadow: 6px 9px 18px rgba(0, 0, 0, 0.55);
}

.lien-documentaire {
    font-family: 'Libre Baskerville', serif;
    font-size: 44px;
    color: #9E0433;
    white-space: nowrap;
}

.lien-documentaire:hover,
.lien-documentaire:focus {
    color: #9E0433;
    text-decoration: underline;
}

/* Pages détachées du lecteur vidéo (video-voix.html, video-temoignages.html) */
.page-video {
    margin: 0;
    padding: 20px;
    background-color: #000000;
    text-align: center;
}

.titre-video {
    font-family: 'Libre Baskerville', serif;
    font-size: 24px;
    color: #FFFFFF;
    margin: 0 0 20px 0;
}

.lecteur-video {
    width: 100%;
    max-width: 1100px;
    max-height: 80vh;
    border: 3px solid #9E0433;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(158, 4, 51, 0.6);
    background-color: #000000;
}

/* Fenêtre vidéo affichée par-dessus la page (galerie-documentaire.html) */
.fenetre-video {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    background-color: rgba(0, 0, 0, 0.85);
    align-items: center;
    justify-content: center;
}

.fenetre-video.ouverte {
    display: flex;
}

.fenetre-video-contenu {
    position: relative;
    width: 90%;
    max-width: 1100px;
    padding: 20px;
    background-color: #000000;
    border: 3px solid #9E0433;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(158, 4, 51, 0.6);
    text-align: center;
}

.fenetre-video-titre {
    font-family: 'Libre Baskerville', serif;
    font-size: 24px;
    color: #FFFFFF;
    margin: 0 30px 15px 30px;
}

.fenetre-video-lecteur {
    width: 100%;
    max-height: 75vh;
    border-radius: 8px;
    background-color: #000000;
}

.fenetre-video-fermer {
    position: absolute;
    top: 5px;
    right: 12px;
    border: none;
    background: none;
    font-size: 36px;
    line-height: 1;
    color: #FFFFFF;
    cursor: pointer;
}

.fenetre-video-fermer:hover,
.fenetre-video-fermer:focus {
    color: #9E0433;
    outline: none;
}
