/*=========================================================
 RANSAN TRAVELS
 GALLERY / JOURNEY
 MODERN EXPERIENCE
=========================================================*/


/*=========================================================
 SECTION
=========================================================*/

.rs-gallery-2026.rs-gallery-modern {

    position: relative;

    width: 100%;
    max-width: 100%;

    padding:
        110px 20px;

    overflow: visible;

    box-sizing: border-box;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f8fbff 50%,
            #ffffff 100%
        );

}


/*=========================================================
 VISUAL LAYER
=========================================================*/

.rs-gallery-modern
.rs-gallery-visual-layer {

    position: absolute;

    inset: 0;

    z-index: 0;

    overflow: hidden;

    pointer-events: none;

}


/*=========================================================
 ORBS
=========================================================*/

.rs-gallery-orb {

    position: absolute;

    width: 460px;
    height: 460px;

    border-radius: 50%;

    filter: blur(115px);

}


.rs-gallery-orb-one {

    top: -220px;
    left: -170px;

    background:
        rgba(14, 165, 233, .13);

}


.rs-gallery-orb-two {

    right: -190px;
    bottom: -230px;

    background:
        rgba(139, 92, 246, .12);

}


/*=========================================================
 GRID PATTERN
=========================================================*/

.rs-gallery-grid-pattern {

    position: absolute;

    inset: 0;

    opacity: .23;

    background-image:

        linear-gradient(
            rgba(15, 23, 42, .026) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(15, 23, 42, .026) 1px,
            transparent 1px
        );

    background-size:
        50px 50px;

    mask-image:
        linear-gradient(
            to bottom,
            transparent 0%,
            #000 18%,
            #000 82%,
            transparent 100%
        );

    -webkit-mask-image:
        linear-gradient(
            to bottom,
            transparent 0%,
            #000 18%,
            #000 82%,
            transparent 100%
        );

}


/*=========================================================
 WRAPPER
=========================================================*/

.rs-gallery-modern
.wrap {

    position: relative;

    z-index: 2;

    width:
        min(1220px, 100%);

    max-width:
        1220px;

    margin:
        0 auto;

}


/*=========================================================
 HEADER
=========================================================*/

.rs-gallery-modern
.rs-gallery-header {

    max-width: 880px;

    margin:
        0 auto;

    text-align:
        center;

}


/*=========================================================
 PILL
=========================================================*/

.rs-gallery-modern
.rs-gallery-pill {

    margin-bottom:
        16px;

    padding:
        9px 14px;

    display:
        inline-flex;

    align-items:
        center;

    gap:
        7px;

    border:
        1px solid #dbeafe;

    border-radius:
        999px;

    background:
        rgba(255, 255, 255, .88);

    color:
        #2563eb;

    box-shadow:
        0 9px 27px
        rgba(37, 99, 235, .06);

    font-size:
        13px;

    line-height:
        1.2;

    font-weight:
        850;

}


.rs-gallery-pill-icon {

    width: 24px;
    height: 24px;

    display:
        inline-flex;

    align-items:
        center;
    justify-content:
        center;

    border-radius:
        50%;

    background:
        #eff6ff;

}


/*=========================================================
 TITLE
=========================================================*/

.rs-gallery-modern
.rs-gallery-title {

    margin:
        0;

    color:
        #0f172a;

    background:
        none;

    font-size:
        clamp(46px, 5vw, 66px);

    line-height:
        1.06;

    font-weight:
        950;

    letter-spacing:
        -2px;

}


.rs-gallery-modern
.rs-gallery-title span {

    display:
        block;

    margin-top:
        5px;

    background:
        linear-gradient(
            90deg,
            #0284c7,
            #4f46e5 55%,
            #8b5cf6
        );

    background-clip:
        text;

    -webkit-background-clip:
        text;

    color:
        transparent;

}


/*=========================================================
 SUBTITLE
=========================================================*/

.rs-gallery-modern
.rs-gallery-sub {

    max-width:
        760px;

    margin:
        20px auto 0;

    color:
        #64748b;

    font-size:
        17px;

    line-height:
        1.75;

}


/*=========================================================
 HIGHLIGHT ROW
=========================================================*/

.rs-gallery-highlights {

    margin-top:
        22px;

    display:
        flex;

    justify-content:
        center;

    flex-wrap:
        wrap;

    gap:
        8px;

}


