/* ====================== NEWS PAGE ====================== */
.news-page {
    background: #f8f9fa;
    min-height: 100vh;
}

/* ====================== HERO ====================== */
.news-hero {
    background: linear-gradient(rgba(11, 37, 69, 0.82), rgba(11, 37, 69, 0.75)),
                url('https://picsum.photos/id/1015/1920/600') center/cover no-repeat; /* Change to your real image */
    color: white;
    padding: 130px 20px 90px;
    text-align: center;
}

.news-hero .g-container {
    max-width: 1280px;
    margin: 0 auto;
}

.news-hero h1 {
    font-size: 3.1rem;
    margin-bottom: 16px;
    font-weight: 700;
}

.news-hero p {
    font-size: 1.25rem;
    max-width: 720px;
    margin: 0 auto;
    opacity: 0.95;
}

/* ====================== FILTERS ====================== */
.news-filters {
    margin: 40px 0 30px;
}

.news-filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    background: white;
    padding: 14px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
}

.news-filter-btn {
    padding: 12px 26px;
    border: none;
    background: #f1f3f5;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-filter-btn.active {
    background: #0b2545;
    color: white;
}

/* ====================== GRID ====================== */
.news-grid {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.news-grid .g-section-title {
    text-align: center;
    margin-bottom: 40px;
    color: #0b2545;
}

/* Ensure cards use the reusable component styles */
.g-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

/* ====================== RESPONSIVE ====================== */
@media (max-width: 1024px) {
    .news-hero h1 { font-size: 2.6rem; }
}

@media (max-width: 768px) {
    .news-hero {
        padding: 90px 15px 70px;
    }
    .news-hero h1 { font-size: 2.2rem; }
    
    .news-filter-pills {
        padding: 12px;
    }
}