/* ==========================================================
   CSS Kustom — Header & Background Jurnal LAPOR
   Skema warna: navy #0E2841 + rust #80340D (selaras header artikel)
   Cara pakai: Settings > Website > Appearance > Setup >
   Additional CSS (OJS 3.x) > paste semua kode di bawah ini > Save
   ========================================================== */

/* 1. BACKGROUND HALAMAN
   Warna dasar lembut agar tidak polos putih, tetap nyaman dibaca */
body {
    background: linear-gradient(180deg, #0e2841 0%, #0e2841 220px, #f6f1e9 220px, #f6f1e9 100%);
}

/* Kartu konten utama diberi latar putih bersih supaya kontras
   dengan background, dan terasa seperti "kertas" di atas backdrop */
#container {
    background: transparent;
}

.pkp_structure_main,
.pkp_structure_page {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(14, 40, 65, 0.1);
}

/* 2. HEADER / NAVBAR UTAMA
   Navy tua + aksen rust, selaras dengan header artikel (0E2841 + 80340D) */
.pkp_structure_head,
#headerNavigationContainer {
    background: #0e2841;
    border-bottom: 3px solid #80340d;
}

.pkp_site_name a,
.pkp_site_name_text {
    color: #ffffff !important;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* Menu navigasi (Home, Current, Archives, About, dst) */
#navigationPrimary a,
.pkp_navigation_primary a {
    color: #ede4db !important;
    transition: color 0.2s ease;
}

#navigationPrimary a:hover,
.pkp_navigation_primary a:hover {
    color: #d9834a !important;
}

/* 3. JUDUL JURNAL DI BAWAH LOGO (kalau tema menampilkannya terpisah) */
.pkp_page_title,
.page_title {
    color: #0e2841;
    border-bottom: 2px solid #80340d;
    padding-bottom: 8px;
}

/* 4. TABEL INFORMASI JURNAL DI SIDEBAR (kotak "Judul jurnal, Inisial, dst") */
.deskripsi table.data {
    border-collapse: collapse;
    background: #f9f3ec;
    border-radius: 6px;
    overflow: hidden;
}

.deskripsi table.data td {
    padding: 8px 12px;
    border-bottom: 1px solid #e6d9cb;
    font-size: 14px;
    color: #2c2c2a;
}

.deskripsi table.data tr td:first-child {
    font-weight: 600;
    color: #0e2841;
    white-space: nowrap;
}

/* 5. LINK/TAUTAN (judul artikel, dsb) pakai warna rust saat hover */
a {
    color: #0e2841;
}

a:hover {
    color: #80340d;
}

/* 6. FOOTER selaras dengan header */
#footer,
.pkp_structure_footer_wrapper {
    background: #0e2841;
    color: #ede4db;
}

#footer a,
.pkp_structure_footer_wrapper a {
    color: #d9834a;
}

/* Catatan: perbaikan lebar kotak Footer (supaya peta menutupi penuh)
   TIDAK ditaruh di sini lagi, karena class .container ternyata dipakai
   juga oleh sidebar MENU dan elemen lain di halaman, sehingga bentrok.
   Perbaikan lebar sudah ditaruh langsung di kode HTML Footer itu sendiri
   (trik width: 100vw di dalam div pkp_footer_content), jadi tidak perlu
   aturan tambahan di file CSS ini. */

/* 7. KOTAK MENU DI SIDEBAR (blok custom "sidebareye")
   Dulu dirapikan oleh stylesheet ASLI situs yang sempat terhapus,
   jadi di sini dipulihkan: setiap link jadi baris sendiri, ada ikon,
   garis pemisah, dan warna selang-seling navy/rust saat hover */
/* Berlaku untuk SEMUA judul blok sidebar: MENU, ARTICLE TEMPLATE,
   TOOLS, VISITORS, dst — supaya otomatis senada tanpa perlu
   menarget tiap blok satu-satu */
.pkp_structure_sidebar .pkp_block.block_custom .kepala {
    background: #0e2841;
    color: #ffffff;
    margin: 0;
    padding: 10px 0;
    font-size: 15px;
    letter-spacing: 1px;
}

#customblock-sidebareye .badan {
    display: flex;
    flex-direction: column;
}

#customblock-sidebareye .badan a {
    display: block !important;
    padding: 10px 14px;
    border-bottom: 1px solid #e6d9cb;
    color: #0e2841 !important;
    text-decoration: none !important;
    font-weight: 400 !important;
    transition: background 0.15s ease, color 0.15s ease;
}

#customblock-sidebareye .badan a:nth-child(even) {
    background: #f9f3ec;
}

#customblock-sidebareye .badan a:hover {
    background: #f3e6d8;
    color: #80340d !important;
}

#customblock-sidebareye .badan em.fa {
    margin-right: 8px;
    color: #80340d;
}

/* Rapikan kotak logo di blok TOOLS (Mendeley, Turnitin, Zotero, Grammarly) */
#customblock-tools .image-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
}

#customblock-tools .image-size {
    border: 1px solid #e6d9cb;
    border-radius: 6px;
    padding: 8px;
    background: #ffffff;
    transition: box-shadow 0.15s ease;
}

#customblock-tools .image-size:hover {
    box-shadow: 0 2px 8px rgba(14, 40, 65, 0.15);
}

/* Rapikan tombol "Template Download" di blok ARTICLE TEMPLATE */
#customblock-articletemplate .content {
    padding-bottom: 12px;
}
