/* =========================================================
   TEN ONE RESORT
   Gallery Page
   gallery-page.css
   ========================================================= */


/* =========================================================
   01. GALLERY PAGE
   ========================================================= */

.gallery-page {
    position: relative;
}


/* =========================================================
   02. SHARED CONTAINER
   ========================================================= */

.gallery-page-container {
    position: relative;

    width:
        min(
            calc(
                100% -
                (var(--container-padding) * 2)
            ),
            1280px
        );

    margin-inline:
        auto;
}


/* =========================================================
   03. GALLERY HERO
   ========================================================= */

.gallery-page-hero {
    position: relative;

    display: flex;

    align-items: center;

    min-height:
        54vh;

    padding:
        145px 0
        90px;

    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.99) 0%,
            rgba(255, 255, 255, 0.95) 19%,
            rgba(247, 248, 243, 0.86) 36%,
            rgba(247, 248, 243, 0.55) 54%,
            rgba(247, 248, 243, 0.22) 72%,
            rgba(247, 248, 243, 0.03) 90%,
            rgba(247, 248, 243, 0) 100%
        ),
        url("../images/gal_bg.avif");

    background-size:
        cover;

    background-position:
        center center;

    background-repeat:
        no-repeat;

    isolation:
        isolate;
}


/* =========================================================
   04. HERO ATMOSPHERE
   ========================================================= */

.gallery-page-hero::before {
    content: "";

    position: absolute;

    inset: 0;

    z-index: -1;

    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.82) 0%,
            rgba(255, 255, 255, 0.24) 34%,
            rgba(255, 255, 255, 0.04) 65%,
            rgba(255, 255, 255, 0) 100%
        );
}


.gallery-page-hero::after {
    content: "";

    position: absolute;

    left:
        -180px;

    bottom:
        -280px;

    width:
        620px;

    height:
        620px;

    border-radius:
        50%;

    background:
        radial-gradient(
            circle,
            rgba(
                63,
                118,
                85,
                0.10
            ) 0%,
            rgba(
                63,
                118,
                85,
                0
            ) 72%
        );

    pointer-events:
        none;

    z-index:
        -1;
}


/* =========================================================
   05. HERO CONTENT
   ========================================================= */

.gallery-page-hero
.gallery-page-container {
    z-index:
        2;
}


.gallery-page-eyebrow {
    display:
        inline-flex;

    align-items:
        center;

    gap:
        10px;

    margin-bottom:
        18px;

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

    font-family:
        var(--font-body-strong);

    font-size:
        0.76rem;

    font-weight:
        700;

    line-height:
        1.2;

    letter-spacing:
        0.18em;

    text-transform:
        uppercase;
}


.gallery-page-eyebrow::before {
    content:
        "";

    width:
        38px;

    height:
        1px;

    flex-shrink:
        0;

    background:
        var(--color-primary-light);
}


/* =========================================================
   06. HERO TITLE
   ========================================================= */

.gallery-page-title {
    max-width:
        760px;

    margin:
        0 0
        22px;

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

    font-family:
        var(--font-heading);

    font-size:
        clamp(
            3.8rem,
            7vw,
            6.3rem
        );

    font-weight:
        var(--font-weight-semibold);

    line-height:
        0.88;

    letter-spacing:
        -0.045em;
}


.gallery-page-title span {
    display:
        block;

    color:
        var(--color-primary);
}


/* =========================================================
   07. HERO INTRO
   ========================================================= */

.gallery-page-intro {
    max-width:
        620px;

    margin:
        0;

    color:
        #50615a;

    font-family:
        var(--font-body-strong);

    font-size:
        1rem;

    font-weight:
        500;

    line-height:
        1.82;
}


/* =========================================================
   08. INTRODUCTION SECTION
   ========================================================= */

.gallery-page-introduction {
    position:
        relative;

    padding:
        75px
        0
        65px;

    overflow:
        hidden;

    background:
        var(--color-background);

    isolation:
        isolate;
}


