/* ==========================================================================
   JARQF — Journal of Actuarial, Risk, and Quantitative Finance
   Stylesheet v10 — footer 3 kolom aktif + badge "Platform & Workflow by
   OJS/PKP" disembunyikan
   --------------------------------------------------------------------------
   Perubahan v10 dibanding v9:
   - .pkp_brand_footer (badge "Platform & Workflow by OJS/PKP") disembunyikan
     sepenuhnya lewat display:none. Ini elemen bawaan tema, bukan dari field
     admin manapun, jadi cuma bisa dihilangkan lewat CSS.
   - Ditambah style .footer-title dan .footer-col p — perlu supaya konten
     footer baru (lihat footer-content-jarqf.html) tampil rapi. Tanpa HTML
     baru itu, CSS ini tidak mengubah apa pun (footer lama tetap 1 kolom).
   - Dipasangkan dengan: Settings > Website > Setup > tab Footer — ganti
     isi field itu dengan footer-content-jarqf.html (lihat file terpisah).
   --------------------------------------------------------------------------
   Stylesheet v9 — label & ikon tombol Template Word disesuaikan
   --------------------------------------------------------------------------
   Perubahan v9 dibanding v8:
   - Label kategori di atas tombol: "UNDUH" → "TEMPLATE WORD"
   - Teks di dalam tombol: "Unduh Template Word" → "Unduh" (lebih ringkas,
     karena label di atas sudah bilang "Template Word")
   - Ikon panah download diganti ikon mirip dokumen Word (kotak putih
     dengan huruf "W" navy) — bukan logo Microsoft asli, cuma representasi
     generik "file Word", supaya langsung dikenali seperti ikon asli yang
     dipakai sebelumnya tanpa gambar buram 228x228px.
   --------------------------------------------------------------------------
   Stylesheet v8 — tombol "Unduh Template Word" dibuat menonjol (CTA navy)
   --------------------------------------------------------------------------
   Perubahan v8 dibanding v7:
   - Tombol Unduh Template Word yang di v7 cuma kartu biru muda kecil,
     sekarang jadi tombol navy penuh (senada "Ajukan Naskah") + ikon download
     + label kategori "UNDUH" di atasnya, supaya jelas-jelas kelihatan sebagai
     aksi yang bisa diklik, bukan sekadar baris info.
   - Gambar asli (ikon-800x600.png) disembunyikan sepenuhnya, diganti ikon
     download CSS murni — konsisten dengan ikon lain di sidebar.
   --------------------------------------------------------------------------
   Stylesheet v7 — ikon sidebar (CSS murni), tint biru langit, search & Word
   template diperkecil
   --------------------------------------------------------------------------
   Perubahan v7 dibanding v6:
   - BUG: ikon <svg> di HTML sidebar (v6) HILANG di live site — TinyMCE
     (editor Custom Block Manager) membuang tag <svg>/<path> saat disimpan,
     cuma elemen <div>/<a class="..."> dan atribut href yang selamat. Makanya
     sidebar tampil "polos" tanpa ikon walau HTML sudah ditempel.
   - FIX: ikon sekarang digambar lewat CSS (mask-image + data-URI), dipicu
     dari atribut href yang sudah ada (mis. [href$="/focusandscope"]) atau
     urutan grup (:nth-of-type). Jadi TIDAK PERLU menempel ulang HTML —
     cukup upload CSS v7 ini saja, sidebar-menu-jarqf.html yang sudah
     terpasang sekarang tidak perlu diganti.
   - Kartu menu & badge sidebar diberi tint biru langit lembut (#eef5fb)
     supaya tidak putih-di-atas-putih (polos) — sebelumnya background putih
     nyaris tak kelihatan di atas halaman yang juga putih.
   - Tombol Search di nav diperkecil (padding & font lebih kecil).
   - Block "Unduh Template Word" (gambar 228x228px yang kebesaran) diubah
     jadi tombol kecil rapi (ikon 30px + label "Unduh Template Word") —
     HTML gambar aslinya dibiarkan apa adanya, cukup diperkecil lewat CSS.
   - Tidak ada selector/warna v6 yang dihapus.
   --------------------------------------------------------------------------
   CATATAN PEMASANGAN ASET (wajib, sama seperti v4–v6):
   Unggah motif.jpg & cover ke OJS: Settings > Website > Setup > Files,
   lalu sesuaikan path /public/journals/66/... di bawah bila berbeda.
   --------------------------------------------------------------------------
   Warna brand : #114176 (navy) / #0A2A4E (navy gelap) / #E8EEF5 (navy tint)
   Font        : Lora (body/serif) + Roboto (nav/UI)
   Install     : Settings > Website > Appearance > Setup > Journal Style Sheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Roboto:wght@400;500;700&display=swap');

/* --------------------------------------------------------------------------
   Page structure
   -------------------------------------------------------------------------- */
