/*
|--------------------------------------------------------------------------
| SAN NICODEMO ABATE
|--------------------------------------------------------------------------
| PREMIUM PUBLIC GALLERY
|--------------------------------------------------------------------------
|
| Presentation only.
|
| - Refined museum-style gallery
| - Controlled image proportions
| - Responsive layout
| - Accessible lightbox presentation
|
|--------------------------------------------------------------------------
*/


/* ================================================================
   PAGE WRAPPER
================================================================ */

.gallery-premium {
    width: min(92%, 1380px);
    margin: 38px auto 110px;
}


/* ================================================================
   HERO
================================================================ */

.gallery-premium-hero {
    position: relative;

    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;

    gap: 48px;

    align-items: end;

    min-height: 400px;

    padding: clamp(44px, 6vw, 78px);

    overflow: hidden;

    border: 1px solid rgba(180, 134, 28, .18);
    border-radius: 28px;

    background:
        radial-gradient(
            circle at 12% 16%,
            rgba(218, 178, 66, .11),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #fffaf1 0%,
            #fffdf9 60%,
            #f4f8f8 100%
        );

    box-shadow:
        0 24px 65px rgba(11, 28, 43, .07);
}


.gallery-premium-hero::before {
    content: "";

    position: absolute;

    top: -120px;
    right: 13%;

    width: 250px;
    height: 250px;

    border: 1px solid rgba(184, 137, 30, .07);
    border-radius: 50%;
}


.gallery-premium-hero::after {
    content: "";

    position: absolute;

    right: -150px;
    bottom: -210px;

    width: 450px;
    height: 450px;

    border: 1px solid rgba(182, 132, 25, .08);
    border-radius: 50%;

    box-shadow:
        0 0 0 42px rgba(182, 132, 25, .018),
        0 0 0 84px rgba(182, 132, 25, .012);
}


/* ================================================================
   HERO COPY
================================================================ */

.gallery-premium-hero-copy {
    position: relative;
    z-index: 2;

    max-width: 900px;
}


.gallery-premium-eyebrow,
.gallery-section-eyebrow {
    color: #b58318;

    font-size: .72rem;
    font-weight: 900;

    letter-spacing: .19em;

    text-transform: uppercase;
}


.gallery-premium-eyebrow {
    margin: 0 0 20px;
}


.gallery-premium-hero h1 {
    max-width: 900px;

    margin: 0;

    color: #091b2b;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(3.3rem, 6vw, 6.4rem);
    font-weight: 500;

    line-height: .96;

    letter-spacing: -.045em;
}


.gallery-premium-lead {
    max-width: 720px;

    margin: 27px 0 0;

    color: #68747d;

    font-size: 1.02rem;
    line-height: 1.8;
}


/* ================================================================
   COLLECTION COUNT
================================================================ */

.gallery-premium-count {
    position: relative;
    z-index: 2;

    display: grid;
    place-items: center;
    align-content: center;

    width: 118px;
    height: 118px;

    padding: 15px;

    border: 1px solid rgba(180, 134, 28, .22);
    border-radius: 50%;

    background: rgba(255, 255, 255, .78);

    text-align: center;

    backdrop-filter: blur(12px);

    box-shadow:
        0 14px 32px rgba(11, 28, 43, .05);
}


.gallery-premium-count strong {
    display: block;

    color: #0c2131;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 2.25rem;
    font-weight: 500;

    line-height: 1;
}


.gallery-premium-count span {
    display: block;

    margin-top: 6px;

    color: #a87815;

    font-size: .61rem;
    font-weight: 900;

    letter-spacing: .13em;

    text-transform: uppercase;
}


/* ================================================================
   COLLECTION INTRODUCTION
================================================================ */

.gallery-collection-intro {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(280px, .58fr);

    gap: 70px;

    align-items: end;

    padding:
        clamp(68px, 8vw, 105px)
        2%
        46px;
}


.gallery-collection-heading h2 {
    max-width: 720px;

    margin: 15px 0 0;

    color: #0b1c2b;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(2.5rem, 4vw, 4.6rem);
    font-weight: 500;

    line-height: 1.04;

    letter-spacing: -.035em;
}


.gallery-collection-description p {
    margin: 0;

    color: #65717a;

    font-size: .96rem;
    line-height: 1.8;
}