.gallery-page-introduction::before {
    content:
        "";

    position:
        absolute;

    top:
        -230px;

    right:
        -180px;

    width:
        520px;

    height:
        520px;

    border-radius:
        50%;

    background:
        radial-gradient(
            circle,
            rgba(
                95,
                169,
                184,
                0.075
            ) 0%,
            rgba(
                95,
                169,
                184,
                0
            ) 72%
        );

    pointer-events:
        none;

    z-index:
        -1;
}


/* =========================================================
   09. INTRO GRID
   ========================================================= */

.gallery-introduction-grid {
    display:
        grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 0.85fr);

    align-items:
        end;

    gap:
        clamp(
            3rem,
            7vw,
            7rem
        );
}


/* =========================================================
   10. SECTION EYEBROW
   ========================================================= */

.gallery-page-section-eyebrow {
    display:
        inline-flex;

    align-items:
        center;

    gap:
        9px;

    margin-bottom:
        15px;

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

    font-family:
        var(--font-body-strong);

    font-size:
        0.67rem;

    font-weight:
        700;

    line-height:
        1.2;

    letter-spacing:
        0.16em;

    text-transform:
        uppercase;
}


.gallery-page-section-eyebrow::before {
    content:
        "";

    width:
        30px;

    height:
        1px;

    background:
        var(--color-primary-light);
}


/* =========================================================
   11. SECTION TITLE
   ========================================================= */

.gallery-page-section-title {
    max-width:
        650px;

    margin:
        0;

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

    font-family:
        var(--font-heading);

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

    font-weight:
        var(--font-weight-semibold);

    line-height:
        0.93;

    letter-spacing:
        -0.035em;
}


.gallery-page-section-title span {
    display:
        block;

    color:
        var(--color-primary);
}


/* =========================================================
   12. INTRO DESCRIPTION
   ========================================================= */

.gallery-introduction-grid
> div:last-child {
    max-width:
        520px;

    margin-left:
        auto;
}


.gallery-introduction-grid
> div:last-child p {
    margin:
        0 0
        17px;

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

    font-family:
        var(--font-body-strong);

    font-size:
        1rem;

    font-weight:
        500;

    line-height:
        1.8;
}


/* =========================================================
   13. GALLERY LOCATION
   ========================================================= */

.gallery-location {
    display:
        inline-flex;

    align-items:
        center;

    gap:
        7px;

    color:
        var(--color-primary);

    font-family:
        var(--font-body-strong);

    font-size:
        0.78rem;

    font-weight:
        700;
}


.gallery-location i {
    font-size:
        0.72rem;
}


/* =========================================================
   14. CATEGORY SECTION
   ========================================================= */

.gallery-category-section {
    position:
        relative;

    padding:
        35px
        0
        90px;

    overflow:
        hidden;

    background:
        var(--color-background);
}


.gallery-category-section.gallery-category-alt {
    background:
        #F6F7F2;
}


/* =========================================================
   15. CATEGORY HEADER
   ========================================================= */

.gallery-category-header {
    display:
        grid;

    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(0, 0.75fr);

    align-items:
        end;

    gap:
        3rem;

    margin-bottom:
        28px;
}


/* =========================================================
   16. CATEGORY NUMBER
   ========================================================= */

.gallery-category-number {
    display:
        block;

    margin-bottom:
        7px;

    color:
        rgba(
            63,
            118,
            85,
            0.48
        );

    font-family:
        var(--font-body-strong);

    font-size:
        0.75rem;

    font-weight:
        700;

    letter-spacing:
        0.15em;
}


/* =========================================================
   17. CATEGORY TITLE
   ========================================================= */

.gallery-category-header h2 {
    margin:
        0;

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

    font-family:
        var(--font-heading);

    font-size:
        clamp(
            2.5rem,
            4vw,
            3.7rem
        );

    font-weight:
        var(--font-weight-semibold);

    line-height:
        0.94;

    letter-spacing:
        -0.025em;
}


