/* =========================================================
   BERITA DESA MAKASARI
   Header dan Footer tetap menggunakan CSS lama
========================================================= */

.news-page {
    width: min(
        1080px,
        calc(100% - 48px)
    );

    margin:
        25px auto 75px;

    color: #171717;
}


/* =========================
   HEADING
========================= */

.news-heading {
    text-align: center;

    margin:
        34px 0 28px;
}

.news-heading h1 {
    font-size: 2.2rem;

    line-height: 1.15;

    margin-bottom: 9px;
}

.news-heading > p:last-child {
    font-size: .82rem;

    color: #666;
}


/* =========================
   FEATURED NEWS
========================= */

.featured-news {
    display: grid;

    grid-template-columns:
        1.1fr .9fr;

    min-height: 390px;

    border-radius: 14px;

    overflow: hidden;

    background: #f3f7f4;

    box-shadow:
        0 12px 30px
        rgba(0,0,0,.07);

    margin-bottom: 55px;
}


.featured-image {
    min-height: 390px;

    background-size: cover;

    background-position: center;
}

.featured-copy {
    padding: 45px;

    display: flex;

    flex-direction: column;

    justify-content: center;
}


.news-tag {
    display: inline-flex;

    width: max-content;

    color: #087d32;

    font-size: .58rem;

    font-weight: 800;

    letter-spacing: .08em;

    background: #dff4e6;

    padding:
        6px 9px;

    border-radius: 99px;
}


.featured-copy h2 {

    font-family:
        var(--playfair);

    font-size: 2rem;

    line-height: 1.18;

    margin:
        14px 0;
}


.featured-copy p {

    font-size: .78rem;

    line-height: 1.8;

    color: #5b5b5b;

    max-width: 470px;
}


.news-meta {

    display: flex;

    justify-content:
        space-between;

    align-items: center;

    margin-top: 28px;

    font-size: .62rem;

    color: #777;
}


.news-meta a {

    color: #087d32;

    text-decoration: none;

    font-weight: 700;
}


/* =========================
   CONTENT
========================= */

.news-layout {

    display: grid;

    grid-template-columns:
        minmax(0,1fr)
        280px;

    gap: 45px;
}


.subheading {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 20px;
}


.subheading h2 {

    font-family:
        var(--playfair);

    font-size: 1.5rem;
}


.subheading span {

    font-size: .62rem;

    color: #087d32;
}


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

.news-grid {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 24px;
}


.news-card {

    overflow: hidden;

    border-radius: 12px;

    background: #fff;

    border:
        1px solid #ededed;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}


.news-card:hover {

    transform:
        translateY(-4px);

    box-shadow:
        0 12px 28px
        rgba(0,0,0,.08);
}


/* =========================
   IMAGE
========================= */

.card-image {

    height: 180px;

    background-size: cover;

    background-position: center;
}


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

.card-content {

    padding: 18px;
}


.card-content h3 {

    font-family:
        var(--playfair);

    font-size: 1.1rem;

    line-height: 1.3;

    margin:
        10px 0 7px;
}


.card-content p {

    font-size: .68rem;

    line-height: 1.6;

    color: #666;

    margin-bottom: 13px;
}


.card-content small {

    font-size: .55rem;

    color: #999;
}


/* =========================
   SIDEBAR
========================= */

.news-side {

    display: flex;

    flex-direction: column;

    gap: 22px;
}


.side-box {

    border:
        1px solid #e8e8e8;

    border-radius: 12px;

    padding: 22px;
}


.side-box h3 {

    font-family:
        var(--playfair);

    font-size: 1.1rem;

    margin-bottom: 14px;
}


.side-box > a {

    display: flex;

    justify-content:
        space-between;

    align-items: center;

    padding: 11px 0;

    border-bottom:
        1px solid #eee;

    text-decoration: none;

    color: #333;

    font-size: .68rem;
}


.side-box > a:last-child {
    border-bottom: 0;
}


.side-box > a b {

    font-size: .55rem;

    color: #087d32;

    background: #e6f5ea;

    padding:
        4px 7px;

    border-radius: 99px;
}

.side-box > a.active {

    color: #087d32;

    font-weight: 700;

}

.side-box > a.active b {

    background: #087d32;

    color: #fff;

}


/* =========================
   QUOTE
========================= */

.quote-box {

    background: #07852f;

    color: #fff;

    border: 0;
}


.quote-box span {

    font-family:
        var(--playfair);

    font-size: 3rem;

    line-height: .5;
}


.quote-box p {

    font-family:
        var(--playfair);

    font-size: 1rem;

    line-height: 1.5;

    margin:
        15px 0;
}


.quote-box small {

    font-size: .58rem;

    opacity: .8;
}


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

@media (max-width: 768px) {

    .news-page {

        width:
            calc(100% - 30px);

        margin-top: 10px;
    }


    .news-heading {

        margin:
            18px 0 22px;
    }


    .news-heading h1 {

        font-size: 1.45rem;
    }


    .news-heading > p:last-child {

        font-size: .62rem;
    }


    .featured-news {

        grid-template-columns: 1fr;

        min-height: 0;

        margin-bottom: 35px;
    }


    .featured-image {

        min-height: 190px;
    }


    .featured-copy {

        padding: 22px;
    }


    .featured-copy h2 {

        font-size: 1.35rem;
    }


    .featured-copy p {

        font-size: .62rem;
    }


    .news-meta {

        font-size: .5rem;

        margin-top: 18px;
    }


    .news-layout {

        grid-template-columns: 1fr;

        gap: 28px;
    }


    .news-grid {

        grid-template-columns: 1fr;

        gap: 16px;
    }

```css
/* =========================
   PAGINATION
========================= */

.news-pagination {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 6px;

    margin-top: 30px;
}


.news-pagination button {

    min-width: 32px;

    height: 32px;

    border: 1px solid #e5e5e5;

    border-radius: 7px;

    background: #fff;

    color: #333;

    font-size: .62rem;

    cursor: pointer;

    transition:
        background .2s ease,
        color .2s ease,
        border-color .2s ease;
}


.news-pagination button:hover {

    border-color: #087d32;

    color: #087d32;
}


.news-pagination button.active {

    background: #087d32;

    border-color: #087d32;

    color: #fff;
}


.news-pagination button:disabled {

    opacity: .4;

    cursor: default;
}
```
    .card-image {

        height: 160px;
    }


    .card-content h3 {

        font-size: .95rem;
    }


    .card-content p {

        font-size: .58rem;
    }


    .side-box {

        padding: 16px;
    }


    .news-side {

        display: grid;

        grid-template-columns:
            1fr 1fr;
    }


    .quote-box {
        display: none;
    }

}