/* ================================================================
   GALLERY GRID
================================================================ */

.gallery-premium-grid {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(280px, 360px)
        );

    justify-content: center;

    gap: 30px;
}


/* ================================================================
   GALLERY ITEM
================================================================ */

.gallery-premium-item {
    min-width: 0;

    margin: 0;

    overflow: hidden;

    border: 1px solid rgba(11, 28, 43, .08);
    border-radius: 18px;

    background: #ffffff;

    box-shadow:
        0 12px 35px rgba(11, 28, 43, .055);

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}


.gallery-premium-item:hover {
    transform: translateY(-3px);

    box-shadow:
        0 20px 45px rgba(11, 28, 43, .085);
}


/* ================================================================
   CLICKABLE IMAGE
================================================================ */

.gallery-premium-image {
    position: relative;

    display: block;

    width: 100%;

    padding: 0;

    overflow: hidden;

    border: 0;

    aspect-ratio: 4 / 3;

    background: #eef1f2;

    cursor: zoom-in;

    appearance: none;
}


.gallery-premium-image::after {
    content: "";

    position: absolute;

    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            transparent 65%,
            rgba(7, 24, 39, .12) 100%
        );

    opacity: 0;

    transition: opacity .35s ease;
}


.gallery-premium-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .55s cubic-bezier(.2, .65, .25, 1);
}


.gallery-premium-image:hover img {
    transform: scale(1.025);
}


.gallery-premium-image:hover::after {
    opacity: 1;
}


.gallery-premium-image:focus-visible {
    outline: 3px solid #c49327;
    outline-offset: -3px;
}


/* ================================================================
   CAPTION
================================================================ */

.gallery-premium-item figcaption {
    padding: 20px 21px 23px;
}


.gallery-premium-item figcaption strong {
    display: block;

    color: #102334;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 1.2rem;
    font-weight: 500;

    line-height: 1.25;
}


.gallery-premium-item figcaption p {
    margin: 8px 0 0;

    color: #6a7680;

    font-size: .87rem;
    line-height: 1.6;
}


/* ================================================================
   EMPTY STATE
================================================================ */

.gallery-premium-empty {
    padding: 78px 30px;

    border: 1px solid rgba(11, 28, 43, .08);
    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #fbfaf6
        );

    text-align: center;

    box-shadow:
        0 16px 45px rgba(11, 28, 43, .045);
}


.gallery-empty-symbol {
    display: block;

    color: #bf8b19;

    font-size: 2rem;
}


.gallery-premium-empty h2 {
    margin: 18px 0 0;

    color: #0c2131;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 500;
}


.gallery-premium-empty p {
    max-width: 620px;

    margin: 18px auto 0;

    color: #6a7680;

    line-height: 1.75;
}


/* ================================================================
   CLOSING STATEMENT
================================================================ */

.gallery-premium-closing {
    max-width: 920px;

    margin:
        clamp(80px, 9vw, 125px)
        auto
        20px;

    text-align: center;
}


.gallery-premium-closing h2 {
    margin: 16px 0 0;

    color: #102334;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(2.4rem, 4vw, 4.4rem);
    font-weight: 500;

    line-height: 1.06;
}


.gallery-premium-closing p {
    max-width: 720px;

    margin: 22px auto 0;

    color: #68747d;

    line-height: 1.8;
}


/* ================================================================
   LIGHTBOX
================================================================ */

.gallery-lightbox[hidden] {
    display: none;
}


.gallery-lightbox {
    position: fixed;

    z-index: 10000;

    inset: 0;

    display: grid;
    place-items: center;

    padding: 34px;
}


/* ================================================================
   LIGHTBOX BACKDROP
================================================================ */

.gallery-lightbox-backdrop {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    padding: 0;

    border: 0;

    background:
        rgba(5, 17, 28, .92);

    cursor: zoom-out;

    backdrop-filter: blur(8px);
}


/* ================================================================
   LIGHTBOX DIALOG
================================================================ */

.gallery-lightbox-dialog {
    position: relative;

    z-index: 2;

    display: flex;
    flex-direction: column;

    width: min(94vw, 1320px);
    max-height: 92vh;

    overflow: hidden;

    border:
        1px solid
        rgba(255, 255, 255, .14);

    border-radius: 20px;

    background: #0b1c2b;

    box-shadow:
        0 35px 100px rgba(0, 0, 0, .45);
}


