.gs-grid {
    columns: 3;
    column-gap: 8px;
    width: 100%;
    box-sizing: border-box;
}
.gs-photo {
    border-radius: 15px;
    break-inside: avoid;
    margin-bottom: 8px;
    display: block;
    width: 100%;
    overflow: hidden;
    cursor: zoom-in;
}
.gs-photo img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.gs-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(0,0,0,.92);
    align-items: center;
    justify-content: center;
}
.gs-lightbox.open { display: flex; }

.gs-lb-img-wrap {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gs-lb-img-wrap img {
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 4px;
    user-select: none;
}

.gs-lb-close {
    position: fixed;
    top: 16px;
    right: 16px;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 6px;
    width: 44px;
    height: 44px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    font-weight: 300;
    line-height: 1;
    transition: background .2s;
    z-index: 10;
    font-family: Arial, sans-serif;
}
.gs-lb-close:hover { background: rgba(255,255,255,.3); }

.gs-lb-prev,
.gs-lb-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 6px;
    width: 48px;
    height: 64px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    font-weight: 300;
    line-height: 1;
    transition: background .2s;
    z-index: 10;
    font-family: Arial, sans-serif;
}
.gs-lb-prev { left: 12px; }
.gs-lb-next { right: 12px; }
.gs-lb-prev:hover,
.gs-lb-next:hover { background: rgba(255,255,255,.25); }

.gs-lb-counter {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,.7);
    font-size: 14px;
    background: rgba(0,0,0,.4);
    padding: 4px 14px;
    border-radius: 20px;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .gs-grid { columns: 2; }
    .gs-lb-prev { left: 4px; }
    .gs-lb-next { right: 4px; }
}

@media (max-width: 480px) {
    .gs-grid { columns: 1; }
}