@import https://fonts.googleapis.com/css?family=Open+Sans:400,600,700|Roboto:400,700;

/* ==========================================================================
   1. LAYOUT UTAMA & BACKGROUND DASAR
   ========================================================================== */
html, body {
    margin: 0;
    padding: 0;
    background: url(https://research.elkatarie.ac.id/public/site/images/admin/backgrid.png) repeat fixed !important;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: #222222;
    text-align: justify;
}

.pkp_structure_wrapper {
    background: transparent !important;
    padding: 15px 0;
}

.pkp_structure_page {
    background: #ffffff !important;
    max-width: 1180px;
    margin: 0 auto !important;
    padding: 0 20px 20px 20px !important;
    border-radius: 8px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.12) !important;
    border: none !important;
}

/* ==========================================================================
   2. HEADER & BANNER BANNER (KEMBALI TINGGI PROPORSIONAL & MEGAH)
   ========================================================================== */
.pkp_structure_head {
    background: #ffffff !important;
    padding: 0 !important;
    margin: 0 !important;
}

.pkp_head_wrapper {
    padding: 0 !important;
    margin: 0 !important;
}

.pkp_site_name_wrapper {
    padding: 0 !important;
    margin: 0 !important;
    text-align: center !important;
    width: 100% !important;
    display: block !important;
}

.pkp_site_name {
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
}

.pkp_site_name > a {
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

/* Melepas semua batasan pembatas tinggi agar gambar banner tampil utuh sesuai ukuran aslinya */
.pkp_site_name .is_img img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important; 
    min-height: auto !important;
    display: block !important;
    margin: 0 auto !important;
}

/* Navigasi User Login / Register di atas banner */
.pkp_navigation_user_wrapper {
    position: absolute;
    top: 10px;
    right: 20px;
    z-index: 999;
}
.pkp_navigation_user_wrapper a {
    font-size: 12px !important;
    color: #ffffff !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
    padding: 0 10px !important;
}

/* =====================================================
   MENU NAVIGASI OJS 3.4 - CENTER & SEARCH SEJAJAR
   ===================================================== */

