/* =========================
   HEADER OJS
   ========================= */

.pkp_site_name {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.pkp_site_name > a {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.pkp_site_name .is_img img {
    max-height: 200px !important;
}

.pkp_site_name_wrapper {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Register & Login di bawah ISSN */
.pkp_navigation_user_wrapper {
    position: absolute !important;
    top: 42px !important;
    right: 25px !important;
    z-index: 999 !important;
    padding-right: 0 !important;
}

.pkp_navigation_user {
    display: flex !important;
    gap: 15px !important;
}

.pkp_navigation_user li a {
    color: #ffffff !important;
    font-weight: 600 !important;
    text-shadow: 0 1px 2px rgba(0,0,0,.3);
}

/* =========================
   BODY
   ========================= */

.pkp_structure_page {
    margin-top: 20px !important;
    margin-bottom: 20px !important;
    padding-bottom: 20px !important;
}

/* =========================
   FOOTER
   ========================= */

.pkp_footer_content {
    float: left;
    width: 70%;
    padding-top: 10px;
    padding-bottom: 10px;
}

.pkp_brand_footer {
    float: right;
    width: 30%;
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: right;
}

/* =========================
   SIDEBAR REVIEWER
   ========================= */

.sidebar-container {
    max-width: 20rem;
    margin: 1.5rem auto;
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1rem;
}

.sidebar-title {
    font-size: 1rem;
    font-weight: bold;
    color: #ffffff;
    background-color: #8852BC;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem 0.5rem 0 0;
    margin-bottom: 0.75rem;
    text-align: center;
}

.sidebar-item {
    display: block;
    border: 1px solid #3F0065;
    border-radius: 0.5rem;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    text-decoration: none;
    color: #583484;
    background: linear-gradient(to left, #ffffff 50%, #C4AADE 50%);
    background-size: 200% 100%;
    background-position: right bottom;
    transition: background-position 0.4s ease,
                color 0.4s ease,
                border-color 0.4s ease;
}

.sidebar-item:hover {
    background-position: left bottom;
    color: #ffffff;
    border-color: #C4AADE;
}

.sidebar-item.active {
    background-position: left bottom;
    color: #ffffff;
    border-color: #C4AADE;
}

/* =========================
   HIDE PUBLISHED DATE
   ========================= */

.obj_issue_summary .published,
.current_issue .published,
.issue_toc .published,
.page_issue .published {
    display: none !important;
}
/* Geser menu user ke kanan dan ke bawah */
.pkp_navigation_user_wrapper {
    position: absolute !important;
    top: 71px !important;
    right: 8px !important;
    left: auto !important;
    z-index: 9999 !important;
}

/* Posisi username */
.pkp_navigation_user_wrapper ul {
    float: right !important;
}

/* Dropdown sederhana tanpa kotak putih */
.pkp_navigation_user_wrapper .dropdown-menu {
    right: 0 !important;
    left: auto !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* Item menu */
.pkp_navigation_user_wrapper .dropdown-menu a {
    background: #F5E8A3 !important;
    color: #5B3A00 !important;
    border-radius: 3px !important;
    margin: 3px 0 !important;
    padding: 5px 8px !important;
    font-weight: 200 !important;
    display: block !important;
}

/* Hover */
.pkp_navigation_user_wrapper .dropdown-menu a:hover,
.pkp_navigation_user_wrapper .dropdown-menu a:focus {
    background: #F7D29B !important;
    color: #4A2F00 !important;
}
/* Tombol Register & Login */
.pkp_navigation_user_wrapper a {
    background: #CCCCFF !important;
    color: #5B3A00 !important;
    padding: 5px 10px !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border: none !important;
    display: inline-block !important;
    margin-left: 8px !important;
    box-shadow: none !important;
}

/* Hover */
.pkp_navigation_user_wrapper a:hover {
    background: #EEDB7A !important;
    color: #4A2F00 !important;
}

/* Hilangkan background ungu bawaan */
.pkp_navigation_user_wrapper li {
    background: transparent !important;
}
/* Warna teks Register dan Login */
.pkp_navigation_user_wrapper a,
.pkp_navigation_user_wrapper a:link,
.pkp_navigation_user_wrapper a:visited {
    color: #5B3A00 !important;
    background: #CCCCFF !important;
    font-weight: 600 !important;
}

/* Saat hover */
.pkp_navigation_user_wrapper a:hover,
.pkp_navigation_user_wrapper a:focus {
    color: #4A2F00 !important;
    background: #EEDB7A !important;
}

/* =========================
   DROPDOWN MENU MODERN UNGU-PUTIH
   ========================= */

/* Container dropdown */
#navigationPrimary ul ul,
.pkp_navigation_primary .dropdown-menu {
    background: #ffffff !important;
    border: 1px solid rgba(81,50,126,.15) !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 25px rgba(81,50,126,.15) !important;
    padding: 6px !important;
}

/* Hilangkan background item */
#navigationPrimary ul ul li,
.pkp_navigation_primary .dropdown-menu li {
    background: transparent !important;
    margin-bottom: 4px !important;
}

/* Item dropdown */
#navigationPrimary ul ul li a,
.pkp_navigation_primary .dropdown-menu li a {
    display: block !important;
    background: #ffffff !important;
    color: #51327E !important;
    border: 1px solid transparent !important;
    border-radius: 6px !important;
    padding: 10px 14px !important;
    font-weight: 600 !important;
    transition: all .25s ease !important;
}

/* Hover */
#navigationPrimary ul ul li a:hover,
#navigationPrimary ul ul li a:focus,
.pkp_navigation_primary .dropdown-menu li a:hover {
    background: #51327E !important;
    color: #ffffff !important;
    border-color: #51327E !important;
    transform: translateX(3px);
}

/* Item aktif */
#navigationPrimary ul ul li.current a,
#navigationPrimary ul ul li.current_page_item a {
    background: #51327E !important;
    color: #ffffff !important;
}
/* Dropdown lebih kecil */
#navigationPrimary ul ul li a,
.pkp_navigation_primary .dropdown-menu li a {
    display: block !important;
    background: #ffffff !important;
    color: #51327E !important;
    border: 1px solid transparent !important;
    border-radius: 4px !important;
    padding: 6px 10px !important; /* sebelumnya 10px 14px */
    font-size: 13px !important;   /* ukuran teks lebih kecil */
    line-height: 1.2 !important;
    font-weight: 600 !important;
    transition: all .2s ease !important;
}

/* Jarak antar item lebih rapat */
#navigationPrimary ul ul li,
.pkp_navigation_primary .dropdown-menu li {
    margin-bottom: 2px !important;
}

/* Container dropdown lebih kecil */
#navigationPrimary ul ul,
.pkp_navigation_primary .dropdown-menu {
    padding: 4px !important;
    border-radius: 6px !important;
}
.pkp_navigation_primary_row .current a {
    color: #51327E !important;
    border-bottom: 3px solid #51327E !important;
    font-weight: 700 !important;
}

/* Hover menu utama */
.pkp_navigation_primary_row .menu > li > a:hover,
#navigationPrimary > li > a:hover {
    color: #51327E !important;
    background: transparent !important;
    text-decoration: none !important;
}

/* Garis bawah animasi */
.pkp_navigation_primary_row .menu > li > a {
    border-bottom: 3px solid transparent;
    transition: all .2s ease;
}

.pkp_navigation_primary_row .menu > li > a:hover {
    border-bottom-color: #51327E;
}
/* Hover menu utama dengan background */
.pkp_navigation_primary_row .menu > li > a:hover,
#navigationPrimary > li > a:hover {
    background: #F2EEFA !important;
    color: #51327E !important;
    border-radius: 4px !important;
    border-bottom-color: #51327E !important;
}
/* Tombol Make a Submission - Gold */
.block_make_submission a,
.make_submission a {
    background: #D4AF37 !important;
    border: 1px solid #D4AF37 !important;
    color: #ffffff !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
}
/* Make a Submission */
.block_make_submission a,
.make_submission a {
    display: block !important;
    width: 100% !important;
    text-align: center !important;

    background: linear-gradient(to left, #D4AF37 50%, #8852BC 50%) !important;
    background-size: 200% 100% !important;
    background-position: right bottom !important;

    color: #ffffff !important;
    border: 1px solid #D4AF37 !important;
    border-radius: 4px !important;

    transition: background-position 0.4s ease,
                border-color 0.4s ease,
                color 0.4s ease !important;
}

/* Hover */
.block_make_submission a:hover,
.make_submission a:hover {
    background-position: left bottom !important;
    color: #ffffff !important;
    border-color: #8852BC !important;
}
/* Background menu utama */
.pkp_navigation_primary_row {
    background: #F4E7B5 !important; /* gold muda */
    border-top: 1px solid #E2D29A !important;
    border-bottom: 1px solid #E2D29A !important;
}

/* Teks menu utama */
.pkp_navigation_primary_row a,
#navigationPrimary > li > a {
    color: #51327E !important;
    font-weight: 600 !important;
}

/* Hover menu utama */
#navigationPrimary > li > a:hover,
#navigationPrimary > li:hover > a {
    background: #E3C145 !important;
    color: #ffffff !important;
    border-radius: 4px !important;
}

.card{
    background:#fff;
    border-radius:10px;
    padding:18px 20px;
    margin-bottom:16px;
    box-shadow:0 2px 10px rgba(0,0,0,0.08);
    border-left:4px solid transparent;
    transition:all .25s ease;
}

.card:hover{
    transform:translateY(-4px);
    box-shadow:0 10px 25px rgba(0,0,0,0.12);
    border-left:4px solid #4a148c;
    background:#faf7ff;
}

/* NAMA */
.name{
    font-size:13px !important;
    font-weight:700;
    color:#4a148c;
    line-height:1.3;
    margin-bottom:4px;
}

/* INSTANSI */
.instansi{
    font-size:11px !important;
    color:#444;
    margin-bottom:2px;
}

/* AFFILIATION */
.affiliation{
    font-size:11px !important;
    color:#777;
    margin-bottom:10px;
}

/* BADGE CONTAINER */
.badges{
    display:flex;
    gap:7px;
    flex-wrap:wrap;
}

/* BADGE STYLE */
.badge{
    display:inline-block;
    padding:0.3px 5px;
    font-size:8px;
    font-weight:600;
    border-radius:4px;
    text-decoration:none;
    color:#fff;
    transition:all .2s ease;
}

/* COLORS */
.scopus{ background:#F5C887; }
.scholar{ background:#7187F3; }
.sinta{ background:#C39BE1; }

/* HOVER BADGE */
.badge:hover{
    transform:translateY(-2px);
    opacity:0.9;
}
/* ===== EDITORIAL BOARD: PAKSA FOTO DI KIRI ===== */
.container .card{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
}

/* FOTO DIPAKSA KE KIRI */
.container .card img.photo{
    width: 90px;
    height: 120px;
    object-fit: cover;
    border-radius: 6px;
    border: 2px solid #ddd;

    order: 1;
    flex-shrink: 0;
}

/* TEKS DIPAKSA KE KANAN */
.container .card-content{
    flex: 1;
    order: 2;
}

/* RESPONSIVE */
@media (max-width: 768px){
    .container .card{
        flex-direction: column;
        text-align: center;
    }

    .container .card img.photo{
        order: unset;
        margin-bottom: 10px;
    }

    .container .card-content{
        order: unset;
    }
}
.page_masthead .card{
    max-width: 700px;
    margin: 0 auto 16px auto; /* biar tetap center */
}
.container .card{
    max-width: 700px;
    margin: 0 auto 16px auto;
}

/* 2 card per baris */
.pkp_structure_content .card{
    flex: 0 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
}


/* ==========================
   EDITORIAL TEAM
   ========================== */

.editor-section{
    width:100%;
}

.section-title{
    font-size:22px;
    font-weight:700;
    margin:35px 0 20px;
    color:#222;
}

/* Editor in Chief */
.editor-chief{
    display:flex;
    justify-content:center;
}

/* Editorial Board dan Reviewer */
.editorial-grid,
.reviewer-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:25px;
    margin-bottom:35px;
}

.editorial-grid .card,
.reviewer-grid .card,
.editor-chief .card{
    width:100%;
    max-width:none;
    margin:0;
}

/* Mobile */
@media(max-width:768px){

    .editorial-grid,
    .reviewer-grid{
        grid-template-columns:1fr;
    }

}
.section-title{
    font-size:20px;
    margin:30px 0 15px;
    font-weight:bold;
}

.card-grid{
    display:flex;
    gap:25px;
    justify-content:center;
    flex-wrap:wrap;
    margin-bottom:35px;
}

.editor-chief{
    justify-content:center;
}

.card{
    width:420px;
    background:#fff;
    border-radius:10px;
    box-shadow:0 2px 10px rgba(0,0,0,.08);
    padding:18px;
}
/* === WRAPPER CARD TANPA MERUSAK LAYOUT OJS === */
.obj_article_summary {
    padding: 12px 14px;
    margin-bottom: 12px;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    background: #ffffff;
    transition: all 0.25s ease;
}

/* hover halus */
.obj_article_summary:hover {
    background: #f5f9ff;
    border-color: #B7D4B6;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}
/* CARD ARCHIVE ISSUE */
.obj_issue_summary {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    transition: all 0.25s ease;
}

/* HOVER */
.obj_issue_summary:hover {
    background: #f8fbff;
    border-color: #4a90e2;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
    transform: translateY(-2px);
}
.obj_issue_summary .cover img {
    border-radius: 8px;
    transition: all .3s ease;
}

.obj_issue_summary:hover .cover img {
    transform: scale(1.1);
}
.page_issue_archive .issues_archive {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(320px,1fr));
    gap: 20px;
}

.page_issue_archive .obj_issue_summary {
    height: 100%;
}

/* FOTO EDITORIAL TEAM */
.editor-section .photo{
    width: 80px !important;
    height: 100px !important;
    object-fit: cover !important;
    border-radius: 6px;
    border: 1px solid #ddd;
    flex-shrink: 0;
}

/* CARD */
.editor-section .card{
    display:flex;
    align-items:center;
    gap:15px;
    padding:15px;
}

/* NAMA */
.editor-section .name{
    font-size:16px;
    font-weight:700;
    color:#4a148c;
    margin-bottom:4px;
}

/* INSTANSI */
.editor-section .instansi{
    font-size:13px;
}

/* AFILIASI */
.editor-section .affiliation{
    font-size:12px;
    color:#666;
    margin-bottom:8px;
}
/* ==========================
   EDITOR IN CHIEF KHUSUS
   ========================== */

.editor-chief{
    display:flex;
    justify-content:center;
}

.editor-chief .card{
    display:block !important;
    text-align:center;
    max-width:320px;
    padding:25px;
}

.editor-chief .photo{
    width:120px !important;
    height:150px !important;
    object-fit:cover;
    border-radius:8px;
    margin:0 auto 15px auto;
    display:block;
}

.editor-chief .card-content{
    text-align:center;
}

.editor-chief .badges{
    justify-content:center;
}
.section-title{
    text-align: center;
    width: 100%;
    margin: 30px 0 20px;
}