/*=========================================================
GALLERY PAGE
=========================================================*/


/*=========================================================
GALLERY HERO
=========================================================*/

.gallery-page-banner{

    position:relative;

    margin-top:50px;

    min-height:520px;

    display:flex;

    align-items:center;

    justify-content:center;

    overflow:hidden;

    background:
        linear-gradient(
            135deg,
            rgba(8,35,66,.90),
            rgba(47,109,246,.82)
        ),
        url('../images/banner/gallery-banner.jpg')
        center center / cover no-repeat;

}


/*=========================================================
HERO OVERLAY
=========================================================*/

.gallery-banner-overlay{

    position:absolute;

    inset:0;

    background:
        linear-gradient(
            135deg,
            rgba(47,109,246,.12),
            rgba(255,193,7,.08)
        );

}


/*=========================================================
HERO CONTENT
=========================================================*/

.gallery-banner-content{

    position:relative;

    z-index:2;

    max-width:800px;

    margin:auto;

    padding:40px 20px;

    text-align:center;

    color:#ffffff;

}


/*=========================================================
SECTION TAG
=========================================================*/

.gallery-banner-content .section-tag{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:10px 22px;

    margin-bottom:20px;

    border-radius:50px;

    background:rgba(255,255,255,.14);

    color:#ffffff;

    font-size:14px;

    font-weight:700;

    letter-spacing:1.5px;

}


/*=========================================================
HEADING
=========================================================*/

.gallery-banner-content h1{

    margin:0 0 25px;

    color:#ffffff;

    font-size:58px;

    font-weight:800;

    line-height:1.2;

}


/*=========================================================
DESCRIPTION
=========================================================*/

.gallery-banner-content p{

    max-width:760px;

    margin:0 auto;

    color:rgba(255,255,255,.92);

    font-size:18px;

    line-height:1.9;

}


/*=========================================================
BREADCRUMB
=========================================================*/

.gallery-breadcrumb{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:12px;

    margin-top:35px;

    font-weight:600;

}


.gallery-breadcrumb a{

    color:#ffc107;

    text-decoration:none;

    transition:.3s ease;

}


.gallery-breadcrumb a:hover{

    color:#ffffff;

}


.gallery-breadcrumb span{

    color:#ffffff;

}


/*=========================================================
TABLET
=========================================================*/

@media(max-width:991px){

    .gallery-page-banner{

        margin-top:110px;

        min-height:450px;

    }

    .gallery-banner-content h1{

        font-size:46px;

    }

}


/*=========================================================
MOBILE
=========================================================*/

@media(max-width:768px){

    .gallery-page-banner{

        margin-top:100px;

        min-height:380px;

    }

    .gallery-banner-content{

        padding:30px 20px;

    }

    .gallery-banner-content h1{

        font-size:36px;

    }

    .gallery-banner-content p{

        font-size:16px;

        line-height:1.7;

    }

}
/*=========================================================
GALLERY INTRODUCTION
=========================================================*/

.gallery-intro{

    padding:100px 0 60px;

    background:#ffffff;

}


.gallery-intro-content{

    max-width:800px;

    margin:0 auto;

    text-align:center;

}


.gallery-intro-content .section-tag{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:9px 20px;

    margin-bottom:20px;

    border-radius:50px;

    background:rgba(47,109,246,.08);

    color:#2f6df6;

    font-size:13px;

    font-weight:700;

    letter-spacing:1.5px;

}


.gallery-intro-content h2{

    margin:0 0 20px;

    color:#12355b;

    font-size:44px;

    font-weight:800;

    line-height:1.25;

}


.gallery-intro-content p{

    max-width:720px;

    margin:0 auto;

    color:#68768b;

    font-size:17px;

    line-height:1.9;

}


/*=========================================================
GALLERY SECTION
=========================================================*/

.gallery-section{

    padding:40px 0 110px;

    background:#f8fbff;

}


/*=========================================================
GALLERY FILTERS
=========================================================*/

.gallery-filters{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:12px;

    flex-wrap:wrap;

    margin-bottom:50px;

}


