/* Custom styles for typography and animations */
body {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    zoom: 0.8;
}
.font-serif-display {
    font-family: 'Lora', serif;
}
.page-content {
    animation: fadeIn 0.5s ease-in-out;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* GAYA NAVIGASI HEADER */
.nav-link:not(.active) {
    color: #1f2937;
    transition: background-color 0.2s, color 0.2s;
}
.nav-link:not(.active):hover {
    background-color: #fed7aa;
    color: #9a3412;
}
.nav-link.active {
    background-color: #f97116;
    color: #ffffff;
}
#mobile-menu .nav-link:not(.active) {
     color: #1f2937;
}
#mobile-menu .nav-link.active {
     color: #ffffff;
}
#mobile-menu .nav-link:hover {
     background-color: #fed7aa;
}

/* ========================================================= */
/* === GAYA KONTEN (HALAMAN & ARTIKEL) === */
/* ========================================================= */

/* Mengatur area konten utama */
.article-content,
.prose {
    font-family: 'Lora', serif;
    font-size: 1.125rem;
    line-height: 1.8;
    color: #374151;
}

/* Mengatur setiap paragraf di dalam area konten */
.article-content p,
.prose p {
    text-align: justify;
    margin-bottom: 1.75rem;
}

/* Mengatur semua jenis heading di dalam konten */
.article-content h1, .prose h1,
.article-content h2, .prose h2,
.article-content h3, .prose h3,
.article-content h4, .prose h4 {
    font-family: 'Lora', serif;
    font-weight: bold;
    color: #1f2937;
    text-align: left;
    border-bottom: none;
    padding-bottom: 0;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

/* Pengaturan ukuran font yang proporsional */
.article-content h1, .prose h1 { font-size: 2.25rem; }
.article-content h2, .prose h2 { font-size: 1.875rem; }
.article-content h3, .prose h3 { font-size: 1.5rem; }
.article-content h4, .prose h4 { font-size: 1.25rem; }

/* GAYA BARU UNTUK HYPERLINK */
.prose a,
.article-content a {
    color: #4b5563; /* Warna abu-abu (gray-600) */
    font-weight: 600; /* Dibuat tebal agar tetap terlihat menonjol */
    text-decoration: underline; /* Menambahkan garis bawah */
    transition: color 0.2s;
}
.prose a:hover,
.article-content a:hover {
    color: #1f2937; /* Menjadi lebih gelap saat disentuh kursor */
}

/* GAYA BARU UNTUK DAFTAR BERNOMOR (NUMBERED LIST) */
.prose ol {
    list-style-type: decimal; /* Menggunakan angka */
    margin-left: 1.5rem;
    margin-bottom: 1.75rem;
}

.prose ol li {
    padding-left: 0.5rem;
    margin-bottom: 0.75rem;
}

/* Menyamakan tinggi tombol di halaman beranda */
.home-button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* GAYA VIDEO YOUTUBE RESPONSIVE */
.video-responsive {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin: 2rem 0;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}
.video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}