/* ================================================================
   LIGHTBOX IMAGE
================================================================ */

.gallery-lightbox-media {
    display: grid;

    place-items: center;

    min-height: 0;

    overflow: hidden;

    background: #07131e;
}


.gallery-lightbox-media img {
    display: block;

    max-width: 100%;
    max-height: 78vh;

    width: auto;
    height: auto;

    object-fit: contain;
}


/* ================================================================
   LIGHTBOX CLOSE
================================================================ */

.gallery-lightbox-close {
    position: absolute;

    z-index: 5;

    top: 16px;
    right: 16px;

    display: grid;
    place-items: center;

    width: 46px;
    height: 46px;

    padding: 0;

    border:
        1px solid
        rgba(255, 255, 255, .25);

    border-radius: 50%;

    background:
        rgba(7, 24, 39, .78);

    color: #ffffff;

    font-family: Arial, sans-serif;
    font-size: 1.9rem;
    font-weight: 300;

    line-height: 1;

    cursor: pointer;

    backdrop-filter: blur(8px);

    transition:
        background .2s ease,
        transform .2s ease;
}


.gallery-lightbox-close:hover {
    background:
        rgba(181, 131, 24, .95);

    transform: scale(1.04);
}


.gallery-lightbox-close:focus-visible {
    outline: 3px solid #f0c85b;
    outline-offset: 3px;
}


/* ================================================================
   LIGHTBOX CAPTION
================================================================ */

.gallery-lightbox-caption {
    padding: 20px 26px 23px;

    border-top:
        1px solid
        rgba(255, 255, 255, .09);

    background: #0b1c2b;
}


.gallery-lightbox-caption strong {
    display: block;

    color: #ffffff;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 1.25rem;
    font-weight: 500;
}


.gallery-lightbox-caption p {
    max-width: 820px;

    margin: 7px 0 0;

    color: rgba(255, 255, 255, .68);

    font-size: .9rem;
    line-height: 1.6;
}


/* ================================================================
   LIGHTBOX OPEN BODY STATE
================================================================ */

body.gallery-lightbox-open {
    overflow: hidden;
}


/* ================================================================
   TABLET
================================================================ */

@media (max-width: 980px) {

    .gallery-premium-hero {
        grid-template-columns: 1fr;

        min-height: auto;
    }


    .gallery-premium-count {
        width: 105px;
        height: 105px;
    }


    .gallery-collection-intro {
        grid-template-columns: 1fr;

        gap: 25px;
    }


    .gallery-premium-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 24px;
    }

}


/* ================================================================
   MOBILE
================================================================ */

@media (max-width: 680px) {

    .gallery-premium {
        width: min(92%, 1380px);

        margin-top: 20px;
    }


    .gallery-premium-hero {
        padding: 36px 25px;

        border-radius: 21px;
    }


    .gallery-premium-hero h1 {
        font-size:
            clamp(
                3rem,
                14vw,
                4.8rem
            );
    }


    .gallery-premium-count {
        width: 92px;
        height: 92px;
    }


    .gallery-premium-count strong {
        font-size: 1.9rem;
    }


    .gallery-collection-intro {
        padding-right: 0;
        padding-left: 0;
    }


    .gallery-premium-grid {
        grid-template-columns: 1fr;

        gap: 22px;
    }


    .gallery-premium-image {
        aspect-ratio: 4 / 3;
    }


    .gallery-premium-item figcaption {
        padding: 18px 19px 21px;
    }


    .gallery-lightbox {
        padding: 12px;
    }


    .gallery-lightbox-dialog {
        width: 100%;

        max-height: 94vh;

        border-radius: 15px;
    }


    .gallery-lightbox-media img {
        max-height: 76vh;
    }


    .gallery-lightbox-close {
        top: 11px;
        right: 11px;

        width: 42px;
        height: 42px;
    }


    .gallery-lightbox-caption {
        padding: 17px 19px 20px;
    }

}

/* ==========================================================================
   GALLERY LIGHTBOX — PREVIOUS / NEXT NAVIGATION
   ========================================================================== */

.gallery-lightbox-dialog {
    position: relative;
}