.gallery-filter{

    border:1px solid #dce6f2;

    background:#ffffff;

    color:#12355b;

    padding:12px 24px;

    border-radius:50px;

    font-size:15px;

    font-weight:600;

    cursor:pointer;

    transition:.3s ease;

}


.gallery-filter:hover{

    border-color:#2f6df6;

    color:#2f6df6;

}


.gallery-filter.active{

    background:linear-gradient(
        135deg,
        #0b4da1,
        #2f6df6
    );

    border-color:transparent;

    color:#ffffff;

    box-shadow:0 8px 20px rgba(47,109,246,.20);

}


/*=========================================================
GALLERY GRID
=========================================================*/

.gallery-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:25px;

}


/*=========================================================
GALLERY ITEM
=========================================================*/

.gallery-item{

    overflow:hidden;

    border-radius:22px;

    background:#ffffff;

    box-shadow:0 12px 35px rgba(17,62,120,.08);

}


/*=========================================================
IMAGE
=========================================================*/

.gallery-image{

    position:relative;

    width:100%;

    height:300px;

    overflow:hidden;

}


.gallery-image img{

    width:100%;

    height:100%;

    display:block;

    object-fit:cover;

    transition:transform .5s ease;

}


.gallery-item:hover .gallery-image img{

    transform:scale(1.08);

}


/*=========================================================
IMAGE OVERLAY
=========================================================*/

.gallery-overlay{

    position:absolute;

    inset:0;

    display:flex;

    align-items:center;

    justify-content:center;

    background:rgba(8,35,66,.55);

    opacity:0;

    transition:.35s ease;

}


.gallery-item:hover .gallery-overlay{

    opacity:1;

}


.gallery-overlay span{

    width:60px;

    height:60px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    background:#ffc107;

    color:#12355b;

    font-size:20px;

    transform:translateY(15px);

    transition:.35s ease;

}


.gallery-item:hover .gallery-overlay span{

    transform:translateY(0);

}


/*=========================================================
TABLET
=========================================================*/

@media(max-width:991px){

    .gallery-grid{

        grid-template-columns:repeat(2,1fr);

    }

    .gallery-intro-content h2{

        font-size:38px;

    }

}


/*=========================================================
MOBILE
=========================================================*/

@media(max-width:768px){

    .gallery-intro{

        padding:75px 20px 45px;

    }

    .gallery-intro-content h2{

        font-size:32px;

    }

    .gallery-intro-content p{

        font-size:16px;

    }

    .gallery-section{

        padding:35px 20px 80px;

    }

    .gallery-filters{

        gap:8px;

        margin-bottom:35px;

    }

    .gallery-filter{

        padding:10px 18px;

        font-size:14px;

    }

    .gallery-grid{

        grid-template-columns:1fr;

        gap:20px;

    }

    .gallery-image{

        height:260px;

    }

}
/*=========================================================
    GALLERY ANIMATION
=========================================================*/

.gallery-item{

    opacity:1;

    transform:translateY(0);

    transition:
        opacity .3s ease,
        transform .3s ease;

}

.gallery-item.gallery-visible{

    opacity:1;

    transform:translateY(0);

}


/*=========================================================
    LIGHTBOX
=========================================================*/

.gallery-lightbox{

    position:fixed;

    inset:0;

    z-index:99999;

    display:flex;

    align-items:center;

    justify-content:center;

    padding:40px;

    background:rgba(5,20,38,.94);

    opacity:0;

    visibility:hidden;

    transition:
        opacity .3s ease,
        visibility .3s ease;

}


.gallery-lightbox.active{

    opacity:1;

    visibility:visible;

}


/*=========================================================
    LIGHTBOX IMAGE
=========================================================*/

.gallery-lightbox-content{

    position:relative;

    max-width:1100px;

    max-height:85vh;

    display:flex;

    align-items:center;

    justify-content:center;

}


.gallery-lightbox-content img{

    max-width:100%;

    max-height:85vh;

    width:auto;

    height:auto;

    display:block;

    border-radius:12px;

    object-fit:contain;

    box-shadow:
        0 30px 80px rgba(0,0,0,.45);

    transition:opacity .2s ease;

}


