/* ==========================================================================
   PREMIUM & ELEGANT JOURNAL CUSTOM CSS (BOXED LAYOUT EDITION)
   ========================================================================== */
/* ==========================================================================
   PREMIUM MODERN HEADER & NAVIGATION ENHANCEMENT
   ========================================================================== */

/* 1. Merapikan kontainer luar header agar seimbang */
.pkp_structure_head {
    background-color: #ffffff !important;
    padding-top: 25px !important;
    padding-bottom: 10px !important;
    border-bottom: none !important;
}

/* 2. Memastikan banner logo jurnal berada tepat di tengah secara presisi */
.pkp_site_name_wrapper {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-bottom: 20px !important;
}

/* 3. Merombak total menu navigasi orange kaku menjadi bilah Navy mewah */
.pkp_navigation_primary_wrapper {
    background: #1e3a8a !important; /* Mengubah orange flat menjadi Navy kontras tinggi */
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.08) !important; /* Bayangan soft */
    padding: 4px 20px !important;
    border-radius: 8px !important; /* Membuat sudut melengkung senada dengan kartu artikel */
    margin: 0 24px 15px 24px !important; /* Memberikan jarak (whitespace) di kiri-kanan agar nge-frame */
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* 4. Mengatur font dan gaya teks link navigasi utama */
.pkp_navigation_primary a {
    color: #f8fafc !important; /* Teks putih bersih agar mudah dibaca */
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    font-size: 0.8rem !important;
    padding: 12px 20px !important;
    transition: all 0.25s ease !important;
}

/* 5. Efek Hover interaktif: berubah menjadi warna emas/orange hangat saat disentuh */
.pkp_navigation_primary a:hover, 
.pkp_navigation_primary .ui-state-hover a {
    color: #f3a93b !important; /* Aksen orange dari identitas jurnal Anda */
    background-color: rgba(255, 255, 255, 0.08) !important; /* Highlight transparan tipis */
    border-radius: 6px !important;
}

/* 6. Menyelaraskan tombol pencarian (Search) di pojok kanan navigasi */
.pkp_navigation_primary_wrapper .search_link {
    color: #f8fafc !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
}

.pkp_navigation_primary_wrapper .search_link:hover {
    color: #f3a93b !important;
}

/* Menghilangkan garis pembatas default OJS yang mengganggu */
.pkp_navigation_primary > li {
    border: none !important;
}
/* --- 1. FONTS & GLOBAL BACKGROUND --- */
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

/* Latar belakang luar bingkai menggunakan warna abu-abu kebiruan yang sangat tenang */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f1f5f9 !important; 
    color: #334155;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Mengubah website menjadi Boxed Layout (Berframe di Tengah) */
