/* ============================= */
/* ===== HEADER FULL WIDTH ===== */
/* ============================= */
.pkp_site_name .is_img img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    display: block;
}

/* Hapus padding & margin header */
.pkp_site_name_wrapper,
.pkp_site_name {
    padding: 0 !important;
    margin: 0 !important;
}

/* Hapus jarak container atas */
.pkp_structure_head {
    padding: 0 !important;
    margin: 0 !important;
    background: none !important;
}

/* Hapus jarak halaman */
.pkp_structure_page {
    margin: 0 !important;
    padding: 0 !important;
}


/* ===================================== */
/* ===== PERBAIKAN SIDEBAR (PENTING) ==== */
/* ===================================== */

/* Sistem jarak otomatis & rapi */
.pkp_structure_sidebar {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Hilangkan margin bawaan OJS */
.pkp_structure_sidebar .pkp_block {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

/* Rapikan isi dalam block */
.pkp_structure_sidebar .pkp_block .content {
    padding: 8px !important;
    margin: 0 !important;
}

/* Hilangkan elemen kosong penyebab jarak */
.pkp_structure_sidebar p:empty,
.pkp_structure_sidebar div:empty {
    display: none !important;
}

.pkp_structure_sidebar br {
    display: none;
}


/* ================================= */
/* ===== TEMPLATE DOWNLOAD BOX ===== */
/* ================================= */

.template-box {
    background: #d8cfe3;
    padding: 10px;
    border-radius: 8px;
}

.template-title {
    background: #7a5aa6;
    color: #fff;
    text-align: center;
    font-weight: bold;
    padding: 8px;
    border-radius: 6px;
    margin-bottom: 8px;
    font-size: 14px;
}

.template-download {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.template-download img {
    width: 40px;
    height: 40px;
}

.btn-download {
    background: linear-gradient(135deg, #6a4fa3, #8b6ccf);
    color: white;
    padding: 8px 12px;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    border-radius: 6px;
    text-align: center;
    transition: 0.2s;
}

.btn-download:hover {
    background: linear-gradient(135deg, #5a3e91, #7a5aa6);
    color: #fff;
}


/* ============================== */
/* ===== QUICK MENU SIDEBAR ===== */
/* ============================== */

.quick-menu-box {
    background: #d8cfe3;
    border-radius: 8px;
    padding: 10px;
}

.quick-menu-title {
    background: #7a5aa6;
    color: #fff;
    font-weight: bold;
    text-align: center;
    padding: 8px;
    border-radius: 6px;
    margin-bottom: 8px;
    font-size: 14px;
}

.quick-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quick-menu-list li {
    margin-bottom: 5px;
}

.quick-menu-list li a {
    display: block;
    background: #b9a9cf;
    padding: 8px 10px;
    border-radius: 5px;
    text-decoration: none;
    color: #000;
    font-size: 13px;
    transition: 0.2s;
}

.quick-menu-list li a:hover {
    background: #9b87bb;
    color: #fff;
}

/* ===== SAMAKAN SEMUA SIDEBAR SEPERTI QUICK MENU ===== */

/* Semua block sidebar */
.pkp_structure_sidebar .pkp_block {
    background: #d8cfe3 !important;
    border-radius: 8px !important;
    padding: 10px !important;
}

/* Judul block (seperti "LATEST PUBLICATIONS") */
.pkp_structure_sidebar .pkp_block .title {
    background: #7a5aa6 !important;
    color: #fff !important;
    text-align: center;
    font-weight: bold;
    padding: 8px !important;
    border-radius: 6px !important;
    margin-bottom: 10px !important;
    font-size: 14px !important;
}

/* Isi block */
.pkp_structure_sidebar .pkp_block .content {
    background: transparent !important;
    padding: 5px !important;
}

/* Link di dalam block */
.pkp_structure_sidebar .pkp_block a {
    display: block;
    background: #b9a9cf;
    padding: 8px 10px;
    border-radius: 5px;
    text-decoration: none;
    color: #000 !important;
    font-size: 13px;
    margin-bottom: 5px;
}

/* Hover */
.pkp_structure_sidebar .pkp_block a:hover {
    background: #9b87bb;
    color: #fff !important;
}