/*=========================================================
    CLOSE BUTTON
=========================================================*/

.gallery-lightbox-close{

    position:absolute;

    top:25px;

    right:30px;

    width:50px;

    height:50px;

    border:none;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    background:rgba(255,255,255,.12);

    color:#ffffff;

    font-size:20px;

    cursor:pointer;

    transition:.3s ease;

    z-index:3;

}


.gallery-lightbox-close:hover{

    background:#ffc107;

    color:#12355b;

    transform:rotate(90deg);

}


/*=========================================================
    PREVIOUS / NEXT
=========================================================*/

.gallery-lightbox-prev,
.gallery-lightbox-next{

    position:absolute;

    top:50%;

    transform:translateY(-50%);

    width:55px;

    height:55px;

    border:none;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    background:rgba(255,255,255,.12);

    color:#ffffff;

    font-size:20px;

    cursor:pointer;

    transition:.3s ease;

    z-index:3;

}


.gallery-lightbox-prev{

    left:30px;

}


.gallery-lightbox-next{

    right:30px;

}


.gallery-lightbox-prev:hover,
.gallery-lightbox-next:hover{

    background:#ffc107;

    color:#12355b;

}


/*=========================================================
    PREVENT PAGE SCROLL
=========================================================*/

.gallery-lightbox-open{

    overflow:hidden;

}


/*=========================================================
    MOBILE
=========================================================*/

@media(max-width:768px){

    .gallery-lightbox{

        padding:25px 15px;

    }

    .gallery-lightbox-content{

        max-width:100%;

        max-height:80vh;

    }

    .gallery-lightbox-content img{

        max-height:80vh;

        border-radius:8px;

    }

    .gallery-lightbox-close{

        top:15px;

        right:15px;

        width:45px;

        height:45px;

    }

    .gallery-lightbox-prev,
    .gallery-lightbox-next{

        width:45px;

        height:45px;

        font-size:16px;

    }

    .gallery-lightbox-prev{

        left:12px;

    }

    .gallery-lightbox-next{

        right:12px;

    }

}
/*=========================================================
    GALLERY CTA
=========================================================*/

.gallery-cta{

    padding:100px 0;

    background:#f8fbff;

}

.gallery-cta-wrapper{

    position:relative;

    overflow:hidden;

    text-align:center;

    padding:85px 60px;

    border-radius:35px;

    background:
        radial-gradient(
            circle at top left,
            rgba(255,255,255,.10),
            transparent 40%
        ),
        linear-gradient(
            135deg,
            #0b4da1,
            #2f6df6
        );

    box-shadow:
        0 30px 70px rgba(17,62,120,.15);

}

/* Decorative circle */

.gallery-cta-wrapper::before{

    content:"";

    position:absolute;

    width:300px;

    height:300px;

    border-radius:50%;

    background:rgba(255,255,255,.06);

    top:-150px;

    left:-100px;

}

/* Decorative gold circle */

.gallery-cta-wrapper::after{

    content:"";

    position:absolute;

    width:250px;

    height:250px;

    border-radius:50%;

    background:rgba(255,193,7,.10);

    bottom:-130px;

    right:-80px;

}

.gallery-cta-wrapper > *{

    position:relative;

    z-index:2;

}


/*=========================================================
    TAG
=========================================================*/

.gallery-cta .section-tag{

    display:inline-block;

    padding:8px 22px;

    margin-bottom:20px;

    border-radius:50px;

    background:rgba(255,255,255,.15);

    color:#fff;

}


/*=========================================================
    HEADING
=========================================================*/

.gallery-cta-wrapper h2{

    max-width:850px;

    margin:0 auto 20px;

    color:#fff;

    font-size:48px;

    line-height:1.25;

    font-weight:800;

}


/*=========================================================
    TEXT
=========================================================*/

.gallery-cta-wrapper p{

    max-width:780px;

    margin:0 auto 40px;

    color:rgba(255,255,255,.92);

    font-size:18px;

    line-height:1.9;

}


/*=========================================================
    BUTTONS
=========================================================*/

.gallery-cta-buttons{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:20px;

    flex-wrap:wrap;

}