.gallery-lightbox-nav {
    position: absolute;
    top: 50%;
    z-index: 20;

    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;
    margin: 0;

    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;

    background: rgba(7, 24, 38, 0.78);
    color: #ffffff;

    font-size: 42px;
    font-family: Arial, sans-serif;
    line-height: 1;

    cursor: pointer;

    transform: translateY(-50%);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.gallery-lightbox-nav:hover {
    background: rgba(7, 24, 38, 0.95);
    border-color: rgba(255, 255, 255, 0.7);
}

.gallery-lightbox-nav:focus-visible {
    outline: 3px solid #d6a829;
    outline-offset: 3px;
}


/* Previous */

.gallery-lightbox-previous {
    left: 22px;
}


/* Next */

.gallery-lightbox-next {
    right: 22px;
}


/* Keep arrow symbol visually centred */

.gallery-lightbox-nav span {
    display: block;
    line-height: 1;
    transform: translateY(-2px);
}


/* ==========================================================================
   MOBILE
   ========================================================================== */

@media (max-width: 700px) {

    .gallery-lightbox-nav {
        width: 46px;
        height: 46px;

        font-size: 34px;
    }

    .gallery-lightbox-previous {
        left: 10px;
    }

    .gallery-lightbox-next {
        right: 10px;
    }
}

/* ==========================================================================
   PREMIUM COLLECTION EXPERIENCE — 2026 REFINEMENT
   ==========================================================================
   This section intentionally overrides selected presentation rules above.
   The original Gallery CSS remains intact.
   ========================================================================== */


/* ==========================================================================
   PREMIUM DESIGN TOKENS
   ========================================================================== */

.gallery-premium {
    --gallery-navy: #0b1c2b;
    --gallery-navy-soft: #173047;
    --gallery-gold: #b98a19;
    --gallery-gold-soft: #d8bc72;
    --gallery-cream: #fbf8f1;
    --gallery-card: #fffdf9;
    --gallery-text: #172536;
    --gallery-muted: #6f7d8d;
    --gallery-border: rgba(11, 28, 43, .10);
    --gallery-shadow: 0 18px 45px rgba(11, 28, 43, .08);
    --gallery-shadow-hover: 0 24px 60px rgba(11, 28, 43, .14);
}


/* ==========================================================================
   REMOVE LINK UNDERLINES
   ========================================================================== */

.gallery-premium a,
.gallery-premium a:visited,
.gallery-premium a:hover,
.gallery-premium a:focus,
.gallery-lightbox a,
.gallery-lightbox a:visited,
.gallery-lightbox a:hover,
.gallery-lightbox a:focus {
    text-decoration: none !important;
}


/* ==========================================================================
   HERO — PREMIUM FINISH
   ========================================================================== */

.gallery-premium-hero {
    overflow: hidden;

    border:
        1px solid
        rgba(185, 138, 25, .16);

    border-radius: 30px;

    background:
        radial-gradient(
            circle at 82% 18%,
            rgba(185, 138, 25, .08),
            transparent 26%
        ),
        radial-gradient(
            circle at 96% 88%,
            rgba(61, 133, 188, .08),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #fffaf0 0%,
            #fffdfa 52%,
            #f7fbfd 100%
        );

    box-shadow:
        0 26px 74px
        rgba(11, 28, 43, .065);
}


.gallery-premium-hero h1 {
    max-width: 900px;

    letter-spacing: -.04em;
}


.gallery-premium-hero-copy {
    max-width: 820px;
}


.gallery-premium-eyebrow,
.gallery-section-eyebrow {
    letter-spacing: .17em;
}


.gallery-premium-count {
    box-shadow:
        0 12px 30px
        rgba(11, 28, 43, .08),
        inset 0 0 0 1px
        rgba(185, 138, 25, .12);
}


/* ==========================================================================
   COLLECTION INTRODUCTION
   ========================================================================== */

.gallery-collection-intro {
    align-items: end;

    gap: 56px;
}


.gallery-collection-heading h2 {
    max-width: 680px;

    letter-spacing: -.03em;
}


.gallery-collection-description {
    max-width: 560px;
}


/* ==========================================================================
   PREMIUM 2-COLUMN COLLECTION GRID
   ========================================================================== */

.gallery-premium-grid {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    justify-content: stretch;

    gap: 34px;

    align-items: stretch;
}


/* ==========================================================================
   PREMIUM COLLECTION / PHOTO CARD
   ========================================================================== */

.gallery-premium-item {
    min-width: 0;

    height: 100%;

    overflow: hidden;

    border:
        1px solid
        var(--gallery-border);

    border-radius: 24px;

    background:
        var(--gallery-card);

    box-shadow:
        var(--gallery-shadow);

    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease;
}


@media (hover: hover) and (pointer: fine) {

    .gallery-premium-item:hover {
        transform:
            translateY(-5px);

        border-color:
            rgba(185, 138, 25, .24);

        box-shadow:
            var(--gallery-shadow-hover);
    }
}


/* ==========================================================================
   COLLECTION IMAGE
   ========================================================================== */

.gallery-premium-image {
    position: relative;

    display: block;

    width: 100%;

    aspect-ratio: 16 / 10;

    overflow: hidden;

    border: 0;
    border-radius: 0;

    background:
        #edf1f3;

    cursor: pointer;
}


.gallery-premium-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .5s ease,
        filter .3s ease;
}