/* =========================================================
   18. CATEGORY DESCRIPTION
   ========================================================= */

.gallery-category-header > p {
    max-width:
        440px;

    margin:
        0 0
        2px
        auto;

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

    font-family:
        var(--font-body-strong);

    font-size:
        0.85rem;

    font-weight:
        500;

    line-height:
        1.75;
}


/* =========================================================
   19. GALLERY GRID
   Desktop = 3 columns
   ========================================================= */

.gallery-page-grid {
    display:
        grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    grid-auto-rows:
        255px;

    gap:
        13px;
}


/* =========================================================
   20. GRID FEATURED ITEM
   ========================================================= */

.gallery-page-featured {
    grid-column:
        span 2;

    grid-row:
        span 2;
}


/* =========================================================
   21. GALLERY ITEM
   ========================================================= */

.gallery-page-item {
    position:
        relative;

    min-width:
        0;

    min-height:
        0;

    margin:
        0;

    overflow:
        hidden;

    border-radius:
        18px;

    background:
        var(--color-primary-dark);

    box-shadow:
        0 10px 28px
        rgba(
            22,
            74,
            58,
            0.075
        );
}


/* =========================================================
   22. GALLERY LINK
   ========================================================= */

.gallery-page-link {
    position:
        relative;

    display:
        block;

    width:
        100%;

    height:
        100%;

    color:
        inherit;

    text-decoration:
        none;

    overflow:
        hidden;
}


/* =========================================================
   23. GALLERY IMAGE
   ========================================================= */

.gallery-page-link img {
    display:
        block;

    width:
        100%;

    height:
        100%;

    object-fit:
        cover;

    object-position:
        center;

    transform:
        scale(1);

    transition:
        transform
        750ms
        cubic-bezier(
            0.20,
            0.65,
            0.30,
            1
        );
}


/* =========================================================
   24. IMAGE HOVER
   ========================================================= */

.gallery-page-item:hover
.gallery-page-link img {
    transform:
        scale(1.055);
}


/* =========================================================
   25. IMAGE OVERLAY
   ========================================================= */

.gallery-page-overlay {
    position:
        absolute;

    inset:
        0;

    display:
        flex;

    align-items:
        flex-end;

    justify-content:
        space-between;

    gap:
        15px;

    padding:
        21px;

    background:
        linear-gradient(
            180deg,
            rgba(
                5,
                25,
                18,
                0
            ) 28%,
            rgba(
                5,
                25,
                18,
                0.10
            ) 53%,
            rgba(
                5,
                25,
                18,
                0.84
            ) 100%
        );

    opacity:
        0;

    transition:
        opacity
        var(--transition-base);
}


.gallery-page-item:hover
.gallery-page-overlay {
    opacity:
        1;
}


/* =========================================================
   26. TOUCH/FOCUS OVERLAY
   ========================================================= */

.gallery-page-link:focus-visible
.gallery-page-overlay {
    opacity:
        1;
}


.gallery-page-link:focus-visible {
    outline:
        3px solid
        rgba(
            63,
            118,
            85,
            0.45
        );

    outline-offset:
        3px;
}


/* =========================================================
   27. OVERLAY TEXT
   ========================================================= */

.gallery-page-overlay > div {
    display:
        flex;

    flex-direction:
        column;

    gap:
        5px;

    min-width:
        0;
}


.gallery-page-overlay > div span {
    color:
        #C7DDD1;

    font-family:
        var(--font-body-strong);

    font-size:
        0.58rem;

    font-weight:
        700;

    line-height:
        1.2;

    letter-spacing:
        0.14em;

    text-transform:
        uppercase;
}


.gallery-page-overlay > div strong {
    color:
        var(--color-white);

    font-family:
        var(--font-heading);

    font-size:
        1.38rem;

    font-weight:
        var(--font-weight-semibold);

    line-height:
        0.98;
}