.rs-gallery-highlights > span {

    min-height:
        36px;

    padding:
        0 11px;

    display:
        inline-flex;

    align-items:
        center;

    gap:
        6px;

    border:
        1px solid #e6ebf1;

    border-radius:
        999px;

    background:
        rgba(255, 255, 255, .86);

    color:
        #475569;

    font-size:
        12px;

    font-weight:
        750;

}


.rs-gallery-highlights i {

    color:
        #4f46e5;

}


/*=========================================================
 FILTER TOOLBAR
=========================================================*/

.rs-gallery-filter-wrap {

    margin:
        38px 0 24px;

    padding:
        12px 13px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        20px;

    border:
        1px solid #e6ebf1;

    border-radius:
        17px;

    background:
        rgba(255, 255, 255, .85);

    box-shadow:
        0 10px 30px
        rgba(15, 23, 42, .045);

}


/*=========================================================
 FILTER COPY
=========================================================*/

.rs-gallery-filter-copy {

    display:
        flex;

    align-items:
        center;

    gap:
        10px;

    flex:
        0 0 auto;

}


.rs-gallery-filter-icon {

    width:
        38px;

    height:
        38px;

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        11px;

    background:
        linear-gradient(
            145deg,
            #eef2ff,
            #ecfeff
        );

    color:
        #4f46e5;

}


.rs-gallery-filter-copy > div {

    display:
        flex;

    flex-direction:
        column;

}


.rs-gallery-filter-copy strong {

    color:
        #0f172a;

    font-size:
        14px;

    line-height:
        1.3;

    font-weight:
        900;

}


.rs-gallery-filter-copy span {

    margin-top:
        2px;

    color:
        #64748b;

    font-size:
        11px;

}


/*=========================================================
 FILTERS

 Existing class preserved.
=========================================================*/

.rs-gallery-modern
.rs-gallery-filters {

    margin:
        0;

    display:
        flex;

    align-items:
        center;

    justify-content:
        flex-end;

    flex-wrap:
        wrap;

    gap:
        7px;

}


.rs-gallery-modern
.rs-gallery-filters span {

    min-height:
        38px;

    padding:
        0 11px;

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    border:
        1px solid #e2e8f0;

    border-radius:
        999px;

    background:
        #ffffff;

    color:
        #475569;

    font-size:
        12px;

    line-height:
        1.2;

    font-weight:
        800;

    cursor:
        pointer;

    transform:
        none;

    transition:
        border-color .2s ease,
        background .2s ease,
        color .2s ease,
        box-shadow .2s ease;

}


.rs-gallery-modern
.rs-gallery-filters span:hover {

    transform:
        none;

    border-color:
        rgba(79, 70, 229, .18);

    background:
        #f8faff;

    color:
        #4338ca;

}


.rs-gallery-modern
.rs-gallery-filters span.active {

    border-color:
        transparent;

    background:
        linear-gradient(
            135deg,
            #4f46e5,
            #0ea5e9
        );

    color:
        #ffffff;

    box-shadow:
        0 8px 20px
        rgba(79, 70, 229, .17);

}


/*=========================================================
 GRID
=========================================================*/

.rs-gallery-modern
.rs-gallery-grid {

    display:
        grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    grid-auto-rows:
        245px;

    gap:
        16px;

}


/*=========================================================
 CARDS
=========================================================*/

.rs-gallery-modern
.gallery-card {

    position:
        relative;

    min-width:
        0;

    min-height:
        0;

    overflow:
        hidden;

    border:
        1px solid rgba(255, 255, 255, .60);

    border-radius:
        24px;

    background:
        #e2e8f0;

    box-shadow:
        0 15px 40px
        rgba(15, 23, 42, .09);

    isolation:
        isolate;

}


/*=========================================================
 LARGE / WIDE
=========================================================*/

.rs-gallery-modern
.gallery-card.large {

    grid-column:
        span 2;

    grid-row:
        span 2;

    min-height:
        0;

}


.rs-gallery-modern
.gallery-card.wide {

    grid-column:
        span 2;

}


/*=========================================================
 IMAGE
=========================================================*/

.rs-gallery-modern
.gallery-card img {

    width:
        100%;

    height:
        100%;

    display:
        block;

    object-fit:
        cover;

    transform:
        scale(1.001);

    transition:
        transform .55s ease,
        filter .55s ease;

}


