/* =====================================================
   JOURNAL LAYOUT WITH LEFT + RIGHT SIDEBARS
   FOR OJS BOOTSTRAP3 BASE THEME
===================================================== */

/* ===== PAGE BACKGROUND ===== */

body,
.pkp_structure_page {
    background: #f4f7f2 !important;
    font-family: "Open Sans", Arial, sans-serif;
}

/* ===== MAIN PAGE WRAPPER ===== */

.pkp_structure_content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

/* =====================================================
   LEFT SIDEBAR
===================================================== */

.pkp_structure_sidebar.left {
    width: 20%;
    display: block !important;
}

/* =====================================================
   CENTER CONTENT
===================================================== */

.pkp_structure_main {
    width: 60%;
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

/* =====================================================
   RIGHT SIDEBAR
===================================================== */

.pkp_structure_sidebar.right {
    width: 20%;
    display: block !important;
}

/* =====================================================
   SIDEBAR BLOCKS
===================================================== */

.pkp_block {
    background: #ffffff;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-top: 4px solid #48bf53;
}

/* ===== SIDEBAR TITLES ===== */

.pkp_block h2,
.pkp_block .title {
    background: #000000;
    color: #ffffff !important;
    padding: 12px 15px;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

/* ===== SIDEBAR CONTENT ===== */

.pkp_block .content,
.pkp_block .block_content,
.pkp_block ul {
    padding: 15px;
}

/* ===== SIDEBAR LINKS ===== */

.pkp_block a {
    color: #2e7d32;
    text-decoration: none;
    font-size: 14px;
}

.pkp_block a:hover {
    color: #000000;
    text-decoration: underline;
}

/* ===== ARTICLE PAGE ===== */

.obj_article_summary,
.cmp_article_list > li {
    background: #ffffff;
    border-radius: 8px;
    padding: 18px;
    margin-bottom: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* ===== ARTICLE TITLES ===== */

.obj_article_summary .title a,
.cmp_article_list .title a {
    color: #0b3d2e;
    font-size: 20px;
    font-weight: 700;
}

.obj_article_summary .title a:hover,
.cmp_article_list .title a:hover {
    color: #48bf53;
}

/* ===== BUTTONS ===== */

.cmp_button,
.obj_galley_link,
button,
input[type="submit"] {
    background: #000000;
    color: #ffffff !important;
    border: none;
    border-radius: 5px;
    padding: 10px 16px;
    font-size: 14px;
    transition: 0.3s ease;
}

.cmp_button:hover,
.obj_galley_link:hover,
button:hover,
input[type="submit"]:hover {
    background: #48bf53;
    color: #ffffff !important;
}

/* ===== HEADER ===== */

.pkp_site_name_wrapper {
    background: #ffffff;
    border-bottom: 4px solid #48bf53;
    padding: 20px;
}

.pkp_site_name a {
    color: #0b3d2e !important;
    font-size: 38px;
    font-weight: 700;
    text-decoration: none;
}

/* ===== NAVIGATION ===== */

.pkp_navigation_primary_wrapper {
    background: #000000;
}

.pkp_navigation_primary_row a {
    color: #ffffff !important;
    font-weight: 600;
}

.pkp_navigation_primary_row a:hover {
    background: #333333;
}

/* ===== FOOTER ===== */

.pkp_structure_footer_wrapper {
    background: #000000;
    color: #ffffff;
    padding: 35px;
    margin-top: 40px;
}

.pkp_structure_footer_wrapper a {
    color: #9ccc65;
}

/* =====================================================
   MOBILE RESPONSIVE
===================================================== */

@media screen and (max-width: 992px) {

    .pkp_structure_content {
        flex-direction: column;
    }

    .pkp_structure_sidebar.left,
    .pkp_structure_sidebar.right,
    .pkp_structure_main {
        width: 100%;
    }

    .pkp_structure_main {
        order: 1;
    }

    .pkp_structure_sidebar.left {
        order: 2;
    }

    .pkp_structure_sidebar.right {
        order: 3;
    }

    .pkp_site_name a {
        font-size: 28px;
    }
}