/* =========================================================
   28. OVERLAY ARROW
   ========================================================= */

.gallery-page-overlay
> i {
    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    width:
        39px;

    height:
        39px;

    flex-shrink:
        0;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.34
        );

    border-radius:
        50%;

    color:
        var(--color-white);

    background:
        rgba(
            255,
            255,
            255,
            0.12
        );

    backdrop-filter:
        blur(8px);

    -webkit-backdrop-filter:
        blur(8px);

    font-size:
        0.72rem;

    transition:
        transform
        var(--transition-base);
}


.gallery-page-item:hover
.gallery-page-overlay
> i {
    transform:
        translate(
            2px,
            -2px
        );
}


/* =========================================================
   29. CTA SECTION
   ========================================================= */

.gallery-page-cta {
    position:
        relative;

    padding:
        20px
        0
        95px;

    background:
        var(--color-background);
}


.gallery-cta-card {
    position:
        relative;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        30px;

    min-height:
        280px;

    padding:
        45px
        52px;

    overflow:
        hidden;

    border-radius:
        22px;

    background:
        linear-gradient(
            125deg,
            #103D30 0%,
            #164A3A 50%,
            #28634E 100%
        );

    box-shadow:
        0 20px 52px
        rgba(
            22,
            74,
            58,
            0.14
        );
}


/* =========================================================
   30. CTA ATMOSPHERE
   ========================================================= */

.gallery-cta-card::before {
    content:
        "";

    position:
        absolute;

    top:
        -190px;

    right:
        -100px;

    width:
        500px;

    height:
        500px;

    border-radius:
        50%;

    background:
        radial-gradient(
            circle,
            rgba(
                95,
                169,
                184,
                0.20
            ) 0%,
            rgba(
                95,
                169,
                184,
                0
            ) 72%
        );

    pointer-events:
        none;
}


/* =========================================================
   31. CTA DECORATIVE RINGS
   ========================================================= */

.gallery-cta-card::after {
    content:
        "";

    position:
        absolute;

    right:
        40px;

    bottom:
        -190px;

    width:
        420px;

    height:
        420px;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.08
        );

    border-radius:
        50%;

    box-shadow:
        0 0 0 55px
        rgba(
            255,
            255,
            255,
            0.035
        ),
        0 0 0 110px
        rgba(
            255,
            255,
            255,
            0.025
        );

    pointer-events:
        none;
}


/* =========================================================
   32. CTA CONTENT
   ========================================================= */

.gallery-cta-card > div {
    position:
        relative;

    z-index:
        2;

    max-width:
        650px;
}


.gallery-cta-eyebrow {
    display:
        block;

    margin-bottom:
        11px;

    color:
        rgba(
            255,
            255,
            255,
            0.56
        );

    font-family:
        var(--font-body-strong);

    font-size:
        0.63rem;

    font-weight:
        700;

    line-height:
        1.2;

    letter-spacing:
        0.16em;

    text-transform:
        uppercase;
}


/* =========================================================
   33. CTA TITLE
   ========================================================= */

.gallery-cta-card h2 {
    margin:
        0 0
        15px;

    color:
        var(--color-white);

    font-family:
        var(--font-heading);

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

    font-weight:
        var(--font-weight-semibold);

    line-height:
        0.92;

    letter-spacing:
        -0.025em;
}


.gallery-cta-card h2 span {
    color:
        #BBD7C6;
}


/* =========================================================
   34. CTA DESCRIPTION
   ========================================================= */

.gallery-cta-card p {
    max-width:
        570px;

    margin:
        0;

    color:
        rgba(
            255,
            255,
            255,
            0.68
        );

    font-family:
        var(--font-body-strong);

    font-size:
        0.9rem;

    font-weight:
        500;

    line-height:
        1.75;
}


/* =========================================================
   35. CTA BUTTON
   ========================================================= */

