        /* --- CSS VARIABLES --- */
        :root {
            --primary-color: #0a66c2; /* Biru Bapelkes */
            --secondary-color: #f16a14; /* Orange Breaking News */
            --accent-color: #ff9800;
            --text-dark: #222222;
            --text-gray: #555555;
            --text-light: #888888;
            --bg-light: #f4f6f8;
            --white: #ffffff;
            --border-color: #e0e0e0;
            --container-width: 1200px;
            --font-heading: 'Merriweather', serif;
            --font-body: 'Roboto', sans-serif;
        }

        /* --- RESET & BASIC STYLES --- */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: var(--font-body);
            color: var(--text-dark);
            background-color: var(--bg-light);
            line-height: 1.6;
            overflow-x: hidden;
        }

        a {
            text-decoration: none;
            color: inherit;
            transition: color 0.3s;
        }

        a:hover {
            color: var(--primary-color);
        }

        ul {
            list-style: none;
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
            object-fit: cover;
        }

        .container {
            max-width: var(--container-width);
            margin: 0 auto;
            padding: 0 20px;
        }

        /* --- HEADER --- */
        .top-bar {
            background-color: #0B2447;
            color: #ddd;
            font-size: 0.85rem;
            padding: 8px 0;
        }

        .top-bar .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .date-display span {
            margin-right: 15px;
        }

        header {
            background: var(--white);
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .main-header {
            padding: 10px 0;
            border-bottom: 1px solid var(--border-color);
        }

        .main-header .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        /* --- Header Logo --- */
        .logo {
            display: flex;
            align-items: center;
            line-height: 0; /* Mencegah whitespace kecil di bawah gambar */
        }

        .logo img {
            /* Sesuaikan tinggi logo di sini, misalnya 50px - 70px */
            height: 45px; 
            width: auto; /* Lebar menyesuaikan proporsi gambar asli */
            object-fit: contain;
        }


        /* --- NAVIGATION --- */
        nav {
            background: var(--primary-color);
        }

        nav .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .nav-links {
            display: flex;
            gap: 0;
        }

        .nav-links li a {
            display: block;
            color: var(--white);
            padding: 15px 20px;
            font-weight: 500;
            text-transform: uppercase;
            font-size: 0.9rem;
            transition: background 0.3s;
        }

        .nav-links li a:hover, .nav-links li a.active {
            background: rgba(0,0,0,0.2);
        }

        .menu-toggle {
            display: none;
            color: var(--white);
            font-size: 1.5rem;
            cursor: pointer;
            padding: 10px;
        }

        /* --- BREAKING NEWS --- */
        .breaking-news {
            background: var(--white);
            display: flex;
            align-items: center;
            border-bottom: 1px solid var(--border-color);
            font-size: 0.9rem;
            height: 40px;
            overflow: hidden;
        }

        .bn-label {
            background: var(--secondary-color);
            color: var(--white);
            padding: 0 15px;
            height: 100%;
            display: flex;
            align-items: center;
            font-weight: bold;
            text-transform: uppercase;
            z-index: 2;
        }

        .bn-ticker {
            flex-grow: 1;
            overflow: hidden;
            position: relative;
        }

        .bn-ticker ul {
            display: flex;
            animation: ticker 20s linear infinite;
            white-space: nowrap;
        }

        .bn-ticker li {
            margin-right: 40px;
        }

        @keyframes ticker {
            0% { transform: translateX(100%); }
            100% { transform: translateX(-100%); }
        }

        /* --- HERO SECTION --- */
        .hero-section {
            padding: 20px 0;
        }

        .hero-grid {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 20px;
        }

        .hero-grid.hero-split {
            /* Samakan proporsi kolom dengan layout konten utama (2fr : 1fr) */
            grid-template-columns: 2fr 1fr;
            align-items: stretch;
        }

        .hero-item {
            position: relative;
            border-radius: 8px;
            overflow: hidden;
            cursor: pointer;
            display: flex;
        }

        /* ============================================
           TINGGI GAMBAR HERO UTAMA (KIRI)
           Ubah nilai height, min-height, dan max-height di bawah ini
           untuk mengatur tinggi gambar hero utama (kiri)
           ============================================ */
           .hero-item.main {
            /* +~5% dari tinggi awal 325px ≈ 340px */
            min-height: 340px;  /* Tinggi minimum */
            max-height: 340px;  /* Tinggi maksimum */
            height: 340px;      /* Tinggi tetap - UBAH NILAI INI untuk mengubah tinggi */
        }

        .hero-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .hero-item:hover img {
            transform: scale(1.05);
        }

        .hero-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0));
            padding: 20px;
            color: var(--white);
        }

        .hero-overlay.light {
            background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0));
        }

        .category-tag {
            background: var(--primary-color);
            color: var(--white);
            padding: 4px 8px;
            font-size: 0.75rem;
            text-transform: uppercase;
            font-weight: bold;
            border-radius: 4px;
            margin-bottom: 10px;
            display: inline-block;
            min-width: 100px;
            text-align: center;
        }

        /* Warna kategori berdasarkan nama */
        .category-tag.category-pelatihan {
            background: #16b3ac; /* Hijau */
        }

        .category-tag.category-kerjasama {
            background: #EB5B00; /* Orange */
        }

        .category-tag.category-internal {
            background: var(--primary-color); /* Biru */
        }

        .hero-title {
            font-family: var(--font-heading);
            font-size: 1rem;
            line-height: 1.3;
            margin-bottom: 5px;
        }

        .hero-item.main .hero-title {
            font-size: 1rem;
        }

        .meta-info {
            font-size: 0.8rem;
            color: rgba(255,255,255,0.8);
        }

