/* ================= PAGE BASE ================= */

.news-page {
    background: #f4f6f8;
    min-height: 100vh;
}

.g-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================= HERO ================= */

.news-hero {
    padding: 70px 0 40px;
    text-align: center;
}

.news-hero h1 {
    font-size: 2.6rem;
    color: #1d3557;
}

.news-hero p {
    color: #6b7280;
    margin-top: 10px;
}

/* ================= FILTERS ================= */

.news-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 30px 0 40px;
}

.filter-btn {
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    transition: 0.2s ease;
}

.filter-btn:hover {
    transform: translateY(-2px);
}

.filter-btn.active {
    background: #1d3557;
    color: #fff;
    border-color: #1d3557;
}

/* ================= FEATURED STORY ================= */

.featured-story {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 30px;

    background: #fff;
    border-radius: 18px;
    overflow: hidden;

    margin-bottom: 35px;
    border: 1px solid #e6edf5;
}

.featured-content {
    padding: 35px;
}

.featured-tag {
    display: inline-block;
    background: #e63946;
    color: #fff;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    margin-bottom: 15px;
}

.featured-content h2 {
    font-size: 1.8rem;
    color: #1d3557;
    margin-bottom: 15px;
}

.featured-content p {
    color: #4b5563;
    line-height: 1.6;
}

.featured-btn {
    display: inline-block;
    margin-top: 20px;
    color: #457b9d;
    font-weight: 600;
}

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

/* ================= GRID ================= */

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    padding-bottom: 60px;
}

/* ================= CARD ================= */

.news-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e6edf5;
    padding: 22px;

    display: flex;
    flex-direction: column;

    transition: 0.2s ease;
    min-height: 220px;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.news-meta {
    margin-bottom: 10px;
}

.news-type {
    font-size: 12px;
    background: #eef2ff;
    padding: 4px 10px;
    border-radius: 999px;
    color: #1d3557;
}

.news-card h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
    color: #1d3557;
    line-height: 1.4;
}

.excerpt {
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.5;
}

.read-more {
    margin-top: auto;
    padding-top: 15px;
    font-weight: 600;
    color: #457b9d;
    text-decoration: none;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1000px) {

    .featured-story {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {

    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-hero h1 {
        font-size: 2rem;
    }
}