/*=========================================================
    MOBILE
=========================================================*/

@media(max-width:768px){

    .gallery-cta{

        padding:70px 0;

    }

    .gallery-cta-wrapper{

        padding:60px 25px;

    }

    .gallery-cta-wrapper h2{

        font-size:32px;

    }

    .gallery-cta-wrapper p{

        font-size:16px;

    }

    .gallery-cta-buttons{

        flex-direction:column;

        width:100%;

    }

    .gallery-cta-buttons .theme-btn,
    .gallery-cta-buttons .btn-outline{

        width:100%;

        max-width:280px;

        justify-content:center;

    }

}
css
/* =========================================================
   LCSF GALLERY — FINAL REDESIGN
========================================================= */


/* =========================================================
   BREADCRUMB
========================================================= */

.gallery-breadcrumb {
    background: #f5f9fd;
    border-top: 1px solid #edf2f7;
    border-bottom: 1px solid #e4ecf4;
    padding: 14px 0;
}

.gallery-breadcrumb-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #657d95;
    font-size: 14px;
    font-weight: 600;
}

.gallery-breadcrumb-inner a {
    color: #176fd2;
    text-decoration: none;
    transition: color .2s ease;
}

.gallery-breadcrumb-inner a:hover {
    color: #17375f;
}

.gallery-breadcrumb-inner i {
    color: #9aabba;
    font-size: 10px;
}

.gallery-breadcrumb-inner span {
    color: #657d95;
}


/* =========================================================
   LCSF GALLERY — COMPACT FEATURED SECTION
========================================================= */

.gallery-featured {
    background: #ffffff;
    padding: 28px 0 45px;
}

.gallery-featured-card {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    height: 500px;
    min-height: 360px;
    border-radius: 0 0 24px 24px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 14px 40px rgba(12, 42, 82, 0.09);
}

.gallery-featured-image {
    position: relative;
    height: 500px;
    min-height: 360px;
    overflow: hidden;
}

.gallery-featured-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.gallery-featured-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #edf3f9;
    color: #1d70d5;
    font-size: 46px;
}

.gallery-featured-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 35px 45px;
    background: #ffffff;
}

.gallery-eyebrow {
    display: inline-block;
    margin-bottom: 13px;
    color: #146fd1;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}

.gallery-featured-content h1 {
    margin: 0 0 18px;
    color: #17375f;
    font-size: clamp(30px, 3vw, 44px);
    line-height: 1.12;
    font-weight: 800;
}

.gallery-featured-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 22px;
    color: #355779;
    font-size: 14px;
}

.gallery-featured-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.gallery-featured-meta i {
    color: #146fd1;
}

.gallery-primary-btn {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    width: fit-content;
    padding: 13px 23px;
    border-radius: 8px;
    background: #176fd2;
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all .25s ease;
}

