/* ============================================================
   TEMA OJS — Oxford Klasik, adaptasi Psychological Empowerment Studies (JPES)
   Kelompok: umum · Sumber desain: pratinjau sampel-14-frezia.html
   Target: OJS 3.1 / 3.3 / 3.4, tema bawaan Default / Manuscript.
   Cara pasang: Settings > Website > Appearance > Upload stylesheet
   (file ini), lalu tempel homepage-blocks.html ke Additional Content
   dan page-footer.html ke Page Footer. Tanpa plugin, tanpa akses
   file server, tanpa mengubah data jurnal.
   Palet: utama #1b1747 · aksen #e0a04a · tinta #251e5d · latar #f4f2fa
   ============================================================ */

/* 1. Dasar */
body { font-family: "Segoe UI", Arial, sans-serif; }
.pkp_structure_main { color: #251e5d; }
.pkp_structure_main a { color: #1b1747; }
.pkp_page_index h2, .page h1, .obj_article_summary .title, .page_article h1 {
  font-family: Georgia, "Times New Roman", serif;
}
.pkp_structure_page { background: #f4f2fa; }

/* 2. Header & navigasi */
.pkp_structure_head { background: #1b1747; border-bottom: 3px solid #e0a04a; }
.pkp_site_name .is_text { color: #ffffff; font-family: Georgia, "Times New Roman", serif; text-decoration: none; }
.pkp_site_name .is_img img { max-height: 200px; max-width: 100%; width: auto; height: auto; }
.pkp_navigation_primary_row { background: #1b1747; }
.pkp_navigation_primary > li > a, .pkp_navigation_primary .dropdown-menu a { color: #ffffff; font-family: "Segoe UI", Arial, sans-serif; }
.pkp_navigation_primary > li > a:hover, .pkp_navigation_primary > li > a:focus { text-decoration: underline; }
.pkp_navigation_user li a[href*="user/register"] { border: 1.5px solid #e0a04a; color: #e0a04a !important; border-radius: 6px; padding: 7px 15px; font-weight: 600; }
.pkp_navigation_user li a[href*="/login"] { background: #e0a04a; color: #1a1a1a !important; border-radius: 6px; padding: 7px 15px; font-weight: 700; }

/* 3. Hero halaman depan (blok Additional Content, kelas tm-*) */
.tm-hero { background: #f4f2fa; color: #251e5d; text-align: center; padding: 46px 30px 34px; border-radius: 0; margin-bottom: 22px; }
.tm-kicker { color: #e0a04a; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; font-family: "Segoe UI", Arial, sans-serif; font-weight: 700; }
.tm-hero h2 { font-family: Georgia, "Times New Roman", serif; font-size: 38px; line-height: 1.2; margin: 14px auto 12px; max-width: 720px; color: #251e5d; }
.tm-hero p { max-width: 620px; margin: 0 auto; font-size: 16px; line-height: 1.6; font-family: "Segoe UI", Arial, sans-serif; }
.tm-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 22px 0 6px; font-family: "Segoe UI", Arial, sans-serif; }
.tm-cta a { text-decoration: none; padding: 12px 24px; border-radius: 6px; font-weight: 700; }
.tm-cta .a { background: #e0a04a; color: #1a1a1a; }
.tm-cta .b { border: 1.5px solid #e0a04a; color: #251e5d; }
.tm-chips { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 18px; font-family: "Segoe UI", Arial, sans-serif; }
.tm-chips span { border: 1px solid #e0a04a; color: #251e5d; padding: 5px 13px; border-radius: 6px; font-size: 13px; }
.tm-boxes { display: flex; flex-wrap: wrap; gap: 14px; margin: 4px 0 22px; }
.tm-box { flex: 1 1 220px; background: #ffffff; border: 1px solid #ddd6ee; border-top: 4px solid #e0a04a; border-radius: 12px; padding: 18px 18px 10px; text-align: center; }
.tm-box h4 { margin: 0 0 6px; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: #1b1747; font-family: "Segoe UI", Arial, sans-serif; }
.tm-box p { margin: 0; font-size: 14px; line-height: 1.55; color: #251e5d; font-family: "Segoe UI", Arial, sans-serif; }

/* 4. 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 .homepage_about { order: 4; margin-top: 22px; }
.pkp_page_index .current_issue { order: 3; background: #ffffff; border: 1px solid #ddd6ee; padding: 10px 26px 14px; }
.pkp_page_index .current_issue_title { border-bottom: 2px solid #1b1747; padding-bottom: 8px; font-family: Georgia, "Times New Roman", serif; }
.pkp_page_index .articles { counter-reset: tmart; }
.pkp_page_index .obj_article_summary { position: relative; padding-left: 46px; border-bottom: 1px solid #ddd6ee; }
.pkp_page_index .obj_article_summary::before { counter-increment: tmart; content: counter(tmart, decimal-leading-zero); position: absolute; left: 2px; top: 14px; font-family: Georgia, "Times New Roman", serif; font-size: 15px; font-weight: 700; color: #e0a04a; }
.obj_article_summary .title a { color: #251e5d; }
.obj_galley_link { border: 1px solid #1b1747; color: #1b1747; border-radius: 6px; }
.obj_galley_link.pdf { background: #1b1747; color: #ffffff; }

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

/* 6. Halaman artikel */
.page_article .abstract, .page_article .references { text-align: justify; }
.page_article h1 { color: #251e5d; }

/* 7. Footer (blok Page Footer, kelas tm-*) */
.pkp_structure_footer_wrapper { background: #1b1747; color: #f5f5f5; }
.tm-foot { display: flex; flex-wrap: wrap; margin: 0 -14px; }
.tm-foot .col { flex: 1 1 220px; padding: 0 14px; }
.tm-foot .t { font-family: "Segoe UI", Arial, sans-serif; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; border-bottom: 1px solid #e0a04a; padding-bottom: 8px; margin-bottom: 10px; }
.tm-foot p { font-size: 13px; line-height: 1.6; }
.tm-foot a { color: inherit; text-decoration: none; border-bottom: 1px solid #e0a04a; }

/* 8. Blok tambahan halaman depan: menu bernomor, jadwal, kartu ruang lingkup */
.tm-menu { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; font-family: "Segoe UI", Arial, sans-serif; }
.tm-menu a { flex: 1 1 150px; display: flex; align-items: center; gap: 10px; background: #ffffff; border: 1px solid #ddd6ee; border-radius: 12px; padding: 10px 14px; color: #1b1747; text-decoration: none; font-size: 13.5px; font-weight: 600; }
.tm-menu a .no { font-family: Georgia, "Times New Roman", serif; font-weight: 700; color: #e0a04a; font-size: 16px; }
.tm-sec { border: 1px solid #ddd6ee; background: #ffffff; padding: 18px 22px 8px; margin: 0 0 18px; }
.tm-sec-title { font-family: "Segoe UI", Arial, sans-serif; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: #1b1747; border-bottom: 1px solid #ddd6ee; padding-bottom: 8px; margin-bottom: 12px; }
.tm-cards { display: flex; flex-wrap: wrap; margin: 0 -7px 4px; }
.tm-card { flex: 1 1 200px; margin: 0 7px 14px; border: 1px solid #ddd6ee; border-top: 4px solid #e0a04a; border-radius: 12px; background: #ffffff; padding: 16px 16px 6px; text-align: center; }
.tm-card h3 { font-family: Georgia, "Times New Roman", serif; font-size: 16.5px; color: #1b1747; margin: 6px 0 4px; }
.tm-card p { font-size: 13px; line-height: 1.55; color: #251e5d; font-family: "Segoe UI", Arial, sans-serif; }
.tm-note { background: #f4f2fa; border-left: 3px solid #1b1747; padding: 14px 18px 6px; margin: 0 0 18px; }
.tm-note p { font-size: 13.5px; line-height: 1.6; color: #251e5d; font-family: "Segoe UI", Arial, sans-serif; }

/* 9. Login & Register: kartu di atas latar warna utama (pola Krinos) */
body.pkp_page_login, body.pkp_op_register { background: #1b1747; min-height: 100vh; }
body.pkp_page_login .pkp_structure_header, body.pkp_page_login .pkp_structure_sidebar,
body.pkp_page_login .pkp_structure_footer_wrapper, body.pkp_page_login .cmp_breadcrumbs,
body.pkp_op_register .pkp_structure_header, body.pkp_op_register .pkp_structure_sidebar,
body.pkp_op_register .pkp_structure_footer_wrapper, body.pkp_op_register .cmp_breadcrumbs { display: none; }
body.pkp_page_login .pkp_structure_page, body.pkp_op_register .pkp_structure_page { background: transparent; box-shadow: none; max-width: none; }
body.pkp_page_login .pkp_structure_main, body.pkp_op_register .pkp_structure_main { float: none; width: 100%; margin: 0 auto; padding: 0 16px; box-sizing: border-box; }
.page_login, .page_register { background: #fff; border: 1px solid #cfc6e6; border-radius: 18px; box-shadow: 0 24px 54px rgba(0,0,0,.28); max-width: 520px; margin: 48px auto 56px; padding: 38px 42px 42px; box-sizing: border-box; color: #251e5d; }
.page_register { max-width: 640px; }
.page_login > h1, .page_register > h1 { text-align: center; font-family: Georgia, "Times New Roman", serif; font-size: 30px; color: #1b1747; margin: 0 0 26px; border: none; padding: 0; }
.page_login label, .page_register label { font-family: "Segoe UI", Arial, sans-serif; }
.page_login input[type="text"], .page_login input[type="password"],
.page_register input[type="text"], .page_register input[type="password"],
.page_register input[type="email"], .page_register select { border: 1.2px solid #ddd6ee; border-radius: 10px; padding: 11px 14px; box-sizing: border-box; }
.page_register fieldset { border: none; border-top: 2px solid #1b1747; margin: 10px 0; padding: 14px 0 0; }
.page_register legend { font-family: "Segoe UI", Arial, sans-serif; font-size: 12.5px; letter-spacing: .22em; text-transform: uppercase; color: #e0a04a; padding-right: 8px; }
.page_login button[type="submit"], .page_login input[type="submit"],
.page_register button[type="submit"], .page_register input[type="submit"] { background: #1b1747; color: #ffe9c4; border: none; border-radius: 6px; padding: 13px 26px; font-size: 16px; font-weight: 700; width: 100%; cursor: pointer; font-family: "Segoe UI", Arial, sans-serif; }
.page_login a, .page_register a { color: #1b1747; }

/* 10. Responsif */
@media (max-width: 600px) {
  .tm-hero { padding: 34px 18px 26px; }
  .tm-hero h2 { font-size: 29px; }
  .page_login, .page_register { padding: 28px 22px 30px; margin: 28px auto 36px; }
  .pkp_page_index .current_issue { padding: 8px 14px 10px; }
}

/* 11. Blok sidebar JPES: menu bernomor, tombol, fakta jurnal */
.jm-list { list-style: none; margin: 0; padding: 0; counter-reset: jm; font-family: "Segoe UI", Arial, sans-serif; }
.jm-list li { margin: 0 0 7px; }
.jm-list a { position: relative; display: block; background: #ffffff; border: 1px solid #ddd6ee; border-radius: 10px; padding: 9px 12px 9px 48px; font-size: 14.5px; font-weight: 600; color: #251e5d !important; text-decoration: none !important; box-shadow: 0 3px 8px rgba(27,23,71,.07); }
.jm-list a::before { counter-increment: jm; content: counter(jm, decimal-leading-zero); position: absolute; left: 8px; top: 50%; transform: translateY(-50%); background: #1b1747; color: #e0a04a; font-size: 11.5px; font-weight: 800; border-radius: 7px; padding: 2px 6px; }
.jm-list a:hover { color: #6d28d9 !important; border-color: #6d28d9 !important; }
.jm-btn { display: block; text-align: center; background: #1b1747; color: #ffffff !important; font-weight: 700; font-size: 14.5px; padding: 11px 14px; border-radius: 8px; text-decoration: none !important; margin: 0 0 9px; font-family: "Segoe UI", Arial, sans-serif; }
.jm-btn.gold { background: #e0a04a; color: #1b1747 !important; }
.jinfo { margin: 0; font-size: 13.5px; line-height: 1.5; font-family: "Segoe UI", Arial, sans-serif; }
.jinfo dt { font-weight: 700; color: #1b1747; margin-top: 9px; }
.jinfo dt:first-child { margin-top: 0; }
.jinfo dd { margin: 0 0 2px; color: #251e5d; }

/* 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: 320px; width: 100%; height: auto; border: 3px solid #e0a04a; border-radius: 6px; box-shadow: 0 14px 34px rgba(27,23,71,.25); }

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

/* 14. Perangkap salin: banner hanya tampil di situs penjiplak.
   Di situs JPES sendiri padam karena footer resmi memuat kelas kunci
   .jpes-foot. Halaman tampil PDF (.header_view) dikecualikan. */
body.pkp_page_index::after, body.pkp_page_issue::after, body.pkp_page_article::after,
body.pkp_page_about::after, body.pkp_page_search::after, body.pkp_page_announcement::after {
  content: "ANDA MENGAMBIL TANPA IZIN — stylesheet ini dibuat khusus untuk Psychological Empowerment Studies (JPES), FKDP (Forum Komunikasi Dosen Peneliti Indonesia). Developed by Muh Barid Nizarudin Wajdi.";
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 99999;
  background: #b00020; color: #ffffff; font: 700 13px/1.5 "Segoe UI", Arial, sans-serif;
  text-align: center; padding: 10px 14px;
}
body:has(.jpes-foot)::after { display: none !important; }
body:has(.header_view)::after { display: none !important; }

/* ===== v2 (5 Nov 2026): lawan bocoran stylesheet SITUS =====
   Stylesheet tingkat situs (Sahifa zamrud) ikut termuat di halaman jurnal
   dan menang seri melawan aturan kelas tunggal JPES, sehingga masthead
   JPES tampil hijau zamrud dan nomor Journal Menu terhitung ganda.
   Aturan di bawah memakai spesifisitas lebih tinggi, khusus JPES. */

/* Masthead menyatu dengan banner (indigo banner #241d5b ke #322779) */
body .pkp_structure_head { background: linear-gradient(100deg, #1d194c 0%, #241d5b 45%, #322779 100%); border-bottom: 3px solid #e0a04a; }
body .pkp_site_name_wrapper { background: transparent !important; }
body .pkp_site_name .is_img img { width: 100%; max-width: 100%; height: auto; max-height: none; display: block; }
body .pkp_navigation_primary_row { background: #1d194c; }

/* Journal Menu: satu penomoran dari li, lencana di dalam pil, teks tidak tertabrak */
.pkp_structure_sidebar .jm-list li { border-bottom: none; }
.pkp_structure_sidebar .jm-list li a { display: block; position: relative; padding: 9px 12px 9px 48px; }
.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: #1b1747; color: #e0a04a; font-size: 11.5px; font-weight: 800; border-radius: 7px; padding: 2px 6px; text-align: center; }

/* Tombol sidebar tetap indigo/emas JPES */
body .jm-btn { background: #1b1747; color: #ffffff !important; border-bottom: none; text-transform: none; }
body .jm-btn.gold { background: #e0a04a; color: #1b1747 !important; }

/* ============================================================
   JPES OVERRIDE v3 -- 2026-11-09
   (C) Article-list badges: open book icon, not numbers.
   (D) PDF galley button: white label on navy.
   The portal site stylesheet leaks into JPES pages: it paints 62x62 green
   number squares over article titles and forces a dark galley-link colour
   (!important) onto the navy PDF pill. These overrides use body-scoped,
   higher-specificity selectors with !important so they win.
   Journal-scope only: this file is the JPES journal stylesheet.
   ============================================================ */
body.pkp_page_index .articles .obj_article_summary,
body.pkp_page_issue .articles .obj_article_summary,
body .articles .obj_article_summary {
  padding-left: 56px !important;
}
body.pkp_page_index .articles .obj_article_summary::before,
body.pkp_page_issue .articles .obj_article_summary::before,
body .articles .obj_article_summary::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 14px !important;
  width: 44px !important;
  height: 44px !important;
  display: block !important;
  background-color: #1b1747 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23e8b33c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z'/%3E%3Cpath d='M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: 24px 24px !important;
  border-radius: 6px !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
}
body .obj_galley_link.pdf {
  background: #1b1747 !important;
  color: #ffffff !important;
  border: 1px solid #1b1747 !important;
  border-radius: 6px !important;
}
body .obj_galley_link.pdf:hover,
body .obj_galley_link.pdf:focus {
  background: #1b1747 !important;
  color: #ffffff !important;
}

/* ===== Editorial Team cards ala EDUCATIO (etg-) ===== */
.etg-wrap { font-family: Georgia, 'Times New Roman', serif; }
.etg-title { font-size: 20px; font-weight: bold; letter-spacing: 2px; text-transform: uppercase; border-bottom: 3px solid #e8b33c; padding-bottom: 8px; margin: 10px 0 14px; color: #1b1747; }
.etg-group { font-size: 14px; font-weight: bold; letter-spacing: 1.2px; text-transform: uppercase; margin: 18px 0 10px; color: #1b1747; }
.etg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 640px) { .etg-grid { grid-template-columns: 1fr; } }
.etg-card { display: flex; gap: 12px; align-items: flex-start; background: #ffffff; border: 1px solid #e2e2e2; border-radius: 10px; padding: 12px 14px; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.etg-medal { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; background: #1b1747; color: #e8b33c; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 16px; }
.etg-name { font-weight: bold; font-size: 15px; line-height: 1.25; color: #1a1a1a; }
.etg-role { font-weight: bold; font-size: 13px; color: #1b1747; }
.etg-aff { font-size: 13px; color: #555; line-height: 1.35; }
.etg-id { font-size: 11.5px; color: #777; }
