/* ==========================================================================
   BARAKARSA CSE — Tema "Eksplorasi Budaya Nusantara #8"
   Dipasang di: Jurnal CSE > Settings > Website > Appearance > Advanced
   > Journal style sheet. (BUKAN di Site Settings, supaya BHSJ tidak ikut.)

   Catatan: file ini HANYA mengubah warna, font, dan dekorasi.
   Tidak ada perubahan layout/posisi/display, jadi aman terhadap
   stylesheet induk dan perilaku responsive OJS.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;600;700&display=swap');

:root {
    --cse-gold:        #F5A800;  /* amber logo */
    --cse-gold-soft:   #FFC933;  /* highlight / hover terang */
    --cse-gold-deep:   #8A5A00;  /* amber gelap untuk link di atas krem */
    --cse-bg-dark:     #1C1307;  /* cokelat hampir hitam (langit poster) */
    --cse-bg-mid:      #3A2808;  /* cokelat kabut */
    --cse-paper:       #FBF6EA;  /* krem hangat untuk area baca */
    --cse-ink:         #2B1D08;  /* teks utama */
    --cse-line:        #E6D6AE;  /* garis tipis */
}

/* ---------- 1. HEADER ---------- */
.pkp_structure_head {
    background: linear-gradient(180deg, var(--cse-bg-dark) 0%, var(--cse-bg-mid) 100%) !important;
    border-bottom: 3px solid var(--cse-gold) !important;
}

.pkp_site_name .is_text,
.pkp_site_name .is_text:hover {
    color: var(--cse-gold) !important;
    font-family: 'Oswald', sans-serif !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

/* Login / Register (desktop) */
#navigationUser > li > a,
.pkp_navigation_user > li > a {
    color: var(--cse-gold) !important;
}
#navigationUser > li > a:hover,
.pkp_navigation_user > li > a:hover {
    color: var(--cse-gold-soft) !important;
    background: transparent !important;
}

/* ---------- 2. MENU UTAMA (warna saja) ---------- */
.pkp_navigation_primary_row {
    background-color: var(--cse-gold) !important;
    border-top-color: var(--cse-gold-soft) !important;
    border-bottom-color: var(--cse-bg-dark) !important;
}

/* State terbuka di mobile (spesifisitas sama dengan stylesheet induk) */
.pkp_navigation_primary_row.in,
.pkp_navigation_primary_row.open,
.is_open .pkp_navigation_primary_row,
.pkp_structure_head.is_open .pkp_navigation_primary_row,
#mainNavigationContainer.in .pkp_navigation_primary_row {
    background-color: var(--cse-gold) !important;
    border-bottom-color: var(--cse-bg-dark) !important;
}

ul.pkp_navigation_primary > li > a,
ul.pkp_navigation_primary > li > span {
    color: var(--cse-bg-dark) !important;
}
ul.pkp_navigation_primary > li > a:hover {
    background-color: var(--cse-bg-dark) !important;
    color: var(--cse-gold) !important;
}

/* Tombol burger (mobile) */
a[id*="Menu"]::before,
#closeMenu::before,
#openMenu::before {
    color: var(--cse-gold) !important;
    -webkit-text-fill-color: var(--cse-gold) !important;
    filter: none !important;
}

/* Dropdown submenu */
ul.pkp_navigation_primary ul {
    background-color: var(--cse-bg-dark) !important;
    border-color: var(--cse-gold) !important;
}
ul.pkp_navigation_primary ul a {
    color: var(--cse-gold) !important;
}
ul.pkp_navigation_primary ul a:hover {
    background-color: var(--cse-gold) !important;
    color: var(--cse-bg-dark) !important;
}

/* ---------- 3. AREA KONTEN ---------- */
body,
.pkp_structure_page,
.pkp_structure_content {
    background-color: var(--cse-paper) !important;
    color: var(--cse-ink) !important;
}

h1, h2, h3,
.page_title,
.pkp_block .title,
.current_issue_title {
    color: var(--cse-bg-dark) !important;
}

.page_title,
.pkp_block .title {
    font-family: 'Oswald', sans-serif !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.pkp_block .title {
    border-bottom: 2px solid var(--cse-gold) !important;
}

#pkp_content_main a,
.pkp_block a,
.cmp_breadcrumbs a {
    color: var(--cse-gold-deep) !important;
}
#pkp_content_main a:hover,
.pkp_block a:hover,
.cmp_breadcrumbs a:hover {
    color: var(--cse-bg-dark) !important;
    text-decoration-color: var(--cse-gold) !important;
}

/* Daftar artikel & terbitan */
.obj_article_summary,
.obj_issue_summary,
.cmp_article_list > li {
    border-color: var(--cse-line) !important;
}
.obj_article_summary .title a {
    color: var(--cse-bg-dark) !important;
}
.obj_article_summary .title a:hover {
    color: var(--cse-gold-deep) !important;
}

/* ---------- 4. TOMBOL ---------- */
.cmp_button,
.pkp_button,
a.obj_galley_link,
.obj_galley_link,
button.pkp_button_primary,
.cmp_form .buttons button {
    background-color: var(--cse-gold) !important;
    border: 1px solid var(--cse-gold) !important;
    color: var(--cse-bg-dark) !important;
    font-weight: 700 !important;
}
.cmp_button:hover,
.pkp_button:hover,
a.obj_galley_link:hover,
.obj_galley_link:hover,
.cmp_form .buttons button:hover {
    background-color: var(--cse-bg-dark) !important;
    border-color: var(--cse-bg-dark) !important;
    color: var(--cse-gold) !important;
}

/* ---------- 5. FORM ---------- */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
    border-color: var(--cse-gold) !important;
    outline-color: var(--cse-gold) !important;
    box-shadow: 0 0 0 2px rgba(245, 168, 0, 0.25) !important;
}

/* ---------- 6. FOOTER ---------- */
.pkp_structure_footer_wrapper {
    background-color: var(--cse-bg-dark) !important;
    border-top: 3px solid var(--cse-gold) !important;
}
.pkp_structure_footer_wrapper,
.pkp_footer_content,
.pkp_footer_content p {
    color: #E8D8B0 !important;
}
.pkp_footer_content a,
.pkp_brand_footer a {
    color: var(--cse-gold) !important;
}
.pkp_footer_content a:hover,
.pkp_brand_footer a:hover {
    color: var(--cse-gold-soft) !important;
}