.gallery-primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(23, 111, 210, .22);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .gallery-featured-card {
        height: 330px;
        min-height: 330px;
        grid-template-columns: 1fr 1fr;
    }

    .gallery-featured-image {
        height: 330px;
        min-height: 330px;
    }

    .gallery-featured-content {
        padding: 30px 35px;
    }

    .gallery-featured-content h1 {
        font-size: 36px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 800px) {

    .gallery-featured {
        padding: 20px 0 40px;
    }

    .gallery-featured-card {
        display: block;
        height: auto;
        min-height: auto;
        border-radius: 0 0 20px 20px;
    }

    .gallery-featured-image {
        height: 270px;
        min-height: 270px;
    }

    .gallery-featured-content {
        padding: 28px 25px 32px;
    }

    .gallery-featured-content h1 {
        font-size: 32px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 600px) {

    .gallery-featured-image {
        height: 230px;
        min-height: 230px;
    }

    .gallery-featured-content {
        padding: 25px 20px 30px;
    }

    .gallery-featured-content h1 {
        font-size: 28px;
    }

    .gallery-featured-meta {
        flex-direction: column;
        gap: 8px;
        margin-bottom: 18px;
    }

}


/* =========================================================
   PRIMARY BUTTON
========================================================= */

.gallery-primary-btn {
    display: inline-flex;
    align-items: center;

    gap: 12px;

    width: fit-content;

    padding: 13px 23px;

    border-radius: 8px;

    background: #176fd2;

    color: #ffffff !important;

    font-size: 15px;
    font-weight: 700;

    text-decoration: none;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}

.gallery-primary-btn:hover {
    transform: translateY(-2px);

    background: #125fb7;

    box-shadow:
        0 9px 22px rgba(23, 111, 210, .22);
}


/* =========================================================
   MOMENTS SECTION
========================================================= */

.gallery-moments {
    padding: 52px 0 80px;

    background: #f5f9fd;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.gallery-section-heading {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 34px;
}

.gallery-section-heading h2 {
    margin: 0;

    color: #17375f;

    font-size: clamp(34px, 4vw, 48px);

    line-height: 1.08;

    font-weight: 800;
}


/* =========================================================
   CATEGORY SLIDER
========================================================= */

.gallery-category-slider {
    display: flex;

    align-items: center;

    gap: 8px;

    min-width: 0;

    max-width: 680px;
}


/* =========================================================
   CATEGORY WINDOW
========================================================= */

.gallery-category-window {
    min-width: 0;

    overflow-x: auto;
    overflow-y: hidden;

    scroll-behavior: smooth;

    scrollbar-width: none;

    -ms-overflow-style: none;
}

.gallery-category-window::-webkit-scrollbar {
    display: none;
}


/* =========================================================
   CATEGORY CONTAINER
========================================================= */

.gallery-categories {
    display: flex;

    align-items: center;

    justify-content: flex-start;

    flex-wrap: nowrap;

    gap: 9px;

    width: max-content;
}


/* =========================================================
   CATEGORY BUTTON
========================================================= */

.gallery-category {
    flex: 0 0 auto;

    border: 1px solid #d6e1ee;

    background: #ffffff;

    color: #17375f;

    padding: 11px 19px;

    border-radius: 8px;

    cursor: pointer;

    white-space: nowrap;

    font-size: 14px;

    font-weight: 700;

    transition:
        color .25s ease,
        background .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

.gallery-category:hover {
    border-color: #176fd2;

    color: #176fd2;
}

.gallery-category.active {
    background: #176fd2;

    border-color: #176fd2;

    color: #ffffff;

    box-shadow:
        0 7px 17px rgba(23, 111, 210, .18);
}


/* =========================================================
   CATEGORY ARROWS
========================================================= */

.gallery-category-arrow {
    flex: 0 0 38px;

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #d6e1ee;

    border-radius: 50%;

    background: #ffffff;

    color: #176fd2;

    cursor: pointer;

    font-size: 12px;

    transition:
        background .25s ease,
        color .25s ease,
        border-color .25s ease,
        box-shadow .25s ease,
        opacity .25s ease;
}

.gallery-category-arrow:hover:not(:disabled) {
    background: #176fd2;

    border-color: #176fd2;

    color: #ffffff;

    box-shadow:
        0 7px 17px rgba(23, 111, 210, .18);
}

.gallery-category-arrow:disabled,
.gallery-category-arrow.disabled {
    opacity: .35;

    cursor: not-allowed;

    box-shadow: none;
}


/* =========================================================
   ALBUM GRID
========================================================= */

.gallery-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 26px;
}


/* =========================================================
   ALBUM CARD
========================================================= */

.gallery-card {
    overflow: hidden;

    border-radius: 18px;

    background: #ffffff;

    box-shadow:
        0 10px 30px rgba(12, 42, 82, .07);

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.gallery-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 18px 40px rgba(12, 42, 82, .12);
}


/* =========================================================
   CARD IMAGE
========================================================= */

.gallery-card-image {
    position: relative;

    display: block;

    height: 250px;

    overflow: hidden;

    text-decoration: none;

    background: #edf3f9;
}

.gallery-card-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform .45s ease;
}

.gallery-card:hover
.gallery-card-image img {
    transform: scale(1.05);
}


/* =========================================================
   CATEGORY BADGE
========================================================= */

