/* Gallery template only — loaded via templates/gallery.html.twig */

.beker-gallery-thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 0.375rem;
    display: block;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.beker-gallery-item {
    display: block;
}

.beker-gallery-item:hover .beker-gallery-thumb,
.beker-gallery-item:focus .beker-gallery-thumb {
    opacity: 0.85;
    transform: scale(1.01);
}

/* Brand-tint the GLightbox chrome (arrows, close button) to match the theme */
.gnav-arrow-icon,
.gclose-icon {
    filter: none;
}

.glightbox-clean .gclose,
.glightbox-clean .gnext,
.glightbox-clean .gprev {
    background-color: var(--bs-dark, #212529);
}
