/* =========================
   NEWS HERO
========================= */

.news-page-hero {
    padding: 100px 0 85px;
    background: #ffffff;
}

.news-page-hero-container {
    max-width: 850px;
    text-align: center;
}

.page-label {
    display: inline-block;

    margin-bottom: 18px;

    color: var(--primary);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 3px;
}

.news-page-hero h1 {
    margin-bottom: 22px;

    color: var(--navy);

    font-size: clamp(44px, 6vw, 72px);
    font-weight: 700;

    line-height: 1.08;
    letter-spacing: -2px;
}

.news-page-hero h1 span {
    display: block;
    color: var(--primary);
}

.news-page-hero p {
    max-width: 680px;

    margin: 0 auto;

    color: var(--text-muted);

    font-size: 14px;
    line-height: 1.9;
}


/* =========================
   FEATURED NEWS
========================= */

.featured-news {
    padding: 20px 0 110px;
    background: #ffffff;
}

.featured-news-card {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;

    overflow: hidden;

    background: var(--background-soft);

    border: 1px solid var(--border);
    border-radius: 30px;
}

.featured-news-image {
    min-height: 460px;
    overflow: hidden;
}

.featured-news-image img {
    width: 100%;
    height: 100%;

    display: block;
    object-fit: cover;

    transition: transform 0.8s ease;
}

.featured-news-card:hover .featured-news-image img {
    transform: scale(1.04);
}

.featured-news-content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 55px;
}

.news-category {
    display: inline-block;

    width: fit-content;

    margin-bottom: 18px;
    padding: 8px 12px;

    background: #eaf7ee;

    color: var(--primary);

    border-radius: 50px;

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.featured-news-content h2 {
    margin-bottom: 18px;

    color: var(--navy);

    font-size: clamp(28px, 3.5vw, 42px);
    line-height: 1.2;
}

.featured-news-content > p {
    margin-bottom: 20px;

    color: var(--text-muted);

    font-size: 12px;
    line-height: 1.9;
}

.news-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 9px;

    margin-bottom: 28px;

    color: #84918a;

    font-size: 9px;
}

.featured-news-link {
    display: inline-flex;
    align-items: center;

    gap: 9px;

    width: fit-content;

    color: var(--primary);

    font-size: 11px;
    font-weight: 700;

    transition: gap 0.3s ease;
}

.featured-news-link:hover {
    gap: 14px;
}


/* =========================
   NEWS LIST
========================= */

.news-list-section {
    padding: 110px 0;

    background: var(--background-soft);
}

.news-list-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 40px;

    margin-bottom: 50px;
}

.news-list-heading h2 {
    color: var(--navy);

    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.2;
}

.news-list-heading h2 span {
    color: var(--primary);
}


/* FILTER */

.news-filter {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 8px;
}

.news-filter-btn {
    padding: 9px 14px;

    background: #ffffff;

    color: var(--text-muted);

    border: 1px solid var(--border);
    border-radius: 50px;

    font-family: inherit;

    font-size: 10px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

.news-filter-btn:hover,
.news-filter-btn.active {
    background: var(--primary);

    color: #ffffff;

    border-color: var(--primary);
}


/* GRID */

.news-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}


/* CARD */

.news-card {
    overflow: hidden;

    background: #ffffff;

    border: 1px solid var(--border);
    border-radius: 22px;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.news-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 18px 40px rgba(17, 74, 45, 0.08);
}

.news-card.hide {
    display: none;
}


/* CARD IMAGE */

.news-card-image {
    position: relative;

    height: 230px;

    overflow: hidden;
}

.news-card-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.7s ease;
}

.news-card:hover .news-card-image img {
    transform: scale(1.05);
}

.news-card-category {
    position: absolute;

    left: 18px;
    bottom: 16px;

    padding: 7px 11px;

    background: rgba(255,255,255,0.94);

    color: var(--primary);

    border-radius: 50px;

    font-size: 9px;
    font-weight: 700;
}


/* CARD BODY */

.news-card-body {
    padding: 25px;
}

.news-date {
    display: block;

    margin-bottom: 10px;

    color: #929f98;

    font-size: 9px;
}

