.mobile-image-scroll {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
}

.mobile-image-scroll::-webkit-scrollbar {
    display: none;
}

.scroll-wrapper {
    display: flex;
    gap: 0;
}

.scroll-wrapper img {
    width: 100vw; /* Full mobile screen width */
    height: auto;
    flex-shrink: 0;
    scroll-snap-align: start;
    object-fit: cover;
}

/* Desktop */
@media (min-width: 768px) {
    .mobile-image-scroll {
        overflow: hidden;
    }

    .scroll-wrapper {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .scroll-wrapper img {
        width: 100%;
    }
}





/* Navigation buttons - Hidden by default on desktop */
.scroll-nav-btns {
    display: none;
}

/* Show only on mobile */
@media (max-width: 767px) {
    .scroll-nav-container {
        position: relative;
    }
    .scroll-nav-btns {
        display: flex;
        justify-content: space-between;
        position: absolute;
        top: 50%;
        width: 100%;
        transform: translateY(-50%);
        pointer-events: none; /* Allows clicking through the wrapper container */
        padding: 0 10px;
        z-index: 10;
    }
    .nav-btn {
        pointer-events: auto; /* Re-enables clicking for the buttons */
        background: rgba(0, 0, 0, 0.6);
        color: white;
        border: none;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        font-size: 20px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}