.pkp_structure_page {
  margin: 0 auto;
  max-width: 1160px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(10, 42, 78, 0.06),
              0 8px 32px rgba(10, 42, 78, 0.10);   /* shadow berlapis, lembut */
  border-radius: 8px;
  overflow: hidden;                                  /* radius rapi di sudut banner */
}

@media (min-width: 1200px) {
  .pkp_structure_page {
    margin-top: 36px;
    margin-bottom: 36px;
  }
}

.pkp_head_wrapper,
.has_site_logo .pkp_head_wrapper {
  position: relative;
  padding-top: 0;
}

html,
body {
  /* Fallback warna brand tint dulu, baru motif lokal. Ganti path bila perlu. */
  background-color: #E8EEF5;
  background-image: url(/public/journals/66/motif.jpg);
  background-repeat: repeat;
  background-attachment: fixed;
}

body {
  font-family: Lora, Georgia, serif !important;
  color: #21262e;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Fokus keyboard terlihat jelas — aksesibilitas */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid #114176;
  outline-offset: 2px;
}

::selection {
  background: #114176;
  color: #fff;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.pkp_site_name_wrapper {
  width: 100% !important;
  background: #ffffff;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin: 0 !important;
  margin-bottom: 0px !important;
}

.pkp_screen_reader {
  margin: 0px !important;
}

.pkp_site_name {
  margin: 0 !important;
  padding: 0px;
}

.pkp_site_name > a {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.pkp_site_name a {
  margin: auto !important;
}

.pkp_site_name .is_img img {
  max-height: 100% !important;
  max-width: 100% !important;
}

/* --------------------------------------------------------------------------
   Primary navigation bar
   -------------------------------------------------------------------------- */
.pkp_navigation_primary_row {
  background-image: linear-gradient(to top right, #0A2A4E, #114176);  /* gradient halus gelap→terang */
  font-weight: bold;
  padding-left: 30px;
  padding-right: 30px;
  box-shadow: inset 0 -3px 0 rgba(255, 255, 255, 0.08);
}

.pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li {
  padding: 0 !important;
  margin: 0 !important;
}

.pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li a {
  margin: 0 !important;
  padding: 0 16px !important;
  line-height: 44px !important;          /* touch target lebih lega (44px standar) */
}

.pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li,
.pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li a {
  font-family: Roboto, system-ui, sans-serif;
  color: #ffffff !important;
  font-weight: 500 !important;            /* medium, lebih elegan dari bold penuh */
  letter-spacing: 0.01em;
  transition: background 0.18s ease, color 0.18s ease;
}

.pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li a:hover {
  background: rgba(255, 255, 255, 0.96);
  color: #114176 !important;
  border-radius: 6px !important;           /* radius kecil, modern; bukan pil 20px */
}

.pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li ul,
.pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li ul li a:hover {
  border-radius: 0 !important;
  -webkit-border-radius: 0 !important;
}

.pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li ul {
  background-image: linear-gradient(to bottom, #114176, #0A2A4E) !important;
  box-shadow: 0 10px 28px rgba(10, 42, 78, 0.30);
  border-radius: 0 0 8px 8px !important;
  overflow: hidden;
}

.pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li ul li {
  border-bottom: solid 1px rgba(255, 255, 255, 0.14) !important;   /* hairline subtle, bukan putih solid */
}

.pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li ul li:last-child {
  border-bottom: none !important;
}

/* --------------------------------------------------------------------------
   User navigation (login, register, username)
   -------------------------------------------------------------------------- */
.pkp_navigation_user_wrapper {
  padding-left: 0;
  padding-right: 30px;
  padding-top: 10px;
}

.pkp_navigation_user.pkp_nav_list .profile a {
  border-radius: 15px !important;
  padding-left: 12px;
  padding-right: 12px;
}

.profile a {
  background: #114176;
  color: #fff !important;
  transition: background 0.18s ease;
}

.profile a:hover {
  background: #0A2A4E;
}

.dropdown-menu {
  background: #114176 !important;
  border-radius: 8px !important;
  box-shadow: 0 10px 28px rgba(10, 42, 78, 0.30);
  overflow: hidden;
}

.dropdown-menu li a:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.10) !important;
}

.pkp_site_nav_toggle {
  background: #114176 !important;
}

/* --------------------------------------------------------------------------
   Search box di nav
   -------------------------------------------------------------------------- */
.pkp_navigation_search_wrapper {
  background: rgba(255, 255, 255, 0.12);     /* glassy di atas nav navy */
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.pkp_navigation_search_wrapper a {
  color: #ffffff;
}

.pkp_navigation_search_wrapper a:hover {
  color: #ffffff;
}

.pkp_navigation_search_wrapper:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.45);
  border-radius: 20px;                        /* tetap pil saat hover — tidak melompat jadi kotak */
}

