/* ============================================================
   JANITA — Lengkung Pesantren, Biru Tosca (untuk OJS 3.4.0.9)
   Warna dasar dari cover JANITA: tosca tua #17455e / #20597b,
   aksen emas #c9a227. Bagian 0 mempertahankan aturan logo lama
   situs ini agar logo tidak berubah ukuran.
   ============================================================ */

/* 0. Aturan eksisting situs (dipertahankan) */
.site-name { display: none; }
.pkp_site_name .is_img img { display: inline-block; max-height: 200px; max-width: 100%; width: auto; height: auto; }
.pkp_structure_page { margin-top: 0; margin-bottom: 0; }
.pkp_site_name_wrapper, .pkp_navigation_primary_row { padding-left: 10px; padding-right: 10px; }
.pkp_site_name { padding-top: 5px; padding-bottom: 2px; }

/* 1. Dasar */
.pkp_page_index h2, .page h1, .obj_article_summary .title { font-family: Georgia, "Times New Roman", serif; }

/* 2. Header: logo tetap di pita terang; bilah navigasi utama tosca */
.pkp_structure_head { border-bottom: 3px solid #c9a227; }
.pkp_navigation_primary_row { background: #17455e; }
.pkp_navigation_primary > li > a, .pkp_navigation_primary .dropdown-menu a { color: #eef4f2; }
.pkp_navigation_primary > li > a:hover, .pkp_navigation_primary > li > a:focus { color: #ffffff; text-decoration: underline; }
.pkp_navigation_user_wrapper .pkp_navigation_user > li > a { color: #17455e; font-weight: 600; }

/* 3. Hero Lengkung Pesantren (blok Additional Content) */
.jn-hero { background: #17455e; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cpath d='M28 6 L34 22 L50 28 L34 34 L28 50 L22 34 L6 28 L22 22 Z' fill='none' stroke='%23c9a227' stroke-opacity='0.35'/%3E%3C/svg%3E"); color: #eef4f2; text-align: center; padding: 52px 30px 40px; border-radius: 0 0 190px 190px / 0 0 44px 44px; margin-bottom: 22px; }
.jn-kicker { color: #c9a227; font-size: 12.5px; letter-spacing: .3em; text-transform: uppercase; font-family: "Segoe UI", Arial, sans-serif; }
.jn-hero h2 { font-family: Georgia, "Times New Roman", serif; font-size: 40px; line-height: 1.18; margin: 14px auto 12px; max-width: 720px; color: #eef4f2; }
.jn-hero p { max-width: 620px; margin: 0 auto; font-size: 16.5px; line-height: 1.6; color: #c9dde3; font-family: "Segoe UI", Arial, sans-serif; }
.jn-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 22px 0 6px; font-family: "Segoe UI", Arial, sans-serif; }
.jn-cta a { text-decoration: none; padding: 12px 24px; border-radius: 999px; font-weight: 700; }
.jn-cta .a { background: #c9a227; color: #17455e; }
.jn-cta .b { border: 1.5px solid #c9a227; color: #eef4f2; }
.jn-chips { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 18px; font-family: "Segoe UI", Arial, sans-serif; }
.jn-chips span { border: 1px solid rgba(201,162,39,.65); color: #d9e6e0; padding: 5px 13px; border-radius: 999px; font-size: 13px; }
.jn-boxes { display: flex; flex-wrap: wrap; gap: 14px; margin: 4px 0 22px; }
.jn-box { flex: 1 1 220px; background: #fdfefd; border: 1px solid #ccd6d0; border-top: 4px solid #c9a227; border-radius: 60px 60px 12px 12px; padding: 20px 18px 12px; text-align: center; }
.jn-box h4 { margin: 0 0 6px; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: #17455e; font-family: "Segoe UI", Arial, sans-serif; }
.jn-box p { margin: 0; font-size: 14px; line-height: 1.55; color: #45565c; font-family: "Segoe UI", Arial, sans-serif; }

/* 4. Urutan halaman depan + Current Issue berbingkai, artikel bernomor */
.pkp_page_index .page_index_journal { display: flex; flex-direction: column; }
.pkp_page_index .additional_content { order: 1; }
.pkp_page_index .homepage_image { order: 2; margin-bottom: 20px; }
.pkp_page_index .current_issue { order: 3; background: #ffffff; border: 1px solid #ccd6d0; padding: 10px 26px 14px; }
.pkp_page_index .current_issue_title { border-bottom: 2px solid #17455e; padding-bottom: 8px; }
.pkp_page_index .articles { counter-reset: jnart; }
.pkp_page_index .obj_article_summary { position: relative; padding-left: 46px; }
.pkp_page_index .obj_article_summary::before { counter-increment: jnart; content: counter(jnart, decimal-leading-zero); position: absolute; left: 2px; top: 14px; font-family: Georgia, serif; font-size: 15px; font-weight: 700; color: #c9a227; }

/* 5. Blok sidebar */
.pkp_sidebar .pkp_block .title { font-family: "Segoe UI", Arial, sans-serif; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: #17455e; border-bottom: 2px solid #c9a227; padding-bottom: 6px; }

/* 6. Halaman artikel: abstrak & referensi rata kiri-kanan */
.page_article .abstract, .page_article .references { text-align: justify; }

/* 7. Footer tosca + isi 3 kolom */
.pkp_structure_footer_wrapper { background: #17455e; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cpath d='M28 6 L34 22 L50 28 L34 34 L28 50 L22 34 L6 28 L22 22 Z' fill='none' stroke='%23c9a227' stroke-opacity='0.3'/%3E%3C/svg%3E"); }
.jn-foot { display: flex; flex-wrap: wrap; margin: 0 -14px; }
.jn-foot .col { flex: 1 1 220px; padding: 0 14px; }
.jn-foot .t { font-family: "Segoe UI", Arial, sans-serif; font-size: 12px; letter-spacing: .22em; color: #ffffff; border-bottom: 1px solid rgba(201,162,39,.5); padding-bottom: 8px; margin-bottom: 10px; }
.jn-foot p { font-size: 13px; line-height: 1.6; color: #c9dde3; }
.jn-foot a { color: #ffffff; text-decoration: none; border-bottom: 1px solid rgba(201,162,39,.6); }

/* 8. Login & Register: kartu lengkung di atas latar tosca (gaya Krinos, khusus halaman auth) */
body.pkp_page_login, body.pkp_page_user.pkp_op_register { background: #17455e; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cpath d='M28 6 L34 22 L50 28 L34 34 L28 50 L22 34 L6 28 L22 22 Z' fill='none' stroke='%23c9a227' stroke-opacity='0.3'/%3E%3C/svg%3E"); }
body.pkp_page_login .pkp_structure_head, body.pkp_page_login .pkp_structure_footer_wrapper,
body.pkp_page_user.pkp_op_register .pkp_structure_head, body.pkp_page_user.pkp_op_register .pkp_structure_footer_wrapper { display: none; }
body.pkp_page_login .page_login, body.pkp_page_user.pkp_op_register .page_register { background: #fdfefd; border: 1.5px solid #c9a227; border-radius: 150px 150px 18px 18px; padding: 48px 42px 30px; max-width: 560px; margin: 48px auto; box-shadow: 0 20px 44px rgba(10,35,48,.35); }
body.pkp_page_login .page_login h1, body.pkp_page_user.pkp_op_register .page_register h1 { text-align: center; font-family: Georgia, "Times New Roman", serif; font-size: 31px; color: #17455e; }
body.pkp_page_login .page_login input[type="text"], body.pkp_page_login .page_login input[type="password"],
body.pkp_page_user.pkp_op_register .page_register input[type="text"], body.pkp_page_user.pkp_op_register .page_register input[type="password"],
body.pkp_page_user.pkp_op_register .page_register input[type="email"], body.pkp_page_user.pkp_op_register .page_register select { border: 1.5px solid #b9c6bf; border-radius: 12px; padding: 11px 14px; }
body.pkp_page_login .page_login button[type="submit"], body.pkp_page_login .page_login input[type="submit"],
body.pkp_page_user.pkp_op_register .page_register button[type="submit"], body.pkp_page_user.pkp_op_register .page_register input[type="submit"] { background: #17455e; color: #eef4f2; border: 1.5px solid #c9a227; border-radius: 999px; padding: 13px 26px; font-size: 16px; font-weight: 700; width: 100%; cursor: pointer; }

/* 9. Seksi About the Journal (homepage_about) turun ke bawah Current Issue,
   supaya hero menjadi elemen pertama halaman depan (order flex). */
.pkp_page_index .homepage_about { order: 4; margin-top: 22px; }
.jn-chips span { display: inline-block; border-color: rgba(201,162,39,.9); }

/* 10. Header teks (logo gambar dilepas): nama jurnal serif krem di atas tosca */
.pkp_structure_head { background: #17455e; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cpath d='M28 6 L34 22 L50 28 L34 34 L28 50 L22 34 L6 28 L22 22 Z' fill='none' stroke='%23c9a227' stroke-opacity='0.25'/%3E%3C/svg%3E"); }
.pkp_site_name .is_text { display: inline-block; font-family: Georgia, "Times New Roman", serif; font-size: 36px; letter-spacing: .05em; color: #eef4f2; text-decoration: none; padding: 10px 0 4px; }
.pkp_site_name .is_text::after { content: "JOURNAL OF COMMUNITY SERVICE · UNIVERSITAS TULUNGAGUNG"; display: block; font-family: "Segoe UI", Arial, sans-serif; font-size: 11px; letter-spacing: .3em; color: #c9a227; margin-top: 3px; }
.pkp_navigation_primary_row { border-top: 1px solid rgba(201,162,39,.4); }

/* 11. Tombol Register/Login selalu terlihat + sidebar disembunyikan di halaman auth */
.pkp_navigation_user li a[href*="user/register"] { border: 1.5px solid #c9a227; color: #eef4f2 !important; border-radius: 999px; padding: 7px 15px; font-weight: 600; }
.pkp_navigation_user li a[href*="/login"] { background: #c9a227; color: #17455e !important; border-radius: 999px; padding: 7px 15px; font-weight: 700; }
body.pkp_page_login .pkp_structure_sidebar, body.pkp_page_user.pkp_op_register .pkp_structure_sidebar { display: none; }
body.pkp_page_login .pkp_structure_main, body.pkp_page_user.pkp_op_register .pkp_structure_main { float: none; margin-left: auto; margin-right: auto; }

/* 12. Kolom alamat footer: teks putih */
.jn-foot .addr p { color: #ffffff; }

/* 13. Menu bernomor + jadwal + kartu scope + catatan author (pola EDUCATIO) */
.jn-menu { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; font-family: "Segoe UI", Arial, sans-serif; }
.jn-menu a { flex: 1 1 150px; display: flex; align-items: center; gap: 10px; background: #ffffff; border: 1px solid #ccd6d0; border-radius: 12px; padding: 10px 14px; color: #17455e; text-decoration: none; font-size: 13.5px; font-weight: 600; }
.jn-menu a .no { font-family: Georgia, serif; font-weight: 700; color: #c9a227; font-size: 16px; }
.jn-sched { border: 1px solid #ccd6d0; background: #ffffff; padding: 18px 22px 8px; margin: 0 0 18px; }
.jn-sec-title { font-family: "Segoe UI", Arial, sans-serif; font-size: 11px; letter-spacing: .22em; color: #17455e; border-bottom: 1px solid #ccd6d0; padding-bottom: 8px; margin-bottom: 12px; }
.jn-sched-row { display: flex; flex-wrap: wrap; }
.jn-sched-item { flex: 1 1 160px; padding: 2px 10px 12px 0; }
.jn-sched-no { font-family: Georgia, serif; font-size: 22px; color: #17455e; display: block; }
.jn-sched-name { font-family: "Segoe UI", Arial, sans-serif; font-size: 11px; letter-spacing: .14em; color: #5d7278; display: block; }
.jn-sched-month { font-family: Georgia, serif; font-size: 16px; color: #17455e; }
.jn-cards { display: flex; flex-wrap: wrap; margin: 0 -7px 4px; }
.jn-card { flex: 1 1 200px; margin: 0 7px 14px; border: 1px solid #ccd6d0; border-top: 4px solid #c9a227; border-radius: 46px 46px 12px 12px; background: #fdfefd; padding: 16px 16px 6px; text-align: center; }
.jn-card .no { font-family: "Segoe UI", Arial, sans-serif; font-size: 11px; letter-spacing: .18em; color: #96771a; }
.jn-card h3 { font-family: Georgia, serif; font-size: 16.5px; color: #17455e; margin: 6px 0 4px; }
.jn-card p { font-size: 13px; line-height: 1.55; color: #45565c; font-family: "Segoe UI", Arial, sans-serif; }
.jn-note { background: #e8f0ee; border-left: 3px solid #17455e; padding: 14px 18px 6px; margin: 0 0 18px; }
.jn-note p { font-size: 13.5px; line-height: 1.6; color: #2c4a56; font-family: "Segoe UI", Arial, sans-serif; }

/* 14. Blok sidebar ADDITIONAL MENU: pola EDUCATIO (baris putih + chip nomor), warna tosca JANITA */
#customblock-menusidebar #body, #customblock-menusidebar #sidebar, #customblock-menusidebar #rightSidebar, #customblock-menusidebar #customblock-MENU { background: none !important; border: none !important; float: none !important; width: auto !important; margin: 0 !important; padding: 0 !important; }
#customblock-menusidebar table { width: 100% !important; border-collapse: collapse !important; counter-reset: jnmenu; background: #ffffff; border: 1px solid #ccd6d0; }
#customblock-menusidebar td { background-color: #ffffff !important; border-bottom: 1px solid #e3e9e6 !important; text-align: left !important; height: auto !important; padding: 9px 12px !important; vertical-align: middle !important; }
#customblock-menusidebar tr:first-child td { background: linear-gradient(135deg, #17455e, #1f6185) !important; text-align: center !important; padding: 11px 12px !important; }
#customblock-menusidebar tr:first-child td span { color: #eef4f2 !important; font-size: 12px; letter-spacing: .18em; }
#customblock-menusidebar td a { display: flex; align-items: center; gap: 10px; color: #17455e !important; text-decoration: none !important; font-size: 13.5px; counter-increment: jnmenu; }
#customblock-menusidebar td a span { color: #17455e !important; }
#customblock-menusidebar td a::before { content: counter(jnmenu, decimal-leading-zero); font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: 12px; color: #96771a; background: #e8f0ee; border: 1px solid #c9a227; border-radius: 8px; padding: 2px 7px; flex: none; }
#customblock-menusidebar td:hover { background-color: #e8f0ee !important; }

/* 16. Baris ISSN di bawah tulisan header awal (permintaan pemilik 13:25) */
.pkp_site_name_wrapper::after { content: "PRINT ISSN 2775-5061 · ONLINE ISSN 2797-4286"; display: block; clear: both; font-family: "Segoe UI", Arial, sans-serif; font-size: 11.5px; letter-spacing: .18em; color: #c9dde3; padding: 2px 0 10px; }
