/* Menu actif pour la page Actrice */
.page-actrice .nav-actrice {
    font-weight: bold;
}

/* ===== SECTION HERO / BANDE DEMO ===== */
.section-hero {
    margin-bottom: var(--spacing-xxxl);
    text-align: center;
}

.section-hero video {
    width: 70%;
    max-width: 79rem;
    height: auto;
    margin: 0 auto;
    display: block;
}

/* ===== SECTION BIOGRAPHIE ===== */
.biographie {
    margin-bottom: var(--spacing-xxxl);
}

.biographie a {
    text-decoration: underline;
    color: inherit;
}

.biographie a:hover {
    opacity: 0.7;
}

/* 1. LA GRILLE GM */
.gm-grid {
    column-width: 100px;

    /* On plafonne à 6 colonnes maximum pour les écrans géants */
    column-count: 6;
    column-gap: 20px;
    width: 100%;
}



.gm-item {
    break-inside: avoid;
    margin-bottom: 20px;
    /* L'espace sous chaque photo */
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

/* Cache les légendes dans la galerie (elles restent pour la lightbox) */
.gm-item figcaption {
    display: none;
}

.gm-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* 2. LA LIGHTBOX (ULTRA SIMPLE) */
.gm-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
}

.gm-lightbox {
    color: var(--blanc-pur);
}

.gm-lightbox.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.gm-lightbox-content {
    position: relative;
    max-width: 95vw;
    max-height: 95vh;
}

.gm-lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    display: block;
}

/* 3. LES BOUTONS PROCHES DE L'IMAGE */
.gm-close,
.gm-prev,
.gm-next {
    position: absolute;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    cursor: pointer;
    z-index: 100;
}

.gm-close {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.gm-prev {
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 80px;
}

.gm-next {
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 80px;
}