/* stable hover */

@media (hover: hover) and (pointer: fine) {

    .rs-gallery-modern
    .gallery-card:hover img {

        transform:
            scale(1.045);

        filter:
            saturate(1.06);

    }

}


/*=========================================================
 OVERLAY
=========================================================*/

.rs-gallery-modern
.gallery-overlay {

    position:
        absolute;

    inset:
        0;

    padding:
        18px;

    display:
        flex;

    flex-direction:
        column;

    justify-content:
        space-between;

    background:
        linear-gradient(
            to top,
            rgba(7, 15, 28, .88) 0%,
            rgba(7, 15, 28, .32) 48%,
            rgba(7, 15, 28, .10) 100%
        );

}


/*=========================================================
 CARD TOP
=========================================================*/

.rs-gallery-card-top {

    display:
        flex;

    justify-content:
        space-between;

    align-items:
        flex-start;

    gap:
        10px;

}


/*=========================================================
 BADGE
=========================================================*/

.rs-gallery-modern
.gallery-badge {

    margin:
        0;

    padding:
        6px 9px;

    display:
        inline-flex;

    align-items:
        center;

    border:
        1px solid rgba(255, 255, 255, .22);

    border-radius:
        999px;

    background:
        rgba(255, 255, 255, .14);

    color:
        #ffffff;

    backdrop-filter:
        blur(10px);

    -webkit-backdrop-filter:
        blur(10px);

    font-size:
        10px;

    line-height:
        1.2;

    font-weight:
        800;

}


/*=========================================================
 VIEW BUTTON
=========================================================*/

.rs-gallery-view-btn {

    width:
        35px;

    height:
        35px;

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    flex:
        0 0 35px;

    border:
        1px solid rgba(255, 255, 255, .22);

    border-radius:
        11px;

    background:
        rgba(15, 23, 42, .34);

    color:
        #ffffff;

    backdrop-filter:
        blur(10px);

    -webkit-backdrop-filter:
        blur(10px);

    cursor:
        pointer;

    font-size:
        12px;

    transition:
        background .2s ease,
        border-color .2s ease;

}


.rs-gallery-view-btn:hover {

    background:
        rgba(255, 255, 255, .17);

    border-color:
        rgba(255, 255, 255, .40);

}


/*=========================================================
 OVERLAY COPY
=========================================================*/

.rs-gallery-overlay-copy {

    position:
        relative;

    z-index:
        2;

}


.rs-gallery-card-kicker {

    display:
        block;

    margin-bottom:
        6px;

    color:
        rgba(226, 232, 240, .80);

    font-size:
        10px;

    line-height:
        1.2;

    font-weight:
        900;

    letter-spacing:
        .9px;

}


/*=========================================================
 TITLE
=========================================================*/

.rs-gallery-modern
.gallery-overlay h3 {

    margin:
        0;

    color:
        #ffffff;

    font-size:
        21px;

    line-height:
        1.25;

    font-weight:
        900;

    letter-spacing:
        -.4px;

}


.rs-gallery-modern
.gallery-card.large
.gallery-overlay h3 {

    font-size:
        clamp(27px, 3vw, 36px);

}


/*=========================================================
 CARD DESCRIPTION
=========================================================*/

.rs-gallery-modern
.gallery-overlay p {

    width:
        fit-content;

    max-width:
        100%;

    margin:
        8px 0 0;

    padding:
        6px 9px;

    border:
        1px solid rgba(255, 255, 255, .14);

    border-radius:
        999px;

    background:
        rgba(255, 255, 255, .10);

    color:
        rgba(248, 250, 252, .90);

    font-size:
        11px;

    line-height:
        1.35;

    font-weight:
        650;

}


/*=========================================================
 VIDEO PLAY BUTTON

 Existing class preserved.
=========================================================*/

.rs-gallery-modern
.play-button {

    width:
        50px;

    height:
        50px;

    margin:
        0 0 12px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border:
        1px solid rgba(255, 255, 255, .24);

    border-radius:
        50%;

    background:
        rgba(255, 255, 255, .15);

    color:
        #ffffff;

    font-size:
        18px;

    backdrop-filter:
        blur(12px);

    -webkit-backdrop-filter:
        blur(12px);

    animation:
        none;

    box-shadow:
        none;

}


