/* == Base Typography == */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
}
h1, h2, h3, h4, h5 {
    font-family: 'Poppins', sans-serif;
}

/* == Smooth Scrolling == */
html {
    scroll-behavior: smooth;
}

/* == Custom Scrollbar == */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #0B6E4F;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #074D37;
}

/* == Animations == */
@keyframes bounce-in {
    0% { transform: scale(0.5); opacity: 0; }
    60% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); }
}
.animate-bounce-in {
    animation: bounce-in 0.4s ease-out;
}

/* == Line Clamp (Untuk memotong teks berita) == */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2; /* Tambahan untuk standar modern */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* == Responsive Video Embed == */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* == CSS untuk Print (LKH Harian & Rekap Bulanan) == */
@media print {
    /* Sembunyikan semua elemen di dalam body */
    body * { 
        visibility: hidden; 
    }
    
    /* Tampilkan hanya elemen area cetak dan isinya */
    #printArea, #printArea *,
    #recapPrintArea, #recapPrintArea * {
        visibility: visible;
    }
    
    /* Posisikan area cetak di pojok kiri atas */
    #printArea, #recapPrintArea {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
    }
}
/* == Logo Marquee Animation == */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.animate-marquee {
    animation: marquee 30s linear infinite;
    will-change: transform; /* Tambahan untuk optimasi performa (GPU) */
}
.marquee-container:hover .animate-marquee {
    animation-play-state: paused;
}