/* =======================================================
   1. PENGATURAN HEADER & LOGO (SYNTAX NAVY-TEAL THEME)
   ======================================================= */

.pkp_head_wrapper, .has_site_logo .pkp_head_wrapper { 
    position: relative; 
    padding-top: 0 !important; 
    background: transparent; 
}

.pkp_site_name_wrapper { 
    width: 100%; 
    padding-left: 0 !important; 
    padding-right: 0 !important; 
}

.pkp_site_name { 
    padding-top: 0 !important; 
    padding-bottom: 0 !important; 
    width: 100%;
}

.pkp_site_name > a { 
    display: block;
    width: 100%;
    padding-top: 0; 
    padding-bottom: 0; 
}

.pkp_site_name .is_img { 
    display: block; 
    margin: 0; 
    padding: 0; 
    width: 100%;
}

.pkp_site_name .is_img img { 
    max-height: none !important; 
    width: 100% !important;      
    height: auto !important;     
    display: block;
    margin: 0; 
}


/* =======================================================
   2. PENGATURAN SIDEBAR MENU (JURNAL DEVICE - ORANGE THEME)
   ======================================================= */

.sidebar-menu-wrapper {
    width: 100%;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #df691a; /* Warna dasar oranye */
    border: 1px solid #cc5a12;
    border-radius: 6px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 25px;
}

.sidebar-menu-title {
    background-color: #0b3b60; /* Biru gelap selaras dengan banner atas jurnal */
    color: #ffffff;
    padding: 12px 15px;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-bottom: 4px solid #f9a826; /* Garis aksen kuning/oranye terang */
}

.sidebar-menu-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.sidebar-menu-list li {
    border-bottom: 1px solid #e8823f; /* Garis pemisah oranye lebih terang */
    margin: 0;
    padding: 0;
}

.sidebar-menu-list li:last-child {
    border-bottom: none;
}

.sidebar-menu-list a {
    display: block;
    padding: 12px 15px;
    text-decoration: none !important;
    background-color: #df691a; /* Background dasar menu oranye */
    color: #ffffff !important; /* Teks putih */
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    transition: all 0.3s ease-in-out;
    border-left: 4px solid transparent;
}

/* Efek saat cursor diarahkan ke menu (Hover) */
.sidebar-menu-list a:hover, 
.sidebar-menu-list a:focus {
    background-color: #0b3b60; /* Background berubah menjadi biru gelap */
    color: #ffffff !important;
    border-left-color: #f9a826; /* Muncul garis kuning di sebelah kiri */
    padding-left: 20px; /* Efek teks sedikit bergeser ke kanan */
}

/* =======================================================
   3. PENGATURAN MENU LOGIN & USER NAV (POJOK KANAN ATAS)
   ======================================================= */
/* Memastikan teks menu login/register berwarna putih agar kontras dengan background banner biru */
.pkp_navigation_user_wrapper {
    background: transparent !important;
}

.pkp_navigation_user > li > a {
    color: #ffffff !important;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 15px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5); /* Bayangan teks agar lebih mudah dibaca */
}

.pkp_navigation_user > li > a:hover,
.pkp_navigation_user > li > a:focus {
    color: #f9a826 !important; /* Berubah kuning keemasan saat di-hover */
}

/* =======================================================
   4. PENGATURAN NAVIGATION MENU UTAMA & PENCARIAN
   ======================================================= */
/* Menu Navigasi Utama (CURRENT, ARCHIVES, dll) */
.pkp_navigation_primary_wrapper {
    background-color: #ffffff;
    border-bottom: 2px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.pkp_navigation_primary > li > a {
    color: #444444 !important;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    padding: 15px 20px;
    transition: all 0.3s ease;
}

.pkp_navigation_primary > li > a:hover,
.pkp_navigation_primary > li.current > a {
    color: #df691a !important; /* Teks berubah oranye */
    border-bottom: 3px solid #df691a; /* Garis bawah oranye */
}

/* Tombol / Ikon Pencarian (Q SEARCH) */
.pkp_search .search_prompt,
.pkp_search .search_controls a {
    color: #444444;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    transition: color 0.3s ease;
}

.pkp_search .search_prompt:hover,
.pkp_search .search_controls a:hover {
    color: #df691a;
}

/* =======================================================
   5. PENGATURAN TAMPILAN ARTIKEL (DAFTAR ISI & ARTIKEL)
   ======================================================= */
/* Judul Artikel */
.obj_article_summary .title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 8px;
}

.obj_article_summary .title a {
    color: #1a5b8c !important; /* Biru menyesuaikan cover jurnal */
    text-decoration: none;
    transition: color 0.3s ease;
}

.obj_article_summary .title a:hover {
    color: #df691a !important; /* Berubah oranye saat di-hover */
}

/* Tombol PDF Galley */
.obj_galley_link,
a.galley_link {
    background-color: #df691a !important; /* Warna dasar oranye */
    color: #ffffff !important;
    border: 2px solid #df691a !important;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 2px 4px rgba(223, 105, 26, 0.3);
}

.obj_galley_link:hover,
a.galley_link:hover {
    background-color: #ffffff !important;
    color: #df691a !important;
    border-color: #df691a !important;
}

/* Metadata Artikel (Views, Downloads, DOI, Published) */
.obj_article_summary .meta,
.obj_article_summary .galleys_links {
    font-size: 13px;
    color: #666666;
    margin-top: 10px;
    line-height: 1.6;
}

