/* Horizontal Scroll Gallery */

.hsg-wrapper {
    overflow: hidden;
    background: #000;
}

.hsg-sticky {
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hsg-track {
    display: flex;
    flex-wrap: nowrap;
    will-change: transform;
}

.hsg-slide {
    flex-shrink: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hsg-slide img {
    width: 100vw;
    height: auto;
    max-height: 100vh;
    object-fit: contain;
    display: block;
    pointer-events: none;
    user-select: none;
}

/* Mobile — swipe */
@media (max-width: 768px) {
    .hsg-wrapper {
        overflow-x: scroll;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }
    .hsg-track {
        transform: none !important;
    }
    .hsg-slide {
        scroll-snap-align: start;
        height: auto;
    }
    .hsg-slide img {
        height: auto;
        max-height: 60vw;
    }
}