.gallery-card-category {
    position: absolute;

    left: 16px;
    bottom: 16px;

    padding: 7px 12px;

    border-radius: 30px;

    background: rgba(255, 255, 255, .95);

    color: #176fd2;

    font-size: 12px;

    font-weight: 800;

    box-shadow:
        0 4px 12px rgba(12, 42, 82, .08);
}


/* =========================================================
   CARD CONTENT
========================================================= */

.gallery-card-content {
    padding: 22px 23px 24px;
}

.gallery-card-content h3 {
    margin: 0 0 16px;

    font-size: 20px;

    line-height: 1.3;
}

.gallery-card-content h3 a {
    color: #17375f;

    text-decoration: none;

    transition: color .2s ease;
}

.gallery-card-content h3 a:hover {
    color: #176fd2;
}


/* =========================================================
   CARD META
========================================================= */

.gallery-card-meta {
    display: flex;

    flex-wrap: wrap;

    gap: 10px 15px;

    padding-bottom: 17px;

    border-bottom: 1px solid #e5edf5;

    color: #59718c;

    font-size: 13px;
}

.gallery-card-meta span {
    display: inline-flex;

    align-items: center;

    gap: 6px;
}

.gallery-card-meta i {
    color: #176fd2;
}


/* =========================================================
   VIEW ALBUM
========================================================= */

.gallery-view-link {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-top: 17px;

    color: #176fd2;

    font-size: 14px;

    font-weight: 800;

    text-decoration: none;
}

.gallery-view-link i {
    transition:
        transform .2s ease;
}

.gallery-view-link:hover i {
    transform: translateX(4px);
}


/* =========================================================
   EMPTY STATES
========================================================= */

.gallery-empty,
.gallery-filter-empty {
    grid-column: 1 / -1;

    padding: 65px 20px;

    text-align: center;
}

.gallery-empty i,
.gallery-filter-empty i {
    display: block;

    margin-bottom: 17px;

    color: #176fd2;

    font-size: 46px;
}

.gallery-empty h3,
.gallery-filter-empty h3 {
    margin: 0 0 9px;

    color: #17375f;

    font-size: 25px;
}

