/**
 * Custom CSS Stylesheet for OJS 3.4
 * Palette: Sains Olahraga (IKOR - UNIMED) with Blue Navigation Box
 * Primary Green (#3da828), Header Blue (#008199), Accent Green (#297a1a)
 */

/* ==========================================================================
   1. GLOBAL STYLES & TYPOGRAPHY
   ========================================================================== */
body {
    font-family: "Gill Sans Extrabold", sans-serif;
    color: #111111; /* Text Home */
    line-height: 2;
    background: #f4fdf3;
    background-repeat: repeat;
    background-position: left top;
}

.pkp_structure_content {
    background: #ffffff;
}

h1, h2, h3, h4, h5, h6, .journal-name {
    font-family: "Gill Sans Extrabold", sans-serif;
    color: #297a1a;
    font-weight: 700;
}

a {
    color: #008199; /* Text link */
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

a:hover, a:focus {
    color: #3da828;
    text-decoration: underline;
}

/* ==========================================================================
   2. HEADER & NAVIGATION BAR (BOX NAVIGASI PUTIH)
   ========================================================================== */
.pkp_structure_head {
    background-color: #ffffff !important; /* Header utama Putih */
    border-bottom: 4px solid #3da828;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.pkp_site_name_wrapper .is_text {
    color: #ffffff !important; /* Text Header */
    font-family: "Gill Sans Extrabold", sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Container baris navigasi - diubah menjadi BIRU (bukan putih) */
.pkp_navigation_primary_row {
    background: #e8f7e6 !important; /* Box navigasi berwarna hijau terang */
}

/* Navigation Menu Links (Tulisan Menu dibuat Putih & Jelas) */
.pkp_navigation_primary > li > a,
.pkp_navigation_user > li > a {
    color: #111111 !important; /* Teks menu putih agar sangat nampak */
    font-weight: 700;
    font-size: 0.85rem;
    padding: 12px 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hover & Active State pada Navigasi Utama */
.pkp_navigation_primary > li > a:hover,
.pkp_navigation_primary > li > a:focus,
.pkp_navigation_primary > .is_open > a {
    color: #ffffff !important; /* Text menu hover */
    background-color: #297a1a !important; /* Background hover hijau gelap */
    border-radius: 4px;
}

/* Dropdown Menu Box */
.pkp_navigation_primary ul {
    background-color: #e8f7e6 !important; /* Box dropdown hijau terang */
    border: 1px solid #3da828;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 4px;
}

/* Teks Sub-Menu (Dropdown) */
.pkp_navigation_primary ul a {
    color: #111111 !important; /* Teks sub-menu hitam */
    font-weight: 600;
}

/* Hover pada Sub-Menu (Dropdown) */
.pkp_navigation_primary ul a:hover {
    background-color: #3da828 !important; /* Highlight hijau saat dihover */
    color: #ffffff !important;
}

/* ==========================================================================
   3. HOME PAGE / HERO & JOURNAL SUMMARY
   ========================================================================== */
.page_index_journal .journal_summary {
    background: #ffffff;
    border-left: 5px solid #3da828;
    padding: 24px;
    margin-bottom: 30px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Announcements Box */
.cmp_announcements .more_link {
    display: inline-block;
    background-color: #008199;
    color: #ffffff !important;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 10px;
}

.cmp_announcements .more_link:hover {
    background-color: #3da828;
    text-decoration: none;
}

/* ==========================================================================
   4. ARTICLE LIST & CURRENT ISSUE (KARTU ARTIKEL)
   ========================================================================== */
.obj_article_summary {
    background: #e8f7e6;
    border: 1px solid #3da828;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 0px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.obj_article_summary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    border-color: #297a1a;
}

.obj_article_summary .title {
    font-family: "Gill Sans Extrabold", sans-serif;
    font-size: 1.15rem;
    line-height: 1.4;
    margin-bottom: 10px;
}

.obj_article_summary .title a {
    color: #111111;
    font-weight: 700;
}

.obj_article_summary .title a:hover {
    color: #008199;
}

.obj_article_summary .authors {
    color: #333333;
    font-size: 1rem;
    font-style: italic;
    margin-bottom: 4px;
}

.obj_article_summary .pages {
    font-size: 0.85rem;
    color: #475569;
    font-weight: 600;
}

/* Tombol PDF & Abstract */
.obj_galley_link {
    display: inline-flex;
    align-items: center;
    background-color: #3da828 !important;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 6px 16px;
    border-radius: 4px;
    margin-right: 8px;
    margin-top: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s ease;
}

.obj_galley_link:hover {
    background-color: #008199 !important;
    text-decoration: none;
    color: #ffffff !important;
}

/* Abstract Button */
.obj_article_summary .abstract_link {
    display: inline-block;
    background-color: #c6ebb0;
    color: #111111 !important;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: 4px;
}

.obj_article_summary .abstract_link:hover {
    background-color: #aade8f;
    text-decoration: none;
}

/* ==========================================================================
   5. SIDEBAR BLOCKS
   ========================================================================== */
.pkp_structure_sidebar {
    padding-left: 15px;
}

.pkp_block {
    background: #f4fdf3;
    border: 1px solid #c6ebb0;
    border-radius: 6px;
    padding: 16px;
    margin-bottom: 24px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.pkp_block .title {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #3da828;
    border-bottom: 2px solid #3da828;
    padding-bottom: 8px;
    margin-bottom: 14px;
    font-weight: 700;
}

.pkp_block ul li a {
    color: #222222;
    font-size: 0.9rem;
}

.pkp_block ul li a:hover {
    color: #3da828;
}

/* Custom Submit Paper Button Style di Sidebar */
.pkp_block.block_make_submission a,
.pkp_block_make_submission .make_submission_link {
    display: block;
    text-align: center;
    background-color: #3da828 !important;
    color: #ffffff !important;
    font-weight: 700;
    padding: 12px 16px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.2s;
}

.pkp_block.block_make_submission a:hover,
.pkp_block_make_submission .make_submission_link:hover {
    background-color: #008199 !important;
    text-decoration: none;
}

/* ==========================================================================
   6. ARTICLE DETAILS PAGE (HALAMAN ARTIKEL FULL)
   ========================================================================== */
.page_article .article_details {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.page_article .page_title {
    font-size: 1.8rem;
    color: #111111;
    line-height: 1.3;
}

.page_article .authors_list {
    font-size: 1.05rem;
    color: #475569;
    margin-top: 15px;
    margin-bottom: 25px;
}

.page_article .item.abstract .heading {
    font-size: 1.2rem;
    color: #008199;
    border-bottom: 1px solid #c6ebb0;
    padding-bottom: 6px;
    margin-bottom: 12px;
}

.page_article .item.doi .label {
    font-weight: bold;
    color: #64748b;
}

.page_article .item.doi a {
    color: #3da828;
    font-weight: 600;
}

/* ==========================================================================
   7. FOOTER
   ========================================================================== */
.pkp_structure_footer_wrapper {
    background-color: #e8f7e6 !important;
    color: #111111;
    border-top: 4px solid #3da828;
    padding: 30px 0 10px 0;
    margin-top: 40px;
}

.pkp_structure_footer_wrapper a {
    color: #008199;
}

.pkp_structure_footer_wrapper a:hover {
    color: #297a1a;
}

.pkp_brand_footer {
    display: none;
}

/* =======================================================================
  CSS untuk Sidebar Custom Block 
  ========================================================================*/
.jmp-sidebar {
    font-family: "Gill Sans Extrabold", sans-serif;
    color: #2b2b2b;
}

.jmp-block {
    background: #e8f7e6; /* Warna daftar menu */
    border: 1px solid #c6ebb0;
    border-radius: 6px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.jmp-title {
    background-color: #297a1a !important; /* Hijau Header */
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 10px 15px;
    margin: 0;
    letter-spacing: 0.5px;
}

.jmp-btn-submit {
    display: block;
    background-color: #3da828 !important; /* Hijau Submit */
    color: #ffffff !important;
    text-align: center;
    padding: 12px;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    border-radius: 6px;
    text-decoration: none !important;
    box-shadow: 0 3px 6px rgba(61, 168, 40, 0.3);
    transition: background-color 0.2s ease;
    margin-bottom: 20px;
}

.jmp-btn-submit:hover {
    background-color: #297a1a !important;
}

.jmp-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.jmp-menu li {
    border-bottom: 1px solid #d4f2cc;
}

.jmp-menu li:last-child {
    border-bottom: none;
}

.jmp-menu li a {
    display: block;
    padding: 10px 15px;
    color: #111111 !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.jmp-menu li a:hover {
    background-color: #3da828 !important;
    color: #ffffff !important; /* Warna tulisan saat hover */
    padding-left: 20px;
}

.jmp-banner {
    padding: 15px;
    text-align: center;
}

.jmp-banner img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}