/* ============================================
   TINGGI GAMBAR HERO - LAYOUT SPLIT
   Bagian ini mengatur tinggi gambar hero di layout split
   ============================================ */

/* Tinggi Hero Kiri (Gambar Utama) - UBAH NILAI height, min-height, max-height */
.hero-left {
    /* +~5% dari tinggi awal 325px ≈ 340px */
    min-height: 340px;  /* Tinggi minimum */
    max-height: 340px;  /* Tinggi maksimum */
    height: 340px;      /* Tinggi tetap - UBAH NILAI INI untuk mengubah tinggi hero kiri */
}

/* Tinggi Container Hero Kanan (Total) - UBAH NILAI height, min-height, max-height */
.hero-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
    /* +~5% dari tinggi awal 325px ≈ 340px agar sejajar dengan hero kiri */
    min-height: 340px;  /* Tinggi minimum */
    max-height: 340px;  /* Tinggi maksimum */
    height: 340px;      /* Tinggi tetap - UBAH NILAI INI untuk mengubah tinggi container hero kanan */
}

/* Tinggi Hero Kanan Atas (Gambar Internal) - UBAH NILAI height, min-height, max-height */
.hero-right-top {
    flex: 1;
    /* Dua hero kanan disusun sama tinggi; 162px + 162px + gap(16px) = 340px */
    min-height: 162px;  /* Tinggi minimum */
    max-height: 162px;  /* Tinggi maksimum */
    height: 162px;      /* Tinggi tetap - UBAH NILAI INI untuk mengubah tinggi hero kanan atas */
}

.hero-right-bottom {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

/* Tinggi Hero Kanan Bawah (Gambar Kerjasama) - UBAH NILAI height, min-height, max-height */
.hero-sub {
    /* Samakan tinggi dengan hero-right-top agar seragam */
    min-height: 162px;  /* Tinggi minimum */
    max-height: 162px;  /* Tinggi maksimum */
    height: 162px;      /* Tinggi tetap - UBAH NILAI INI untuk mengubah tinggi hero kanan bawah */
}

.hero-infografis {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    min-height: 240px;
    background: var(--bg-light);
}

.hero-infografis img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.hero-infografis:hover img {
    transform: scale(1.03);
}

/* --- MAIN CONTENT LAYOUT --- */
.content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    padding-bottom: 50px;
}

.section-header {
    border-bottom: 2px solid var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
}

