/* =========================================================
   1. PERBAIKAN WARNA TEKS NAVIGATION BAR & HEADER
   ========================================================= */

/* Teks Menu Utama (Latar Gelap -> Teks Harus Terang) */
.pkp_navigation_primary > li > a {
    font-weight: 600;
    color: #ffffff !important;
    padding: 10px 16px !important;
    transition: all 0.25s ease-in-out;
    border-radius: 4px;
    display: block !important;
    line-height: normal !important;
}

/* Hover & Focus state menu utama */
.pkp_navigation_primary > li > a:hover,
.pkp_navigation_primary > li > a:focus {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.15) !important;
}

/* Menu yang sedang aktif/diklik */
.pkp_navigation_primary > li.is_active > a,
.pkp_navigation_primary > li > a[aria-expanded="true"] {
    color: #2b082b !important;
    background-color: #ffffff !important;
}

/* Indikator panah dropdown menu utama */
.pkp_navigation_primary .has-submenu > a::after {
    border-top-color: #ffffff !important;
    transition: transform 0.2s ease;
}

/* Submenu Dropdown Menu Utama */
.pkp_navigation_primary ul a {
    color: #2b082b !important;
}

.pkp_navigation_primary ul a:hover,
.pkp_navigation_primary ul a:focus {
    background-color: #f4ecf4 !important;
    color: #2b082b !important;
}


/* =========================================================
   2. WARNA TEKS USER NAVIGATION & SEARCH (KANAN ATAS)
   ========================================================= */

/* Tombol Induk Profil & Search di Header */
.pkp_navigation_user > li > a,
.pkp_navigation_user > li > a .profile_badge,
.pkp_search_wrapper a {
    color: #ffffff !important;
}

.pkp_navigation_user > li > a:hover,
.pkp_search_wrapper a:hover {
    color: #e8dbe8 !important;
}

.pkp_navigation_user .has-submenu > a::after {
    border-top-color: #ffffff !important;
}

/* Dropdown Menu Pengguna (Dashboard, Profile, Logout) */
.pkp_navigation_user ul {
    background-color: #ffffff !important;
    border: 1px solid #e8dbe8 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.pkp_navigation_user ul a {
    color: #2b082b !important;
    padding: 8px 16px !important;
    display: block !important;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.pkp_navigation_user ul a:hover,
.pkp_navigation_user ul a:focus {
    background-color: #f4ecf4 !important;
    color: #2b082b !important;
}


/* =========================================================
   3. STYLING KUSTOM SIDEBAR MENU (INFORMATION & SUBMIT PAPER)
   ========================================================= */

/* Transisi dan Hover Khusus Menu Sidebar Kustom */
.sidebar-link {
    transition: background-color 0.25s ease-in-out, color 0.25s ease-in-out !important;
}

.sidebar-link:hover,
.sidebar-link:focus {
    background-color: #f4ecf4 !important; /* Latar berubah menjadi ungu muda lembut */
    color: #2b082b !important;
}

/* Hover Gambar pada Sidebar (Barcode ISSN & Reference Manager) */
.pkp_structure_sidebar img {
    transition: transform 0.25s ease, opacity 0.25s ease !important;
}

.pkp_structure_sidebar a:hover img {
    transform: scale(1.03);
    opacity: 0.95;
}


/* =========================================================
   4. PENYESUAIAN TAMPILAN ARTIKEL DI HALAMAN DEPAN & DAFTAR TERBITAN
   ========================================================= */

/* Tautan Umum & Judul Utama Halaman */
a {
    color: #2b082b;
    transition: color 0.2s ease;
}

a:hover, a:focus {
    color: #5c185c;
}

/* Container Ringkasan Artikel di Halaman Depan */
.obj_article_summary {
    padding: 12px 16px !important;
    margin-bottom: 12px !important;
    border: 1px solid #e8dbe8 !important;
    border-radius: 6px !important;
    background-color: #ffffff !important;
    transition: all 0.25s ease-in-out !important;
}

/* Efek Hover pada Kartu/Baris Artikel */
.obj_article_summary:hover {
    background-color: #fcf8fc !important;
    border-color: #2b082b !important;
    box-shadow: 0 4px 10px rgba(43, 8, 43, 0.08) !important;
    transform: translateY(-2px);
}

/* Judul Artikel di Halaman Depan & Issue */
.obj_article_summary .title a,
.cmp_article_list .title a,
.article-summary .title a {
    color: #2b082b !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.obj_article_summary .title a:hover,
.cmp_article_list .title a:hover,
.article-summary .title a:hover {
    color: #6b1d6b !important;
    text-decoration: underline !important;
}

/* Tombol PDF / Galley Files */
.obj_article_summary .galleys_links a,
.cmp_article_list .galleys_links a,
.obj_galley_link {
    background-color: #2b082b !important;
    color: #ffffff !important;
    border-radius: 4px !important;
    padding: 6px 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
    display: inline-block !important;
}

.obj_article_summary .galleys_links a:hover,
.cmp_article_list .galleys_links a:hover,
.obj_galley_link:hover {
    background-color: #5c185c !important;
    color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) !important;
}

/* Sub-judul Seksi / Issue Section Heading */
.obj_issue_toc .section .heading h2,
.current_issue .heading {
    color: #2b082b !important;
    border-bottom: 2px solid #2b082b !important;
    padding-bottom: 6px !important;
}