.gallery-cta-button {
    position:
        relative;

    z-index:
        3;

    display:
        inline-flex;

    align-items:
        center;

    gap:
        10px;

    min-height:
        48px;

    padding:
        0 8px
        0 18px;

    flex-shrink:
        0;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.34
        );

    border-radius:
        var(--radius-full);

    color:
        var(--color-white);

    background:
        rgba(
            255,
            255,
            255,
            0.08
        );

    font-family:
        var(--font-body-strong);

    font-size:
        0.71rem;

    font-weight:
        700;

    backdrop-filter:
        blur(8px);

    -webkit-backdrop-filter:
        blur(8px);

    transition:
        transform
        var(--transition-base),

        background-color
        var(--transition-base),

        border-color
        var(--transition-base);
}


.gallery-cta-button:hover {
    color:
        var(--color-white);

    background:
        rgba(
            255,
            255,
            255,
            0.15
        );

    border-color:
        rgba(
            255,
            255,
            255,
            0.52
        );

    transform:
        translateY(-2px);
}


.gallery-cta-button
> span:last-child {
    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    width:
        30px;

    height:
        30px;

    border-radius:
        50%;

    color:
        var(--color-primary);

    background:
        var(--color-white);

    transition:
        transform
        var(--transition-base);
}


.gallery-cta-button:hover
> span:last-child {
    transform:
        translateX(3px);
}


/* =========================================================
   36. TABLET
   769px - 1100px
   ========================================================= */

@media (min-width: 769px) and (max-width: 1100px) {

    .gallery-page-hero {
        min-height:
            48vh;

        padding:
            135px 0
            70px;
    }


    .gallery-page-title {
        max-width:
            650px;

        font-size:
            clamp(
                3.3rem,
                7vw,
                5.2rem
            );
    }


    .gallery-page-intro {
        max-width:
            550px;

        font-size:
            0.9rem;
    }


    .gallery-page-introduction {
        padding:
            60px
            0
            50px;
    }


    .gallery-introduction-grid {
        gap:
            3rem;
    }


    .gallery-page-section-title {
        font-size:
            clamp(
                2.6rem,
                5.2vw,
                3.8rem
            );
    }


    .gallery-category-section {
        padding:
            30px
            0
            70px;
    }


    .gallery-category-header {
        gap:
            2.5rem;
    }


    .gallery-category-header h2 {
        font-size:
            clamp(
                2.3rem,
                4.4vw,
                3.3rem
            );
    }


    /*
     * Tablet = 2 columns
     */

    .gallery-page-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

        grid-auto-rows:
            225px;

        gap:
            11px;
    }


    .gallery-page-featured {
        grid-column:
            span 2;

        grid-row:
            span 2;
    }


    .gallery-page-overlay {
        padding:
            17px;
    }


    .gallery-page-overlay
    > div strong {
        font-size:
            1.22rem;
    }


    .gallery-cta-card {
        min-height:
            260px;

        padding:
            38px
            42px;
    }

}


/* =========================================================
   37. MOBILE
   <= 768px
   ========================================================= */