/* Tombol search diperkecil — FIX v7 */
.pkp_navigation_search_wrapper {
  border-radius: 14px;
}

.pkp_navigation_search_wrapper .pkp_search {
  padding: 3px 10px !important;
  font-size: 12px !important;
}

.pkp_navigation_search_wrapper .pkp_search .fa-search {
  font-size: 11px !important;
}

/* --------------------------------------------------------------------------
   Sidebar — image menu
   -------------------------------------------------------------------------- */
.pkp_block.block_custom {
  padding-left: 15px;
  padding-right: 15px;
}

.sidebar-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.sidebar-menu-item {
  display: block;
  text-decoration: none;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(10, 42, 78, 0.10);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.sidebar-menu-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(17, 65, 118, 0.22);
}

.sidebar-menu-item img {
  display: block;
  width: 100%;
  height: auto;
}

/* Judul block sidebar standar OJS (mis. "Information", "Keywords") */
.pkp_block .title {
  font-family: Roboto, system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #114176;
  border-bottom: 2px solid #114176;
  padding-bottom: 6px;
}

/* --------------------------------------------------------------------------
   Sidebar v2 — menu berkategori + ikon, CTA, badge pengindeksan — FIX v6
   --------------------------------------------------------------------------
   Dipasangkan dengan markup di sidebar-menu-jarqf.html (custom block
   "sidebar"). Menggantikan 15 tombol navy rata yang sebelumnya tiap tombol
   punya inline style sendiri — sekarang cukup lewat class di sini, jadi
   kalau mau ganti warna/ukuran cukup di satu tempat.
   -------------------------------------------------------------------------- */

/* 2 tombol CTA di atas menu: "Ajukan Naskah" (primary) + "Edisi Terbaru" (secondary) */
.jarqf-cta {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.jarqf-cta a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 10px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none !important;
  text-align: center;
  font-family: Roboto, system-ui, sans-serif;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.jarqf-cta a svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.jarqf-cta .primary {
  background: #114176 !important;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(17, 65, 118, 0.35);
}

.jarqf-cta .primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(17, 65, 118, 0.4);
}

.jarqf-cta .secondary {
  background: #fff !important;
  color: #114176 !important;
  border: 1.5px solid #114176;
}

.jarqf-cta .secondary:hover {
  background: #f0f4f9 !important;
  transform: translateY(-2px);
}

/* Grup menu (mis. "Tentang Jurnal", "Kebijakan", "Untuk Penulis") */
.jarqf-sb-group {
  margin-bottom: 14px;
}

.jarqf-sb-group-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: Roboto, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #114176;
  padding: 0 2px 6px;
  border-bottom: 2px solid rgba(17, 65, 118, 0.15);
  margin-bottom: 6px;
}

.jarqf-sb-group-title svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Tiap item menu: ikon + label + chevron, kartu putih dengan hover navy */
.jarqf-sb-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  margin-bottom: 4px;
  border-radius: 7px;
  background: #fff;
  border: 1px solid #e6e9ee;
  color: #21262e !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 500;
  font-family: Roboto, system-ui, sans-serif;
  transition: background 0.15s ease, border-color 0.15s ease,
              transform 0.15s ease, box-shadow 0.15s ease;
}

.jarqf-sb-link:hover {
  background: #114176;
  border-color: #114176;
  color: #fff !important;
  transform: translateX(3px);
  box-shadow: 0 4px 12px rgba(17, 65, 118, 0.25);
}

.jarqf-sb-link svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  color: #114176;
  transition: color 0.15s ease;
}

.jarqf-sb-link:hover svg {
  color: #fff;
}

.jarqf-sb-link .chev {
  margin-left: auto;
  width: 13px;
  height: 13px;
  opacity: 0.4;
}

/* Badge pengindeksan (chip), dipakai di bawah menu sidebar */
.jarqf-index-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 6px 0 2px;
}

.jarqf-index-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 999px;
  background: #f5f8fc;
  border: 1px solid #dbe3ee;
  color: #114176 !important;
  font-size: 12px;
  font-weight: 700;
  font-family: Roboto, system-ui, sans-serif;
  text-decoration: none !important;
}

.jarqf-index-badge svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.jarqf-index-badge:hover {
  background: #114176;
  color: #fff !important;
  border-color: #114176;
}