.pkp_navigation_primary_row {
    background: linear-gradient(to bottom,
        #ffffff 0%,
        #a3ffa3 15%,
        #33cc33 50%,
        #009900 51%,
        #85ff85 100%) !important;

    border-top: 2px solid #ffffff !important;
    border-bottom: 2px solid #004d00 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    min-height: 42px !important;
    padding: 0 !important;
    margin: 0 0 15px 0 !important;
}

/* Area menu utama */
.pkp_navigation_primary_wrapper {
    flex: 1 1 auto !important;
    display: flex !important;
    justify-content: left !important;
    align-items: center !important;
}

/* Menu berada tepat di tengah */
.pkp_navigation_primary_wrapper > ul {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: left !important;
    align-items: center !important;

    margin: 0 auto !important;
    padding: 0 !important;
    list-style: none !important;
}

/* Item menu */
.pkp_navigation_primary_wrapper > ul > li {
    margin: 0 !important;
    padding: 0 !important;
}

/* Link menu */
.pkp_navigation_primary_wrapper > ul > li > a {
    display: block !important;
    padding: 0 18px !important;
    line-height: 42px !important;
    height: 42px !important;

    font-size: 14px !important;
    font-weight: 700 !important;
    color: #000 !important;
}

/* Search tetap di kanan */
.pkp_navigation_search_wrapper {
    flex: 0 0 auto !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;
    padding: 0 15px !important;
    height: 42px !important;
}

.pkp_navigation_search_wrapper a {
    line-height: 42px !important;
    height: 42px !important;
    display: block !important;
    color: #000 !important;
    font-weight: bold !important;
}

/* Hilangkan ruang kosong yang sering muncul di OJS 3.4 */
.pkp_navigation_primary,
.pkp_navigation_search {
    margin: 0 !important;
    padding: 0 !important;
}
/* ==========================================================================
   4. HILANGKAN TOTAL AREA BREADCRUMBS (WARNA BIRU)
   ========================================================================== */
.pkp_structure_breadcrumbs {
    display: none !important; /* Menghapus seluruh baris biru/rute halaman */
}

/* ==========================================================================
   5. KONTEN UTAMA & KOTAK RINGKASAN ARTIKEL
   ========================================================================== */
.pkp_structure_main {
    background: #ffffff !important;
    padding: 10px 0 !important;
}

a, a:link, a:active { 
    color: #006600; 
    text-decoration: none;
}
a:hover { 
    color: #00ff80; 
}

.obj_article_summary {
    background: #e6ffe6 !important;
    border: 1px solid #ccffcc !important; 
    padding: 18px !important; 
    border-radius: 10px !important; 
    margin-bottom: 20px !important;
    box-shadow: 3px 3px 4px #006600 !important;
    transition: all 0.25s ease;
}

.pkp_structure_main .obj_article_summary:hover {
    background-image: url(https://research.elkatarie.ac.id/public/site/images/admin/rounded-arcs.jpg) !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    box-shadow: 3px 10px 20px 0px rgba(0, 204, 0, 0.65) !important;
}

.meta .authors {
    background: url(https://research.elkatarie.ac.id/public/site/images/admin/users.png) no-repeat 1px 2px;
    font-weight: bold;
    color: #222222;
    padding-left: 24px;
    margin-top: 4px;
}

.cmp_button_wire, .obj_galley_link { 
    background: linear-gradient(to bottom,#ffffff 0%,#b3ffb3 50%,#80ff80 51%,#ffffff 100%) !important; 
    border: 1px solid #008000 !important; 
    color: #004d00 !important; 
    font-weight: bold !important;
    border-radius: 4px !important;
    padding: 5px 14px !important;
    display: inline-block !important;
}

.obj_galley_link:hover { 
    background: #008000 !important; 
    color: #ffffff !important; 
}

/* ==========================================================================
   6. CUSTOM SIDEBAR RE-OPTIMIZATION (BLOK MANAJER)
   ========================================================================== */
.custom-sidebar-container {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.sidebar-header-issn {
    background: linear-gradient(to bottom, #ffffff 0%, #b3ffb3 50%, #00cc00 51%, #ffffff 100%);
    border: 1px solid #008000;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    box-shadow: -1px 1px 5px 1px #bfbfbf;
    margin-bottom: 20px;
}
.sidebar-header-issn a {
    color: #000000 !important;
    font-weight: bold;
    font-size: 14px;
}

.sidebar-heading {
    background: #008000;
    color: #ffffff !important;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    padding: 9px;
    border-radius: 6px;
    margin: 20px 0 10px 0 !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-transform: uppercase;
}

.sidebar-menu-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn-sidebar {
    display: block !important;
    background: #ffffff !important;
    color: #333333 !important;
    border-left: 5px solid #008000 !important;
    border-top: 1px solid #e8eee8 !important;
    border-right: 1px solid #e8eee8 !important;
    border-bottom: 2px solid #008000 !important;
    padding: 10px 12px !important;
    font-size: 13px !important;
    font-weight: bold !important;
    text-align: left !important;
    border-radius: 0 6px 6px 0;
    box-shadow: -1px 1px 4px 1px #bfbfbf;
    transition: all 0.1s ease;
}

.btn-sidebar:hover {
    background: #00cc00 !important;
    color: #e6ffe6 !important;
    padding-left: 18px !important;
    border-left-width: 7px !important;
}

.sidebar-media-box {
    background: #ffffff;
    border: 1px solid #e5ece5;
    border-radius: 6px;
    padding: 12px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

.img-responsive-sidebar {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.sidebar-indexing-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.indexing-item {
    background: #ffffff;
    border: 2px solid #00cc00;
    padding: 6px;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.indexing-item img {
    max-width: 100%;
    height: auto;
    max-height: 52px;
    object-fit: contain;
}

.statistics-box {
    background: #ccffcc !important;
}

/* ==========================================================================
   7. FOOTER
   ========================================================================== */
.pkp_structure_footer {
    background: #ffffff !important;
    border-top: 3px solid #008000;
    padding-top: 15px;
}

.pkp_structure_footer .pkp_footer_content {
    background-image: url(https://research.elkatarie.ac.id/public/site/images/admin/footer-saintekes.jpg);  
    background-size: cover;
    background-position: center;
    padding: 25px !important;
    color: #000000;
}

.pkp_brand_footer { display: none !important; }

/* ==========================================================================
   8. MEDIA QUERY RESPONSIF
   ========================================================================== */
@media (max-width: 991px) {
    .pkp_structure_page {
        margin: 10px !important;
        padding: 10px !important;
    }
    .pkp_navigation_primary_row {
        height: auto !important;
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    .pkp_navigation_primary_wrapper ul {
        flex-wrap: wrap !important;
    }
    .pkp_navigation_primary_wrapper ul li a {
        line-height: 38px !important;
        height: 38px !important;
        padding: 0 12px !important;
    }
    .pkp_navigation_search_wrapper {
        padding: 5px 15px !important;
    }
}