@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css");

/* =====================================================
   MAGNIFIC JOURNAL - PROFESSIONAL THEME
   ===================================================== */

:root {
    --primary: #12b76a;
    --primary-dark: #0f8f55;
    --secondary: #8e44ad;
    --accent: #f2c94c;
    --dark: #2c3e50;
    --border: #e5e7eb;
    --bg: #f5f7fa;
}

/* =====================================================
   GLOBAL
   ===================================================== */

html, body {
    background-image: url("https://ojs.cpi.ac.id/public/bgpattern.jpeg");
    background-repeat: repeat;
    scroll-behavior: auto !important;
    font-family: "Segoe UI", Arial, sans-serif;
    color: #333;
}

a {
    color: var(--primary-dark);
    transition: .3s;
}

a:hover {
    color: var(--secondary);
}




/* =====================================================
   HEADER
   ===================================================== */

.pkp_site_name,
.pkp_site_name_wrapper,
.pkp_site_name > a {
    padding: 0 !important;
}

.pkp_site_name .is_img img {
    width: 100%;
    max-width: 100%;
    height: auto !important;
    max-height: none !important;
    display: block;
    object-fit: contain;
}

.pkp_structure_head {
    background-color: transparent !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

/* =====================================================
   AREA KONTEN UTAMA - PUTIH
   ===================================================== */

.pkp_structure_page {
    background-color: #ffffff !important;
    margin-top: 0 !important;
}

.pkp_structure_content {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
}

/* =====================================================
   FONT SERAGAM 16PX
   ===================================================== */

.pkp_structure_main,
.pkp_structure_main p,
.pkp_structure_main li,
.pkp_structure_main div,
.pkp_structure_main span,
.pkp_structure_main td,
.pkp_structure_main th,
.obj_article_details .abstract,
.obj_article_summary,
.obj_issue_toc,
.obj_issue_summary {
    font-size: 16px !important;
    font-family: "Segoe UI", helvetica, arial, sans-serif !important;
}

.pkp_structure_main p,
.pkp_structure_main li,
.obj_article_details .abstract {
    line-height: 1.8 !important;
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
    text-align: justify !important;
}

.pkp_structure_main ol,
.pkp_structure_main ul {
    line-height: 1.8 !important;
    margin: 0.5rem 0 !important;
    padding-left: 1.5rem !important;
}

/* =====================================================
   MENU UTAMA
   ===================================================== */

.pkp_navigation_primary_row {
    background: #fff !important;
    border-bottom: 3px solid var(--primary);
    position: sticky;
    top: 0;
    z-index: 999;
}

.pkp_navigation_primary > li > a {
    color: var(--dark) !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    transition: .3s;
}

.pkp_navigation_primary > li > a:hover {
    color: var(--primary) !important;
    background: none !important;
}

.pkp_navigation_primary ul ul {
    background: #fff !important;
    border-top: 3px solid var(--primary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, .08);
}

.pkp_navigation_primary ul ul li a {
    color: var(--dark) !important;
}

/* Sembunyikan Search */
.pkp_navigation_search_wrapper {
    display: none !important;
}

/* =====================================================
   SIDEBAR
   ===================================================== */

.pkp_structure_sidebar {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    position: sticky;
    top: 20px;
    align-self: flex-start;
}

.pkp_structure_sidebar .pkp_block {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 10px !important;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
    padding: 0 !important;
}

.pkp_block .title {
    background: var(--primary);
    color: #fff;
    padding: 8px 14px !important;
    font-weight: 700;
    border-left: 5px solid var(--accent);
    margin: 0;
    font-size: 12px !important;
}

.pkp_block .content {
    padding: 8px !important;
}

.pkp_block .content ul {
    margin: 0;
    padding: 0;
}

.pkp_block .content li {
    list-style: none;
    margin-bottom: 3px !important;
}

.pkp_block .content li a {
    display: block;
    padding: 5px 10px !important;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    color: var(--dark);
    font-size: 16px !important;
    line-height: 1.4 !important;
}

.pkp_block .content li a:hover {
    background: #6ee7b7;
    border-color: #6ee7b7;
    color: #1a1a1a;
}

/* =====================================================
   SUBMISSION BUTTON
   ===================================================== */

.pkp_block.block_make_submission .content a {
    display: block;
    background: var(--primary);
    color: #fff;
    padding: 12px;
    border-radius: 6px;
    text-align: center;
    font-weight: 600;
}

.pkp_block.block_make_submission .content a:hover {
    background: var(--secondary);
}

/* =====================================================
   ARTICLE CARD
   ===================================================== */

.obj_article_summary {
    background: #fff;
    border: 2px solid var(--border);
    border-left: 5px solid var(--primary);
    border-radius: 3px;
    padding: 18px;
    margin-bottom: 18px;
    transition: .3s;
}

.obj_article_summary:hover {
    box-shadow: 0 8px 20px rgba(18, 183, 106, 0.30);
}

.obj_article_summary .title a {
    color: var(--primary-dark);
    font-weight: 700;
}

.obj_article_summary .title a:hover {
    color: var(--primary);
}

/* =====================================================
   ARTICLE DETAIL
   ===================================================== */

.page_title {
    color: var(--primary-dark);
    font-weight: 700;
}

.name {
    color: var(--secondary);
}

/* =====================================================
   BUTTONS
   ===================================================== */

.cmp_button_wire,
.obj_galley_link {
    background: var(--primary);
    border: 1px solid var(--primary);
    color: #fff !important;
    border-radius: 5px;
}

.cmp_button_wire:hover,
.obj_galley_link:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

/* =====================================================
   FOOTER
   ===================================================== */

.pkp_structure_footer_wrapper {
    background-color: transparent !important;
    border: none !important;
}

.pkp_structure_footer {
    background-color: #ffffff !important;
}

.pkp_footer_content {
    float: left;
    width: 70%;
    padding: 20px !important;
    background-color: #ffffff !important;
    color: #000000 !important;
}

.pkp_footer_content p,
.pkp_footer_content a {
    color: #000000 !important;
}

.pkp_footer_content a:hover {
    color: var(--primary) !important;
}

.pkp_brand_footer {
    float: right;
    width: 30%;
    padding: 20px !important;
    background-color: #ffffff !important;
}

/* =====================================================
   MENU SIDEBAR CUSTOM
   ===================================================== */

.magnific-menu-title {
    background: #12b76a;
    color: #ffffff;
    padding: 8px 12px;
    font-weight: 700;
    text-transform: uppercase;
    border-left: 5px solid #f2c94c;
    border-radius: 6px 6px 0 0;
    font-size: 12px;
}

.menu-sidebar {
    margin-bottom: 10px;
}

.menu-sidebar ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-sidebar li {
    margin-bottom: 5px;
}

.menu-sidebar li a {
    display: block;
    padding: 6px 10px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    color: #2c3e50;
    transition: .3s;
    font-size: 13px;
}

.menu-sidebar li a:hover {
    background: #6ee7b7;
    border-color: #6ee7b7;
    color: #1a1a1a;
    text-decoration: none;
}

/* =====================================================
   FIX: INFORMATION PAGES
   ===================================================== */

div.description,
.page_information .description p,
.page_information .description li {
    font-size: 16px !important;
    font-family: "Segoe UI", helvetica, arial, sans-serif !important;
    line-height: 1.8 !important;
    text-align: justify !important;
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
}

div.page_information div.description,
div.page_information div.description * {
    text-align: justify !important;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 768px) {
    .obj_article_summary {
        padding: 12px;
    }

    .pkp_site_name .is_img img {
        width: 100% !important;
        height: auto !important;
        object-fit: contain;
    }

    .pkp_structure_head {
        overflow: hidden;
    }
}