/* --------------------------------------------------------------------------
   Sidebar v2 — ikon lewat CSS murni (FIX v7, lihat catatan di atas file)
   --------------------------------------------------------------------------
   TinyMCE membuang tag <svg> saat HTML sidebar disimpan, jadi ikon digambar
   di sini lewat mask-image + data-URI, dipicu dari href yang sudah ada di
   HTML (tidak perlu tempel ulang HTML). currentColor pada mask-image tidak
   berfungsi di background-image biasa, makanya pakai teknik mask: SVG jadi
   "stensil", warnanya diambil dari background-color (bisa berubah pas hover
   tanpa perlu aset kedua).
   -------------------------------------------------------------------------- */
:root {
  --ic-target: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='12' cy='12' r='.5'/%3E%3C/svg%3E");
  --ic-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4-4'/%3E%3C/svg%3E");
  --ic-users: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.2'/%3E%3Cpath d='M3 20c0-3.3 2.8-5.3 6-5.3s6 2 6 5.3'/%3E%3Ccircle cx='17.5' cy='9' r='2.3'/%3E%3Cpath d='M15.3 20c.3-2.3 1.8-3.8 3.9-4.1'/%3E%3C/svg%3E");
  --ic-layers: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7l9-4 9 4-9 4-9-4z'/%3E%3Cpath d='M3 7v10l9 4 9-4V7'/%3E%3Cpath d='M12 11v10'/%3E%3C/svg%3E");
  --ic-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E");
  --ic-grid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1'/%3E%3C/svg%3E");
  --ic-eye: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-7 11-7 11 7 11 7-4 7-11 7-11-7-11-7z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
  --ic-calendar: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='17' rx='2'/%3E%3Cpath d='M3 9h18'/%3E%3Cpath d='M8 2v4M16 2v4'/%3E%3C/svg%3E");
  --ic-unlock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 7.3-2.3'/%3E%3C/svg%3E");
  --ic-shieldcheck: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 3v6c0 4.5-3.2 7.5-8 9-4.8-1.5-8-4.5-8-9V6z'/%3E%3Cpath d='M9.5 12l1.8 1.8L15 10'/%3E%3C/svg%3E");
  --ic-checkcircle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8.5 12.5l2.3 2.3 4.7-4.7'/%3E%3C/svg%3E");
  --ic-copyright: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M14.5 9.3a3 3 0 1 0 0 5.4'/%3E%3C/svg%3E");
  --ic-undo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 14l-5-5 5-5'/%3E%3Cpath d='M4 9h10a6 6 0 0 1 6 6v1'/%3E%3C/svg%3E");
  --ic-archive: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7l2-4h14l2 4'/%3E%3Crect x='3' y='7' width='18' height='13' rx='1'/%3E%3Cpath d='M9 12h6'/%3E%3C/svg%3E");
  --ic-book: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/%3E%3Cpath d='M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z'/%3E%3C/svg%3E");
  --ic-dollar: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v10M9 9.5c0-1.4 1.3-2.5 3-2.5s3 1 3 2.2c0 2.8-6 1.3-6 4.1 0 1.3 1.3 2.2 3 2.2s3-1 3-2.3'/%3E%3C/svg%3E");
  --ic-upload: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5'/%3E%3Cpath d='M5 12l7-7 7 7'/%3E%3C/svg%3E");
  --ic-chain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 7a5 5 0 0 0-10 0v3a5 5 0 0 0 10 0'/%3E%3Cpath d='M7 14a5 5 0 0 0 10 0v-3'/%3E%3C/svg%3E");
  --ic-wordfile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='2' width='18' height='20' rx='3' fill='white'/%3E%3Crect x='3' y='2' width='18' height='20' rx='3' fill='none' stroke='%23114176' stroke-width='1'/%3E%3Ctext x='12' y='16.5' font-family='Arial, Helvetica, sans-serif' font-size='11' font-weight='bold' fill='%23114176' text-anchor='middle'%3EW%3C/text%3E%3C/svg%3E");
}

/* mesin ikon: SVG jadi "stensil", warna dari background-color */
.jarqf-sb-link::before,
.jarqf-sb-group-title::before,
.jarqf-cta a::before,
.jarqf-index-badge::before {
  content: "";
  display: inline-block;
  flex-shrink: 0;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  background-color: currentColor;
}