.gallery-empty p,
.gallery-filter-empty p {
    max-width: 520px;

    margin: 0 auto;

    color: #657d95;

    line-height: 1.7;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .gallery-featured-card {
        grid-template-columns: 1fr 1fr;

        min-height: 360px;
    }

    .gallery-featured-image {
        min-height: 360px;
    }

    .gallery-featured-content {
        padding: 34px 36px;
    }

    .gallery-featured-content h1 {
        font-size: 36px;
    }

    .gallery-category-slider {
        max-width: 560px;
    }

    .gallery-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   MOBILE / TABLET
========================================================= */

@media (max-width: 850px) {

    .gallery-section-heading {
        align-items: flex-start;

        flex-direction: column;

        gap: 22px;
    }

    .gallery-category-slider {
        width: 100%;

        max-width: none;
    }

    .gallery-category-window {
        flex: 1;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    /* Breadcrumb */

    .gallery-breadcrumb {
        padding: 12px 0;
    }

    .gallery-breadcrumb-inner {
        font-size: 13px;
    }


    /* Featured */

    .gallery-featured {
        padding: 18px 0 42px;
    }

    .gallery-featured-card {
        display: block;

        min-height: auto;

        border-radius: 0 0 20px 20px;
    }

    .gallery-featured-image {
        height: 270px;

        min-height: 270px;
    }

    .gallery-featured-content {
        padding: 28px 23px 32px;
    }

    .gallery-eyebrow {
        margin-bottom: 11px;

        font-size: 12px;

        letter-spacing: 1.4px;
    }

    .gallery-featured-content h1 {
        margin-bottom: 17px;

        font-size: 29px;

        line-height: 1.15;
    }

    .gallery-featured-meta {
        flex-direction: column;

        align-items: flex-start;

        gap: 9px;

        margin-bottom: 21px;

        font-size: 13px;
    }

    .gallery-primary-btn {
        padding: 12px 20px;

        font-size: 14px;
    }


    /* Moments */

    .gallery-moments {
        padding: 42px 0 65px;
    }

    .gallery-section-heading {
        margin-bottom: 28px;
    }

    .gallery-section-heading h2 {
        font-size: 34px;
    }


    /* Category navigation */

    .gallery-category-slider {
        gap: 6px;
    }

    .gallery-category-arrow {
        flex-basis: 34px;

        width: 34px;
        height: 34px;

        font-size: 10px;
    }

    .gallery-category {
        padding: 10px 15px;

        font-size: 13px;
    }


    /* Cards */

    .gallery-grid {
        grid-template-columns: 1fr;

        gap: 20px;
    }

    .gallery-card-image {
        height: 235px;
    }

    .gallery-card-content {
        padding: 20px 20px 22px;
    }

    .gallery-card-content h3 {
        font-size: 19px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .gallery-featured-image {
        height: 240px;

        min-height: 240px;
    }

    .gallery-featured-content {
        padding: 25px 19px 29px;
    }

    .gallery-featured-content h1 {
        font-size: 26px;
    }

    .gallery-section-heading h2 {
        font-size: 31px;
    }

    .gallery-card-image {
        height: 215px;
    }

}
/* =========================================================
   GALLERY HERO
========================================================= */

.gallery-hero {
    position: relative;
    overflow: hidden;

    padding: 75px 0 80px;

    background:
        linear-gradient(
            135deg,
            #17375f 0%,
            #155fae 55%,
            #176fd2 100%
        );
}

.gallery-hero::before {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    right: -120px;
    top: -180px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.06);
}

.gallery-hero::after {
    content: "";

    position: absolute;

    width: 280px;
    height: 280px;

    left: -100px;
    bottom: -170px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.05);
}

.gallery-hero-content {
    position: relative;

    z-index: 2;

    max-width: 760px;
}

.gallery-hero-eyebrow {
    display: inline-block;

    margin-bottom: 14px;

    color: #ffffff;

    font-size: 14px;
    font-weight: 800;

    letter-spacing: 2px;

    text-transform: uppercase;

    opacity: .9;
}

.gallery-hero-content h1 {
    margin: 0 0 16px;

    color: #ffffff;

    font-size: clamp(42px, 5vw, 64px);

    line-height: 1.05;

    font-weight: 800;
}

.gallery-hero-content p {
    max-width: 650px;

    margin: 0;

    color: rgba(255, 255, 255, .88);

    font-size: 18px;

    line-height: 1.7;
}
/* =========================================================
   GALLERY HERO — HEADER OFFSET
========================================================= */

.gallery-hero {
    position: relative;

    margin-top: 0;

    padding: 190px 0 95px;

    background:
        linear-gradient(
            135deg,
            #17375f 0%,
            #155fae 55%,
            #176fd2 100%
        );

    overflow: hidden;
}

/* =========================================================
   FEATURED GALLERY SECTION
========================================================= */

.gallery-featured {
    background: #ffffff;

    padding: 55px 0 70px;
}

.gallery-featured-card {
    display: grid;

    grid-template-columns: 1.1fr .9fr;

    min-height: 390px;

    overflow: hidden;

    border-radius: 0 0 26px 26px;

    background: #ffffff;

    box-shadow:
        0 18px 45px rgba(12, 42, 82, .10);
}


/* =========================================================
   FEATURED IMAGE
========================================================= */

.gallery-featured-image {
    position: relative;

    min-height: 390px;

    overflow: hidden;

    background: #edf3f9;
}

.gallery-featured-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .5s ease;
}

.gallery-featured-card:hover .gallery-featured-image img {
    transform: scale(1.03);
}

.gallery-featured-placeholder {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    background: #edf3f9;

    color: #176fd2;

    font-size: 46px;
}


/* =========================================================
   FEATURED CONTENT
========================================================= */

.gallery-featured-content {
    display: flex;

    flex-direction: column;

    justify-content: center;

    padding: 42px 48px;

    background: #ffffff;
}

.gallery-eyebrow {
    display: inline-block;

    margin-bottom: 13px;

    color: #146fd1;

    font-size: 14px;

    font-weight: 800;

    letter-spacing: 1.7px;

    text-transform: uppercase;
}

