@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;600;700;800&display=swap');
        
:root {
    --primary-green: #198754;
}

body { 
    font-family: 'Plus Jakarta Sans', sans-serif; 
    margin: 0;
    padding: 0;
    min-height: 100vh;
    
    /* 1. GRADASI HIJAU UTAMA (Diagonal dari kiri-atas ke kanan-bawah) */
    background: linear-gradient(135deg, #0a3d21 0%, #115e36 50%, #198754 100%);
    
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    position: relative;
}

/* Overlay untuk efek blur transparan di atas gradasi hijau */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    
    /* 2. PENYESUAIAN OVERLAY (Hijau pinus gelap transparan agar gradasi menembus) */
    background: rgba(38, 124, 87, 0.65); 
    
    backdrop-filter: blur(40px); /* Efek blur kaca */
    -webkit-backdrop-filter: blur(40px);
    z-index: -1;
}
        
.main-wrapper { 
    padding-top: 100px; 
    padding-bottom: 80px; 
}

.article-container {
    background: #ffffff;
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.category-badge {
    display: inline-block;
    background-color: rgba(25, 135, 84, 0.1);
    color: var(--primary-green);
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.article-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

/* --- PLAYOUT MEDIA SOSIAL & META INFO BARU (image_0490be.png) --- */

.share-top {
    margin-bottom: 12px;
}

.share-top .text-secondary {
    font-weight: 600;
    color: #475569 !important;
}

/* Tombol Share Kotak Minimalis */
.share-top .btn-share {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 6px; 
    color: #ffffff;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.share-top .btn-share:hover { 
    opacity: 0.85; 
    color: #ffffff; 
    transform: translateY(-2px);
}

/* Branding Warna Sosmed */
.btn-wa { background-color: #0c8a4c; border: none; }
.btn-fb { background-color: #0d6efd; border: none; }
.btn-ig { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); border: none; }
.btn-x  { background-color: #000000; border: none; }
.btn-copy { background-color: #6c757d; border: none; }

/* Struktur Tanggal & Penulis Sebaris */
.meta-text-custom {
    color: #64748b;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
}

.meta-text-custom i {
    font-size: 1.05rem;
}

/* ------------------------------------------------------------- */

.article-header-img {
    width: 100%;
    max-height: 600px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 40px;
}

.content-area { 
    line-height: 2; 
    font-size: 1.2rem; 
    color: #334155; 
    text-align: justify;
}
        
.btn-back { 
    color: #ffffff; 
    text-decoration: none; 
    font-weight: 600; 
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 25px;
    opacity: 0.8;
    transition: 0.3s;
}
.btn-back:hover { opacity: 1; color: #ffc107; transform: translateX(-5px); }

/* Toast Styling */
#copyToast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: none;
    background: #198754;
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
    .article-container { padding: 30px 20px; border-radius: 20px; }
    .article-title { font-size: 1.85rem; }
    .main-wrapper { padding-top: 80px; }
    .meta-text-custom { margin-bottom: 20px; }
}

/* --- TAMPILAN FOTO PENDUKUNG SEJAJAR 3 KE KANAN --- */
.supporting-gallery {
    border-top: 1px solid #f1f5f9;
}

.gallery-item-wrapper {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    aspect-ratio: 4 / 3; /* Membuat ukuran kotak pembungkus konsisten presisi */
    background-color: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.supporting-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Gambar terpotong rapi memenuhi rasio kotak tanpa distorsi */
    cursor: pointer;
    transition: transform 0.2s ease-in-out, filter 0.2s ease-in-out;
}

.supporting-img:hover {
    transform: scale(1.04);
    filter: brightness(0.9);
}

/* Penyesuaian responsif mobile agar tidak terlalu kecil */
@media (max-width: 576px) {
    .gallery-item-wrapper {
        border-radius: 8px;
    }
}