/* =========================
   CATEGORY HERO
========================= */

.category-hero {
    position: relative;
    width: 100%;
    height: 340px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
}

.category-hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
}

.category-title {
    font-size: 40px !important;
    font-weight: 400 !important;
    line-height: 1.1 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: #ffffff !important;
    margin-bottom: 10px;
    letter-spacing: 1px;
    
}

.category-breadcrumb {
    font-size: 14px;
    color: #ffffff;
    margin: 0;
    opacity: 0.9;
}

.category-breadcrumb a {
    color: #ffffff;
    text-decoration: none;
}

.category-breadcrumb a:hover {
    color: #b8a46a;
}


/* =========================
   CATEGORY BLOG LISTING
========================= */

.category-blog-wrapper {
    max-width: 1120px;
    margin: 90px auto 95px;
    padding: 0 20px;
}

.category-blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.category-blog-card {
    background: #ffffff;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
    overflow: hidden;
}

.category-blog-image-wrap {
    position: relative;
    overflow: hidden;
}

.category-blog-image-wrap img {
    width: 100%;
    height: 235px;
    object-fit: cover;
    display: block;
}

.category-blog-date {
    position: absolute;
    top: 0;
    right: 0;
    background: #111111;
    color: #ffffff;
    padding: 8px 12px;
    font-size: 13px;
}

.category-blog-content {
    padding: 26px 28px 30px;
}

.category-blog-cat,
.category-blog-cat a {
    font-size: 12px;
    color: #777777;
    text-decoration: none;
}

.category-blog-title {
    font-size: 18px !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    margin: 10px 0 12px !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

.category-blog-title a {
    color: #111111;
    text-decoration: none;
}

.category-blog-title a:hover {
    color: #b8a46a;
}

.category-blog-excerpt {
    font-size: 13px;
    line-height: 1.55;
    color: #555555;
}

.category-blog-btn {
    display: inline-block;
    margin-top: 18px;
    background: #f5f5f5;
    color: #111111;
    padding: 9px 22px;
    font-size: 12px;
    text-decoration: none;
}

.category-blog-btn:hover {
    background: #b8a46a;
    color: #ffffff;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1024px) {
    .category-blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .category-hero {
        height: 280px;
        background-attachment: scroll;
    }

    .category-title {
        font-size: 38px !important;
    }

    .category-blog-grid {
        grid-template-columns: 1fr;
    }

    .category-blog-image-wrap img {
        height: 240px;
    }
}


/* =========================
   Slight gold accent on category label
========================= */
.category-blog-cat a:hover {
    color: #b8a46a;
}

/* =========================
   Smooth image zoom
========================= */
.category-blog-image-wrap img {
    transition: transform 0.4s ease;
}

.category-blog-card:hover img {
    transform: scale(1.05);
}