.gallery-premium-image::after {
    content: "";

    position: absolute;

    inset:
        auto
        0
        0;

    height: 34%;

    pointer-events: none;

    background:
        linear-gradient(
            to top,
            rgba(11, 28, 43, .13),
            transparent
        );

    opacity: 1;
}


@media (hover: hover) and (pointer: fine) {

    .gallery-premium-item:hover
    .gallery-premium-image img {
        transform:
            scale(1.035);

        filter:
            saturate(1.03)
            contrast(1.02);
    }
}


/* ==========================================================================
   CARD CONTENT
   ========================================================================== */

.gallery-premium-item figcaption {
    display: flex;
    flex-direction: column;

    min-height: 285px;

    padding:
        27px
        29px
        29px;
}


.gallery-premium-item
figcaption
> strong:first-child {
    display: block;

    margin:
        0
        0
        6px;

    color:
        var(--gallery-navy);

    font-size:
        clamp(
            1.35rem,
            2.2vw,
            2rem
        );

    line-height: 1.12;

    letter-spacing: -.025em;
}


.gallery-premium-item
figcaption
> strong[lang="en"] {
    margin-top:
        0 !important;

    margin-bottom: 16px;

    color: #617181;

    font-size: 1rem;
    font-weight: 500;

    line-height: 1.35;
}


.gallery-premium-item
figcaption p {
    margin:
        7px
        0
        0;

    color:
        var(--gallery-muted);

    line-height: 1.55;
}


.gallery-premium-item
figcaption p strong {
    color:
        var(--gallery-text);

    font-weight: 700;
}


/* ==========================================================================
   DESCRIPTION CLAMP
   ========================================================================== */

.gallery-premium-item
figcaption
p[lang="it"],
.gallery-premium-item
figcaption
p[lang="en"] {
    display:
        -webkit-box;

    overflow: hidden;

    -webkit-box-orient:
        vertical;

    -webkit-line-clamp:
        3;
}


.gallery-premium-item
figcaption
p[lang="en"] {
    color: #8894a0;
}


/* ==========================================================================
   PREMIUM VIEW GALLERY BUTTON
   ========================================================================== */

.gallery-premium-item
figcaption
p:last-child {
    margin-top:
        auto;

    padding-top:
        22px;
}


.gallery-premium-item
figcaption
p:last-child a {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 44px;

    padding:
        11px
        18px;

    border:
        1px solid
        rgba(185, 138, 25, .34);

    border-radius:
        999px;

    background:
        rgba(185, 138, 25, .07);

    color:
        var(--gallery-navy);

    font-size: .92rem;
    font-weight: 800;

    letter-spacing: .01em;

    text-decoration:
        none !important;

    transition:
        background .18s ease,
        color .18s ease,
        border-color .18s ease,
        transform .18s ease;
}


@media (hover: hover) and (pointer: fine) {

    .gallery-premium-item
    figcaption
    p:last-child a:hover {
        transform:
            translateY(-1px);

        background:
            var(--gallery-navy);

        border-color:
            var(--gallery-navy);

        color:
            #ffffff;
    }
}


