/* === Jurnal Adat - Bootstrap Enhanced Theme === */
/* Primary color: #8cc63f (matching jurnaladat.or.id) */

/* ===== HEADER ===== */
.pkp_structure_head {
    background: #fff !important;
    border-bottom: 3px solid #8cc63f !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08) !important;
}

.pkp_head_wrapper {
    max-width: 1170px !important;
    margin: 0 auto !important;
    padding: 20px 20px 0 !important;
    position: relative !important;
    overflow: visible !important;
}

.pkp_site_name {
    text-align: left !important;
    margin: 0 0 15px !important;
}

.pkp_site_name a.is_img {
    display: inline-block !important;
}

.pkp_site_name a.is_img img {
    max-height: 80px !important;
    width: auto !important;
}

/* ===== NAVIGATION (full-width green bar below logo) ===== */
.pkp_site_nav_menu {
    clear: both !important;
    float: none !important;
    position: relative !important;
    width: 100vw !important;
    left: 50% !important;
    margin-left: -50vw !important;
    background: #8cc63f !important;
    padding: 0 !important;
    top: auto !important;
}

.pkp_navigation_primary_row {
    max-width: 1170px !important;
    margin: 0 auto !important;
}

.pkp_navigation_primary_wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
}

.pkp_navigation_primary_wrapper ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
}

.pkp_navigation_primary_wrapper li {
    margin: 0 !important;
}

.pkp_site_nav_menu a {
    display: block !important;
    padding: 12px 16px !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    text-decoration: none !important;
    transition: background 0.2s, color 0.2s !important;
    white-space: nowrap !important;
}

.pkp_site_nav_menu a:hover {
    background: rgba(255,255,255,0.15) !important;
    color: #fff !important;
}

.pkp_navigation_search_wrapper a {
    border: 2px solid rgba(255,255,255,0.7) !important;
    border-radius: 4px !important;
    color: #fff !important;
    padding: 8px 15px !important;
    margin-left: 10px !important;
    background: transparent !important;
}

.pkp_navigation_search_wrapper a:hover {
    background: #fff !important;
    color: #8cc63f !important;
    border-color: #fff !important;
}

/* ===== PAGE CONTENT ===== */
body {
    background: #f5f5f5 !important;
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    color: #444 !important;
    line-height: 1.7 !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Serif', Georgia, 'Times New Roman', serif !important;
    color: #333 !important;
    font-weight: 700 !important;
}

.pkp_structure_content {
    max-width: 1170px !important;
    margin: 30px auto !important;
    background: #fff !important;
    border-radius: 4px !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08) !important;
}

.pkp_structure_main {
    padding: 30px !important;
}

/* ===== HOMEPAGE ===== */
.page_index_journal {
    max-width: 100% !important;
}

.current_issue_title {
    font-size: 24px !important;
    color: #8cc63f !important;
    border-bottom: 2px solid #8cc63f !important;
    padding-bottom: 10px !important;
    margin-bottom: 20px !important;
    font-family: 'Noto Serif', serif !important;
}

.page_index_journal section h2,
.pkp_structure_main h2 {
    color: #333 !important;
    font-size: 22px !important;
    border-bottom: 2px solid #8cc63f !important;
    padding-bottom: 8px !important;
    margin-bottom: 20px !important;
}

/* ===== ARTICLE LISTINGS ===== */
.obj_article_summary {
    padding: 15px 0 !important;
    border-bottom: 1px solid #eee !important;
}

.obj_article_summary:last-child {
    border-bottom: none !important;
}

.obj_article_summary .title a {
    color: #2a6496 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

.obj_article_summary .title a:hover {
    color: #8cc63f !important;
    text-decoration: underline !important;
}

.obj_article_summary .authors {
    color: #888 !important;
    font-style: italic !important;
    font-size: 13px !important;
    margin: 5px 0 !important;
}

.obj_article_summary .pages {
    color: #aaa !important;
    font-size: 12px !important;
}

/* ===== PDF LINK ===== */
.obj_galley_link.pdf {
    display: inline-block !important;
    background: #8cc63f !important;
    color: #fff !important;
    padding: 6px 18px !important;
    border-radius: 3px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    border: none !important;
    transition: background 0.2s !important;
}

.obj_galley_link.pdf:hover {
    background: #7ab32e !important;
    color: #fff !important;
}

/* ===== ISSUE ARCHIVE ===== */
.obj_issue_summary {
    background: #fafafa !important;
    border-left: 4px solid #8cc63f !important;
    padding: 20px !important;
    margin-bottom: 15px !important;
    border-radius: 0 4px 4px 0 !important;
    transition: box-shadow 0.2s !important;
}

.obj_issue_summary:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
}

.obj_issue_summary .title a {
    color: #2a6496 !important;
    font-weight: 600 !important;
    font-size: 18px !important;
}

.obj_issue_summary .title a:hover {
    color: #8cc63f !important;
}

/* ===== BUTTONS ===== */
.pkp_button,
button,
input[type="submit"],
.cmp_button {
    background: #8cc63f !important;
    color: #fff !important;
    border: 1px solid #8cc63f !important;
    border-radius: 3px !important;
    padding: 8px 20px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
}

.pkp_button:hover,
button:hover,
input[type="submit"]:hover {
    background: #7ab32e !important;
    border-color: #7ab32e !important;
}

