/* Overlay du lightbox : caché par défaut, plein écran quand actif */
.acsj-lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

.acsj-lightbox-overlay.is-active {
    display: flex;
}

.acsj-lightbox-image {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}

.acsj-lightbox-close,
.acsj-lightbox-prev,
.acsj-lightbox-next {
    position: absolute;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 0.5rem 1rem;
    transition: opacity 0.2s;
}

.acsj-lightbox-close:hover,
.acsj-lightbox-prev:hover,
.acsj-lightbox-next:hover {
    opacity: 0.7;
}

.acsj-lightbox-close {
    top: 20px;
    right: 20px;
    font-size: 2rem;
}

.acsj-lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.acsj-lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.event-gallery-grid img:hover {
    transform: scale(1.05);
}

.upcoming-event-item a:hover strong {
    color: var(--color-green, #2e7d32);
}

.acsj-lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

.acsj-lightbox-overlay.is-active {
    display: flex;
}

.acsj-lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
}

.acsj-gallery-item img {
    transition: opacity 0.2s ease;
}

.acsj-gallery-item img:hover {
    opacity: 0.85;
}

.acsj-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    line-height: 1;
    cursor: pointer;
    z-index: 100001;
}

.acsj-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    font-size: 2.5rem;
    line-height: 1;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 100001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.acsj-lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.acsj-lightbox-prev {
    left: 20px;
}

.acsj-lightbox-next {
    right: 20px;
}

@media (max-width: 600px) {
    .acsj-lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 2rem;
    }
}

.acsj-share-whatsapp svg {
    display: block;
    color: #25D366;
}