.news-card-body h3 {
    margin-bottom: 12px;

    color: var(--navy);

    font-size: 17px;
    line-height: 1.45;
}

.news-card-body p {
    margin-bottom: 20px;

    color: var(--text-muted);

    font-size: 10px;
    line-height: 1.8;
}

.news-card-body a {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    color: var(--primary);

    font-size: 10px;
    font-weight: 700;

    transition: gap 0.3s ease;
}

.news-card-body a:hover {
    gap: 11px;
}

/* =========================================
   HOME CTA
========================================= */

.home-cta {
    padding: 110px 0;

    background: #ffffff;
}


/* CARD */

.home-cta-card {
    position: relative;

    width: min(100%, 1050px);

    margin: 0 auto;

    overflow: hidden;

    display: grid;

    grid-template-columns:
        1.2fr 0.8fr;

    align-items: center;

    min-height: 390px;

    padding: 60px;

    border-radius: 34px;

    background:
        linear-gradient(
            145deg,
            #087438 0%,
            #119447 58%,
            #169e4f 100%
        );

    box-shadow:
        0 28px 70px
        rgba(17, 74, 45, 0.16);
}


/* =========================================
   CONTENT
========================================= */

.home-cta-content {
    position: relative;

    z-index: 3;

    max-width: 590px;
}


.home-cta-label {
    display: inline-flex;

    margin-bottom: 20px;

    padding: 7px 13px;

    border:
        1px solid rgba(255,255,255,.16);

    border-radius: 999px;

    background:
        rgba(255,255,255,.08);

    color:
        rgba(255,255,255,.80);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1.8px;
}


.home-cta-content h2 {
    margin: 0 0 18px;

    color: #ffffff;

    font-size:
        clamp(38px, 4vw, 54px);

    font-weight: 700;

    line-height: 1.08;

    letter-spacing: -1.7px;
}


.home-cta-content h2 span {
    display: block;

    color: #dff3a6;
}


.home-cta-content p {
    max-width: 520px;

    margin: 0;

    color:
        rgba(255,255,255,.72);

    font-size: 13px;

    line-height: 1.8;
}


/* =========================================
   RIGHT SIDE
========================================= */

.home-cta-side {
    position: relative;

    min-height: 260px;

    display: flex;

    align-items: center;
    justify-content: center;
}


/* =========================================
   DECORATION
========================================= */

.home-cta-circle {
    position: absolute;

    border-radius: 50%;

    pointer-events: none;
}


.circle-one {
    width: 300px;
    height: 300px;

    right: -80px;
    top: -120px;

    background:
        rgba(255,255,255,.07);
}


.circle-two {
    width: 170px;
    height: 170px;

    left: 0;
    bottom: -70px;

    background:
        rgba(214,241,151,.10);
}


/* =========================================
   ACTION
========================================= */

.home-cta-actions {
    position: relative;

    z-index: 4;

    width: 220px;

    display: flex;

    flex-direction: column;

    gap: 12px;
}


.home-cta-primary,
.home-cta-secondary {
    min-height: 54px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 0 20px;

    border-radius: 14px;

    font-size: 11px;
    font-weight: 700;

    text-decoration: none;

    transition:
        transform .25s ease,
        gap .25s ease,
        background .25s ease;
}


/* PRIMARY */

.home-cta-primary {
    background: #ffffff;

    color: var(--primary);

    box-shadow:
        0 12px 30px
        rgba(0,0,0,.09);
}


.home-cta-primary:hover {
    transform: translateY(-3px);

    gap: 15px;
}


/* SECONDARY */

.home-cta-secondary {
    border:
        1px solid rgba(255,255,255,.35);

    background:
        rgba(255,255,255,.06);

    color: #ffffff;
}