/*=========================================================
 DESTINATION TAGS
=========================================================*/

.rs-gallery-modern
.rs-gallery-tags {

    margin-top:
        26px;

    display:
        flex;

    flex-wrap:
        wrap;

    justify-content:
        center;

    gap:
        8px;

}


.rs-gallery-modern
.rs-gallery-tags span {

    min-height:
        39px;

    padding:
        0 12px;

    display:
        inline-flex;

    align-items:
        center;

    border:
        1px solid #e5eaf1;

    border-radius:
        999px;

    background:
        #ffffff;

    color:
        #475569;

    box-shadow:
        0 7px 20px
        rgba(15, 23, 42, .045);

    font-size:
        12px;

    line-height:
        1.2;

    font-weight:
        750;

    transform:
        none;

    transition:
        border-color .2s ease,
        background .2s ease,
        color .2s ease;

}


.rs-gallery-modern
.rs-gallery-tags span:hover {

    transform:
        none;

    border-color:
        rgba(79, 70, 229, .17);

    background:
        #f8faff;

    color:
        #4338ca;

}


/*=========================================================
 JOURNEY CTA
=========================================================*/

.rs-gallery-journey-cta {

    margin-top:
        25px;

    padding:
        17px 18px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        20px;

    border:
        1px solid #e5eaf1;

    border-radius:
        19px;

    background:
        rgba(255, 255, 255, .86);

    box-shadow:
        0 11px 34px
        rgba(15, 23, 42, .05);

}


/*=========================================================
 JOURNEY COPY
=========================================================*/

.rs-gallery-journey-copy {

    display:
        flex;

    align-items:
        center;

    gap:
        11px;

}


.rs-gallery-journey-icon {

    width:
        43px;

    height:
        43px;

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    flex:
        0 0 43px;

    border-radius:
        12px;

    background:
        linear-gradient(
            145deg,
            #eef2ff,
            #ecfeff
        );

    color:
        #4f46e5;

}


.rs-gallery-journey-copy strong {

    display:
        block;

    color:
        #0f172a;

    font-size:
        15px;

    line-height:
        1.35;

    font-weight:
        900;

}


.rs-gallery-journey-copy p {

    margin:
        3px 0 0;

    color:
        #64748b;

    font-size:
        12px;

    line-height:
        1.5;

}


/*=========================================================
 CTA ACTIONS
=========================================================*/

.rs-gallery-journey-actions {

    display:
        flex;

    align-items:
        center;

    gap:
        8px;

}


.rs-gallery-action {

    min-height:
        43px;

    padding:
        0 13px;

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        7px;

    border-radius:
        11px;

    font-family:
        inherit;

    font-size:
        12px;

    font-weight:
        850;

    text-decoration:
        none;

    cursor:
        pointer;

}


.rs-gallery-action.secondary {

    border:
        1px solid #e2e8f0;

    background:
        #ffffff;

    color:
        #475569;

}


.rs-gallery-action.primary {

    border:
        0;

    background:
        linear-gradient(
            135deg,
            #4f46e5,
            #6366f1 58%,
            #0ea5e9
        );

    color:
        #ffffff;

    box-shadow:
        0 9px 22px
        rgba(79, 70, 229, .18);

}


/*=========================================================
 LIGHTBOX
=========================================================*/

.rs-gallery-lightbox {

    position:
        fixed;

    inset:
        0;

    z-index:
        99999;

    display:
        none;

    align-items:
        center;

    justify-content:
        center;

    padding:
        24px;

}


.rs-gallery-lightbox.active {

    display:
        flex;

}


/*=========================================================
 BACKDROP
=========================================================*/

.rs-gallery-lightbox-backdrop {

    position:
        absolute;

    inset:
        0;

    background:
        rgba(2, 6, 23, .78);

    backdrop-filter:
        blur(12px);

    -webkit-backdrop-filter:
        blur(12px);

}


/*=========================================================
 LIGHTBOX DIALOG
=========================================================*/

.rs-gallery-lightbox-dialog {

    position:
        relative;

    z-index:
        2;

    width:
        min(1000px, 100%);

    max-height:
        calc(100vh - 48px);

    overflow:
        hidden;

    border:
        1px solid rgba(255, 255, 255, .12);

    border-radius:
        24px;

    background:
        #0b1220;

    box-shadow:
        0 30px 100px
        rgba(0, 0, 0, .42);

}


