/* =====================================================
   HEADER BANNER
===================================================== */
.pkp_structure_head {
    background-image: url('https://jurnal.cbi.ac.id/public/jsiicbi/banner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 260px;
    padding-top: 220px;
    position: relative;
}

/* Overlay agar teks/menu lebih jelas */
.pkp_structure_head::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.08);
}

/* =====================================================
   HILANGKAN LOGO BAWAAN
===================================================== */
.pkp_site_name_wrapper {
    display: none;
}

/* =====================================================
   BODY
===================================================== */
body {
    background: #f5f7fb;
    font-family: "Segoe UI", Arial, sans-serif;
    color: #222;
}

/* =====================================================
   MENU UTAMA
===================================================== */
.pkp_navigation_primary_wrapper {
    background: #ffffff;
    border-top: 4px solid #2d2f92;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 999;
}

/* Menu utama */
.pkp_navigation_primary > li > a {
    padding: 16px 18px;
    font-weight: 600;
    color: #1f1f1f !important;
    transition: all 0.25s ease;
}

/* Hover menu */
.pkp_navigation_primary > li > a:hover {
    color: #2d2f92 !important;
    background: rgba(45,47,146,0.06);
    border-radius: 4px;
}

/* Menu aktif */
.pkp_navigation_primary > .current > a {
    color: #2d2f92 !important;
}

/* =====================================================
   LOGIN - REGISTER - DASHBOARD
===================================================== */
.pkp_navigation_user_wrapper a,
.pkp_navigation_user_wrapper a:link,
.pkp_navigation_user_wrapper a:visited {
    color: #222 !important;
    font-weight: 600;
    transition: 0.2s;
}

/* Hover user menu */
.pkp_navigation_user_wrapper a:hover {
    color: #2d2f92 !important;
    text-decoration: none;
}

/* =====================================================
   DROPDOWN USER
===================================================== */
.pkp_navigation_user_wrapper ul {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

/* =====================================================
   CONTENT AREA
===================================================== */
.pkp_structure_content {
    background: #ffffff;
    border-radius: 10px;
    padding: 25px;
    margin-top: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

/* =====================================================
   SIDEBAR
===================================================== */
.pkp_block {
    border-radius: 10px;
    background: #ffffff;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

/* =====================================================
   LINK UMUM
===================================================== */
a {
    color: #2d2f92;
}

a:hover {
    color: #1a1c66;
    text-decoration: none;
}

/* =====================================================
   FOOTER
===================================================== */
.pkp_structure_footer_wrapper {
    background: #1f2377;
    color: #ffffff;
    padding: 30px 0;
    margin-top: 40px;
}

.pkp_structure_footer_wrapper a {
    color: #ffffff;
}

/* =====================================================
   SIDEBAR AREA
===================================================== */
.pkp_structure_sidebar {
    padding-top: 10px;
}

/* =====================================================
   CUSTOM BLOCK SIDEBAR
===================================================== */
.pkp_block {
    background: #ffffff;
    border-radius: 12px;
    margin-bottom: 22px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0,0,0,0.06);
    border: 1px solid #e8ecf4;
    transition: all 0.3s ease;
}

/* Hover efek */
.pkp_block:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 18px rgba(0,0,0,0.10);
}

/* =====================================================
   JUDUL BLOCK
===================================================== */
.pkp_block .title {
    background: linear-gradient(135deg, #2d2f92, #4b4fc7);
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 16px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* =====================================================
   ISI BLOCK
===================================================== */
.pkp_block .content {
    padding: 18px;
    font-size: 14px;
    line-height: 1.7;
    color: #333333;
    background: #ffffff;
}

/* =====================================================
   LINK SIDEBAR
===================================================== */
.pkp_block .content a {
    color: #2d2f92;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

/* Hover link */
.pkp_block .content a:hover {
    color: #1a1c66;
    padding-left: 4px;
}

/* =====================================================
   LIST MENU SIDEBAR
===================================================== */
.pkp_block ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pkp_block ul li {
    padding: 8px 0;
    border-bottom: 1px solid #eef2f7;
}

.pkp_block ul li:last-child {
    border-bottom: none;
}

/* =====================================================
   GAMBAR SIDEBAR
===================================================== */
.pkp_block img {
    max-width: 100%;
    border-radius: 8px;
    transition: all 0.3s ease;
}

/* Hover gambar */
.pkp_block img:hover {
    transform: scale(1.02);
}

/* =====================================================
   TOMBOL SIDEBAR
===================================================== */
.pkp_block .content button,
.pkp_block .content input[type="submit"] {
    background: #2d2f92;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pkp_block .content button:hover,
.pkp_block .content input[type="submit"]:hover {
    background: #1f2377;
}
/* =====================================================
   PERBAIKI POSISI SIDEBAR
===================================================== */

/* Sidebar naik ke atas */
.pkp_structure_sidebar {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Hilangkan jarak kosong */
.pkp_block {
    margin-top: 0 !important;
}

/* Pastikan sidebar rata atas */
.pkp_structure_main:after {
    content: "";
    display: block;
    clear: both;
}

/* Layout sidebar */
.pkp_structure_content {
    align-items: flex-start;
}

/* Khusus OJS 3.3 */
.pkp_structure_sidebar.left,
.pkp_structure_sidebar.right {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Jika masih turun */
.page_index_journal .pkp_structure_sidebar {
    position: relative;
    top: -10px;
}
/* Konten dan sidebar sejajar dari atas */
.pkp_structure_content {
    display: flex;
    align-items: flex-start;
}