/* --- NEWS CARD --- */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-card {
    display: flex;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.news-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.news-thumb {
    width: 240px;
    flex-shrink: 0;
    overflow: hidden;
}

.news-thumb img {
    width: 100%;
    height: 100%;
    transition: transform 0.3s;
}

.news-card:hover .news-thumb img {
    transform: scale(1.05);
}

.news-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-excerpt {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-meta {
    font-size: 0.8rem;
    color: var(--text-light);
    display: flex;
    gap: 15px;
}

/* --- SIDEBAR --- */
.sidebar-widget {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.widget-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    border-left: 4px solid var(--primary-color);
    padding-left: 10px;
    margin-bottom: 20px;
}

.popular-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.popular-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.popular-number {
    font-size: 2rem;
    font-weight: 900;
    color: #eee;
    line-height: 1;
}

.popular-details h4 {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
}

.category-list li {
    padding: 8px 0;
    border-bottom: 1px dashed var(--border-color);
}

.category-list li:last-child {
    border: none;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    color: var(--text-dark);
}

.category-list span {
    background: transparent;
    padding: 0;
    border-radius: 0;
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: bold;
}

/* Warna badge kategori di sidebar - tidak perlu lagi karena hanya angka hitam bold */
.category-list .category-badge-pelatihan {
    background: transparent;
    color: var(--text-dark);
    font-weight: bold;
}

.category-list .category-badge-kerjasama {
    background: transparent;
    color: var(--text-dark);
    font-weight: bold;
}

.category-list .category-badge-internal {
    background: transparent;
    color: var(--text-dark);
    font-weight: bold;
}

/* Slideshow infografis */
.infografis-slideshow {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.infografis-slideshow img {
    width: 100%;
    display: none;
    object-fit: cover;
}

.infografis-slideshow img.active {
    display: block;
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* --- FOLLOW US WIDGET --- */
.social-follow {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-btn {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-radius: 8px;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
    font-size: 0.9rem;
}

.social-btn i {
    font-size: 1.2rem;
    margin-right: 12px;
    width: 24px;
    text-align: center;
}

.social-btn:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.social-facebook {
    background: #1877F2;
}

.social-facebook:hover {
    background: #166FE5;
}

.social-instagram {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
}

.social-instagram:hover {
    opacity: 0.9;
}

.social-youtube {
    background: #FF0000;
}

.social-youtube:hover {
    background: #E60000;
}

.social-tiktok {
    background: #000000;
}

.social-tiktok:hover {
    background: #333333;
}

/* --- LOAD MORE BUTTON --- */
.load-more-container {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 30px;
}

.btn-load {
    background: var(--white);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 12px 40px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s;
    font-size: 0.9rem;
    font-family: var(--font-body);
}

.btn-load:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* --- FOOTER --- */
footer {
    background: #0B2447;
    color: #ccc;
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.footer-widget h3 {
    color: var(--white);
    font-family: var(--font-heading);
    margin-bottom: 20px;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
    display: inline-block;
}

.footer-widget p {
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s;
    color: var(--white);
}

.social-links a.facebook {
    background: #1877F2; /* Warna resmi Facebook */
}

.social-links a.instagram {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); /* Warna gradient Instagram */
}

.social-links a.youtube {
    background: #FF0000; /* Warna resmi YouTube */
}

.social-links a.tiktok {
    background: #000000; /* Warna resmi TikTok */
}

.social-links a:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 20px;
    font-size: 0.85rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .hero-grid,
    .hero-grid.hero-split {
        grid-template-columns: 1fr;
    }
    
    /* ============================================
       TINGGI GAMBAR HERO - RESPONSIVE (Mobile/Tablet)
       Ubah nilai height, min-height, max-height di bawah ini
       untuk mengatur tinggi gambar hero di layar mobile/tablet
       ============================================ */
       
       /* Tinggi Hero Kiri & Utama di Mobile - UBAH NILAI height, min-height, max-height */
       .hero-left,
       .hero-item.main {
        min-height: 260px;  /* Tinggi minimum di mobile */
        max-height: 260px;  /* Tinggi maksimum di mobile */
        height: 260px;      /* Tinggi tetap di mobile - UBAH NILAI INI untuk mengubah tinggi hero di mobile */
    }
    .hero-right {
        min-height: unset;
        max-height: unset;
        height: auto;
    }
    
    /* Tinggi Hero Kanan Atas & Bawah di Mobile - UBAH NILAI height, min-height, max-height */
    .hero-right-top,
    .hero-sub {
        min-height: 117px;   /* Tinggi minimum di mobile */
        max-height: 117px;   /* Tinggi maksimum di mobile */
        height: 117px;       /* Tinggi tetap di mobile - UBAH NILAI INI untuk mengubah tinggi hero kanan di mobile */
    }
    .hero-right-bottom {
        grid-template-columns: 1fr;
    }
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    .news-thumb {
        width: 200px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    /* --- Logo Mobile Styling --- */
    /* Posisikan logo di tengah untuk tampilan handphone */
    .main-header .container {
        justify-content: center; /* Posisikan logo di tengah */
    }
    
    /* Kurangi ukuran logo 3% dari ukuran asli (38px * 0.97 = 36.89px) */
    .logo img {
        height: 36.89px; /* 3% lebih kecil dari 38px */
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary-color);
        box-shadow: 0 5px 5px rgba(0,0,0,0.1);
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links li a {
        padding: 12px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .news-card {
        flex-direction: column;
    }
    .news-thumb {
        width: 100%;
        height: 200px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .top-bar {
        display: none;
    }
}

/* --- SCROLL TO TOP BUTTON --- */
/* Tombol scroll to top dengan animasi dan efek hover */
.scroll-to-top {
    /* Posisi tetap di sudut kanan bawah */
    position: fixed;
    bottom: 30px;
    right: 30px;
    
    /* Ukuran dan bentuk tombol */
    width: 50px;
    height: 50px;
    border-radius: 50%;
    
    /* Warna menggunakan primary color Bapelkes */
    background-color: var(--primary-color);
    color: var(--white);
    
    /* Border dan shadow */
    border: none;
    box-shadow: 0 4px 15px rgba(10, 102, 194, 0.3);
    
    /* Font dan layout */
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Transisi untuk animasi smooth */
    transition: all 0.3s ease;
    cursor: pointer;
    
    /* Z-index agar selalu di atas konten */
    z-index: 1000;
    
    /* Default state: tersembunyi */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

/* State saat tombol ditampilkan */
.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Efek hover untuk interaksi user */
.scroll-to-top:hover {
    background-color: #0951a0; /* Primary color yang lebih gelap */
    transform: translateY(-3px); /* Efek floating */
    box-shadow: 0 6px 20px rgba(10, 102, 194, 0.4);
}

/* Efek active saat tombol ditekan */
.scroll-to-top:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(10, 102, 194, 0.3);
}

/* Responsive untuk mobile */
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .scroll-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    /* --- Logo Extra Small Mobile Styling --- */
    /* Ukuran logo lebih kecil lagi untuk layar sangat kecil */
    .logo img {
        height: 35px; /* Sedikit lebih kecil lagi untuk layar 480px */
    }
}