.home-cta-secondary:hover {
    transform: translateY(-3px);

    background:
        rgba(255,255,255,.12);
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

    .home-cta-card {
        grid-template-columns: 1fr;

        gap: 35px;

        padding: 50px;

        min-height: auto;
    }


    .home-cta-side {
        min-height: auto;

        justify-content: flex-start;
    }


    .home-cta-actions {
        width: 100%;

        max-width: 430px;

        flex-direction: row;
    }


    .home-cta-primary,
    .home-cta-secondary {
        flex: 1;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .home-cta {
        padding: 80px 0;
    }


    .home-cta-card {
        padding: 38px 27px;

        border-radius: 26px;
    }


    .home-cta-content h2 span {
        display: inline;
    }


    .home-cta-actions {
        flex-direction: column;

        max-width: none;
    }

}
/* =========================================================
   DETAIL BERITA
========================================================= */

.news-detail-hero {
    padding: 150px 0 60px;
    background: #ffffff;
}

.news-detail-container {
    max-width: 1050px;
}

.news-detail-heading {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.news-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 28px;

    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;

    transition: gap 0.25s ease;
}

.news-detail-back:hover {
    gap: 12px;
}

.news-detail-heading .section-label {
    display: inline-block;
    margin-bottom: 20px;
}

.news-detail-heading h1 {
    margin: 0;

    color: var(--navy);

    font-size: clamp(38px, 5vw, 68px);
    line-height: 1.12;
    font-weight: 700;
    letter-spacing: -1.5px;
}

.news-detail-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;

    margin-top: 28px;

    color: var(--text-muted);
    font-size: 14px;
}

.news-detail-meta span:first-child {
    color: var(--primary);
    font-weight: 600;
}

.news-meta-dot {
    color: #a7b6ac;
}


/* =========================================================
   DETAIL IMAGE
========================================================= */

.news-detail-image-section {
    padding: 0 0 70px;
    background: #ffffff;
}

.news-detail-image {
    width: 100%;
    max-width: 1200px;
    height: 620px;

    margin: 0 auto;

    overflow: hidden;

    border-radius: 28px;

    background: var(--background-soft);

    box-shadow: 0 22px 60px rgba(16, 42, 67, 0.08);
}

.news-detail-image img {
    width: 100%;
    height: 100%;

    display: block;
    object-fit: cover;
}


/* =========================================================
   ARTICLE
========================================================= */

.news-detail-content-section {
    padding: 30px 0 110px;
    background: #ffffff;
}

.news-detail-content {
    max-width: 820px;
    margin: 0 auto;
}

.news-detail-content p {
    margin: 0 0 26px;

    color: #506675;

    font-size: 17px;
    line-height: 1.9;
}

.news-detail-content .news-detail-lead {
    color: var(--navy);

    font-size: 21px;
    line-height: 1.75;
    font-weight: 500;
}

.news-detail-content h2 {
    margin: 50px 0 20px;

    color: var(--navy);

    font-size: 34px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: -0.5px;
}


/* =========================================================
   QUOTE
========================================================= */

.news-detail-quote {
    position: relative;

    margin: 50px 0;

    padding: 42px 46px;

    border-left: 5px solid var(--primary);
    border-radius: 0 22px 22px 0;

    background: #f3faf5;
}

.news-detail-quote > span {
    position: absolute;
    top: 15px;
    left: 24px;

    color: rgba(17, 148, 71, 0.15);

    font-size: 80px;
    line-height: 1;
    font-weight: 700;
}

.news-detail-quote p {
    position: relative;
    z-index: 2;

    margin: 0;

    color: var(--navy);

    font-size: 21px;
    line-height: 1.7;
    font-weight: 600;
}


/* =========================================================
   HIGHLIGHT BOX
========================================================= */

.news-detail-highlight {
    margin: 55px 0;

    padding: 42px;

    border: 1px solid var(--border);
    border-radius: 24px;

    background:
        linear-gradient(
            135deg,
            #f8fcf9 0%,
            #eef8f1 100%
        );
}