.jarqf-sb-link::before { width: 17px; height: 17px; color: #114176; }
.jarqf-sb-link:hover::before { color: #fff; }
.jarqf-sb-group-title::before { width: 14px; height: 14px; color: #114176; }
.jarqf-cta a::before { width: 16px; height: 16px; }
.jarqf-index-badge::before { width: 13px; height: 13px; color: #114176; }
.jarqf-index-badge:hover::before { color: #fff; }

/* chevron digambar CSS murni (border + rotate), tidak perlu aset ikon */
.jarqf-sb-link::after {
  content: "";
  margin-left: auto;
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.35;
  flex-shrink: 0;
}

/* pemetaan ikon ke tiap link lewat href (urutan menu boleh berubah, ikon tetap ikut) */
.jarqf-sb-link[href$="/focusandscope"]::before { -webkit-mask-image: var(--ic-search); mask-image: var(--ic-search); }
.jarqf-sb-link[href$="/editorialTeam"]::before { -webkit-mask-image: var(--ic-users); mask-image: var(--ic-users); }
.jarqf-sb-link[href$="/indexing"]::before { -webkit-mask-image: var(--ic-layers); mask-image: var(--ic-layers); }
.jarqf-sb-link[href$="/about/contact"]::before { -webkit-mask-image: var(--ic-mail); mask-image: var(--ic-mail); }
.jarqf-sb-link[href$="/sectionpolicies"]::before { -webkit-mask-image: var(--ic-grid); mask-image: var(--ic-grid); }
.jarqf-sb-link[href$="/peerreviewprocess"]::before { -webkit-mask-image: var(--ic-eye); mask-image: var(--ic-eye); }
.jarqf-sb-link[href$="/publicationfrequency"]::before { -webkit-mask-image: var(--ic-calendar); mask-image: var(--ic-calendar); }
.jarqf-sb-link[href$="/openaccesspolicy"]::before { -webkit-mask-image: var(--ic-unlock); mask-image: var(--ic-unlock); }
.jarqf-sb-link[href$="/plagiarismpolicy"]::before { -webkit-mask-image: var(--ic-shieldcheck); mask-image: var(--ic-shieldcheck); }
.jarqf-sb-link[href$="/publicationethics"]::before { -webkit-mask-image: var(--ic-checkcircle); mask-image: var(--ic-checkcircle); }
.jarqf-sb-link[href$="/copyright"]::before { -webkit-mask-image: var(--ic-copyright); mask-image: var(--ic-copyright); }
.jarqf-sb-link[href$="/retraction"]::before { -webkit-mask-image: var(--ic-undo); mask-image: var(--ic-undo); }
.jarqf-sb-link[href$="/archiving"]::before { -webkit-mask-image: var(--ic-archive); mask-image: var(--ic-archive); }
.jarqf-sb-link[href$="/authorguidelines"]::before { -webkit-mask-image: var(--ic-book); mask-image: var(--ic-book); }
.jarqf-sb-link[href$="/apc"]::before { -webkit-mask-image: var(--ic-dollar); mask-image: var(--ic-dollar); }

/* ikon judul grup, dipicu urutan (grup 1 = Tentang Jurnal, 2 = Kebijakan, 3 = Untuk Penulis) */
.jarqf-sb-group:nth-of-type(1) .jarqf-sb-group-title::before { -webkit-mask-image: var(--ic-target); mask-image: var(--ic-target); }
.jarqf-sb-group:nth-of-type(2) .jarqf-sb-group-title::before { -webkit-mask-image: var(--ic-shieldcheck); mask-image: var(--ic-shieldcheck); }
.jarqf-sb-group:nth-of-type(3) .jarqf-sb-group-title::before { -webkit-mask-image: var(--ic-book); mask-image: var(--ic-book); }

.jarqf-cta .primary::before { color: #fff; -webkit-mask-image: var(--ic-upload); mask-image: var(--ic-upload); }
.jarqf-cta .secondary::before { color: #114176; -webkit-mask-image: var(--ic-calendar); mask-image: var(--ic-calendar); }

/* ikon badge, dipicu urutan (1 = Dimensions, 2 = Crossref, 3 = Google Scholar) */
.jarqf-index-badge:nth-of-type(1)::before { -webkit-mask-image: var(--ic-search); mask-image: var(--ic-search); }
.jarqf-index-badge:nth-of-type(2)::before { -webkit-mask-image: var(--ic-chain); mask-image: var(--ic-chain); }
.jarqf-index-badge:nth-of-type(3)::before { -webkit-mask-image: var(--ic-book); mask-image: var(--ic-book); }

/* tint biru langit supaya kartu tidak putih-di-atas-putih ("polos") */
.jarqf-sb-link {
  background: #eef5fb;
  border-color: #d7e6f5;
}

.jarqf-index-badge {
  background: #eef5fb;
  border-color: #d7e6f5;
}

/* --------------------------------------------------------------------------
   Block "Unduh Template Word" — FIX v8: dibuat menonjol, tombol navy penuh
   (gambar 228x228px asli disembunyikan, diganti ikon download CSS)
   -------------------------------------------------------------------------- */
#customblock-articletemplate .content::before {
  content: "Template Word";
  display: block;
  font-family: Roboto, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #114176;
  padding: 0 2px 6px;
  border-bottom: 2px solid rgba(17, 65, 118, 0.15);
  margin-bottom: 8px;
}

#customblock-articletemplate a {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #114176 !important;
  border: 1px solid #114176 !important;
  border-radius: 8px;
  padding: 13px 16px !important;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(17, 65, 118, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

#customblock-articletemplate a:hover {
  background: #0A2A4E !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(17, 65, 118, 0.4);
}

#customblock-articletemplate img {
  display: none !important;
}

#customblock-articletemplate a::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  background-image: var(--ic-wordfile);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

#customblock-articletemplate a::after {
  content: "Unduh";
  font-family: Roboto, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #fff !important;
}

/* --------------------------------------------------------------------------
   Main content — article summary, headings, link
   -------------------------------------------------------------------------- */
.pkp_structure_main h1 {
  font-weight: 600;
  font-size: 22px;
  line-height: 1.35;
  color: #1a1f27;
}

.pkp_structure_main h2 {
  font-weight: 600;
  color: #1a1f27;
}

.pkp_structure_main a {
  color: #114176 !important;
  text-decoration: none;
  transition: color 0.15s ease;
}

.pkp_structure_main a:hover {
  color: #0A2A4E !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Kartu artikel: putih + aksen kiri navy; shadow lembut berwarna; lift saat hover */
.obj_article_summary {
  background: #ffffff;
  border: 1px solid #e6e9ee;
  border-left: 4px solid #114176;
  border-bottom: 1px solid #e6e9ee !important;   /* override border tebal versi lama */
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(10, 42, 78, 0.07);
  padding: 20px 22px !important;
  font-size: 14px;                                /* naik dari 12px — keterbacaan */
  line-height: 1.6;
  margin-bottom: 18px;
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}

.obj_article_summary:hover {
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(10, 42, 78, 0.13);
  transform: translateY(-2px);
}

.obj_article_summary .title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 6px;
}

.obj_article_summary .meta,
.obj_article_summary .authors {
  color: #5c6470;
  font-size: 13px;
}

/* Tombol galley (PDF dll.): teks SELALU terbaca — fix bug invisible text */
.obj_galley_link {
  font-weight: 600;
  font-family: Roboto, system-ui, sans-serif;
  font-size: 12px;
  text-transform: uppercase !important;
  letter-spacing: 0.05em;
  background: #114176 !important;
  color: #ffffff !important;                       /* FIX: dulu #fcfef3 di atas #f1f1f1 = invisible */
  border: solid 1px #114176 !important;
  border-radius: 6px;
  padding: 5px 14px;
  transition: background 0.18s ease, color 0.18s ease;
}

.obj_galley_link:hover {
  background: #ffffff !important;
  color: #114176 !important;
}

/* --------------------------------------------------------------------------
   Konten tempelan (tabel dari Word, dsb.) — FIX v5
   --------------------------------------------------------------------------
   Tabel "Journal Title / Online Since / ISSN / ..." di halaman depan (dan
   tabel sejenis di halaman lain) ditempel dari Word dengan width piksel
   tetap (style="width: 795px" dst). Itu bikin kontennya meluber ke luar
   kolom (ketutup sidebar di desktop, scroll horizontal di HP). Blok ini
   memaksa semua tabel/gambar di area konten jadi responsive, tanpa perlu
   mengubah teksnya di admin.
   -------------------------------------------------------------------------- */
.pkp_structure_main table {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;          /* FIX: tabel Word sering punya height:148px inline */
  border-collapse: collapse;
}

.pkp_structure_main td,
.pkp_structure_main th {
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  box-sizing: border-box;
  padding: 5px 8px;
  vertical-align: top;
  word-wrap: break-word;
}

.pkp_structure_main img {
  max-width: 100%;
  height: auto !important;
}

/* Panel info jurnal di halaman depan: dibungkus jadi kartu rapi */
.page_index_journal .additional_content {
  background: #fff;
  border: 1px solid #e6e9ee;
  border-radius: 10px;
  padding: 18px 22px;
  box-shadow: 0 1px 3px rgba(10, 42, 78, 0.07);
}

/* Kolom gambar sampul (sel pertama tabel terluar) — lebar tetap wajar */
.page_index_journal .additional_content > table > tbody > tr > td:first-child {
  width: 220px !important;
  min-width: 160px;
}

/* Kolom label (mis. "Journal Title") di tabel info bersarang — tidak melebar, tidak pecah kata */
.page_index_journal .additional_content table table td:first-child {
  white-space: nowrap;
  width: 1% !important;
  font-weight: 600;
  color: #114176;
}

.page_index_journal .additional_content table td {
  border-bottom: 1px solid #f0f2f5;
}

.page_index_journal .additional_content img {
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(10, 42, 78, 0.18);
}

/* Di layar sempit, tabel tempelan ditumpuk vertikal — tidak ada lagi scroll horizontal */
@media (max-width: 600px) {
  .pkp_structure_main table,
  .pkp_structure_main tbody,
  .pkp_structure_main tr,
  .pkp_structure_main td,
  .pkp_structure_main th {
    display: block !important;
    width: 100% !important;
  }
  .page_index_journal .additional_content > table > tbody > tr > td:first-child {
    width: 100% !important;
    min-width: 0;
  }
  .page_index_journal .additional_content table table td:first-child {
    white-space: normal;
    width: 100% !important;
  }
  .page_index_journal .additional_content img {
    margin: 0 auto 12px;
  }
}

/* --------------------------------------------------------------------------
   Article detail page
   -------------------------------------------------------------------------- */
.main_entry .item.abstract {
  text-align: justify;
  hyphens: auto;
  line-height: 1.75;
}

.obj_article_details .page_title {
  background: linear-gradient(135deg, #f5f8fc 0%, #eef3f9 100%);   /* tint navy pucat, bukan krem */
  padding: 20px 24px;
  border-radius: 10px;
  border-left: 4px solid #114176;
  box-shadow: 0 2px 8px rgba(10, 42, 78, 0.08);     /* FIX: shadow hitam kasar → lembut berwarna */
  font-size: 24px;
  line-height: 1.35;
}

.meta .authors {
  background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='%23114176'%3E%3Cpath%20d='M16%2011c1.66%200%202.99-1.34%202.99-3S17.66%205%2016%205c-1.66%200-3%201.34-3%203s1.34%203%203%203zm-8%200c1.66%200%202.99-1.34%202.99-3S9.66%205%208%205C6.34%205%205%206.34%205%208s1.34%203%203%203zm0%202c-2.33%200-7%201.17-7%203.5V19h14v-2.5C15%2014.17%2010.33%2013%208%2013zm8%200c-.29%200-.62.02-.97.05%201.16.84%201.97%201.97%201.97%203.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5z'/%3E%3C/svg%3E") 6px center / 18px no-repeat #f5f7fa;
  font-weight: bold;
  margin-top: 4px;
  padding: 5px 10px 5px 32px;
  border-radius: 6px;
}

.description {
  text-align: justify;
}

.obj_issue_toc .heading .cover img {
  box-shadow: 0 6px 20px rgba(10, 42, 78, 0.18);    /* FIX: `4px 2px 5px gray` → modern */
  border-radius: 6px;
}

/* --------------------------------------------------------------------------
   Homepage — about + cover image
   -------------------------------------------------------------------------- */
.homepage_about {
  display: inline-block;
  width: 70%;
  text-align: justify;
  hyphens: auto;
}

.homepage_image {
  display: inline-block;
  width: 28%;
  margin-left: 0px;
  float: right;
  margin-top: 0px !important;
}

.homepage_image img {
  margin: 40px 15px 0 0;        /* hapus margin negatif yang rapuh */
  width: 100%;
  max-width: 300px;             /* tidak overflow di lebar menengah */
  height: auto;
  display: block;
  box-shadow: 0 8px 24px rgba(10, 42, 78, 0.18);
  border-radius: 8px;
}

.pkp_structure_content.has_sidebar {
  padding-top: 0px;
}

.pkp_structure_main .page {
  padding-top: 20px;
}

.deskripsi {
  border: none;
  border-left: 4px solid #114176;
  padding: 16px 20px;
  background-color: #0A2A4E;
  color: #eef3f9;
  border-radius: 8px;
  text-align: left;
}

.cmp_announcements.highlight_first {
  background-color: #f5f8fc;
  border-radius: 8px;
}

/* --------------------------------------------------------------------------
   Footer — 3 kolom
   -------------------------------------------------------------------------- */
.pkp_structure_footer_wrapper {
  background: #f6f7f9;
  border-top: 4px solid #114176;
  border-bottom: 20px solid #114176;
}

.pkp_structure_footer {
  clear: both !important;
  display: block !important;
  width: 100%;
  background-color: transparent;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
}

.pkp_footer_content {
  float: none !important;
  width: 100% !important;
  background: transparent !important;
  padding: 44px 30px !important;
}

.pkp_footer_content p {
  margin: 0 0 8px;
}

.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}

.footer-col h4,
.footer-col h3 {
  color: #114176;
  font-family: Lora, Georgia, serif;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(17, 65, 118, 0.18);   /* underline aksen tipis */
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  padding: 4px 0;
}

.footer-col a {
  color: #3a4250;
  text-decoration: none;
  transition: color 0.15s ease, padding-left 0.15s ease;
}

.footer-col a:hover {
  color: #114176;
  text-decoration: none;
  padding-left: 3px;                                   /* micro-shift saat hover */
}

/* Judul jurnal di atas 3 kolom + paragraf isi kolom (alamat, email, lisensi) — FIX v10 */
.footer-title {
  font-family: Lora, Georgia, serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: #1a1f27;
  margin: 0 0 26px;
}

.footer-col p {
  color: #3a4250;
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 10px;
}

.footer-col p a {
  color: #114176;
}

.footer-col--right {
  text-align: right;
}

.footer-col--right img {
  display: inline-block;
  margin-top: 8px;
  max-width: 88px;
  height: auto;
}

.pkp_structure_footer .pkp_brand_footer {
  background: transparent !important;
  height: auto !important;
  padding: 14px 30px !important;
  text-align: right;
  border-top: 1px solid #e2e5ea;
  max-width: 1100px;
  margin: 0 auto;
}

.pkp_structure_footer .pkp_brand_footer img {
  width: auto !important;
  max-height: 30px;
  height: auto;
  vertical-align: middle;
  opacity: 0.75;
  transition: opacity 0.2s ease;
}

.pkp_structure_footer .pkp_brand_footer img:hover {
  opacity: 1;
}

/* Sembunyikan badge "Platform & Workflow by OJS/PKP" — FIX v10 */
.pkp_brand_footer {
  display: none !important;
}

/* --------------------------------------------------------------------------
   Sidebar cleanup
   -------------------------------------------------------------------------- */
.pkp_structure_sidebar.left,
.pkp_structure_sidebar.right {
  background: none !important;
}

/* --------------------------------------------------------------------------
   Print — halaman artikel bersih saat dicetak / Save as PDF
   -------------------------------------------------------------------------- */
@media print {
  html, body {
    background: #fff !important;
    color: #000 !important;
    font-size: 11pt;
  }
  .pkp_structure_page {
    max-width: 100% !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }
  /* Sembunyikan kerangka situs, sisakan konten artikel */
  .pkp_navigation_primary_row,
  .pkp_navigation_user_wrapper,
  .pkp_navigation_search_wrapper,
  .pkp_site_name_wrapper,
  .pkp_structure_sidebar,
  .pkp_block,
  .pkp_structure_footer_wrapper,
  .pkp_brand_footer,
  .obj_galley_link,
  .item.citation_display,
  .pkp_site_nav_toggle {
    display: none !important;
  }
  .pkp_structure_content.has_sidebar,
  .pkp_structure_main {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .obj_article_details .page_title {
    background: none !important;
    box-shadow: none !important;
    border-left: none !important;
    padding: 0 0 8pt 0 !important;
    font-size: 18pt;
  }
  .main_entry .item.abstract { line-height: 1.5; }
  a { color: #000 !important; text-decoration: none !important; }
  /* Tampilkan URL tautan penting agar terbaca di kertas */
  .main_entry a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 8pt;
    color: #555;
  }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .homepage_about {
    margin-top: 30px;
  }
  .pkp_structure_main {
    margin-top: 0px !important;
    padding-top: 100px;
  }
  .pkp_site_name_wrapper {
    padding-bottom: 0px;
  }
  .pkp_navigation_search_wrapper {
    margin: 0 auto !important;
    padding: 10px !important;
  }
  .pkp_structure_page {
    border-radius: 0;                /* di tablet/mobile container full width, radius tidak perlu */
  }
}

@media (max-width: 768px) {
  .footer-cols {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-col--right {
    text-align: left;
  }
}

@media (max-width: 600px) {
  .homepage_about {
    width: 100%;
  }
  .pkp_structure_main {
    padding-top: 20px !important;
  }
  .obj_article_summary {
    padding: 16px !important;
  }
}

@media (max-width: 360px) {
  .homepage_image {
    width: 90%;
    margin: 0;
  }
  .homepage_about {
    margin-top: 0px;
  }
  .pkp_structure_main {
    padding-top: 0px !important;
  }
}

/* Hormati preferensi pengguna yang sensitif gerakan */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
