/* ========================================================================== */
/* NEWS PAGE                                                    */
/* ========================================================================== */

.news-wrapper {
    padding: 0;
    margin: 0;
}


/*  section 1: HERO */

.news-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    margin-left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    overflow: hidden;
}

.news-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(3, 47, 79, 0.85), rgba(10, 75, 121, 0.75));
    z-index: 2;
}

.news-hero::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 48px;
    background: white;
    border-top-left-radius: 48px;
    border-top-right-radius: 48px;
    z-index: 6;
}

.news-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    z-index: 1;
}

.news-hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 100px 40px;
    margin-bottom: 100px;
    text-align: center;
}

.news-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.14rem;
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0.85;
    margin-bottom: 12px;
}

.news-hero h1 {
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 16px;
}

.news-hero-text {
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}


/* section 2: FILTER */

.news-filter-section {
    display: flex;
    justify-content: center;
    margin-top: 90px;
    margin-bottom: 80px;
}

.news-filter {
    background: #f5f8fb;
    padding: 6px;
    border-radius: 14px;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.news-filter-option {
    border: none;
    background: transparent;
    padding: 12px 22px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #48687f;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.news-filter-option:hover {
    background: rgba(79, 139, 255, 0.08);
}

.news-filter-option.active {
    background: #4f8bff;
    color: white;
    box-shadow: 0 4px 12px rgba(79, 139, 255, 0.45);
}


/* section 3: NEWS GRID */

.news-item-section {
    max-width: 1200px;
    margin: 0 auto 160px auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.news-item {
    background: white;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.news-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
}

.news-item-image {
    height: 160px;
    background: linear-gradient(135deg, #eef3ff, #dfe9ff);
}

.news-item-content {
    padding: 22px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-item-content h3 {
    font-size: 1.15rem;
    font-weight: 650;
    color: #032f4f;
    margin-bottom: 8px;
}

.news-excerpt {
    font-size: 0.95rem;
    color: #48687f;
    line-height: 1.5;
    margin-bottom: 18px;
}

.news-meta {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-date {
    font-size: 0.85rem;
    color: #7a8fa3;
}

.news-read-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    background: #4f8bff;
    color: white;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    white-space: nowrap;
    height: 28px;
}

.news-read-more:hover {
    background: #3b78f0;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(79, 139, 255, 0.45);
}

/* ---- Responsive Breakpoints ---- */

@media (max-width: 991.98px) {
    .news-item-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .news-filter-section {
        margin-top: 50px;
        margin-bottom: 40px;
    }
}

@media (max-width: 575.98px) {
    .news-item-section {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 16px;
    }

    .news-hero-content {
        padding: 80px 24px;
        margin-bottom: 40px;
    }

    .news-hero h1 {
        font-size: 1.8rem;
    }

    .news-hero-text {
        font-size: 0.95rem;
    }

    .news-filter-section {
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .news-filter {
        padding: 4px;
        gap: 4px;
    }

    .news-filter-option {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
}