/* ============================================ */
/*              Gallery Strip                   */
/* Component: template-parts/components/gallery-strip.php
/* ============================================ */

/* Mobile - 360px */
@media only screen and (min-width: 0px) {
    #gallery-strip {
        padding: var(--sectionPadding);
        padding-left: 0;
        padding-right: 0;
        background: var(--white);
        overflow: hidden;
    }

    #gallery-strip .cs-container {
        width: 100%;
        max-width: 80rem;
        margin: 0 auto;
        padding: 0 1rem;
        margin-bottom: clamp(1.5rem, 3vw, 2rem);
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    #gallery-strip .cs-title {
        font-family: var(--headerFont);
        font-size: var(--headerFontSize);
        line-height: 1.2;
        color: var(--navy);
        margin: 0;
    }

    #gallery-strip .cs-arrows {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        flex-shrink: 0;
    }

    #gallery-strip .cs-arrow {
        width: 2.75rem;
        height: 2.75rem;
        border-radius: 50%;
        border: 1.5px solid rgba(15, 47, 91, 0.2);
        background: transparent;
        color: var(--navy);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.22s ease;
        flex-shrink: 0;
    }

    #gallery-strip .cs-arrow:hover {
        background: var(--navy);
        border-color: var(--navy);
        color: var(--white);
    }

    #gallery-strip .cs-arrow svg {
        width: 1.125rem;
        height: 1.125rem;
        display: block;
        flex-shrink: 0;
    }

    #gallery-strip .cs-strip {
        display: flex;
        gap: 0.5rem;
        overflow-x: auto;
        padding: 0 1rem;
        scrollbar-width: none;
        -ms-overflow-style: none;
        cursor: grab;
        user-select: none;
    }

    #gallery-strip .cs-strip::-webkit-scrollbar {
        display: none;
    }

    #gallery-strip .cs-strip.is-dragging {
        cursor: grabbing;
    }

    #gallery-strip .cs-item {
        flex-shrink: 0;
        height: 220px;
        border-radius: 0.625rem;
        overflow: hidden;
    }

    #gallery-strip .cs-item:nth-child(1) { width: 300px; }
    #gallery-strip .cs-item:nth-child(2) { width: 200px; }
    #gallery-strip .cs-item:nth-child(3) { width: 260px; }
    #gallery-strip .cs-item:nth-child(4) { width: 180px; }
    #gallery-strip .cs-item:nth-child(5) { width: 280px; }
    #gallery-strip .cs-item:nth-child(6) { width: 220px; }

    #gallery-strip .cs-item picture {
        display: block;
        width: 100%;
        height: 100%;
    }

    #gallery-strip .cs-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.5s ease;
        pointer-events: none;
        user-select: none;
    }

    #gallery-strip .cs-item:hover img {
        transform: scale(1.04);
    }
}

/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
    #gallery-strip .cs-container {
        padding: 0 2.5rem;
    }

    #gallery-strip .cs-strip {
        padding: 0 2.5rem;
    }

    #gallery-strip .cs-item {
        height: 18.75rem;
    }

    #gallery-strip .cs-item:nth-child(1) { width: 26.25rem; }
    #gallery-strip .cs-item:nth-child(2) { width: 17.5rem;  }
    #gallery-strip .cs-item:nth-child(3) { width: 23.75rem; }
    #gallery-strip .cs-item:nth-child(4) { width: 16.25rem; }
    #gallery-strip .cs-item:nth-child(5) { width: 25rem;    }
    #gallery-strip .cs-item:nth-child(6) { width: 18.75rem; }
}

/* Desktop - 1024px */
@media only screen and (min-width: 64rem) {
    #gallery-strip .cs-container {
        padding: 0 6vw;
        max-width: 100%;
    }

    #gallery-strip .cs-strip {
        padding: 0 6vw;
    }

    #gallery-strip .cs-item {
        height: 21.25rem;
    }

    #gallery-strip .cs-item:nth-child(1) { width: 26.25rem; }
    #gallery-strip .cs-item:nth-child(2) { width: 17.5rem;  }
    #gallery-strip .cs-item:nth-child(3) { width: 23.75rem; }
    #gallery-strip .cs-item:nth-child(4) { width: 16.25rem; }
    #gallery-strip .cs-item:nth-child(5) { width: 25rem;    }
    #gallery-strip .cs-item:nth-child(6) { width: 18.75rem; }
}