/* Category page tweaks aligned with all_news.css */

.category-hero {
    padding: clamp(1.8rem, 4vw, 2.7rem) 0 1.35rem;
    border-bottom: 1px solid var(--news-line);
    background: linear-gradient(180deg, rgba(11, 99, 246, 0.05) 0%, rgba(11, 99, 246, 0) 70%);
}

.category-breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.45rem;
    margin: 0 0 0.8rem;
    font-size: 0.875rem;
    color: var(--news-muted);
}

.category-breadcrumb a {
    color: var(--news-accent);
    text-decoration: none;
}

.category-breadcrumb a:hover {
    text-decoration: underline;
}

.category-breadcrumb .separator {
    color: #94a3b8;
}

.category-title {
    margin: 0 0 0.55rem;
    text-align: center;
    color: var(--news-text);
    font-size: clamp(2rem, 4.2vw, 2.8rem);
    line-height: 1.15;
}

.category-subtitle {
    margin: 0 auto 1.15rem;
    max-width: 64ch;
    text-align: center;
    color: var(--news-muted);
    font-size: 1rem;
    line-height: 1.65;
}

.category-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.9rem;
}

.stat-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid var(--news-line);
    background: #fff;
    color: var(--news-muted);
    font-size: 0.83rem;
}

.stat-item i {
    color: var(--news-accent);
}

/* Two controls (search + sort) on category page */
.news-container .news-filters .search-form__row {
    grid-template-columns: minmax(0, 1fr) minmax(9.5rem, 11.5rem);
}

@media (max-width: 768px) {
    .news-container .news-filters .search-form__row {
        grid-template-columns: 1fr;
    }
}

