
/* ========================================
   NEWS CATEGORY - FELIX NGUYEN SHOP
======================================== */

.news-category-page {
    color: #242424;
    background: #ffffff;
}

.news-category-page .news-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

/* HERO */

.news-category-hero {
    padding: 42px 0 58px;
    background: #202020;
    color: #ffffff;
}

.news-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 38px;
    color: #bdbdbd;
    font-size: 13px;
    line-height: 1.6;
}

.news-breadcrumb a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.news-breadcrumb a:hover {
    color: #ed6b16;
}

.news-breadcrumb span:last-child {
    color: #ed6b16;
}

.news-category-hero-content {
    max-width: 820px;
}

.news-category-hero-content h1 {
    margin: 0 0 16px;
    color: #ffffff;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.25;
    font-weight: 800;
}

.news-category-hero-content p {
    max-width: 760px;
    margin: 0;
    color: #dedede;
    font-size: 16px;
    line-height: 1.8;
}

/* CATEGORY NAVIGATION */

.news-category-navigation {
    padding: 38px 0;
    border-bottom: 1px solid #eeeeee;
    background: #ffffff;
}

.news-category-nav-heading {
    margin-bottom: 18px;
}

.news-category-nav-heading h2 {
    margin: 0;
    color: #242424;
    font-size: 19px;
    font-weight: 700;
}

.news-category-page .news-category-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 16px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    background: #ffffff;
    color: #333333;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.news-category-page .news-category-link:hover,
.news-category-page .news-category-link.active {
    border-color: #ed6b16;
    background: #ed6b16;
    color: #ffffff;
}

/* ARTICLE SECTION */

.news-category-articles {
    padding: 52px 0 64px;
}

.news-category-page .news-section-heading {
    margin-bottom: 30px;
}

.news-category-page .news-section-heading h2 {
    margin: 0 0 12px;
    color: #242424;
    font-size: clamp(24px, 3vw, 30px);
    line-height: 1.35;
    font-weight: 800;
}

.news-category-page .news-section-heading p {
    margin: 0;
    color: #666666;
    font-size: 15px;
    line-height: 1.7;
}

/* ARTICLE GRID */

.news-category-page .news-article-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.news-category-page .news-article-card {
    overflow: hidden;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    background: #ffffff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-category-page .news-article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.news-category-page .news-article-image {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #f2f2f2;
}

.news-category-page .news-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-category-page .news-article-card:hover
.news-article-image img {
    transform: scale(1.04);
}

.news-category-page .news-article-content {
    padding: 20px;
}

.news-category-page .news-article-category {
    display: inline-block;
    margin-bottom: 10px;
    color: #ed6b16;
    font-size: 12px;
    font-weight: 700;
}

.news-category-page .news-article-title {
    margin: 0 0 12px;
    font-size: 18px;
    line-height: 1.5;
    font-weight: 700;
}

.news-category-page .news-article-title a {
    color: #242424;
    text-decoration: none;
}

.news-category-page .news-article-title a:hover {
    color: #ed6b16;
}

.news-category-page .news-article-summary {
    margin: 0 0 16px;
    color: #666666;
    font-size: 14px;
    line-height: 1.7;
}

.news-category-page .news-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: #888888;
    font-size: 12px;
}

/* EMPTY STATE */

.news-category-page .news-empty-state {
    padding: 56px 24px;
    border: 1px dashed #dddddd;
    border-radius: 8px;
    background: #f7f7f7;
    text-align: center;
}

.news-category-page .news-empty-state h3 {
    margin: 0 0 10px;
    color: #333333;
    font-size: 20px;
}

.news-category-page .news-empty-state p {
    max-width: 520px;
    margin: 0 auto;
    color: #777777;
    font-size: 14px;
    line-height: 1.7;
}

/* RESPONSIVE */

@media (max-width: 900px) {
    .news-category-page .news-article-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
}

@media (max-width: 600px) {
    .news-category-page .news-container {
        width: min(100% - 28px, 1180px);
    }

    .news-category-hero {
        padding: 30px 0 42px;
    }

    .news-breadcrumb {
        margin-bottom: 26px;
        gap: 7px;
    }

    .news-category-navigation {
        padding: 28px 0;
    }

    .news-category-articles {
        padding: 36px 0 44px;
    }

    .news-category-page .news-article-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .news-category-page .news-article-content {
        padding: 16px;
    }
}
