/* RIK OJS — SIDEBAR MENU STYLE MATCH
   Main color: #96208d
   Tujuan: tautan Other Information / Tools tampil seperti menu For Readers,
   For Authors, For Librarians pada gambar referensi.
*/

/* Sidebar cards */
.pkp_structure_sidebar .pkp_block {
    background: #fff;
    border: 1px solid #f0dff0;
    border-radius: 16px;
    padding: 14px;
    margin-bottom: 16px;
    box-shadow: 0 5px 16px rgba(150, 32, 141, 0.035);
    box-sizing: border-box;
}

/* Sidebar headings */
.pkp_structure_sidebar .pkp_block .title,
.pkp_structure_sidebar .pkp_block h2,
.pkp_structure_sidebar .pkp_block h3 {
    color: #96208d;
    font-size: 13px;
    font-weight: 700;
    margin: 0 0 10px;
}

/* Reset lists */
.pkp_structure_sidebar .pkp_block ul,
.pkp_structure_sidebar .pkp_block ol {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.pkp_structure_sidebar .pkp_block ul li,
.pkp_structure_sidebar .pkp_block ol li {
    list-style: none !important;
    margin: 0 0 7px !important;
    padding: 0 !important;
}

.pkp_structure_sidebar .pkp_block ul li:last-child,
.pkp_structure_sidebar .pkp_block ol li:last-child {
    margin-bottom: 0 !important;
}

/* All sidebar links: white rounded rectangular rows */
.pkp_structure_sidebar .pkp_block a {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 10px 11px !important;
    margin: 0 !important;
    border: 1px solid #f0e2ef !important;
    border-radius: 11px !important;
    background: #fff !important;
    color: #40364a !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
    text-decoration: none !important;
    box-shadow: none !important;
    overflow-wrap: anywhere;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}

/* Gap between rows */
.pkp_structure_sidebar .pkp_block li + li {
    margin-top: 7px !important;
}

/* Hover state */
.pkp_structure_sidebar .pkp_block a:hover {
    color: #96208d !important;
    background: #fcf5fb !important;
    border-color: #dcb2d9 !important;
}

/* Active link */
.pkp_structure_sidebar .pkp_block a[aria-current="page"],
.pkp_structure_sidebar .pkp_block li.current a {
    color: #96208d !important;
    background: #fbf0fa !important;
    border-color: #dcb2d9 !important;
    font-weight: 600 !important;
}

/* Images/logos should not become menu boxes */
.pkp_structure_sidebar .pkp_block a:has(img) {
    display: inline-block !important;
    width: auto !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.pkp_structure_sidebar .pkp_block img {
    max-width: 100%;
    height: auto;
}

/* Make a Submission button */
.pkp_structure_sidebar .block_make_submission a,
.pkp_structure_sidebar a.block_make_submission_link,
.pkp_structure_sidebar .pkp_block.block_make_submission a {
    display: block !important;
    width: 100% !important;
    padding: 12px !important;
    background: #96208d !important;
    border: 1px solid #96208d !important;
    border-radius: 10px !important;
    color: #fff !important;
    text-align: center !important;
    font-weight: 700 !important;
}

.pkp_structure_sidebar .block_make_submission a:hover,
.pkp_structure_sidebar a.block_make_submission_link:hover,
.pkp_structure_sidebar .pkp_block.block_make_submission a:hover {
    background: #77166f !important;
    border-color: #77166f !important;
    color: #fff !important;
}

/* Mobile */
@media (max-width: 768px) {
    .pkp_structure_sidebar .pkp_block {
        padding: 13px;
        margin-bottom: 15px;
        border-radius: 15px;
    }

    .pkp_structure_sidebar .pkp_block a {
        padding: 10px !important;
        font-size: 12px !important;
    }
}