.news-detail-highlight > span {
    display: inline-block;

    margin-bottom: 14px;

    color: var(--primary);

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.news-detail-highlight h3 {
    margin: 0 0 14px;

    color: var(--navy);

    font-size: 28px;
    line-height: 1.35;
    font-weight: 700;
}

.news-detail-highlight p {
    margin: 0;

    font-size: 16px;
    line-height: 1.8;
}


/* =========================================================
   BOTTOM
========================================================= */

.news-detail-bottom {
    display: flex;
    justify-content: flex-start;

    margin-top: 55px;
    padding-top: 35px;

    border-top: 1px solid var(--border);
}

.news-detail-back-button {
    display: inline-flex;
    align-items: center;

    padding: 14px 22px;

    border: 1px solid var(--border);
    border-radius: 12px;

    background: #ffffff;

    color: var(--navy);

    font-size: 14px;
    font-weight: 600;
    text-decoration: none;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease;
}

.news-detail-back-button:hover {
    transform: translateY(-2px);

    border-color: rgba(17, 148, 71, 0.30);

    color: var(--primary);

    box-shadow: 0 12px 30px rgba(17, 74, 45, 0.08);
}


/* =========================================================
   RELATED NEWS
========================================================= */

.related-news-section {
    padding: 100px 0;

    background: var(--background-soft);
}

.related-news-heading {
    max-width: 700px;

    margin-bottom: 45px;
}

.related-news-heading .section-label {
    margin-bottom: 14px;
}

.related-news-heading h2 {
    margin: 0;

    color: var(--navy);

    font-size: 42px;
    line-height: 1.25;
    font-weight: 700;
}

.related-news-heading h2 span {
    color: var(--primary);
}

.related-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.related-news-card {
    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: 22px;

    background: #ffffff;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.related-news-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 20px 45px rgba(17, 74, 45, 0.10);
}

.related-news-image {
    width: 100%;
    height: 230px;

    overflow: hidden;

    background: #edf5ef;
}

.related-news-image img {
    width: 100%;
    height: 100%;

    display: block;
    object-fit: cover;

    transition: transform 0.4s ease;
}

.related-news-card:hover .related-news-image img {
    transform: scale(1.05);
}

.related-news-content {
    padding: 26px;
}

.related-news-content > span {
    display: inline-block;

    margin-bottom: 12px;

    color: var(--primary);

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.related-news-content h3 {
    margin: 0 0 20px;

    color: var(--navy);

    font-size: 19px;
    line-height: 1.5;
    font-weight: 700;
}

.related-news-content a {
    display: inline-flex;
    align-items: center;

    color: var(--primary);

    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.related-news-content a:hover {
    color: var(--primary-dark);
}


/* =========================================================
   RESPONSIVE DETAIL BERITA
========================================================= */

@media (max-width: 992px) {

    .news-detail-hero {
        padding-top: 130px;
    }

    .news-detail-image {
        height: 480px;
    }

    .related-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 768px) {

    .news-detail-hero {
        padding: 115px 0 45px;
    }

    .news-detail-heading h1 {
        font-size: 38px;
    }

    .news-detail-image-section {
        padding-bottom: 45px;
    }

    .news-detail-image {
        height: 340px;
        border-radius: 20px;
    }

    .news-detail-content-section {
        padding-bottom: 75px;
    }

    .news-detail-content p {
        font-size: 16px;
        line-height: 1.8;
    }

    .news-detail-content .news-detail-lead {
        font-size: 18px;
    }

    .news-detail-content h2 {
        margin-top: 40px;
        font-size: 28px;
    }

    .news-detail-quote {
        padding: 34px 28px;
    }

    .news-detail-quote p {
        font-size: 18px;
    }

    .news-detail-highlight {
        padding: 30px;
    }

    .news-detail-highlight h3 {
        font-size: 24px;
    }

    .related-news-section {
        padding: 75px 0;
    }

    .related-news-heading h2 {
        font-size: 34px;
    }

    .related-news-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 480px) {

    .news-detail-heading h1 {
        font-size: 31px;
    }

    .news-detail-meta {
        font-size: 12px;
    }

    .news-detail-image {
        height: 250px;
        border-radius: 16px;
    }

    .news-detail-quote {
        margin: 40px 0;
        padding: 30px 22px;
    }

    .news-detail-highlight {
        margin: 40px 0;
        padding: 25px;
    }

    .related-news-heading h2 {
        font-size: 29px;
    }

}