.pkp_structure_page {
    max-width: 1240px;
    margin: 40px auto !important;
    background-color: #ffffff !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

/* Mengatur Logo Jurnal agar Proporsional */
.pkp_site_name .is_img img {
    display: inline-block;
    max-height: 160px;
    max-width: 100%;
    width: auto;
    height: auto;
    padding: 10px 0;
}

h1, h2, h3, h4, h5, h6, .pkp_site_name {
    font-family: 'Lora', serif;
    color: #0f172a;
    font-weight: 700;
}

/* --- 2. HEADER & NAVIGASI --- */
.pkp_structure_head {
    background-color: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    padding-top: 15px;
    padding-bottom: 15px;
}

.pkp_navigation_primary a {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-size: 0.8rem;
    color: #475569;
    transition: all 0.2s ease;
}

.pkp_navigation_primary a:hover {
    color: #1e3a8a; 
}

/* --- 3. KARTU ARTIKEL (Gaya Premium dengan Aksen Kiri) --- */
.cmp_article_list .obj_article_summary {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-left: 5px solid #d49524; /* Aksen garis oranye/emas elegan */
    border-radius: 8px;
    padding: 26px;
    margin-bottom: 25px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cmp_article_list .obj_article_summary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px -3px rgba(0, 0, 0, 0.06);
    border-color: #cbd5e1;
    border-left-color: #1e3a8a; /* Berubah jadi biru navy saat di-hover */
}

.obj_article_summary .title a {
    color: #0f172a;
    font-family: 'Lora', serif;
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.obj_article_summary .title a:hover {
    color: #d49524;
}

.obj_article_summary .authors {
    color: #64748b;
    font-size: 0.95rem;
    margin-top: 12px;
    font-weight: 500;
}

/* --- 4. TOMBOL & GALLEY PDF --- */
.btn, .pkp_button {
    background-color: #1e3a8a; 
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 10px 22px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.3px;
    transition: all 0.2s ease;
}

.btn:hover, .pkp_button:hover {
    background-color: #1d4ed8;
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.25);
}

/* Tombol PDF khusus */
.obj_galley_link {
    background-color: #1e3a8a !important; /* Menggunakan biru navy premium untuk tombol utama */
    color: #ffffff !important;
    border-radius: 6px;
    padding: 8px 18px;
    font-size: 0.85rem;
    font-weight: 600;
    border: none;
    transition: all 0.2s ease;
}

.obj_galley_link:hover {
    background-color: #d49524 !important; /* Efek gold saat kursor diarahkan */
    color: #ffffff !important;
}

/* --- 5. HALAMAN DETAIL ARTIKEL (ABSTRAK) --- */
.page_article .main_entry {
    background: #ffffff;
    padding: 35px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.page_article .item.abstract {
    font-size: 1rem;
    line-height: 1.8;
    color: #334155;
    text-align: justify;
}

.page_article .item.abstract h3 {
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 12px;
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- 6. SIDEBAR (BLOK SAMPING) --- */
.pkp_structure_sidebar .block {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 26px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.pkp_structure_sidebar .block .title {
    background: #1e3a8a;
    color: #ffffff;
    padding: 14px 18px;
    margin: -24px -24px 22px -24px;
    border-radius: 9px 9px 0 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* Menu Vertikal Kustom */
.content .vertical-menu {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden; 
    margin-bottom: 15px;
}

.content .vertical-menu span {
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: #1e293b;
    padding: 12px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.content .vertical-menu a {
    color: #475569;
    display: block; 
    padding: 12px 18px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.2s ease;
}

.content .vertical-menu a:last-child {
    border-bottom: none;
}

.content .vertical-menu a:hover {
    background-color: #f8fafc;
    color: #1e3a8a; 
    padding-left: 22px; 
    border-left: 4px solid #d49524; /* Garis emas vertikal */
}

/* --- 7. ADDITIONAL CONTENT & INDEXING --- */
.journal-info-wrapper {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 35px;
    margin-bottom: 30px;
}

.journal-about-section {
    display: flex;
    gap: 35px;
    margin-bottom: 30px;
    padding-bottom: 35px;
    border-bottom: 1px solid #f1f5f9;
}

.journal-cover {
    flex: 0 0 240px;
}

.journal-cover img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.journal-summary {
    text-align: justify;
    font-size: 1rem;
    color: #475569;
    margin-bottom: 25px;
}

.journal-meta ul {
    list-style: none;
    padding: 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.journal-meta ul li {
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #334155;
    border-bottom: 1px dashed #e2e8f0;
    padding-bottom: 8px;
}

.journal-meta ul li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.journal-meta ul li span {
    display: inline-block;
    width: 180px;
    color: #64748b;
    font-weight: 600;
}

.btn-submit-article {
    display: inline-block;
    background-color: #dc2626; 
    color: #ffffff !important;
    padding: 12px 26px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-submit-article:hover {
    background-color: #b91c1c;
    transform: translateY(-1px);
}

/* Bagian Logo Indexing */
.index-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    background: #f8fafc;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.index-logos img {
    height: 50px; 
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: all 0.3s ease;
}

.index-logos img:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

/* --- 8. SIDEBAR BLOCKS ENHANCEMENT --- */
.pkp_structure_sidebar .content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 6px;
}

.block_information a {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    color: #475569;
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    margin-bottom: 10px;
}

/* Memperbaiki karakter ikon panah menu samping */
.block_information a::before {
    content: "→";
    margin-right: 12px;
    color: #94a3b8;
    font-weight: bold;
    transition: transform 0.2s ease;
}

.block_information a:hover {
    background-color: #1e3a8a; 
    color: #ffffff;
    border-color: #1e3a8a;
}

.block_information a:hover::before {
    color: #ffffff;
    transform: translateX(4px);
}

/* Area Akhir Footer */
.pkp_structure_footer_wrapper {
    background: #ffffff !important;
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
    padding-bottom: 20px;
}

/* Responsivitas HP */
@media (max-width: 768px) {
    .pkp_structure_page {
        margin: 0 !important;
        border-radius: 0;
        border: none;
    }
    .journal-about-section {
        flex-direction: column;
        align-items: center;
    }
    .journal-cover {
        width: 50%;
    }
}