.gallery-featured-content h1 {
    margin: 0 0 20px;

    color: #17375f;

    font-size: clamp(32px, 3vw, 46px);

    line-height: 1.12;

    font-weight: 800;
}


/* =========================================================
   FEATURED META
========================================================= */

.gallery-featured-meta {
    display: flex;

    flex-wrap: wrap;

    gap: 14px;

    margin-bottom: 25px;

    color: #355779;

    font-size: 14px;
}

.gallery-featured-meta span {
    display: inline-flex;

    align-items: center;

    gap: 7px;
}

.gallery-featured-meta i {
    color: #176fd2;
}


/* =========================================================
   FEATURED VIEW ALBUM BUTTON
========================================================= */

.gallery-primary-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    width: fit-content;

    padding: 13px 23px;

    border: none;

    border-radius: 8px;

    background: #176fd2;

    color: #ffffff !important;

    font-size: 15px;

    font-weight: 700;

    text-decoration: none;

    cursor: pointer;

    transition:
        transform .25s ease,
        background .25s ease,
        box-shadow .25s ease;
}

.gallery-primary-btn:hover {
    transform: translateY(-2px);

    background: #125fb7;

    color: #ffffff !important;

    box-shadow:
        0 9px 22px rgba(23, 111, 210, .22);
}

.gallery-primary-btn i {
    font-size: 14px;
}


/* =========================================================
   FEATURED RESPONSIVE — TABLET
========================================================= */

@media (max-width: 1100px) {

    .gallery-featured-card {
        grid-template-columns: 1fr 1fr;

        min-height: 360px;
    }

    .gallery-featured-image {
        min-height: 360px;
    }

    .gallery-featured-content {
        padding: 35px 36px;
    }

    .gallery-featured-content h1 {
        font-size: 36px;
    }

}


/* =========================================================
   HERO RESPONSIVE — TABLET
========================================================= */

@media (max-width: 991px) {

    .gallery-hero {
        padding: 60px 0 65px;
    }

    .gallery-hero-content h1 {
        font-size: 48px;
    }

}


/* =========================================================
   FEATURED RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 800px) {

    .gallery-featured {
        padding: 35px 0 50px;
    }

    .gallery-featured-card {
        display: block;

        min-height: auto;

        border-radius: 0 0 20px 20px;
    }

    .gallery-featured-image {
        height: 280px;

        min-height: 280px;
    }

    .gallery-featured-content {
        padding: 30px 25px 34px;
    }

    .gallery-featured-content h1 {
        font-size: 32px;
    }

}


/* =========================================================
   HERO RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 768px) {

    .gallery-hero {
        padding: 48px 0 52px;
    }

    .gallery-hero-eyebrow {
        font-size: 11px;

        letter-spacing: 1.5px;
    }

    .gallery-hero-content h1 {
        font-size: 40px;
    }

    .gallery-hero-content p {
        font-size: 15px;

        line-height: 1.6;
    }

}


/* =========================================================
   FEATURED RESPONSIVE — SMALL MOBILE
========================================================= */

@media (max-width: 600px) {

    .gallery-featured {
        padding: 25px 0 42px;
    }

    .gallery-featured-image {
        height: 240px;

        min-height: 240px;
    }

    .gallery-featured-content {
        padding: 27px 20px 30px;
    }

    .gallery-eyebrow {
        margin-bottom: 10px;

        font-size: 12px;

        letter-spacing: 1.4px;
    }

    .gallery-featured-content h1 {
        margin-bottom: 17px;

        font-size: 28px;

        line-height: 1.15;
    }

    .gallery-featured-meta {
        flex-direction: column;

        align-items: flex-start;

        gap: 9px;

        margin-bottom: 21px;

        font-size: 13px;
    }

    .gallery-primary-btn {
        padding: 12px 20px;

        font-size: 14px;
    }

}


/* =========================================================
   HERO RESPONSIVE — SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .gallery-hero-content h1 {
        font-size: 34px;
    }

    .gallery-featured-image {
        height: 220px;

        min-height: 220px;
    }

    .gallery-featured-content {
        padding: 25px 19px 29px;
    }

    .gallery-featured-content h1 {
        font-size: 26px;
    }

}