
.suig-gallery {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    margin: 16px 0;
}

.suig-item {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #f2f2f2;
    cursor: zoom-in;
}

.suig-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .2s ease;
}

.suig-item:hover img {
    transform: scale(1.03);
}

/* Intentionally remains 5 columns on desktop, tablet, and mobile. */
@media (max-width: 767px) {
    .suig-gallery {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 5px;
    }

    .suig-item {
        border-radius: 5px;
    }
}

/* Lightbox */
.suig-lightbox {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .94);
    padding: 20px 56px;
}

.suig-lightbox.is-open {
    display: flex;
}

.suig-lightbox-image {
    max-width: 95vw;
    max-height: 92vh;
    width: auto;
    height: auto;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
}

.suig-lightbox-close,
.suig-lightbox-prev,
.suig-lightbox-next {
    position: absolute;
    border: 0;
    background: rgba(255,255,255,.12);
    color: #fff;
    cursor: pointer;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    font-size: 28px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.suig-lightbox-close {
    top: 16px;
    right: 16px;
    font-size: 30px;
}

.suig-lightbox-prev {
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
}

.suig-lightbox-next {
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
}

.suig-lightbox-close:hover,
.suig-lightbox-prev:hover,
.suig-lightbox-next:hover {
    background: rgba(255,255,255,.22);
}

@media (max-width: 767px) {
    .suig-lightbox {
        padding: 16px 44px;
    }

    .suig-lightbox-close,
    .suig-lightbox-prev,
    .suig-lightbox-next {
        width: 38px;
        height: 38px;
    }

    .suig-lightbox-prev {
        left: 5px;
    }

    .suig-lightbox-next {
        right: 5px;
    }
}
