/* ======================================
   FEATURED TITLE
====================================== */

.featured-title {
    height: 120px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #fafaf3;

    text-align: center;

    box-sizing: border-box;
}

.featured-title h2 {
    margin: 0;

    color: #0b1f17;

    font-family: 'Inter', sans-serif;

    font-size: 18px;

    font-weight: 500;

    letter-spacing: 4px;

    text-transform: uppercase;

    line-height: 1;
}


/* ======================================
   FEATURED CATEGORIES
====================================== */

.featured-categories {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 0;

    margin: 0;
}


/* ======================================
   CATEGORY CARD
====================================== */

.category-card {
    position: relative;

    display: block;

    overflow: hidden;

    text-decoration: none;

    color: #fff;
}


/* ======================================
   CATEGORY IMAGE
====================================== */

.category-card img {
    display: block;

    width: 100%;

    height: 650px;

    object-fit: cover;

    transition: transform .6s ease;
}


/* ======================================
   IMAGE HOVER
====================================== */

.category-card:hover img {
    transform: scale(1.03);
}


/* ======================================
   CATEGORY CONTENT
====================================== */

.category-content {
    position: absolute;

    left: 35px;
    bottom: 35px;

    z-index: 5;
}

.category-content span {
    display: block;

    margin-bottom: 12px;

    color: #fff;

    font-size: 12px;

    letter-spacing: 3px;

    text-transform: uppercase;
}

.category-content h3 {
    margin: 0;

    color: #fff;

    font-size: 28px;

    font-weight: 400;
}


/* ======================================
   DARK IMAGE OVERLAY
====================================== */

.category-card::after {
    content: "";

    position: absolute;

    inset: 0;

    z-index: 2;

    pointer-events: none;

    background: linear-gradient(
        to top,
        rgba(0, 0, 0, .55),
        rgba(0, 0, 0, .15),
        transparent
    );
}


/* ======================================
   MOBILE
====================================== */

@media (max-width: 768px) {

    .featured-title {
        height: 100px;
    }

    .featured-title h2 {
        font-size: 15px;

        letter-spacing: 3px;
    }

    .featured-categories {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-card img {
        height: 500px;
    }

}