/* ============================================
   CSS PERAPIHAN TAMPILAN - An Nahdhoh Journal
   ============================================ */

/* --- 1. PERBAIKI UKURAN GAMBAR DI HALAMAN UTAMA --- */
.additional_content img {
    max-width: 100px !important;       /* Batasi lebar maksimum gambar */
    height: auto !important;           /* Jaga proporsi */
    display: inline-block !important;  /* Agar gambar sejajar */
    margin: 5px !important;
    vertical-align: middle !important;
    border-radius: 4px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
}

/* Atur khusus untuk gambar yang terlalu lebar */
.additional_content a img {
    max-width: 120px !important;
}

/* --- 2. PERBAIKI SPASI & TATA LETAK KONTEN UTAMA --- */
.page_index_journal {
    padding: 20px !important;
}

.homepage_about {
    margin-bottom: 30px !important;
}

.homepage_about h2 {
    font-size: 24px !important;
    color: #2c3e50 !important;
    border-bottom: 3px solid #3498db !important;
    padding-bottom: 10px !important;
    margin-bottom: 20px !important;
}

.homepage_about p {
    font-size: 15px !important;
    line-height: 1.8 !important;
    text-align: justify !important;
    color: #333 !important;
    margin-bottom: 16px !important;
}

/* --- 3. RAPIKAN SIDEBAR --- */
.pkp_structure_sidebar {
    padding: 15px !important;
}

.pkp_structure_sidebar .pkp_block {
    background: #f8f9fa !important;
    border-radius: 6px !important;
    padding: 15px !important;
    margin-bottom: 20px !important;
    border: 1px solid #e9ecef !important;
}

.pkp_structure_sidebar .pkp_block h2,
.pkp_structure_sidebar .pkp_block h3 {
    font-size: 16px !important;
    color: #2c3e50 !important;
    border-bottom: 2px solid #3498db !important;
    padding-bottom: 8px !important;
    margin-bottom: 12px !important;
}

/* --- 4. PERBAIKI TAMPILAN MOBILE (RESPONSIVE) --- */
@media (max-width: 768px) {
    .pkp_structure_content.has_sidebar {
        flex-direction: column !important;
    }

    .pkp_structure_main {
        width: 100% !important;
        padding: 10px !important;
    }

    .pkp_structure_sidebar {
        width: 100% !important;
        padding: 10px !important;
    }

    .additional_content img {
        max-width: 80px !important;
    }

    .homepage_about h2 {
        font-size: 20px !important;
    }

    .homepage_about p {
        font-size: 14px !important;
    }
}

/* --- 5. PERBAIKI NAVIGASI / HEADER --- */
.pkp_structure_head {
    padding: 15px 0 !important;
}

.pkp_site_name {
    font-size: 22px !important;
}

.pkp_site_name a {
    color: #2c3e50 !important;
    text-decoration: none !important;
}

/* --- 6. PERBAIKI TOMBOL & LINK --- */
.cmp_button,
.pkp_button {
    background: #3498db !important;
    color: white !important;
    border: none !important;
    padding: 8px 16px !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    transition: background 0.3s !important;
}

.cmp_button:hover,
.pkp_button:hover {
    background: #2980b9 !important;
    color: white !important;
}

/* --- 7. RAPIKAN DAFTAR INDEXING (LOGO) --- */
.additional_content {
    background: #f8f9fa !important;
    padding: 20px !important;
    border-radius: 8px !important;
    margin-top: 20px !important;
}

.additional_content p {
    margin-bottom: 10px !important;
}

.additional_content a {
    display: inline-block !important;
    margin: 3px !important;
    text-decoration: none !important;
}

/* --- 8. PERBAIKI BAGIAN ISSN --- */
.homepage_about p strong {
    color: #2c3e50 !important;
    font-weight: 700 !important;
}

/* --- 9. HILANGKAN SPASI BERLEBIHAN --- */
.page_index_journal {
    padding-top: 0 !important;
}

/* --- 10. PERBAIKI TAMPILAN TABEL (JIKA ADA) --- */
table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 15px 0 !important;
}

table th,
table td {
    padding: 10px !important;
    border: 1px solid #ddd !important;
    text-align: left !important;
}

table th {
    background: #f1f3f5 !important;
    font-weight: 600 !important;
}