/*=========================================================
 LIGHTBOX IMAGE
=========================================================*/

.rs-gallery-lightbox-image-wrap {

    height:
        min(68vh, 680px);

    background:
        #020617;

}


.rs-gallery-lightbox-image-wrap img {

    width:
        100%;

    height:
        100%;

    display:
        block;

    object-fit:
        contain;

}


/*=========================================================
 LIGHTBOX CLOSE
=========================================================*/

.rs-gallery-lightbox-close {

    position:
        absolute;

    top:
        14px;

    right:
        14px;

    z-index:
        5;

    width:
        40px;

    height:
        40px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border:
        1px solid rgba(255, 255, 255, .18);

    border-radius:
        12px;

    background:
        rgba(15, 23, 42, .72);

    color:
        #ffffff;

    cursor:
        pointer;

}


/*=========================================================
 LIGHTBOX INFO
=========================================================*/

.rs-gallery-lightbox-info {

    padding:
        17px 20px 19px;

}


.rs-gallery-lightbox-info span {

    color:
        #7dd3fc;

    font-size:
        10px;

    line-height:
        1.2;

    font-weight:
        900;

    letter-spacing:
        1px;

    text-transform:
        uppercase;

}


.rs-gallery-lightbox-info h3 {

    margin:
        5px 0 0;

    color:
        #ffffff;

    font-size:
        24px;

    line-height:
        1.3;

    font-weight:
        900;

}


/*=========================================================
 BODY LOCK
=========================================================*/

body.rs-gallery-lightbox-open {

    overflow:
        hidden;

}


/*=========================================================
 TABLET
=========================================================*/

@media (max-width: 980px) {

    .rs-gallery-filter-wrap {

        align-items:
            flex-start;

        flex-direction:
            column;

    }


    .rs-gallery-modern
    .rs-gallery-filters {

        justify-content:
            flex-start;

    }


    .rs-gallery-modern
    .rs-gallery-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

    }

}


/*=========================================================
 MOBILE
=========================================================*/

@media (max-width: 700px) {

    .rs-gallery-2026.rs-gallery-modern {

        padding:
            80px 15px;

    }


    .rs-gallery-modern
    .rs-gallery-title {

        font-size:
            clamp(37px, 10vw, 48px);

        letter-spacing:
            -1.5px;

    }


    .rs-gallery-modern
    .rs-gallery-sub {

        font-size:
            15px;

    }


    .rs-gallery-filter-copy span {

        display:
            none;

    }


    .rs-gallery-modern
    .rs-gallery-grid {

        grid-template-columns:
            1fr;

        grid-auto-rows:
            auto;

        gap:
            13px;

    }


    .rs-gallery-modern
    .gallery-card,
    .rs-gallery-modern
    .gallery-card.large,
    .rs-gallery-modern
    .gallery-card.wide {

        grid-column:
            auto;

        grid-row:
            auto;

        min-height:
            310px;

    }


    .rs-gallery-modern
    .gallery-card.large {

        min-height:
            410px;

    }


    .rs-gallery-modern
    .gallery-overlay h3 {

        font-size:
            21px;

    }


    .rs-gallery-modern
    .gallery-card.large
    .gallery-overlay h3 {

        font-size:
            28px;

    }


    .rs-gallery-journey-cta {

        align-items:
            stretch;

        flex-direction:
            column;

    }


    .rs-gallery-journey-actions {

        display:
            grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

    }

}


/*=========================================================
 SMALL MOBILE
=========================================================*/

@media (max-width: 470px) {

    .rs-gallery-highlights {

        display:
            grid;

        grid-template-columns:
            1fr 1fr;

    }


    .rs-gallery-highlights > span {

        justify-content:
            center;

        text-align:
            center;

        font-size:
            10px;

    }


    .rs-gallery-journey-actions {

        grid-template-columns:
            1fr;

    }


    .rs-gallery-action {

        width:
            100%;

    }


    .rs-gallery-lightbox {

        padding:
            12px;

    }


    .rs-gallery-lightbox-image-wrap {

        height:
            55vh;

    }

}


/*=========================================================
 REDUCED MOTION
=========================================================*/

@media (prefers-reduced-motion: reduce) {

    .rs-gallery-modern
    .gallery-card img {

        transition:
            none !important;

    }

}