/* ===== LINKS ===== */
a {
    color: #2a6496 !important;
    text-decoration: none !important;
}

a:hover {
    color: #8cc63f !important;
    text-decoration: underline !important;
}

/* ===== ABOUT SECTION ===== */
.homepage_about {
    background: #f9fdf5 !important;
    padding: 25px !important;
    border-left: 4px solid #8cc63f !important;
    border-radius: 0 4px 4px 0 !important;
    margin: 20px 0 !important;
    line-height: 1.8 !important;
}

.homepage_about h2 {
    color: #333 !important;
    margin-top: 0 !important;
    font-size: 20px !important;
}

/* ===== ADDITIONAL CONTENT ===== */
.additional_content {
    background: #f9fdf5 !important;
    padding: 25px !important;
    border-radius: 4px !important;
    border-left: 4px solid #8cc63f !important;
    margin: 20px 0 !important;
}

/* ===== ISSUE COVER ===== */
.obj_issue_toc .cover img {
    border-radius: 4px !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12) !important;
    max-width: 200px !important;
}

/* ===== BREADCRUMBS ===== */
.cmp_breadcrumbs {
    background: #fafafa !important;
    padding: 10px 15px !important;
    border-radius: 3px !important;
    margin-bottom: 20px !important;
    font-size: 13px !important;
}

.cmp_breadcrumbs a {
    color: #2a6496 !important;
}

.cmp_breadcrumbs a:hover {
    color: #8cc63f !important;
}

/* ===== SIDEBAR ===== */
.pkp_structure_content {
    overflow: hidden !important;
}

.pkp_structure_sidebar {
    background: #fafafa !important;
    border-left: 1px solid #e5e5e5 !important;
    padding: 0 !important;
}

.pkp_structure_sidebar .pkp_block {
    padding: 20px !important;
    border-bottom: 1px solid #e5e5e5 !important;
}

.pkp_structure_sidebar .pkp_block h2 {
    color: #333 !important;
    font-size: 16px !important;
    border-bottom: 2px solid #8cc63f !important;
    padding-bottom: 6px !important;
    margin-bottom: 12px !important;
}

/* ===== FOOTER ===== */
.pkp_structure_footer_wrapper {
    background: #333 !important;
    color: #ccc !important;
    padding: 0 !important;
}

.pkp_structure_footer {
    max-width: 1170px !important;
    margin: 0 auto !important;
    padding: 30px 20px !important;
}

.pkp_footer_content {
    color: #ccc !important;
    font-size: 13px !important;
    line-height: 1.7 !important;
}

.pkp_footer_content a {
    color: #8cc63f !important;
}

.pkp_footer_content a:hover {
    color: #a8e060 !important;
}

.pkp_brand_footer {
    border-top: 1px solid #444 !important;
    padding-top: 20px !important;
    text-align: center !important;
}

/* ===== TOP HEADER (login) ===== */
.headnav {
    text-align: right !important;
    padding: 5px 0 !important;
    border-bottom: 1px solid #eee !important;
    margin-bottom: 10px !important;
}

.headnav ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.headnav ul li {
    display: inline-block !important;
    margin-left: 15px !important;
}

.headnav ul li a {
    font-size: 12px !important;
    color: #888 !important;
}

.headnav ul li a:hover {
    color: #8cc63f !important;
}

/* ===== PAGINATION ===== */
.pagination ul > .active > a,
.pagination ul > .active > span {
    background-color: #8cc63f !important;
    border-color: #8cc63f !important;
}

/* ===== SEARCH PAGE ===== */
.pkp_search {
    color: #555 !important;
}

/* ===== NAV TOGGLE (mobile) ===== */
.pkp_site_nav_toggle {
    color: #555 !important;
    border: 1px solid #ddd !important;
    border-radius: 3px !important;
}

/* ===== USER NAV ===== */
.pkp_navigation_user a {
    color: #555 !important;
}

.pkp_navigation_user a:hover {
    color: #8cc63f !important;
}

/* ===== ARTICLE DETAIL ===== */
.page_article h1 {
    color: #333 !important;
    border-bottom: 2px solid #8cc63f !important;
    padding-bottom: 10px !important;
}

.page_article .authors {
    color: #666 !important;
    font-size: 15px !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .pkp_site_nav_menu {
        background: #8cc63f !important;
        left: 0 !important;
        margin-left: 0 !important;
        width: 100% !important;
    }
    
    .pkp_site_nav_menu a {
        color: #fff !important;
        white-space: normal !important;
    }
    
    .pkp_site_nav_menu a:hover {
        background: rgba(255,255,255,0.15) !important;
        color: #fff !important;
    }

    .pkp_navigation_primary_wrapper {
        flex-direction: column !important;
    }
    
    .pkp_navigation_primary_wrapper li {
        width: 100% !important;
    }
    
    .pkp_navigation_primary_wrapper a {
        border-bottom: 1px solid rgba(255,255,255,0.15) !important;
    }
}

@media (max-width: 768px) {
    .pkp_site_name a.is_img img {
        max-height: 60px !important;
    }
    
    .pkp_site_nav_menu {
        left: 0 !important;
        margin-left: 0 !important;
        width: 100% !important;
    }
    
    .pkp_navigation_primary_wrapper a {
        padding: 10px 12px !important;
        font-size: 13px !important;
    }
    
    .pkp_structure_content {
        margin: 15px !important;
        padding: 0 !important;
    }
}