.obj_article_summary .meta a {
    color: #1a5b8c;
    text-decoration: none;
}

.obj_article_summary .meta a:hover {
    text-decoration: underline;
}

/* Mempertebal label metrik seperti 'Abstract views:' */
.obj_article_summary .meta strong {
    color: #333333;
}

/* =======================================================
   6. PENGATURAN FOOTER (JURNAL DEVICE)
   ======================================================= */
.footer-wrapper {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin-top: 40px;
}

/* Bagian Indexed By (Latar Putih) */
.indexed-by-section {
    background-color: #ffffff;
    padding: 40px 20px;
    text-align: center;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.05);
    margin-bottom: 0;
}

.indexed-title {
    font-size: 16px;
    font-weight: 700;
    color: #0b3b60; /* Biru Gelap Jurnal */
    text-transform: uppercase;
    margin-bottom: 25px;
    display: inline-block;
    border-bottom: 3px solid #df691a; /* Garis Oranye */
    padding-bottom: 5px;
}

.indexed-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.indexed-logos img {
    max-height: 35px; /* Menyesuaikan ukuran logo */
    width: auto;
    transition: transform 0.3s ease;
}

.indexed-logos img:hover {
    transform: scale(1.1); /* Sedikit membesar saat disorot */
}

/* Main Footer (Latar Biru Gelap) */
.main-footer {
    background-color: #0b3b60; /* Biru sesuai banner Device */
    color: #d1e0ec; /* Teks biru muda/abu-abu agar mudah dibaca di latar gelap */
    padding: 50px 20px 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-heading {
    border-bottom: 2px solid #235a87;
    padding-bottom: 10px;
    display: inline-block;
}

/* Kolom Kiri - Identitas Jurnal */
.footer-logo {
    font-size: 22px !important;
    margin-bottom: 15px !important;
}

.footer-logo span {
    background-color: #df691a; /* Oranye Device */
    color: #ffffff;
    font-size: 11px;
    padding: 3px 6px;
    border-radius: 3px;
    vertical-align: middle;
    margin-left: 8px;
}

.footer-desc {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-issn {
    background-color: #1a5b8c;
    border: 1px solid #235a87;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    color: #ffffff;
    font-weight: 600;
}

/* Daftar Menu Link (Kolom 2 & 3) */
.footer-links {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #d1e0ec;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
}

.footer-links a::before {
    content: '›';
    color: #df691a; /* Panah oranye kecil */
    margin-right: 8px;
    font-weight: bold;
}

.footer-links a:hover {
    color: #f9a826; /* Kuning keemasan saat hover */
    padding-left: 5px;
}

/* Informasi Kontak (Kolom 4) */
.footer-contact {
    font-size: 13px;
    line-height: 1.6;
}

.footer-contact strong {
    color: #ffffff;
}

.footer-contact a {
    color: #d1e0ec;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #f9a826;
}

.wa-link {
    color: #2bd865 !important; /* Warna hijau khas WhatsApp */
    font-weight: 600;
    display: inline-block;
    margin-top: 8px;
}

/* Footer Bottom (Area Copyright) */
.footer-bottom {
    background-color: #07263e; /* Warna paling gelap di bagian paling bawah */
    color: #8a9fb1;
    text-align: center;
    padding: 15px 20px;
    font-size: 12px;
    margin: 0;
}

/* Sembunyikan Logo Bawaan OJS/PKP di Bagian Paling Bawah */
.pkp_brand_footer, 
a.pkp_brand_footer,
.pkp_footer_content .pkp_brand_footer {
  display: none !important;
}


/* =======================================================
   7. PENGATURAN CUSTOM BLOCK (AKREDITASI & STATISTIK)
   ======================================================= */

.custom-sidebar-widget {
    background-color: #ffffff;
    border: 1px solid #e0e6ed;
    border-radius: 12px; /* Sudut melengkung halus seperti contoh gambar */
    padding: 20px 18px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* Desain Judul dengan efek garis bawah ganda */
.widget-heading {
    font-size: 15px;
    color: #0b3b60; /* Biru gelap Device */
    font-weight: 800;
    text-transform: uppercase;
    position: relative;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid #dcdfe3; /* Garis tipis abu-abu/biru pudar */
    letter-spacing: 0.5px;
}

.widget-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px; /* Menimpa garis tipis di atasnya */
    width: 45px; /* Panjang garis tebal aksen */
    height: 3px;
    background-color: #df691a; /* Warna aksen oranye Device */
    border-radius: 2px;
}

.widget-content {
    text-align: center;
}

/* Efek bayangan tegas pada logo Akreditasi seperti contoh gambar */
.img-shadow {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2); 
    transition: transform 0.3s ease;
}

.img-shadow:hover {
    transform: translateY(-3px); /* Efek sedikit terangkat saat disorot */
}

.img-fluid {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.counter-box {
    margin-bottom: 20px;
}

.counter-box:last-child {
    margin-bottom: 0;
}

/* Tombol View My Stats */
.stat-link a {
    display: inline-block;
    margin-top: 5px;
    font-size: 13px;
    color: #0b3b60;
    font-weight: 700;
    text-decoration: none;
    background-color: #f0f4f8;
    padding: 6px 14px;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: 1px solid #e0e6ed;
}

.stat-link a:hover {
    background-color: #df691a; /* Berubah oranye saat di-hover */
    color: #ffffff;
    border-color: #df691a;
}