:root {
    --green: #198754;
    --green-dark: #146c43;
    --green-soft: #eaf7ef;

    --text: #1f2937;
    --muted: #6b7280;

    --background: #f7faf8;
    --white: #ffffff;

    --border: #e9efeb;
    --gold: #e2ad3b;
}

/* =========================================
   RESET
========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--background);
    color: var(--text);
}

a {
    text-decoration: none;
}

/* =========================================
   HERO / PAGE HEADER
========================================== */

.news-hero {
    padding: 135px 0 35px;
}

.eyebrow {
    display: inline-block;

    margin-bottom: 10px;

    color: var(--green);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1.6px;

    text-transform: uppercase;
}

.news-hero h1 {
    font-size: 40px;

    line-height: 1.25;

    font-weight: 800;

    margin-bottom: 12px;
}

.news-hero p {
    max-width: 720px;

    color: var(--muted);

    font-size: 14px;

    line-height: 1.8;
}


/* =========================================
   TOMBOL KEMBALI KE BERANDA
========================================== */

.back-home-btn {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-top: 22px;

    padding: 11px 18px;

    border-radius: 10px;

    background: var(--green);

    color: #ffffff !important;

    font-size: 12px;

    font-weight: 700;

    text-decoration: none;

    box-shadow:
        0 8px 20px rgba(25, 135, 84, 0.16);

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.back-home-btn:hover {
    background: var(--green-dark);

    color: #ffffff !important;

    transform: translateY(-2px);

    box-shadow:
        0 12px 25px rgba(25, 135, 84, 0.22);
}


/* =========================================
   FILTER
========================================== */

.news-filter {
    display: flex;

    align-items: center;

    gap: 9px;

    flex-wrap: wrap;

    margin-bottom: 28px;
}

.filter-btn {
    border: 1px solid var(--border);

    background: white;

    color: #707a74;

    padding: 9px 15px;

    border-radius: 9px;

    font-family: inherit;

    font-size: 11px;

    font-weight: 700;

    cursor: pointer;

    transition: 0.2s ease;
}

.filter-btn:hover {
    color: var(--green);

    border-color: #bcdcc9;

    background: var(--green-soft);
}

.filter-btn.active {
    color: white;

    background: var(--green);

    border-color: var(--green);
}


/* =========================================
   NEWS CARD
========================================== */

.news-card {
    height: 100%;

    overflow: hidden;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: 18px;

    box-shadow:
        0 7px 28px rgba(0, 0, 0, 0.035);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.news-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 14px 36px rgba(0, 0, 0, 0.07);
}


/* =========================================
   IMAGE
========================================== */

.news-image {
    position: relative;

    width: 100%;

    height: 330px;

    overflow: hidden;

    background: #edf4ef;

    border-radius: 20px 20px 0 0;
}

.news-image img {
    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

    transition:
        transform 0.45s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.04);
}

.category-badge {
    position: absolute;

    top: 15px;

    left: 15px;

    padding: 7px 10px;

    border-radius: 8px;

    background:
        rgba(255, 255, 255, 0.94);

    color: var(--green);

    font-size: 10px;

    font-weight: 800;
}


/* =========================================
   CONTENT
========================================== */

.news-content {
    padding: 22px;
}

.news-category {
    margin-bottom: 8px;

    color: var(--green);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1px;

    text-transform: uppercase;
}

.news-meta {
    display: flex;

    flex-wrap: wrap;

    gap: 15px;

    margin-bottom: 12px;

    color: #929a95;

    font-size: 10px;
}

.news-meta span {
    display: inline-flex;

    align-items: center;

    gap: 5px;
}

.news-meta i {
    color: var(--green);

    font-size: 11px;
}

.news-title {
    margin-bottom: 10px;

    font-size: 22px;

    line-height: 1.4;

    font-weight: 800;
}

.news-title a {
    color: var(--text);

    text-decoration: none;

    transition:
        0.2s ease;
}

.news-title a:hover {
    color: var(--green);
}

.news-excerpt {
    margin-bottom: 0;

    color: #737d77;

    font-size: 12px;

    line-height: 1.85;
}


/* =========================================
   READ MORE
========================================== */

.read-more {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    margin-top: 17px;

    color: var(--green);

    font-size: 11px;

    font-weight: 800;
}

.read-more i {
    transition:
        transform 0.2s ease;
}

.read-more:hover {
    color: var(--green-dark);
}

.read-more:hover i {
    transform: translateX(3px);
}


/* =========================================
   EMPTY
========================================== */

.empty-state {
    padding: 85px 20px;

    text-align: center;
}

.empty-icon {
    width: 72px;
    height: 72px;

    margin: 0 auto 18px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 18px;

    background: var(--green-soft);

    color: var(--green);

    font-size: 28px;
}

.empty-state h2 {
    font-size: 20px;

    font-weight: 800;
}

.empty-state p {
    margin-top: 8px;

    color: #8b948e;

    font-size: 12px;
}


/* =========================================
   FOOTER
========================================== */

.news-footer {
    margin-top: 80px;

    padding: 25px 0;

    border-top:
        1px solid var(--border);

    color: #8f9892;

    font-size: 11px;

    text-align: center;
}


/* =========================================
   TABLET
========================================== */

@media (max-width: 1199px) {

    #header .navmenu > ul {
        gap: 18px;
    }

    #header .cta-btn {
        margin-left: 20px;
    }

}

/* =========================================
   SMALL MOBILE
========================================== */

@media (max-width: 480px) {

    #header .container-xl {
        padding-left:
            12px;

        padding-right:
            12px;
    }


    #header .logo img {
        height:
            36px;
    }


    #header .desktop-spmb-btn {
        display: none !important;
    }

    #header .mobile-spmb-item {
        display: block !important;

        margin-top: auto;

        padding: 14px 12px 8px;
    }

    #header .mobile-spmb-btn {
        min-height: 50px;

        width: 100%;

        font-size: 12px;
    }

    #header .mobile-nav-toggle {

        top:
            11px;

        right:
            10px;

        width:
            42px;

        height:
            42px;

        font-size:
            25px;
    }


    .news-hero {
        padding:
            115px 0 30px;
    }

    .news-hero h1 {
        font-size:
            30px;
    }

    .news-hero p {
        font-size:
            13px;

        line-height:
            1.7;
    }

    .back-home-btn {
        margin-top:
            18px;

        padding:
            10px 15px;

        font-size:
            11px;
    }

    .news-content {
        padding:
            18px;
    }

    .news-title {
        font-size:
            19px;
    }

    .news-image {
        height:
            250px;
    }

    .news-filter {
        gap:
            7px;

        margin-bottom:
            22px;
    }

    .filter-btn {
        padding:
            8px 13px;

        font-size:
            10px;
    }

    #header .logo .sitename {
        font-size: 11.5px;
    }
}

.news-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.news-meta > span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.news-views {
    padding-left: 12px;
    border-left: 1px solid #dfe8e2;
}

.news-views i {
    color: #198754;
}

.news-description {
    margin: 0 0 16px;

    color: #66756f;

    font-size: 13px;
    line-height: 1.75;
}