@media (max-width: 768px) {

    .gallery-page-container {
        width:
            calc(
                100% -
                (var(--container-padding) * 2)
            );
    }


    /* -----------------------------------------------------
       Hero
       ----------------------------------------------------- */

    .gallery-page-hero {
        min-height:
            49vh;

        padding:
            120px
            0
            60px;

        background-position:
            63%
            center;

        background-attachment:
            scroll;
    }


    .gallery-page-hero::before {
        background:
            linear-gradient(
                180deg,
                rgba(255, 255, 255, 0.98) 0%,
                rgba(255, 255, 255, 0.87) 17%,
                rgba(247, 248, 243, 0.64) 37%,
                rgba(247, 248, 243, 0.31) 59%,
                rgba(247, 248, 243, 0.07) 82%,
                rgba(247, 248, 243, 0) 100%
            );
    }


    .gallery-page-eyebrow {
        margin-bottom:
            11px;

        font-size:
            0.66rem;

        letter-spacing:
            0.14em;
    }


    .gallery-page-eyebrow::before {
        width:
            27px;
    }


    .gallery-page-title {
        max-width:
            100%;

        margin-bottom:
            16px;

        font-size:
            clamp(
                2.65rem,
                11vw,
                3.9rem
            );

        line-height:
            0.92;
    }


    .gallery-page-intro {
        max-width:
            100%;

        color:
            #41534c;

        font-size:
            0.88rem;

        line-height:
            1.72;
    }


    /* -----------------------------------------------------
       Introduction
       ----------------------------------------------------- */

    .gallery-page-introduction {
        padding:
            52px
            0
            42px;
    }


    .gallery-introduction-grid {
        display:
            flex;

        flex-direction:
            column;

        align-items:
            flex-start;

        gap:
            1.5rem;
    }


    .gallery-page-section-eyebrow {
        margin-bottom:
            10px;

        font-size:
            0.62rem;
    }


    .gallery-page-section-title {
        font-size:
            clamp(
                2.3rem,
                10vw,
                3.4rem
            );

        line-height:
            0.94;
    }


    .gallery-introduction-grid
    > div:last-child {
        max-width:
            100%;

        margin-left:
            0;
    }


    .gallery-introduction-grid
    > div:last-child p {
        font-size:
            0.87rem;

        line-height:
            1.72;
    }


    .gallery-location {
        font-size:
            0.7rem;
    }


    /* -----------------------------------------------------
       Categories
       ----------------------------------------------------- */

    .gallery-category-section {
        padding:
            20px
            0
            60px;
    }


    .gallery-category-section.gallery-category-alt {
        background:
            #F6F7F2;
    }


    .gallery-category-header {
        display:
            flex;

        flex-direction:
            column;

        align-items:
            flex-start;

        gap:
            0.9rem;

        margin-bottom:
            19px;
    }


    .gallery-category-number {
        margin-bottom:
            5px;

        font-size:
            0.66rem;
    }


    .gallery-category-header h2 {
        font-size:
            clamp(
                2rem,
                8vw,
                2.8rem
            );
    }


    .gallery-category-header > p {
        max-width:
            100%;

        margin:
            0;

        font-size:
            0.79rem;

        line-height:
            1.68;
    }


    /* -----------------------------------------------------
       Gallery Grid
       ----------------------------------------------------- */

    .gallery-page-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

        grid-auto-rows:
            170px;

        gap:
            8px;
    }


    /*
     * Featured image remains prominent.
     */

    .gallery-page-featured {
        grid-column:
            span 2;

        grid-row:
            span 2;
    }


    .gallery-page-item {
        border-radius:
            14px;
    }


    /* -----------------------------------------------------
       Mobile hover treatment
       ----------------------------------------------------- */

    .gallery-page-overlay {
        opacity:
            1;

        padding:
            12px;

        background:
            linear-gradient(
                180deg,
                rgba(
                    5,
                    25,
                    18,
                    0
                ) 28%,
                rgba(
                    5,
                    25,
                    18,
                    0.08
                ) 52%,
                rgba(
                    5,
                    25,
                    18,
                    0.72
                ) 100%
            );
    }


    .gallery-page-overlay
    > div {
        gap:
            3px;
    }


    .gallery-page-overlay
    > div span {
        font-size:
            0.47rem;

        letter-spacing:
            0.11em;
    }


    .gallery-page-overlay
    > div strong {
        font-size:
            0.92rem;

        line-height:
            1;
    }


    .gallery-page-overlay
    > i {
        width:
            31px;

        height:
            31px;

        font-size:
            0.62rem;
    }


    /* -----------------------------------------------------
       CTA
       ----------------------------------------------------- */

    .gallery-page-cta {
        padding:
            5px
            0
            60px;
    }


    .gallery-cta-card {
        flex-direction:
            column;

        align-items:
            flex-start;

        justify-content:
            center;

        gap:
            22px;

        min-height:
            350px;

        padding:
            32px
            21px;

        border-radius:
            19px;
    }


    .gallery-cta-card h2 {
        margin-bottom:
            12px;

        font-size:
            clamp(
                2.25rem,
                10vw,
                3.3rem
            );
    }


    .gallery-cta-card p {
        max-width:
            100%;

        font-size:
            0.8rem;

        line-height:
            1.7;
    }


    .gallery-cta-button {
        width:
            100%;

        justify-content:
            space-between;

        min-height:
            45px;

        font-size:
            0.66rem;
    }

}


