/* =========================
   PAGE (PREMIUM STYLE)
========================= */
.page {
    padding: 70px 0;
    background: linear-gradient(to bottom, #f8fbf9, #ffffff);
}

.page-title {
    text-align: center;
    margin-bottom: 45px;
    color: #0B6B3A;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

/* =========================
   GRID BERITA
========================= */
.berita-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* =========================
   CARD PREMIUM
========================= */
.berita-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    transition: all 0.35s ease;
    position: relative;
    border: 1px solid rgba(0,0,0,0.04);
}

.berita-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.12);
}

/* IMAGE WRAPPER (FIX + PREMIUM EFFECT) */
.berita-img {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f3f3f3;
    position: relative;
}

.berita-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.berita-card:hover .berita-img img {
    transform: scale(1.08);
}

/* CONTENT */
.berita-content {
    padding: 20px;
}

.berita-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #1f1f1f;
    line-height: 1.4;
    font-weight: 700;
}

.berita-content small {
    display: inline-block;
    color: #777;
    font-size: 12px;
    margin-bottom: 10px;
}

.berita-content p {
    font-size: 14px;
    margin: 12px 0 18px;
    color: #555;
    line-height: 1.7;
}

/* BUTTON PREMIUM */
.btn-read {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #0B6B3A, #0E8A4A);
    color: #fff;
    padding: 9px 16px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(11,107,58,0.25);
}

.btn-read:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(11,107,58,0.35);
}

/* BACK BUTTON */
.btn-back {
    display: inline-block;
    margin-top: 25px;
    color: #0B6B3A;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.btn-back:hover {
    color: #064C29;
    text-decoration: underline;
}

/* DETAIL PAGE */
.berita-detail {
    background: #fff;
    padding: 28px;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.detail-img {
    width: 100%;
    border-radius: 14px;
    margin-bottom: 22px;
}

/* =========================
   RESPONSIVE PREMIUM
========================= */
@media (max-width: 992px) {
    .berita-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .page-title {
        font-size: 24px;
    }

    .berita-img {
        height: 200px;
    }
}