

    .gallery {
        background: var(--bg-section);
        padding: 60px 0 70px;
        position: relative;
    }

    .gallery .section-title {
        font-size: clamp(1.9rem, 3.6vw, 2.6rem);
        line-height: 1.15;
        margin-bottom: 10px;
    }

    .gallery .section-sub {
        max-width: 560px;
        margin: 0 auto;
        font-size: .97rem;
        line-height: 1.7;
    }

    .filter-pills {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }

    .filter-pill {
        flex: 0 0 auto;
        border: 1px solid var(--border-soft);
        background: #fff;
        color: var(--text-black);
        font-weight: 600;
        font-size: .88rem;
        padding: 9px 22px;
        border-radius: 50px;
        white-space: nowrap;
        transition: all .25s ease;
        cursor: pointer;
    }

    .filter-pill:hover {
        border-color: var(--primary);
        color: var(--primary);
        transform: translateY(-1px);
    }

    .filter-pill.active {
        background: var(--primary);
        border-color: var(--primary);
        color: #fff;
        box-shadow: 0 8px 18px rgba(232, 35, 42, .25);
    }

    .gallery-masonry {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        width: 100%;
    }

    .g-tile {
        width: calc((100% - 20px) / 3);
        height: 260px;
        border-radius: 14px;
        overflow: hidden;
        background: #f1f1f1;
       
    }

    .g-tile img {
        width: 100%;
        height: 100%;
        object-position: center;
        display: block;
        transition: transform .5s ease;
    }

    .g-tile:hover img {
        transform: scale(1.03);
    }

    .load-more-wrap {
        display: flex;
        justify-content: center;
        margin-top: 34px;
    }

    .load-more-btn {
        background: var(--primary);
        color: #fff;
        font-weight: 700;
        font-size: .92rem;
        padding: 12px 30px;
        border-radius: 50px;
        cursor: pointer;
        border:none !important;
        transition: all .25s ease;
    }

    .load-more-btn:hover {
        
        box-shadow: 0 8px 18px rgba(232, 35, 42, .25);
    }

    .load-more-btn:disabled {
        display: none;
    }

    .hero-banner {
        position: relative;
        width: 100%;
        height: 55vh;
        min-height: 420px;
        overflow: hidden;
    }

    .hero-banner img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
    }

    .hero-banner::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg,
                rgba(20, 20, 26, 0) 55%,
                rgba(20, 20, 26, .45) 100%);
    }

    .hero-banner .banner-caption {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 26px;
        z-index: 2;
        color: #fff;
        text-align: center;
        padding: 0 20px;
    }

    .hero-banner .banner-caption span {
        display: inline-block;
        font-family: "Plus Jakarta Sans", sans-serif;
        font-weight: 700;
        font-size: 1rem;
        letter-spacing: 2px;
        text-transform: uppercase;
        background: rgba(20, 20, 26, .35);
        backdrop-filter: blur(3px);
        padding: 8px 22px;
        border-radius: 50px;
    }

    @media (max-width: 1199.98px) {

        .gallery-masonry {
            gap: 12px;
        }

        .g-tile {
            height: 250px;
        }
    }

    @media (max-width: 991.98px) {

        .gallery {
            padding: 75px 0 65px;
        }

        .gallery-masonry {
            gap: 12px;
        }

        .g-tile {
            height: 240px;
            border-radius: 12px;
        }

        .hero-banner {
            height: 48vh;
            min-height: 360px;
        }
    }

    @media (max-width: 767.98px) {

        .gallery {
            padding: 65px 0 55px;
        }

        .gallery .section-sub {
            font-size: .9rem;
            padding: 0 10px;
        }

        .filter-pills {
            flex-wrap: nowrap;
            justify-content: flex-start;
            overflow-x: auto;
            overflow-y: hidden;
            gap: 8px;
            padding: 4px 12px 10px;
            margin-left: -12px;
            margin-right: -12px;
            scrollbar-width: none;
            -webkit-overflow-scrolling: touch;
        }

        .filter-pills::-webkit-scrollbar {
            display: none;
        }

        .filter-pill {
            flex: 0 0 auto;
            padding: 9px 18px;
            font-size: .84rem;
        }

        .gallery-masonry {

            gap: 10px;
        }

        .g-tile {
            width: 300px;
            height: 220px;
            border-radius: 11px;
        }

        .g-tile img {
            width: 100%;
            height: 100%;

        }

        .load-more-wrap {
            margin-top: 28px;
        }

        .load-more-btn {
            padding: 11px 26px;
            font-size: .86rem;
        }

        .hero-banner {
            height: 40vh;
            min-height: 280px;
        }

        .hero-banner .banner-caption {
            bottom: 18px;
            padding: 0 15px;
        }

        .hero-banner .banner-caption span {
            font-size: .78rem;
            letter-spacing: 1.2px;
            padding: 7px 15px;
        }
    }

    @media (max-width: 575.98px) {

        .gallery {
            padding: 35px 0 45px;
        }

        .gallery-masonry {
            flex-direction: column;
            gap: 5px;
        }

        .g-tile {
            width: 290px;
            height: 230px;
            border-radius: 10px;
        }

        .g-tile img {
            width: 100%;
            height: 100%;

        }

        .hero-banner {
            height: 36vh;
            min-height: 240px;
        }

        .hero-banner .banner-caption span {
            font-size: .7rem;
            letter-spacing: 1px;
            padding: 6px 13px;
        }
    }

    @media (max-width: 400px) {

        .g-tile {
            height: 210px;
        }

        .filter-pill {
            padding: 8px 16px;
            font-size: .8rem;
        }
    }