/* ==========================================================
   PAOREEL STUDIOS V3
   GALLERY
   ========================================================== */



/* ==========================================================
   GALLERY SECTION
   ========================================================== */

.gallery-section {

    position: relative;

    background: #ffffff;

    z-index: 5;

}



/* ==========================================================
   GALLERY OVERLAY
   ========================================================== */

.gallery-overlay {

    position: absolute;

    inset: 0;

    background: #ffffff;

    /*opacity: 0;*/
    display: none;

    z-index: 1;

}



/* ==========================================================
   GALLERY INTRO
   ========================================================== */

.gallery-intro {

    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns: 1.4fr 0.9fr;

    align-items: center;

    gap: 3rem;

    max-width: 1200px;

    margin: 0 auto 5rem;

    padding: 0 var(--content-padding);

}



/* ==========================================================
   LEFT COLUMN
   ========================================================== */

.gallery-intro-left {

    max-width: 620px;

}



/* ==========================================================
   MARKETING COPY
   ========================================================== */

.gallery-copy {

    font-size: 1.05rem;

    line-height: 2;

    letter-spacing: .01em;

    color: var(--color-light-text);

}



/* ==========================================================
   RIGHT COLUMN
   ========================================================== */

.gallery-intro-right {

    justify-self: end;

    text-align: left;

}



/* ==========================================================
   TITLE
   ========================================================== */

.gallery-title {

    font-size: clamp(2.8rem,5vw,5rem);

    font-weight: 300;

    line-height: 1.08;

    letter-spacing: -.05em;

}

.gallery-title .word {

    display: inline-block;

    white-space: nowrap;

}

.gallery-title .word span {

    display: inline-block;

    will-change: transform;

}


/* ==========================================================
   GALLERY VIEWPORT
   ========================================================== */

.gallery-viewport {

    position: relative;

    overflow: hidden;

    width: 100%;

    cursor: grab;

    user-select: none;

    touch-action: pan-y;

}

.gallery-viewport:active {

    cursor: grabbing;

}

/* ==========================================================
   GALLERY TRACK
   ========================================================== */

.gallery-track {

    display: flex;

    align-items: flex-start;

    flex-wrap: nowrap;

    width: max-content;

    gap: 0;

    will-change: transform;

}
/* ==========================================================
   GALLERY ITEM
   ========================================================== */

.gallery-item {

    flex: 0 0 auto;

    width: var(--gallery-image-width);

    cursor: inherit;

    text-decoration: none;

}

/* ==========================================================
   GALLERY CARD
   ========================================================== */

.gallery-card {

    position: relative;

    overflow: hidden;

    transform-origin: center center;

    will-change: transform;

}

/* ==========================================================
   IMAGE
   ========================================================== */

.gallery-image {

    position: relative;

    width: 100%;

    height: var(--gallery-height);

    overflow: hidden;

    background: #f5f5f5;

}

.gallery-image img {

    display: block;

    width: 100%;

    height: 100%;

    object-fit: cover;

    transform: scale(1);

    will-change: transform;

}



/* ==========================================================
   CAPTION
   ========================================================== */

.gallery-caption {

    display: block;

    margin-top: var(--gallery-caption-gap);

    text-align: center;

    font-size: var(--fs-xs);

    letter-spacing: .18em;

    text-transform: uppercase;

    color: rgba(0,0,0,.45);

}