/* Knowledge Hub Category Page Styles */

/* ===============================
   CATEGORY HERO SECTION
   =============================== */
.category-hero-section {
    background: linear-gradient(135deg, #003d82 0%, #002952 100%);
    width: 100%;
    padding: 80px 0 60px 0;
    margin: 0;
    border-radius: 0 0 2.4rem 2.4rem;
}

.category-hero-container {
    width: 100%;
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.category-hero-content {
    flex: 1;
    max-width: 55%;
}

.category-hero-title {
    font-size: 64px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.category-hero-description {
    font-size: 1.8rem;
    color: #ffffff;
    line-height: 1.6;
    margin: 0 0 30px 0;
    opacity: 0.95;
}

/* Editorial Guidelines Link Styling */
.editorial-guidelines-link {
    display: inline-flex;
    color: #ffffff;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    text-decoration: none;
    transition: text-decoration 0.2s;
    gap: 0.5em;
    position: relative;
}

.editorial-guidelines-link:hover,
.editorial-guidelines-link:focus,
.editorial-guidelines-link:visited {
    color: #ffffff;
}

.editorial-guidelines-link:hover::before,
.editorial-guidelines-link:focus::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 24rem;
    height: 1px;
    background-color: #ffffff;
}

.editorial-guidelines-link .icon-arrow-right {
    color: #fff !important;
    fill: #fff !important;
    font-size: 1.5rem;
    margin-left: 0.25em;
    transition: color 0.2s;
    position: relative;
    z-index: 1;
}

.category-hero-image {
    flex-shrink: 0;
    width: 535px;
    aspect-ratio: 4 / 3;
    height: auto;
    background: #8b8b8b;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.category-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image-placeholder {
    font-size: 4rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
}



.kh-breadcrumb-current {
    color: #ffffff;
    font-weight: 600;
    pointer-events: none;
    white-space: nowrap;
    opacity: 0.9;
}


/* ===============================
   MOBILE RESPONSIVE DESIGN
   =============================== */

/* Tablet (1024px and below) */
@media (max-width: 1024px) {
    .category-hero-container {
        padding: 0 2rem;
        gap: 40px;
    }

    .category-hero-content {
        max-width: 60%;
    }

    .category-hero-title {
        font-size: 48px;
    }

    .category-hero-image {
        width: 380px;
        aspect-ratio: 4 / 3;
        height: auto;
    }

}

/* Mobile (768px and below) */
@media (max-width: 768px) {
    .category-hero-section {
        padding: 40px 0 50px 0;
    }

    .category-hero-container {
        flex-direction: column;
        padding: 0 2rem;
        gap: 30px;
    }

    .category-hero-content {
        max-width: 100%;
    }

    .category-hero-title {
        font-size: 3.2rem;
    }

    .category-hero-description {
        font-size: 1.6rem;
    }

    .category-hero-image {
        width: 100%;
        max-width: 400px;
        aspect-ratio: 4 / 3;
        height: auto;
    }


    .kh-breadcrumbs {
        padding: 0.75rem 0.5rem 0.25rem 0.5rem;
        font-size: 0.93rem;
    }

    .kh-breadcrumb-list {
        padding: 0 0.5rem;
    }

}

@media (min-width: 768px) {
    .category-hero-container {
        padding: 0 3rem;
    }

    .category-hero-section {
        padding: 120px 0 60px 0;
    }

    .category-hero-title {
        font-size: 64px;
    }

}

/* Mobile Small (480px and below) */
@media (max-width: 480px) {
    .category-hero-title {
        font-size: 2.8rem;
    }

    .category-hero-description {
        font-size: 1.5rem;
    }

    .editorial-guidelines-link {
        font-size: 1.4rem;
    }

    .category-hero-image {
        max-width: 320px;
    }
}
