/* ============================================================
   GOD PAUL FOUNDATION
   NEWS PAGE
   ============================================================ */

.news-page {
    width: 100%;
    overflow: hidden;

    background:
        #edf6f0;
}


/* ============================================================
   HERO
   ============================================================ */

.news-hero {
    position: relative;

    padding:
        95px 0;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #1d5939 0%,
            #2e7d54 55%,
            #477f85 100%
        );
}


.news-hero-pattern {
    position: absolute;

    inset: 0;

    opacity: 0.12;

    background-image:
        linear-gradient(
            rgba(255,255,255,0.1) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,0.1) 1px,
            transparent 1px
        );

    background-size:
        60px 60px;
}


.news-hero-content {
    position: relative;

    max-width: 760px;

    z-index: 2;
}


.news-eyebrow {
    display: block;

    margin-bottom: 12px;

    color:
        #bdebd1;

    font-size: 0.75rem;

    font-weight: 700;

    letter-spacing: 2.3px;
}


.news-hero h1 {
    position: relative;

    margin:
        0 0 22px;

    padding-bottom: 16px;

    color:
        #ffffff;

    font-size:
        clamp(
            2.8rem,
            6vw,
            4.5rem
        );

    line-height: 1.08;
}


.news-hero h1::after {
    content: '';

    position: absolute;

    left: 0;
    bottom: 0;

    width: 82px;
    height: 5px;

    border-radius: 10px;

    background:
        linear-gradient(
            90deg,
            var(--primary-green),
            var(--primary-blue)
        );
}


.news-hero p {
    margin: 0;

    color:
        rgba(255,255,255,0.9);

    font-size: 1rem;

    line-height: 1.8;
}


/* ============================================================
   ARCHIVE
   ============================================================ */

.news-archive {
    padding:
        90px 0 110px;

    background:
        linear-gradient(
            135deg,
            #deefe5,
            #e7f4eb 45%,
            #e2f1f7 100%
        );
}


.news-archive-header {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 50px;

    margin-bottom: 34px;
}


.section-label {
    display: block;

    margin-bottom: 7px;

    color:
        var(--primary-green);

    font-size: 0.73rem;

    font-weight: 700;

    letter-spacing: 2px;
}


.news-archive-header h2 {
    margin: 0;

    color:
        #1e5337;

    font-size:
        clamp(
            2rem,
            4vw,
            3rem
        );
}


.news-archive-header > p {
    max-width: 430px;

    margin: 0;

    color:
        #597064;

    font-size: 0.9rem;

    line-height: 1.7;

    text-align: right;
}


/* ============================================================
   FILTERS
   ============================================================ */

.news-filters {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin-bottom: 42px;
}


.news-filter {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding:
        10px 17px;

    border:
        1px solid
        rgba(60,179,113,0.18);

    border-radius: 30px;

    background:
        rgba(255,255,255,0.62);

    color:
        #38674d;

    font-size: 0.8rem;

    font-weight: 600;

    text-decoration: none;

    transition:
        all 0.3s ease;
}


.news-filter:hover,
.news-filter.active {
    color:
        #ffffff;

    background:
        var(--primary-green);

    border-color:
        var(--primary-green);
}


/* ============================================================
   GRID
   ============================================================ */

.news-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 26px;
}


/* ============================================================
   CARD
   ============================================================ */

.news-card {
    overflow: hidden;

    border:
        1px solid
        rgba(60,179,113,0.13);

    border-radius: 18px;

    background:
        linear-gradient(
            180deg,
            #f9fcfa,
            #edf6f1
        );

    box-shadow:
        0 13px 34px
        rgba(29,76,48,0.07);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}


.news-card:nth-child(even) {
    background:
        linear-gradient(
            180deg,
            #f8fcfe,
            #eaf4f8
        );
}


.news-card:hover {
    transform:
        translateY(-7px);

    box-shadow:
        0 24px 48px
        rgba(29,76,48,0.13);
}


/* ============================================================
   IMAGE
   ============================================================ */

.news-card-image {
    position: relative;

    display: block;

    height: 230px;

    overflow: hidden;
}


.news-card-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.6s ease;
}


.news-card:hover
.news-card-image img {

    transform:
        scale(1.05);
}


.news-card-image-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(18,66,41,0.48),
            transparent 55%
        );
}


.news-card-category {
    position: absolute;

    left: 17px;
    bottom: 16px;

    padding:
        7px 12px;

    border-radius: 20px;

    color:
        #ffffff;

    background:
        var(--primary-green);

    font-size: 0.68rem;

    font-weight: 700;

    letter-spacing: 0.6px;
}


/* ============================================================
   CARD BODY
   ============================================================ */

.news-card-body {
    padding:
        23px 23px 25px;
}


.news-card-date {
    display: flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 12px;

    color:
        #74867c;

    font-size: 0.75rem;
}


.news-card-date i {
    color:
        var(--primary-green);
}


.news-card h3 {
    margin:
        0 0 13px;

    font-size: 1.12rem;

    line-height: 1.5;
}


.news-card h3 a {
    color:
        #285f40;

    text-decoration: none;
}


.news-card p {
    margin:
        0 0 20px;

    color:
        #586d60;

    font-size: 0.87rem;

    line-height: 1.75;
}


.news-read-more {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    color:
        var(--dark-green);

    font-size: 0.82rem;

    font-weight: 700;

    text-decoration: none;
}


.news-read-more i {
    transition:
        transform 0.3s ease;
}


.news-read-more:hover i {
    transform:
        translateX(4px);
}


/* ============================================================
   PAGINATION
   ============================================================ */

.news-pagination {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 18px;

    margin-top: 50px;
}


.pagination-button {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding:
        10px 16px;

    border-radius: 30px;

    color:
        #ffffff;

    background:
        var(--dark-green);

    font-size: 0.8rem;

    font-weight: 600;

    text-decoration: none;
}


.pagination-current {
    color:
        #50685a;

    font-size: 0.82rem;

    font-weight: 600;
}


/* ============================================================
   EMPTY STATE
   ============================================================ */

.news-empty {
    padding:
        70px 25px;

    border:
        1px dashed
        rgba(60,179,113,0.28);

    border-radius: 18px;

    background:
        rgba(255,255,255,0.52);

    text-align: center;
}


.news-empty-icon {
    width: 66px;
    height: 66px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin:
        0 auto 18px;

    border-radius: 50%;

    color:
        #ffffff;

    background:
        var(--primary-green);

    font-size: 1.4rem;
}


.news-empty h3 {
    margin:
        0 0 8px;

    color:
        #285f40;
}


.news-empty p {
    margin: 0;

    color:
        #64766c;

    font-size: 0.9rem;
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 992px) {

    .news-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .news-archive-header {
        align-items: flex-start;

        flex-direction: column;

        gap: 13px;
    }


    .news-archive-header > p {
        text-align: left;
    }

}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 768px) {

    .news-hero {
        padding:
            70px 0;
    }


    .news-archive {
        padding:
            70px 0 85px;
    }


    .news-grid {
        grid-template-columns: 1fr;
    }


    .news-card-image {
        height: 250px;
    }

}


/* ============================================================
   SMALL MOBILE
   ============================================================ */

@media (max-width: 480px) {

    .news-hero h1 {
        font-size: 2.3rem;
    }


    .news-card-image {
        height: 210px;
    }


    .news-pagination {
        flex-wrap: wrap;
    }

}