/**
 * Category Header Styles
 */

.mc_category_header {
    position: relative;
    width: 100%;
    height: 435px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.mc_category_header_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay */
    z-index: 1;
}

.mc_category_header_content {
    position: relative;
    z-index: 2;

    max-width: 1620px;
    width: 100%;
    padding: 0 20px;
}

.mc_category_title {
    color: #FCFCFC;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 64px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    margin-bottom: 20px;
}

.mc_category_breadcrumbs {
    color: #FCFCFC;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 19px;
}

.mc_category_breadcrumbs a {
    color: #FCFCFC;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.mc_category_breadcrumbs a:hover {
    opacity: 0.8;
}

.mc_category_breadcrumbs span {
    color: #FCFCFC;
}

/* Hide mobile content by default (show only on small screens) */
.mc_mobile_content {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .mc_category_title {
        font-size: 42px;
    }
    
    .mc_category_header {
        height: 250px;
    }
}

/* Mobile adjustments */
@media (max-width: 480px) {
    /* Restructure layout for mobile */
    .mc_category_header {
        height: 250px;
        margin-bottom: 0;
        align-items: flex-start; /* Move content to top */
    }
    
    .mc_category_header_content {
        display: none; /* Hide content inside header */
    }
    
    /* Create a new container for mobile content below the image */
    .mc_category_header::after {
        content: "";
        display: block;
        height: 100px; /* Space for content */
    }
    
    /* Add mobile content container */
    .mc_category_header + .mc_mobile_content {
        display: block;
        padding: 20px;
        text-align: center;
        margin-bottom: 40px;
    }
    
    /* Mobile title styling */
    .mc_mobile_content .mc_category_title {
        color: #252525;
        font-size: 36px;
        margin-bottom: 10px;
        text-align: center;
    }
    
    /* Mobile breadcrumbs styling */
    .mc_mobile_content .mc_category_breadcrumbs {
        color: #252525;
        font-size: 14px;
        text-align: center;
    }
    
    .mc_mobile_content .mc_category_breadcrumbs a {
        color: #252525;
    }
    
    .mc_mobile_content .mc_category_breadcrumbs span {
        color: #252525;
    }
}