/* =========================================================
   38. SMALL MOBILE
   <= 480px
   ========================================================= */

@media (max-width: 480px) {

    .gallery-page-hero {
        min-height:
            46vh;

        padding:
            112px
            0
            50px;
    }


    .gallery-page-title {
        font-size:
            clamp(
                2.35rem,
                12vw,
                3.2rem
            );
    }


    .gallery-page-intro {
        font-size:
            0.85rem;
    }


    .gallery-page-introduction {
        padding:
            45px
            0
            35px;
    }


    .gallery-page-section-title {
        font-size:
            clamp(
                2.05rem,
                11vw,
                2.85rem
            );
    }


    .gallery-category-section {
        padding:
            16px
            0
            52px;
    }


    .gallery-category-header {
        margin-bottom:
            16px;
    }


    .gallery-category-header h2 {
        font-size:
            2rem;
    }


    .gallery-category-header > p {
        font-size:
            0.74rem;
    }


    .gallery-page-grid {
        grid-auto-rows:
            145px;

        gap:
            7px;
    }


    .gallery-page-item {
        border-radius:
            12px;
    }


    .gallery-page-overlay {
        padding:
            9px;
    }


    .gallery-page-overlay
    > div span {
        font-size:
            0.42rem;
    }


    .gallery-page-overlay
    > div strong {
        font-size:
            0.82rem;
    }


    .gallery-page-overlay
    > i {
        width:
            28px;

        height:
            28px;

        font-size:
            0.57rem;
    }


    .gallery-cta-card {
        min-height:
            325px;

        padding:
            29px
            18px;

        border-radius:
            17px;
    }


    .gallery-cta-card h2 {
        font-size:
            2.1rem;
    }


    .gallery-cta-card p {
        font-size:
            0.75rem;
    }

}


/* =========================================================
   39. VERY SMALL PHONES
   <= 375px
   ========================================================= */

@media (max-width: 375px) {

    .gallery-page-hero {
        min-height:
            44vh;

        padding:
            105px
            0
            45px;
    }


    .gallery-page-title {
        font-size:
            2.3rem;
    }


    .gallery-page-intro {
        font-size:
            0.8rem;
    }


    .gallery-page-grid {
        grid-auto-rows:
            130px;

        gap:
            6px;
    }


    .gallery-page-overlay
    > div strong {
        font-size:
            0.74rem;
    }


    .gallery-page-overlay
    > i {
        width:
            25px;

        height:
            25px;

        font-size:
            0.52rem;
    }


    .gallery-cta-card {
        min-height:
            305px;

        padding:
            26px
            16px;
    }


    .gallery-cta-card h2 {
        font-size:
            1.95rem;
    }

}


/* =========================================================
   40. REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .gallery-page-link img,
    .gallery-page-overlay,
    .gallery-page-overlay > i,
    .gallery-cta-button,
    .gallery-cta-button
    > span:last-child {
        transition:
            none;
    }


    .gallery-page-item:hover
    .gallery-page-link img {
        transform:
            none;
    }


    .gallery-page-item:hover
    .gallery-page-overlay
    > i {
        transform:
            none;
    }


    .gallery-cta-button:hover
    > span:last-child {
        transform:
            none;
    }

}