
/* ==================================================
   DIDAKTIKA BIOLOGI - CUSTOM CSS
   OJS 3.5
   Header responsif + pemisah daftar artikel
   ================================================== */

/* GENERAL */
body {
    background-color: #fff;
}

.pkp_structure_page {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* ==================================================
   HEADER / LOGO
   ================================================== */

body.has_site_logo .pkp_structure_head .pkp_head_wrapper {
    position: relative;
}

body.has_site_logo .pkp_structure_head .pkp_site_name_wrapper {
    position: relative;
    height: auto !important;
    min-height: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box;
}

body.has_site_logo .pkp_structure_head .pkp_site_name {
    position: relative !important;
    inset: auto !important;
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
    font-size: 0;
    line-height: 0;
    white-space: normal;
    overflow: visible;
}

body.has_site_logo .pkp_structure_head .pkp_site_name > a.is_img {
    display: block;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.has_site_logo .pkp_structure_head .pkp_site_name > a.is_img img {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    margin: 0;
    padding: 0;
}

/* ==================================================
   NAVIGASI DESKTOP
   ================================================== */

@media (min-width: 992px) {

    body.has_site_logo .pkp_structure_head .pkp_head_wrapper {
        padding-top: 46px !important;
    }

    body.has_site_logo .pkp_structure_head .pkp_navigation_user_wrapper {
        position: absolute !important;
        top: 0 !important;
        right: 0 !important;
        left: auto !important;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        width: auto !important;
        max-width: 100%;
        min-height: 46px;
        margin: 0 !important;
        padding: 0 12px !important;
        box-sizing: border-box;
        background: transparent !important;
        border: 0 !important;
        transform: none !important;
        z-index: 1000;
    }

    body.has_site_logo .pkp_structure_head .pkp_navigation_user {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        list-style: none;
    }

    body.has_site_logo .pkp_structure_head .pkp_navigation_user > li > a {
        display: block;
        padding: 10px 12px !important;
        background: transparent !important;
        font-size: 14px;
        font-weight: 500;
        line-height: 24px;
        white-space: nowrap;
        text-decoration: none;
    }

    body.has_site_logo .pkp_structure_head .pkp_navigation_user > li > a:hover {
        text-decoration: underline;
    }
}

/* ==================================================
   NAVIGASI MOBILE
   ================================================== */

@media (max-width: 991px) {

    body.has_site_logo .pkp_structure_head .pkp_head_wrapper {
        padding-top: 0 !important;
        padding-right: 0 !important;
    }

    body.has_site_logo .pkp_structure_head .pkp_site_name_wrapper {
        padding-top: 40px !important;
        padding-bottom: 0 !important;
    }

    body.has_site_logo .pkp_structure_head .pkp_site_nav_toggle {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        z-index: 1000;
    }
}

/* ==================================================
   HALAMAN ISSUE - DAFTAR ARTIKEL
   ================================================== */

/* Judul bagian daftar isi */
.pkp_page_issue .tocTitle,
.pkp_page_issue h2.tocTitle {
    color: #244d3b;
    font-size: 22px;
    font-weight: 700;
    padding-bottom: 12px;
    margin-bottom: 20px;
    border-bottom: 2px solid #d8e8dc;
}

/* Setiap artikel */
.pkp_page_issue .obj_article_summary,
.pkp_page_issue .article_summary,
.pkp_page_issue .toc .article {
    display: block;
    padding: 20px 18px !important;
    margin: 0 0 16px 0 !important;
    background: #ffffff;
    border: 1px solid #e1ebe4 !important;
    border-left: 4px solid #668f73 !important;
    border-radius: 6px;
    box-sizing: border-box;
}

/* Judul artikel */
.pkp_page_issue .obj_article_summary .title,
.pkp_page_issue .article_summary .title,
.pkp_page_issue .toc .article .title {
    color: #244d3b;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 8px;
}

.pkp_page_issue .obj_article_summary .title a,
.pkp_page_issue .article_summary .title a,
.pkp_page_issue .toc .article .title a {
    color: #244d3b !important;
    text-decoration: none;
}

.pkp_page_issue .obj_article_summary .title a:hover,
.pkp_page_issue .article_summary .title a:hover,
.pkp_page_issue .toc .article .title a:hover {
    color: #568363 !important;
    text-decoration: underline;
}

/* Nama penulis */
.pkp_page_issue .obj_article_summary .authors,
.pkp_page_issue .article_summary .authors,
.pkp_page_issue .toc .article .authors {
    color: #555;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 8px;
}

/* DOI dan informasi artikel */
.pkp_page_issue .obj_article_summary .doi,
.pkp_page_issue .article_summary .doi {
    font-size: 12px;
    margin-top: 6px;
}

/* Informasi tambahan dan tautan */
.pkp_page_issue .obj_article_summary .galleys,
.pkp_page_issue .obj_article_summary .pub_id,
.pkp_page_issue .obj_article_summary .item,
.pkp_page_issue .article_summary .galleys,
.pkp_page_issue .article_summary .pub_id {
    margin-top: 8px;
}

/* Tautan PDF dan ikon */
.pkp_page_issue .obj_article_summary .obj_galley_link,
.pkp_page_issue .article_summary .obj_galley_link {
    display: inline-block;
    margin: 4px 6px 4px 0;
}

/* Pastikan ikon dan statistik tetap terlihat */
.pkp_page_issue .obj_article_summary i,
.pkp_page_issue .obj_article_summary svg,
.pkp_page_issue .article_summary i,
.pkp_page_issue .article_summary svg {
    visibility: visible;
}

/* Tampilan mobile */
@media (max-width: 767px) {

    .pkp_page_issue .obj_article_summary,
    .pkp_page_issue .article_summary,
    .pkp_page_issue .toc .article {
        padding: 14px 12px !important;
        margin-bottom: 12px !important;
    }

    .pkp_page_issue .obj_article_summary .title,
    .pkp_page_issue .article_summary .title {
        font-size: 15px;
    }
}