.gallery-premium-item
figcaption
p:last-child a:focus-visible {
    outline:
        3px solid
        rgba(185, 138, 25, .38);

    outline-offset:
        3px;
}


/* ==========================================================================
   OTHER PHOTOGRAPHS / ARCHIVE CARD
   ========================================================================== */

.gallery-premium-item:last-child {
    background:
        linear-gradient(
            145deg,
            #fffdf9 0%,
            #fbf6e8 100%
        );
}


.gallery-premium-item:last-child
figcaption {
    position: relative;
}


.gallery-premium-item:last-child
figcaption::before {
    content:
        "ARCHIVIO · ARCHIVE";

    display: inline-flex;

    align-self:
        flex-start;

    margin-bottom:
        12px;

    color:
        var(--gallery-gold);

    font-size:
        .68rem;

    font-weight:
        900;

    letter-spacing:
        .14em;
}


/* ==========================================================================
   COLLECTION DETAIL — BACK BUTTON
   ========================================================================== */

.gallery-collection-description
.button,
.gallery-collection-description
a.button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 44px;

    padding:
        10px
        17px;

    border:
        1px solid
        rgba(185, 138, 25, .28);

    border-radius:
        999px;

    background:
        rgba(255, 255, 255, .72);

    color:
        var(--gallery-navy);

    font-weight:
        800;

    text-decoration:
        none !important;
}


/* ==========================================================================
   CLOSING SECTION
   ========================================================================== */

.gallery-premium-closing {
    margin-top:
        86px;

    padding-top:
        72px;

    padding-bottom:
        72px;

    border-top:
        1px solid
        rgba(185, 138, 25, .16);
}


.gallery-premium-closing h2 {
    max-width:
        860px;

    margin-right:
        auto;

    margin-left:
        auto;

    letter-spacing:
        -.03em;
}


/* ==========================================================================
   LIGHTBOX NAVIGATION — PREMIUM
   ========================================================================== */

.gallery-lightbox-dialog {
    position: relative;
}


.gallery-lightbox-nav {
    position: absolute;

    top: 50%;

    z-index: 20;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;

    padding: 0;
    margin: 0;

    border:
        1px solid
        rgba(255, 255, 255, .34);

    border-radius:
        50%;

    background:
        rgba(7, 24, 38, .80);

    color:
        #ffffff;

    font:
        400
        42px/1
        Arial,
        sans-serif;

    cursor: pointer;

    transform:
        translateY(-50%);

    backdrop-filter:
        blur(8px);

    -webkit-backdrop-filter:
        blur(8px);

    box-shadow:
        0 8px 24px
        rgba(0, 0, 0, .22);

    transition:
        background .18s ease,
        border-color .18s ease,
        transform .18s ease;
}


.gallery-lightbox-previous {
    left: 22px;
}


.gallery-lightbox-next {
    right: 22px;
}


.gallery-lightbox-nav span {
    display: block;

    line-height: 1;

    transform:
        translateY(-2px);
}


@media (hover: hover) and (pointer: fine) {

    .gallery-lightbox-nav:hover {
        background:
            rgba(185, 138, 25, .96);

        border-color:
            rgba(255, 255, 255, .64);

        transform:
            translateY(-50%)
            scale(1.04);
    }
}


.gallery-lightbox-nav:focus-visible {
    outline:
        3px solid
        #d6a829;

    outline-offset:
        3px;
}


/* ==========================================================================
   RESPONSIVE PREMIUM GRID
   ========================================================================== */

@media (max-width: 980px) {

    .gallery-premium-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

        gap: 24px;
    }


    .gallery-collection-intro {
        gap: 28px;
    }
}


@media (max-width: 700px) {

    .gallery-premium-grid {
        grid-template-columns:
            1fr;

        gap: 22px;
    }


    .gallery-premium-item {
        border-radius:
            20px;
    }


    .gallery-premium-item
    figcaption {
        min-height:
            0;

        padding:
            22px;
    }


    .gallery-lightbox-nav {
        width:
            46px;

        height:
            46px;

        font-size:
            34px;
    }


    .gallery-lightbox-previous {
        left:
            10px;
    }


    .gallery-lightbox-next {
        right:
            10px;
    }


    .gallery-premium-closing {
        margin-top:
            56px;

        padding-top:
            52px;

        padding-bottom:
            56px;
    }
}

