/* ============================================================
   GIIS-SEA — tema "Klorofil" (khusus jurnal ini)
   Green Industry Innovation and Sustainability in Southeast Asia
   Palet (disampel dari artwork kiriman pemilik):
   hijau gelap #03231d · hijau tengah #0c6943 / #115c3d · hijau daun
   #88c55b · hijau pucat #bff0c9 · emas #f4b23e (garis tipis saja)
   · tinta #22332b · abu hijau #5c6f65 · latar putih #ffffff
   Target: OJS 3.4.0.12, tema Default.
   CATATAN TEKNIS: stylesheet tingkat situs (portal Sahifa) ikut
   termuat di halaman jurnal dan menang seri melawan aturan kelas
   tunggal jurnal. Karena itu semua aturan masthead, navigasi,
   tombol dan menu di sini memakai selektor berspesifisitas lebih
   tinggi (awalan body / .pkp_structure_sidebar), mengikuti pola
   penimpa JPES v2. Jangan turunkan spesifisitasnya.
   ============================================================ */

/* ===== 1. Dasar ===== */
body { background: #ffffff; color: #22332b; font-family: "Segoe UI", Roboto, Arial, sans-serif; }
.pkp_structure_page { background: transparent; }
a { color: #0c6943; }
a:hover, a:focus { color: #03231d; }

/* ===== 2. Masthead: menyatu dengan banner (tepi kiri banner #03231d, kanan #0c6943) ===== */
body .pkp_structure_head { background: linear-gradient(100deg, #03231d 0%, #063d2c 48%, #0c6943 100%); border-bottom: 3px solid #f4b23e; }
body .pkp_site_name_wrapper { background: transparent !important; padding-top: 0; }
body .pkp_site_name .is_text { color: #ffffff; font-family: Georgia, "Times New Roman", serif; font-size: 28px; font-weight: 700; }
body .pkp_site_name .is_img img { width: 100%; max-width: 100%; height: auto; max-height: none; display: block; }
body .pkp_navigation_user li a { text-transform: uppercase; font-size: 12px; font-weight: 700; color: #bff0c9 !important; }
body .pkp_navigation_user li a:hover { color: #ffffff !important; }

/* ===== 3. Bilah menu ===== */
body .pkp_navigation_primary_row { background: #03231d; position: relative; z-index: 1001; }
body .pkp_navigation_primary_row .pkp_navigation_primary > li > a,
body .pkp_navigation_primary_row .pkp_search > a,
body .pkp_navigation_primary_row .pkp_search { color: #eaf6ee !important; font-weight: 700; text-transform: uppercase; font-size: 13.5px; padding: 12px 14px; border-bottom: 3px solid transparent; }
body .pkp_navigation_primary_row .pkp_navigation_primary > li > a:hover,
body .pkp_navigation_primary_row .pkp_navigation_primary > li > a:focus { background: #063d2c; border-bottom-color: #f4b23e; color: #ffffff !important; }
.pkp_navigation_primary > li > ul { background: #ffffff !important; border: 1px solid #dcebe1; box-shadow: 0 8px 20px rgba(3,35,29,.12); }
.pkp_navigation_primary > li > ul li { background: transparent !important; }
.pkp_navigation_primary > li > ul a { color: #22332b !important; background: transparent !important; text-transform: none; font-weight: 400; }
.pkp_navigation_primary > li > ul a:hover, .pkp_navigation_primary > li > ul a:focus { color: #0c6943 !important; background: #f2f8f4 !important; }

/* ===== 4. Beranda: hero terang + sorotan ruang lingkup ===== */
.page_index_journal { display: flex; flex-direction: column; }
.additional_content { order: 1; }
.homepage_image { order: 2; display: none; }
.current_issue { order: 3; background: #ffffff; border: 1px solid #e3efe7; border-radius: 10px; padding: 20px 22px; }
.journal_description, .page_index_journal > .about_site { order: 4; }
.giis-hero { background: #f2f8f4; border: 1px solid #dcebe1; border-left: 4px solid #88c55b; border-radius: 10px; padding: 26px 28px; margin-bottom: 18px; text-align: center; }
.giis-hero .k { font-size: 11.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: #0c6943; }
.giis-hero h2 { font-family: Georgia, "Times New Roman", serif; font-size: 27px; line-height: 1.3; color: #03231d; margin: 10px 0 8px; }
.giis-hero p { font-size: 15px; line-height: 1.65; color: #3c5247; max-width: 760px; margin: 0 auto 16px; }
.giis-hero .cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.giis-hero .cta a { display: inline-block; padding: 11px 22px; border-radius: 999px; font-weight: 700; font-size: 14px; text-decoration: none !important; }
.giis-hero .cta a.go { background: #0c6943; color: #ffffff !important; }
.giis-hero .cta a.go:hover { background: #03231d; }
.giis-hero .cta a.ghost { background: #ffffff; color: #03231d !important; border: 1.5px solid #0c6943; }
.giis-hero .cta a.ghost:hover { background: #eaf6ee; }
.giis-ticker { background: #ffffff; border: 1px solid #dcebe1; border-radius: 10px; display: flex; align-items: center; font-size: 13.5px; margin-bottom: 16px; overflow: hidden; }
.giis-ticker .lbl { background: #f4b23e; color: #03231d; font-weight: 700; padding: 10px 14px; text-transform: uppercase; font-size: 12px; white-space: nowrap; }
.giis-ticker .isi { padding: 10px 14px; color: #3c5247; }
.giis-scope { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.giis-scope span { background: #eaf6ee; border: 1px solid #cfe6d6; color: #063d2c; font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 999px; }

/* ===== 5. Judul seksi + daftar artikel (ringan, banyak ruang putih) ===== */
.current_issue .current_issue_title, .page_issue .issue_title, .page_index_journal > h2, .pkp_block .title {
  font-size: 16px; font-weight: 700; color: #03231d; text-transform: uppercase; letter-spacing: .06em;
  border-bottom: 2px solid #e3efe7; padding-bottom: 8px; position: relative; }
.current_issue .current_issue_title::after, .page_issue .issue_title::after, .pkp_block .title::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 56px; border-bottom: 2px solid #f4b23e; }
.obj_article_summary { padding: 14px 0; border-top: 1px solid #eef4f0; }
.obj_article_summary .title { font-size: 16.5px; line-height: 1.4; margin: 0 0 4px; }
.obj_article_summary .title a { color: #03231d !important; }
.obj_article_summary .title a:hover { color: #0c6943 !important; }
.obj_article_summary .meta, .obj_article_summary .authors, .obj_article_summary .pages { color: #5c6f65; font-size: 12.5px; }
.obj_galley_link { background: transparent; border: none; color: #0c6943 !important; font-weight: 700; padding: 0; }
.obj_galley_link::after { content: " »"; }

/* ===== 6. Sidebar: kartu putih tipis ===== */
.pkp_block { background: #ffffff; border: 1px solid #e3efe7; border-radius: 10px; padding: 16px 18px; margin-bottom: 18px; }
.pkp_block .content ul { list-style: none; margin: 0; padding: 0; }
.pkp_block .content li { padding: 6px 0; border-bottom: 1px dotted #dcebe1; }
.pkp_block a { color: #3c5247; }
.pkp_block a:hover { color: #0c6943; }

/* ===== 7. Halaman artikel ===== */
.page_article .page_title { color: #03231d; font-family: Georgia, "Times New Roman", serif; font-size: 26px; }
.page_article .item.abstract { background: #f2f8f4; border: 1px solid #dcebe1; border-left: 3px solid #88c55b; border-radius: 6px; padding: 16px 18px; }
.page_article .abstract .label, .page_article .item .label { color: #03231d; text-transform: uppercase; }
.page_article .abstract, .page_article .references { text-align: justify; }
.page_article .obj_galley_link { background: #0c6943; color: #ffffff !important; padding: 8px 14px; border-radius: 999px; }

/* ===== 8. Kaki hijau gelap (3 kolom, kelas giis-) ===== */
.pkp_structure_footer_wrapper { background: #03231d; }
.giis-foot { display: flex; gap: 26px; flex-wrap: wrap; max-width: 1160px; margin: 0 auto; padding: 24px 16px 12px; color: #bcd8c6; }
.giis-foot .col { flex: 1 1 240px; }
.giis-foot .t { color: #f4b23e; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: 13.5px; margin-bottom: 10px; }
.giis-foot p { margin: 0 0 8px; font-size: 13.5px; line-height: 1.65; color: #bcd8c6; }
.giis-foot ul { list-style: none; margin: 0; padding: 0; }
.giis-foot li { font-size: 13.5px; line-height: 1.65; }
.giis-foot li::before { content: "» "; color: #f4b23e; font-weight: 700; }
.giis-foot a { color: #ffffff; }
.giis-foot a:hover { color: #88c55b; }

/* ===== 9. Login / register ===== */
body.pkp_page_login .pkp_structure_main, body.pkp_page_user .pkp_structure_main { background: #ffffff; border: 1px solid #e3efe7; border-radius: 10px; max-width: 560px; margin: 22px auto; padding: 24px 30px 20px; float: none; }
body.pkp_page_login .pkp_structure_sidebar, body.pkp_page_user .pkp_structure_sidebar { display: none !important; }
body.pkp_page_login .page_login h1, body.pkp_page_user .page_register h1 { font-size: 20px; color: #03231d; text-transform: uppercase; border-bottom: 2px solid #e3efe7; padding-bottom: 8px; }
body.pkp_page_login input[type="text"], body.pkp_page_login input[type="password"],
body.pkp_page_user input[type="text"], body.pkp_page_user input[type="password"],
body.pkp_page_user input[type="email"], body.pkp_page_user select { border: 1px solid #dcebe1; background: #fcfdfc; border-radius: 6px; box-shadow: none; }
body.pkp_page_login .buttons button, body.pkp_page_user .buttons button,
body.pkp_page_login button[type="submit"], body.pkp_page_user button[type="submit"] { width: 100%; background: #0c6943; color: #ffffff; border: none; padding: 11px; font-size: 15px; font-weight: 700; text-transform: uppercase; border-radius: 999px; }
body.pkp_page_user .page_register fieldset { border: 1px solid #e3efe7; }
body.pkp_page_user .page_register legend { color: #0c6943; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 12px; }

/* ===== 10. HP ===== */
@media (max-width: 767px) {
  .pkp_structure_head { height: auto !important; }
  .pkp_site_name_wrapper { height: auto !important; padding-top: 0; position: static; }
  .pkp_site_name { position: static; }
  .giis-hero { padding: 20px 16px; }
  .giis-hero h2 { font-size: 22px; }
}

/* ===== 11. Blok sidebar kustom: menu bernomor, tombol, info =====
   Penimpa terhadap stylesheet situs (bagian 11 portal): portal menaikkan
   penghitung di li DAN aturan lamanya di a::before, sehingga nomor
   menjadi 02, 04, 06... dan padding pil tertimpa. Di sini penghitung
   hanya naik di li, a::before tidak menaikkan lagi. */
.pkp_structure_sidebar .jm-list { list-style: none; margin: 0; padding: 0; counter-reset: jm; }
.pkp_structure_sidebar .jm-list li { counter-increment: jm; margin: 0 0 7px; border-bottom: none; padding: 0; }
.pkp_structure_sidebar .jm-list li a { display: block; position: relative; background: #ffffff; border: 1px solid #dcebe1; border-radius: 10px; padding: 9px 12px 9px 48px; font-size: 14px; font-weight: 600; color: #03231d !important; text-decoration: none !important; box-shadow: 0 2px 6px rgba(3,35,29,.05); }
.pkp_structure_sidebar .jm-list li a::before { counter-increment: none; content: counter(jm, decimal-leading-zero); position: absolute; left: 8px; top: 50%; transform: translateY(-50%); min-width: 0; background: #0c6943; color: #ffffff; font-size: 11.5px; font-weight: 800; border-radius: 7px; padding: 2px 6px; text-align: center; }
.pkp_structure_sidebar .jm-list li a:hover { color: #0c6943 !important; background: #f2f8f4; border-color: #88c55b; }
body .jm-btn { display: block; text-align: center; background: #0c6943; color: #ffffff !important; font-weight: 700; font-size: 14px; padding: 11px 14px; border-radius: 999px; text-decoration: none !important; margin: 0 0 9px; border-bottom: none; text-transform: none; }
body .jm-btn:hover { background: #03231d; color: #bff0c9 !important; }
body .jm-btn.gold { background: #f4b23e; color: #03231d !important; }
.jinfo { width: 100%; border-collapse: collapse; font-size: 13px; }
.jinfo td { padding: 6px 4px; border-bottom: 1px dotted #dcebe1; vertical-align: top; }
.jinfo td:first-child { font-weight: 700; color: #0c6943; white-space: nowrap; padding-right: 10px; }

/* ===== 12. Gambar beranda = cover jurnal: tampil wajar, tidak raksasa ===== */
.pkp_page_index .homepage_image { text-align: center; }
.pkp_page_index .homepage_image img { max-width: 300px; width: 100%; height: auto; border: 2px solid #88c55b; border-radius: 8px; box-shadow: 0 10px 26px rgba(3,35,29,.15); }

/* ===== 13. Lencana PKP di footer disembunyikan (OJS 3.4: Page Footer terisi tidak menghapusnya) ===== */
.pkp_brand_footer { display: none !important; }

/* Anti-copy trap: banner tidak tampil di halaman PDF */
body:has(.header_view)::after { display: none !important; }

/* ===== v2 (14 Nov 2026): footer 3 kolom — lawan bocoran stylesheet SITUS =====
   Stylesheet situs (portal v3 bagian 14) ikut termuat di halaman jurnal dan
   mengubah .pkp_footer_content menjadi grid 3 kolom dengan penempatan
   paragraf; isi footer GIIS-SEA (.giis-foot) lalu terjepit sebagai satu
   item grid di kolom pertama (~320px) dan menumpuk. Aturan di bawah
   mengembalikan wadah footer ke block dan memaksa .giis-foot 3 kolom. */
body .pkp_structure_footer_wrapper { background: #03231d; }
body .pkp_structure_footer_wrapper .pkp_footer_content { display: block; width: 100%; text-align: left; }
body .giis-foot { display: flex; flex-wrap: nowrap; gap: 28px; width: 100%; }
body .giis-foot .col { flex: 1 1 0; min-width: 0; }
