.home-gallery-section {
    position: relative;
    padding: 95px 0;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(202, 149, 67, 0.09),
            transparent 32%
        ),
        #fffaf3;
}

.home-gallery-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 35px;
}

.home-gallery-heading > div {
    max-width: 720px;
}

.home-gallery-eyebrow {
    display: block;
    margin-bottom: 10px;
    color: #b57925;
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .08em;
}

.home-gallery-heading h2 {
    margin: 0 0 12px;
    color: #392614;
    font-size: clamp(
        2rem,
        4vw,
        3.25rem
    );
    font-weight: 700;
}

.home-gallery-heading p {
    max-width: 650px;
    margin: 0;
    color: #7e6c58;
    font-size: 1.02rem;
    line-height: 1.8;
}


/* View All */

.home-gallery-view-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 11px 20px;
    border: 1px solid #d9c29e;
    border-radius: 999px;
    background: #ffffff;
    color: #8f5d19;
    font-weight: 600;
    text-decoration: none;
    transition: all .25s ease;
}

.home-gallery-view-all:hover {
    border-color: #a96d1c;
    background: #a96d1c;
    color: #ffffff;
}


/* Filters */

.home-gallery-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 30px;
}

.home-gallery-filter {
    padding: 8px 17px;
    border: 1px solid #e3d2b7;
    border-radius: 999px;
    background: rgba(
        255,
        255,
        255,
        .75
    );
    color: #72502b;
    font-size: .9rem;
    font-weight: 600;
    transition: all .2s ease;
}

.home-gallery-filter:hover,
.home-gallery-filter.active {
    border-color: #ad7323;
    background: #ad7323;
    color: #ffffff;
}


/* Card */

.home-gallery-card {
    position: relative;
    height: 360px;
    overflow: hidden;
    border-radius: 24px;
    background: #342413;
    box-shadow:
        0 20px 50px
        rgba(55, 37, 17, .12);
}

.home-gallery-card-featured {
    height: 440px;
}

.home-gallery-image-wrapper {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    color: #ffffff;
    text-decoration: none;
}

.home-gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        transform .55s ease;
}

.home-gallery-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(
            135deg,
            #62421d,
            #2f2012
        );
    color: rgba(
        255,
        255,
        255,
        .65
    );
    font-size: 4rem;
}

.home-gallery-card:hover
.home-gallery-image {
    transform: scale(1.06);
}


/* Overlay */

.home-gallery-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to top,
            rgba(24, 14, 5, .92) 0%,
            rgba(24, 14, 5, .50) 45%,
            rgba(24, 14, 5, .08) 75%
        );
}


/* Featured */

.home-gallery-featured {
    position: absolute;
    top: 18px;
    left: 18px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(
        255,
        255,
        255,
        .93
    );
    color: #a76d1d;
    font-size: .78rem;
    font-weight: 700;
}


/* Content */

.home-gallery-content {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 25px;
}

.home-gallery-category {
    display: block;
    margin-bottom: 7px;
    color: #f1c470;
    font-size: .8rem;
    font-weight: 700;
}

.home-gallery-content h3 {
    max-width: 650px;
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 650;
    line-height: 1.35;
}

.home-gallery-card-featured
.home-gallery-content h3 {
    font-size: clamp(
        1.6rem,
        3vw,
        2.25rem
    );
}

.home-gallery-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: rgba(
        255,
        255,
        255,
        .76
    );
    font-size: .83rem;
}

.home-gallery-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.home-gallery-open {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 15px;
    color: #ffffff;
    font-size: .88rem;
    font-weight: 600;
}


/* Filtering */

.home-gallery-item {
    transition:
        opacity .25s ease,
        transform .25s ease;
}

.home-gallery-item.gallery-hidden {
    display: none;
}


/* Responsive */

@media (
    max-width: 991.98px
) {
    .home-gallery-section {
        padding: 75px 0;
    }

    .home-gallery-heading {
        display: block;
    }

    .home-gallery-card,
    .home-gallery-card-featured {
        height: 360px;
    }
}

@media (
    max-width: 767.98px
) {
    .home-gallery-section {
        padding: 60px 0;
    }

    .home-gallery-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 7px;
        scrollbar-width: none;
    }

    .home-gallery-filters::-webkit-scrollbar {
        display: none;
    }

    .home-gallery-filter {
        flex: 0 0 auto;
    }

    .home-gallery-card,
    .home-gallery-card-featured {
        height: 320px;
        border-radius: 19px;
    }

    .home-gallery-content {
        padding: 20px;
    }
}