.sog-gallery {
    display: flex;
    gap: 6px;
    width: 100%;
    box-sizing: border-box;
}

.sog-gallery-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sog-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 3px;
    cursor: pointer;
    line-height: 0;
    break-inside: avoid;
}

.sog-gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.sog-photo-credit {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 10px 8px;
    background: linear-gradient(to top, rgba(0,0,0,0.55), transparent);
    display: flex;
    align-items: center;
    gap: 5px;
    color: rgba(255,255,255,0.85);
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.sog-gallery-item:hover .sog-photo-credit {
    opacity: 1;
}

.sog-photo-credit svg {
    flex-shrink: 0;
}

.sog-photo-credit span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Video gallery items */
.sog-gallery-item--video .sog-gallery-thumb-video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.sog-gallery-item--video:hover .sog-gallery-thumb-video {
    transform: scale(1.03);
}

.sog-video-play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.25);
    pointer-events: none;
    transition: background 0.3s ease;
}

.sog-gallery-item--video:hover .sog-video-play-btn {
    background: rgba(0,0,0,0.4);
}

.sog-video-play-btn svg {
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
    transition: transform 0.2s ease;
}

.sog-gallery-item--video:hover .sog-video-play-btn svg {
    transform: scale(1.1);
}

/* Lightbox */
.sog-lightbox {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(0, 0, 0, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: sogFadeIn 0.2s ease;
}

@keyframes sogFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.sog-lightbox-backdrop {
    position: absolute;
    inset: 0;
}

.sog-lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    line-height: 1;
}

.sog-lightbox-close:hover {
    background: rgba(255,255,255,0.2);
}

.sog-lightbox-prev,
.sog-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.1);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.sog-lightbox-prev { left: 16px; }
.sog-lightbox-next { right: 16px; }

.sog-lightbox-prev:hover,
.sog-lightbox-next:hover {
    background: rgba(255,255,255,0.2);
}

.sog-lightbox-content {
    position: relative;
    z-index: 5;
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sog-lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
    user-select: none;
    -webkit-user-drag: none;
}

.sog-lightbox-video {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 4px;
    outline: none;
}

.sog-lightbox-info {
    margin-top: 12px;
    text-align: center;
}

.sog-lightbox-title {
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    font-weight: 500;
    margin: 0;
}

.sog-lightbox-photographer {
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    margin: 4px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.sog-lightbox-counter {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.35);
    font-size: 12px;
    z-index: 10;
}

/* Responsive */
@media (max-width: 480px) {
    .sog-lightbox-prev { left: 8px; width: 36px; height: 36px; }
    .sog-lightbox-next { right: 8px; width: 36px; height: 36px; }
    .sog-lightbox-close { top: 8px; right: 8px; width: 36px; height: 36px; }
}
