.slg-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.slg-gallery-item img {
    width: 100%;
    height: auto;
    cursor: pointer;
    display: block;
    border-radius: 5px;
    transition: transform 0.2s ease-in-out;
}

.slg-gallery-item img:hover {
    transform: scale(1.02);
}

.slg-lightbox {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    align-items: center;
    justify-content: center;
}

.slg-lightbox.active {
    display: flex;
}

.slg-lightbox-img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.slg-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #ffffff;
    font-size: 45px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.slg-close:hover {
    color: #cccccc;
}
