.berita-page {
    --berita-green: #0f7a3c;
    --berita-ink: #123024;
    --berita-muted: #5e6b78;
    --berita-line: #e6eee8;
    font-family: "Plus Jakarta Sans", sans-serif;
    color: #1b2430;
    background: #f4faf6;
    padding: 42px 0 72px;
}

.berita-page *,
.berita-page *::before,
.berita-page *::after {
    box-sizing: border-box;
}

.berita-page h1,
.berita-page h2,
.berita-page p {
    margin: 0;
}

.berita-page a {
    color: inherit;
    text-decoration: none;
}

.berita-page img {
    max-width: 100%;
    display: block;
}

.berita-wrap {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}

.berita-kicker {
    color: var(--berita-green);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.berita-head {
    margin-bottom: 28px;
}

.berita-head h1,
.berita-article h1 {
    margin-top: 8px;
    color: var(--berita-ink);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.berita-head p {
    max-width: 640px;
    margin-top: 12px;
    color: var(--berita-muted);
    font-size: 16px;
    line-height: 1.7;
}

.berita-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.berita-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 12px 32px rgba(16, 60, 32, 0.08);
}

.berita-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.berita-card div {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 16px 16px 18px;
}

.berita-card .berita-meta {
    display: flex;
    flex: none;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    padding: 0;
    color: var(--berita-muted);
    font-size: 12px;
    font-weight: 600;
}

.berita-cat {
    padding: 4px 8px;
    border-radius: 999px;
    background: #e7f6ec;
    color: var(--berita-green);
    font-size: 11px;
    font-weight: 800;
}

.berita-card h2 {
    color: var(--berita-ink);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.35;
}

.berita-card p {
    margin-top: 8px;
    color: var(--berita-muted);
    font-size: 14px;
    line-height: 1.6;
}

.berita-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 14px;
    color: var(--berita-green);
    font-size: 14px;
    font-weight: 700;
}

.berita-card:hover h2 {
    color: var(--berita-green);
}

.berita-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--berita-green);
    font-size: 14px;
    font-weight: 700;
}

.berita-article {
    overflow: hidden;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 12px 32px rgba(16, 60, 32, 0.08);
}

.berita-article img {
    width: 100%;
    height: min(460px, 52vw);
    object-fit: cover;
}

.berita-article-body {
    padding: 28px 28px 32px;
}

.berita-article .berita-meta {
    margin-bottom: 0;
}

.berita-article h1 {
    max-width: 860px;
}

.berita-copy {
    max-width: 760px;
    margin-top: 22px;
}

.berita-copy p + p {
    margin-top: 14px;
}

.berita-copy p {
    color: #1b2430;
    font-size: 16px;
    line-height: 1.75;
}

.berita-related {
    margin-top: 36px;
}

.berita-related h2 {
    margin-bottom: 16px;
    color: var(--berita-ink);
    font-size: 22px;
    font-weight: 800;
}

@media (max-width: 900px) {
    .berita-grid {
        grid-template-columns: 1fr;
    }

    .berita-article-body {
        padding: 20px 16px 24px;
    }
}

@media (max-width: 640px) {
    .berita-page {
        padding-top: 28px;
    }

    .berita-wrap {
        width: min(1160px, calc(100% - 28px));
    }
}
