/* =========================================================
   CUSTOM CSS JURNAL AL-WASITH (OJS 3)
   Tema: Hijau Zamrud Elegan & Emas Muted
   ========================================================= */

/* --- 1. LATAR BELAKANG & PEMBUNGKUS UTAMA --- */
body {
    background-color: #f4f6f8; /* Abu-abu kebiruan sangat halus */
}
.pkp_structure_page {
    box-shadow: 0 4px 20px rgba(0,0,0,0.05); /* Bayangan halus pada kotak utama */
    border-radius: 4px;
    background-color: #ffffff; /* Latar konten tetap putih bersih */
}

/* --- 2. HEADER UTAMA (Bagian Judul Jurnal) --- */
.pkp_structure_head {
    background-color: #175e40 !important; /* Hijau Zamrud */
    border-bottom: none !important;
}
.pkp_site_name .is_text {
    color: #ffffff !important; /* Teks judul jurnal putih */
    letter-spacing: 0.5px;
}

/* --- 3. MENU NAVIGASI USER (Register / Login di Kanan Atas) --- */
.pkp_navigation_user_wrapper ul#navigationUser > li > a {
    color: #ffffff !important; /* Teks menu login putih agar kontras dengan hijau */
    font-weight: 600;
}
.pkp_navigation_user_wrapper ul#navigationUser > li > a:hover {
    color: #d4af37 !important; /* Hover jadi emas */
}

/* --- 4. MENU NAVIGASI UTAMA (MEMPERBAIKI TEKS MENU YANG HILANG) --- */
/* Memastikan baris menu background putih */
.pkp_navigation_primary_row,
.pkp_structure_head .pkp_navigation_primary_wrapper {
    background-color: #ffffff !important; 
    border-bottom: 1px solid #eaeaea;
}

/* Teks Menu Navigasi (Home, About, Current, dll) */
.pkp_navigation_primary_row ul#navigationPrimary > li > a,
.pkp_navigation_primary_wrapper ul#navigationPrimary > li > a,
.pkp_site_nav_menu > li > a {
    color: #175e40 !important; /* Teks hijau gelap agar terlihat di background putih */
    font-weight: bold !important;
    text-shadow: none !important;
    padding-top: 15px;
    padding-bottom: 15px;
}

/* Efek saat menu diarahkan (Hover) & Menu Aktif */
.pkp_navigation_primary_row ul#navigationPrimary > li > a:hover,
.pkp_navigation_primary_row ul#navigationPrimary > li > a:focus,
.pkp_navigation_primary_row ul#navigationPrimary > li.current > a,
.pkp_navigation_primary_wrapper ul#navigationPrimary > li > a:hover,
.pkp_navigation_primary_wrapper ul#navigationPrimary > li > a:focus,
.pkp_navigation_primary_wrapper ul#navigationPrimary > li.current > a {
    color: #d4af37 !important; /* Teks berubah emas */
    border-bottom: 3px solid #d4af37 !important; /* Garis bawah emas */
}

/* Dropdown Sub-menu */
ul#navigationPrimary ul {
    background-color: #ffffff !important;
    border: 1px solid #eaeaea;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
ul#navigationPrimary ul li a {
    color: #333333 !important; /* Teks submenu abu-abu gelap */
}
ul#navigationPrimary ul li a:hover {
    color: #175e40 !important;
    background-color: #f4f6f8 !important; /* Latar belakang submenu berubah abu-abu halus saat disorot */
}

/* --- 5. TOMBOL (Make a Submission, PDF, Search, dll) --- */
.cmp_manuscript_button,
.block_make_submission a,
.obj_galley_link,
.pkp_button_primary,
button.pkp_button {
    background-color: #175e40 !important;
    border-color: #175e40 !important;
    color: #ffffff !important;
    transition: all 0.3s ease;
    border-radius: 4px;
    font-weight: bold;
}

/* Hover Tombol (Background Emas, Teks Hitam agar tidak silau) */
.cmp_manuscript_button:hover,
.cmp_manuscript_button:focus,
.block_make_submission a:hover,
.block_make_submission a:focus,
.obj_galley_link:hover,
.obj_galley_link:focus,
.pkp_button_primary:hover,
.pkp_button_primary:focus,
button.pkp_button:hover {
    background-color: #d4af37 !important;
    border-color: #d4af37 !important;
    color: #111111 !important; /* Teks berubah gelap agar terbaca jelas */
    box-shadow: 0 4px 8px rgba(212, 175, 55, 0.3);
}

/* --- 6. TIPOGRAFI & TAUTAN DALAM TEKS --- */
a {
    color: #175e40;
    transition: color 0.2s ease;
}
a:hover, a:focus {
    color: #d4af37;
    text-decoration: none;
}
.pkp_structure_main p {
    color: #333333; /* Warna teks body sedikit dilembutkan dari hitam pekat */
    line-height: 1.7; /* Spasi antar baris diperlebar agar nyaman dibaca */
}
h1, h2, h3, h4, h5, h6 {
    color: #1a1a1a;
}
.pkp_block .title,
.pkp_page_index .current_issue h2 {
    border-bottom: 2px solid #d4af37; /* Garis bawah judul blok / sidebar menjadi emas */
}

/* --- 7. FOOTER --- */
.pkp_structure_footer_wrapper {
    background-color: #175e40 !important;
    border-bottom: 8px solid #0f3d29 !important; /* Aksen hijau gelap di garis terbawah layar */
    color: #ffffff;
}
.pkp_structure_footer_wrapper p {
    color: #e0e0e0;
}
.pkp_structure_footer_wrapper a {
    color: #d4af37; /* Link di footer berwarna emas */
}
.pkp_structure_footer_wrapper a:hover {
    color: #ffffff;
}

/* === RESPONSIVE & CONTRAST FIXES 2026-11-27 === */
.pkp_structure_main img {
    max-width: 100% !important;
    height: auto !important;
}
.pkp_structure_main table {
    width: 100% !important;
    max-width: 100% !important;
    display: block;
    overflow-x: auto;
    box-sizing: border-box;
}
.obj_article_details .orcid a {
    font-size: 12px !important;
}
