/* ==================================================
   FINAL GLASS BUBBLE SIDEBAR — OJS MATERIAL THEME
   STABLE • MEPET • DROPDOWN DEPAN
   ================================================== */

/* ==================================================
   ROOT RESET
   ================================================== */

.pkp_sidebar,
.pkp_sidebar ul,
.pkp_sidebar li,
.pkp_sidebar section {
  overflow: visible !important;
}

/* LI pembungkus */
.pkp_sidebar li.pkp_block {
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  line-height: 0 !important;
}

/* =========================================
   SPACER REAL — ANTI OJS MATERIAL THEME
   JARAK PASTI TERLIHAT
   ========================================= */

/* MATIKAN SEMUA JARAK PALSU */
.pkp_sidebar li.pkp_block {
  margin: 0 !important;
  padding: 0 !important;
}

/* BUAT SPACER VISUAL */
.pkp_sidebar li.pkp_block:not(:last-child)::after {
  content: "";
  display: block;
  height: 10px;          /* ← INI JARAK NYATA */
  width: 100%;
}


/* ==================================================
   CUSTOM BLOCK
   ================================================== */

.pkp_block.block_custom {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
  position: relative;
  text-align: right;
  z-index: 1;
}

.pkp_block.block_custom:hover {
  z-index: 100;
}

/* ==================================================
   BUBBLE TITLE (TETAP)
   ================================================== */

.pkp_block.block_custom > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 34px;
  min-width: 180px;
  padding: 0 18px;

  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);

  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 10px 24px rgba(0, 0, 0, 0.12);

  font-size: 13.5px;
  font-weight: 600;
  color: rgba(15, 23, 42, 0.85);
  text-decoration: none;

  cursor: pointer;
  position: relative;
  z-index: 10;
  line-height: 1 !important;
}

.pkp_block.block_custom > a:hover {
  background: rgba(59, 130, 246, 0.38);
  color: #ffffff;
}

/* ==================================================
   DROPDOWN — DEPAN & STABIL
   ================================================== */

.pkp_block.block_custom > ul {
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: -1px;

  min-width: 230px;
  padding: 12px 14px;

  list-style: none;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);

  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.5);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 18px 40px rgba(0, 0, 0, 0.22);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition: opacity 0.15s ease;
  z-index: 9999;
}

.pkp_block.block_custom:hover > ul {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ==================================================
   DROPDOWN CONTENT
   ================================================== */

.pkp_block.block_custom > ul li {
  line-height: 1.5;
}

.pkp_block.block_custom > ul li a {
  display: block;
  padding: 6px 10px;
  font-size: 13px;
  color: rgba(15, 23, 42, 0.85);
  text-decoration: none;
  border-radius: 8px;
}

.pkp_block.block_custom > ul li a:hover {
  background: rgba(59, 130, 246, 0.15);
}

/* ==================================================
   FOOTER (AMAN)
   ================================================== */

p.copyright,
div.credits {
  display: none !important;
}

body::after {
  content: "© 2026 IJSAH — All Rights Reserved";
  display: block;
  text-align: center;
  font-size: 13px;
  padding: 22px 12px;
  color: #64748b;
}

/* ==================================================
   FINAL FIX — REAL SPACING OJS MATERIAL SIDEBAR
   (TARGET DOM YANG BENAR)
   ================================================== */

/* Sidebar sebagai stack vertikal */
.pkp_sidebar {
  display: flex !important;
  flex-direction: column !important;
  row-gap: 10px !important; /* ≈ 2 mm VISUAL */
}

/* Pastikan block tidak menambah jarak sendiri */
.pkp_sidebar > .pkp_block {
  margin: 0 !important;
  padding: 0 !important;
}
/* ==================================================
   FINAL ABSOLUTE FIX — SPACING REAL
   ================================================== */

/* 1. KEMBALIKAN FLOW NORMAL (INI KUNCI) */
.pkp_sidebar li,
.pkp_sidebar .pkp_block,
.pkp_block.block_custom {
  line-height: normal !important;
}

/* 2. JARAK NYATA ANTAR BUBBLE (REAL 2 mm) */
.pkp_block.block_custom {
  margin-bottom: 8px !important; /* ≈ 2 mm */
}

/* 3. HAPUS JARAK DI ITEM TERAKHIR */
.pkp_block.block_custom:last-child {
  margin-bottom: 0 !important;
}

/* ===== IJSah Modern Card Grid ===== */
.ijsah-card-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin: 40px auto;
  max-width: 1200px;
}

.ijsah-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ijsah-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(0,0,0,0.18);
}

/* Bagian gambar */
.ijsah-card-img {
  width: 100%;
  height: 140px;
  overflow: hidden;
}

.ijsah-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Bagian teks */
.ijsah-card-body {
  padding: 14px 16px 18px;
  text-align: center;
}

.ijsah-card-title {
  font-size: 15px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 6px;
}

.ijsah-card-desc {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.4;
}

/* Responsif */
@media (max-width: 1200px) {
  .ijsah-card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .ijsah-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .ijsah-card-grid {
    grid-template-columns: 1fr;
  }
}
/* cursor klik */
.ijsah-card {
  cursor: pointer;
}

/* efek klik ringan */
.ijsah-card:active {
  transform: scale(1.2);
}

/* ===== STACK CONTAINER ===== */
.ijsah-stack {
  display: flex;
  align-items: stretch;
  justify-content: center;
  max-width: 1100px;
  margin: 60px auto;
  padding-left: 140px;
}

/* ===== CARD ===== */
.ijsah-card {
  width: 260px;
  height: 360px;
  margin-left: -140px;
  box-sizing: border-box;

  border-radius: 18px;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 18px 36px rgba(0,0,0,0.15);

  overflow: hidden;
  cursor: pointer;

  display: flex;
  flex-direction: column;
  flex-shrink: 0;

  transition: transform 0.4s ease;
  position: relative;
}

/* ===== Z-INDEX STACK ===== */
.ijsah-card:nth-child(1) { z-index: 6; }
.ijsah-card:nth-child(1) { z-index: 5; }
.ijsah-card:nth-child(2) { z-index: 4; }
.ijsah-card:nth-child(3) { z-index: 3; }
.ijsah-card:nth-child(4) { z-index: 2; }
.ijsah-card:nth-child(5) { z-index: 1; }

/* ===== HOVER EFFECT ===== */
.ijsah-card:hover {
  transform: translateX(110px);
  z-index: 99;
}

/* ===== IMAGE ===== */
.ijsah-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

/* ===== CONTENT (SELALU MUNCUL) ===== */
.ijsah-content {
  flex: 1;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.ijsah-meta {
  font-size: 13px;
  color: #334155;   /* abu gelap */
  margin-bottom: 6px;
}

.ijsah-title {
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;   /* hitam kebiruan */
  line-height: 1.4;
  max-height: 4.2em;
  overflow: hidden;
}
.jstor-wrapper {
  display: flex;
  gap: 40px;
  margin: 70px 0;
}

.jstor-wrapper input {
  display: none;
}

/* LEFT */
.jstor-left {
  width: 45%;
}

.jstor-left label {
  display: block;
  font-size: 18px;
  font-weight: 600;
  padding: 18px 0;
  border-bottom: 1px solid #ddd;
  cursor: pointer;
  position: relative;
}

.jstor-left label::after {
  content: "▾";
  position: absolute;
  right: 0;
}

.jstor-left .content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

#acc1:checked ~ .jstor-left label[for="acc1"] + .content,
#acc2:checked ~ .jstor-left label[for="acc2"] + .content,
#acc3:checked ~ .jstor-left label[for="acc3"] + .content {
  max-height: 200px;
  margin-bottom: 20px;
}

/* RIGHT IMAGE */
.jstor-right {
  width: 55%;
}

.jstor-right img {
  display: none;
  width: 100%;
  border-radius: 10px;
}

#acc1:checked ~ .jstor-right .img1,
#acc2:checked ~ .jstor-right .img2,
#acc3:checked ~ .jstor-right .img3 {
  display: block;
}
.statcounter-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 15px 0;
}

.statcounter-footer img {
  display: block;
}
.ijsah-justify {
  text-align: justify;
  text-justify: inter-word;
}
/* Container */
.editorial-picks-header {
  margin: 26px 0 18px 0;
}

/* Bubble base */
.bubble-editorial {
  position: relative;
  display: inline-block;
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: #1f4fbf;
  letter-spacing: 0.3px;
  overflow: hidden;
  z-index: 1;
}

/* Glass background layer */
.bubble-editorial::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(74, 144, 226, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: inherit;
  z-index: -1;
}

/* Stretch animation layer */
.bubble-editorial::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(
    90deg,
    rgba(74, 144, 226, 0.35),
    rgba(74, 144, 226, 0.15)
  );
  border-radius: inherit;
  animation: stretchRightToLeft 1.1s ease-out forwards;
  z-index: -2;
}

/* Animation */
@keyframes stretchRightToLeft {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

/* Description text */
.editorial-desc {
  margin-top: 10px;
  max-width: 720px;
  font-size: 14.5px;
  line-height: 1.7;
  color: #444;
  text-align: justify;
}
/* ===============================
   FIX BANNER IJSAH HD (NO BLUR)
   =============================== */

/* Paksa gambar banner full solid */
.relative > img {
    opacity: 1 !important;
    filter: none !important;
}

/* Pastikan banner pakai resolusi penuh */
.relative {
    background-color: transparent !important;
}

/* Pastikan image tidak diredupkan oleh class Tailwind */
.opacity-50 {
    opacity: 1 !important;
}

/* Jaga kualitas rendering */
.relative > img {
    image-rendering: auto;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

/* ===============================
   END FIX
   =============================== */
/* ===============================
   FOOTER HITAM – IJSAH (DOM SPESIFIK)
   =============================== */

/* Container footer utama */
html.font-roboto-serif 
body.pkp_page_index 
footer.footer {
    background-color: #000000 !important; /* hitam pekat */
    color: #ffffff !important;
}

/* Inner footer content */
html.font-roboto-serif 
body.pkp_page_index 
footer.footer div {
    color: #ffffff !important;
}

/* Paragraf & teks */
html.font-roboto-serif 
body.pkp_page_index 
footer.footer p,
html.font-roboto-serif 
body.pkp_page_index 
footer.footer span,
html.font-roboto-serif 
body.pkp_page_index 
footer.footer em {
    color: #ffffff !important;
}

/* Link */
html.font-roboto-serif 
body.pkp_page_index 
footer.footer a {
    color: #ffffff !important;
    text-decoration: none;
}

html.font-roboto-serif 
body.pkp_page_index 
footer.footer a:hover {
    color: #38bdf8 !important; /* biru modern */
}

/* Hilangkan background bawaan Tailwind */
footer.footer.bg-slate-50 {
    background-color: #000000 !important;
}

/* ===============================
   END FOOTER
   =============================== */

/* =====================================
   FORCE FOOTER TEXT & LINK TO WHITE
   (POLICIES PAGE + STATCOUNTER)
   ===================================== */

html.font-roboto-serif 
body.pkp_page_Policies 
footer.footer {
    background-color: #000000 !important;
}

/* Semua teks di footer */
html.font-roboto-serif 
body.pkp_page_Policies 
footer.footer,
html.font-roboto-serif 
body.pkp_page_Policies 
footer.footer div,
html.font-roboto-serif 
body.pkp_page_Policies 
footer.footer span,
html.font-roboto-serif 
body.pkp_page_Policies 
footer.footer p,
html.font-roboto-serif 
body.pkp_page_Policies 
footer.footer em {
    color: #ffffff !important;
}

/* KHUSUS statcounter-footer */
html.font-roboto-serif 
body.pkp_page_Policies 
footer.footer 
div.statcounter-footer {
    color: #ffffff !important;
}

/* LINK (yang bikin biru) */
html.font-roboto-serif 
body.pkp_page_Policies 
footer.footer a {
    color: #ffffff !important;
    text-decoration: none !important;
}

/* Hover link */
html.font-roboto-serif 
body.pkp_page_Policies 
footer.footer a:hover {
    color: #38bdf8 !important;
}

/* Override Tailwind text-slate */
footer.footer .text-slate-400,
footer.footer .text-slate-500,
footer.footer .dark\:text-slate-400 {
    color: #ffffff !important;
}

/* =====================================
   END FIX
   ===================================== */
/* ==============================
   HEADER HITAM SAJA
   ============================== */
header {
    background-color: #000000 !important;
}
/* =====================================
   PAKSA TEKS NAVIGASI JADI PUTIH
   (OVERRIDE TAILWIND TEXT COLOR)
   ===================================== */

/* link navigasi */
header a,
header a *,
header nav a,
header nav a * {
    color: #ffffff !important;
    fill: #ffffff !important;
}

/* login & register (sering pakai button / span) */
header button,
header button *,
header .text-black,
header .text-gray-700,
header .text-gray-800,
header .text-gray-900 {
    color: #ffffff !important;
}
/* =====================================
   DROPDOWN NAVIGASI: HITAM + TEKS PUTIH
   ===================================== */

/* container dropdown */
header ul ul,
header .dropdown-menu,
header [role="menu"] {
    background-color: #000000 !important;
    border: none !important;
}

/* item dropdown */
header ul ul a,
header .dropdown-menu a,
header [role="menu"] a {
    color: #ffffff !important;
}

/* hover dropdown (tetap kontras) */
header ul ul a:hover,
header .dropdown-menu a:hover,
header [role="menu"] a:hover {
    background-color: #111111 !important;
    color: #ffffff !important;
}
/* ================= IJSAH FOOTER ================= */
.ijsah-footer-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 20px 30px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  font-size: 13px;
  line-height: 1.65;
}

/* ================= LOGO ================= */
.ijsah-footer-logo {
  max-width: 140px;
  margin-bottom: 14px;
}

/* ================= TITLE ================= */
.ijsah-footer-title {
  font-weight: bold;
  margin-bottom: 12px;
}

/* ================= TEXT ================= */
.ijsah-footer-text {
  margin-top: 10px;
}

.justify-text {
  text-align: justify;
}

/* ================= ARROW LIST FIX TOTAL ================= */

/* LIST ITEM = GRID (PANAH | TEKS) */
.arrow-list li {
  display: grid !important;
  grid-template-columns: 16px 1fr;
  column-gap: 8px;
  align-items: start;
  margin-bottom: 10px;
}

/* PANAH */
.arrow-list li::before {
  content: "›";
  font-weight: bold;
  line-height: 1.6;
}

/* ISI TEKS (INI YANG BIKIN RAPI) */
.arrow-list li,
.arrow-list li a {
  text-align: justify !important;
  justify-self: start;
}

/* PAKSA LINK JADI TEKS BIASA (BIAR TIDAK CENTER) */
.arrow-list li a {
  display: inline !important;
}

/* ================= LINK ================= */
.ijsah-footer-wrapper a {
  text-decoration: none;
}

.ijsah-footer-wrapper a:hover {
  text-decoration: underline;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .ijsah-footer-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
/* ================= FOOTER TITLE FINAL ================= */

/* Judul: bold saja, tanpa panah */
.ijsah-footer-title {
  font-weight: bold;
  padding-left: 24px;   /* lurus dengan teks di sebelah panah */
  text-align: left !important;
}

/* Pastikan judul TIDAK dapat panah */
.ijsah-footer-title::before {
  content: none !important;
}

/* ================= dropdown custom block ================= */
/* Judul bubble */
li.pkp_block.block_custom > .pkp_block_title {
    background-color: #7b1e1e;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    cursor: pointer;
    display: inline-block;
    position: relative; /* supaya dropdown absolute dari judul */
    z-index: 10;
}

/* Hover efek judul */
li.pkp_block.block_custom > .pkp_block_title:hover {
    background-color: #a32b2b;
}

/* Dropdown konten */
li.pkp_block.block_custom > ul {
    position: absolute;
    top: 100%; /* tepat di bawah judul */
    left: 0;   /* lurus kiri bubble */
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    padding: 0.5rem;
    list-style: none;
    display: none; /* default hidden */
    z-index: 50;
    width: max-content; /* menyesuaikan isi konten */
    min-width: 150px;
    max-width: 300px;
}

/* Tampilkan dropdown saat hover judul */
li.pkp_block.block_custom:hover > ul {
    display: block;
}

/* Item dropdown */
li.pkp_block.block_custom > ul > li {
    padding: 0.5rem 1rem;
    text-align: center; /* konten center horizontal */
    border-bottom: 1px solid #eee;
}

/* Hapus border terakhir */
li.pkp_block.block_custom > ul > li:last-child {
    border-bottom: none;
}

/* Animasi muncul halus (opsional) */
li.pkp_block.block_custom > ul {
    transition: opacity 0.2s ease, transform 0.2s ease;
    opacity: 0;
    transform: translateY(5px);
}

li.pkp_block.block_custom:hover > ul {
    opacity: 1;
    transform: translateY(0);
}

/* ===============================
   HERO TEXT MAXIMUM READABILITY
   =============================== */

.pkp_page_index p.inline.font-extrabold {
  color: #ffffff !important;
  text-shadow:
    0 1px 2px rgba(0,0,0,0.95),
    0 4px 10px rgba(0,0,0,0.85),
    0 0 1px rgba(0,0,0,1);
}

.pkp_page_index div.mt-3.text-2xl {
  color: #e5e7eb !important;
  text-shadow:
    0 1px 3px rgba(0,0,0,0.85);
}

/* ===============================
   HOMEPAGE SECTION SPACING
   =============================== */

.pkp_page_index section,
.pkp_page_index .obj_issue_toc,
.pkp_page_index .cmp_announcements {
  margin-bottom: 2.5rem !important;
  padding-bottom: 0 !important;
}
/* =====================================================
   IJSAH – SAFE HOMEPAGE ARTICLE REFINEMENT
   (NO STRUCTURE BREAKING)
   ===================================================== */

/* 1. Judul artikel – lebih kecil & rapi */
.pkp_page_index a[href*="/article/view"] {
  font-size: 0.95rem;
  line-height: 1.45;
  font-weight: 600;
  color: #000000;
}

/* 2. Author text */
.pkp_page_index .text-gray-800,
.pkp_page_index .text-gray-700 {
  font-size: 0.8rem;
  color: #1f2937;
}

/* 3. Kurangi jarak antar item artikel */
.pkp_page_index .space-y-4 > * {
  margin-top: 0.75rem !important;
  margin-bottom: 0.75rem !important;
}

/* 4. PDF button – kecil & proporsional */
.pkp_page_index a[href$=".pdf"] {
  font-size: 0.7rem;
  padding: 0.3rem 0.55rem;
}
/* ==================================================
   IJSAH – HOMEPAGE CURRENT ISSUE COMPACT LAYOUT
   ================================================== */

/* 1. Judul artikel → lebih kecil dan rapat */
.pkp_page_index h4 {
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  color: #000000 !important;
  line-height: 1.4 !important;
}

/* 2. Penulis & range halaman → kecil, hitam */
.pkp_page_index .text-gray-800,
.pkp_page_index .text-gray-700,
.pkp_page_index .text-gray-600 {
  font-size: 0.8rem !important;
  color: #1f2937 !important;
}

/* 3. Rapikan jarak antar artikel */
.pkp_page_index ul > li {
  margin-top: 0.35rem !important;
  margin-bottom: 0.35rem !important;
}

/* 4. PDF link → kecil & kanan */
.pkp_page_index a[href$=".pdf"] {
  font-size: 0.75rem !important;
  padding: 0.25rem 0.5rem !important;
}

/* 5. Buat PDF selalu di ujung kanan */
.pkp_page_index li > a[href$=".pdf"] {
  float: right !important;
}

/* 6. Optional: batasi margin default OJS */
.pkp_page_index .current_issue,
.pkp_page_index .obj_issue_toc {
  margin-bottom: 1.25rem !important;
}
/* =====================================================
   FORCE DROPDOWN NAVIGATION JADI TERANG
   ===================================================== */

/* wrapper dropdown */
header nav ul ul,
header nav .pkp_navigation_dropdown {
  background-color: #ffffff !important;
  color: #000 !important;
}

/* item dropdown */
header nav ul ul li a {
  color: #000 !important;
}

header nav ul ul li a:hover {
  background-color: rgba(0,0,0,0.08) !important;
}


/* =====================================================
   CURRENT ISSUE – STRUKTUR ARTIKEL RAPAT
   ===================================================== */

.pkp_page_index .obj_issue_toc li {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "title pages"
    "meta  pdf";
  column-gap: 14px;
  row-gap: 4px;
  padding-bottom: 12px;
}

/* judul */
.pkp_page_index .obj_issue_toc li h3 {
  grid-area: title;
  font-size: 15px !important;
  line-height: 1.35;
  margin: 0 0 2px 0;
}

/* nomor halaman */
.pkp_page_index .obj_issue_toc li .badge,
.pkp_page_index .obj_issue_toc li .text-green-600 {
  grid-area: pages;
  font-size: 11px !important;
  align-self: start;
}

/* author */
.pkp_page_index .obj_issue_toc li .font-medium {
  grid-area: meta;
  font-size: 12px !important;
  color: #444 !important;
}


/* =====================================================
   PDF BUTTON – KECIL & SEGARIS DENGAN AUTHOR
   ===================================================== */

/* container PDF (KHUSUS artikel) */
.pkp_page_index
.obj_issue_toc
li
ul.list-none {
  grid-area: pdf;
  justify-content: flex-start !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* tombol PDF */
.pkp_page_index
.obj_issue_toc
li
ul.list-none a {
  background: #e5f2ff !important;
  color: #000 !important;
  font-size: 11px !important;
  padding: 3px 8px !important;
  min-height: auto !important;
  border-radius: 999px !important;
  box-shadow: none !important;
}

/* icon PDF jangan membesar */
.pkp_page_index
.obj_issue_toc
li
ul.list-none a svg {
  width: 14px !important;
  height: 14px !important;
}
/* =====================================================
   IJSAH — FIX HEADLESS UI BURGER MENU (REAL DOM)
   ===================================================== */

/* PANEL UTAMA BURGER */
[id^="headlessui-dialog-panel"] {
    background-color: #000000 !important;
    color: #ffffff !important;
}

/* LINK & TEXT DI DALAM BURGER */
[id^="headlessui-dialog-panel"] a,
[id^="headlessui-dialog-panel"] span,
[id^="headlessui-dialog-panel"] li,
[id^="headlessui-dialog-panel"] button {
    color: #ffffff !important;
}

/* HOVER STATE */
[id^="headlessui-dialog-panel"] a:hover {
    background-color: #111111 !important;
}

/* MATIKAN DEFAULT BG PUTIH TAILWIND */
[id^="headlessui-dialog-panel"].bg-white {
    background-color: #000000 !important;
}

/* =====================================================
   IJSAH — DESKTOP DROPDOWN BLACK STYLE (SAFE)
   ===================================================== */

/* dropdown container */
header ul#navigationPrimary > li > ul,
header ul#navigationPrimary > li div.relative > ul {
    background-color: #000000 !important;
    border-radius: 0.75rem;
    padding: 0.5rem;
    box-shadow: 0 12px 28px rgba(0,0,0,.45);
}

/* dropdown item link */
header ul#navigationPrimary > li > ul > li > a,
header ul#navigationPrimary > li div.relative > ul > li > a {
    color: #ffffff !important;
    background-color: transparent;
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    display: block;
    transition: all .2s ease;
}

/* hover state */
header ul#navigationPrimary > li > ul > li > a:hover,
header ul#navigationPrimary > li div.relative > ul > li > a:hover {
    background-color: #111111;
    color: #ffffff !important;
}
/* =====================================================
   IJSAH — DESKTOP NAV DROPDOWN (AUTO / FUTURE-PROOF)
   ===================================================== */

/* === DROPDOWN PANEL (SEMUA) === */
header ul#navigationPrimary li div.absolute {
    background-color: #000000 !important;
    border-radius: 0.75rem;
    padding: 0.5rem;
    box-shadow: 0 14px 30px rgba(0,0,0,.45);
}

/* === LIST WRAPPER === */
header ul#navigationPrimary li div.absolute ul {
    background-color: transparent !important;
}

/* === ITEM LINK === */
header ul#navigationPrimary li div.absolute a {
    color: #ffffff !important;
    background-color: transparent;
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    display: block;
    transition: background-color .2s ease, color .2s ease;
}

/* === HOVER STATE === */
header ul#navigationPrimary li div.absolute a:hover {
    background-color: #111111;
    color: #ffffff !important;
}
/* =====================================================
   EFEK NAVIGASI DROP DOWN MENU
   (HOVER / FOCUS SAFE • NO VISIBILITY HACK)
   ===================================================== */

/* ===============================
   1. ARROW INDIKATOR OTOMATIS
   =============================== */
@media (min-width: 1024px) {
  header ul#navigationPrimary li div.relative:has(div.absolute) > a::after {
      content: "▼";
      font-size: 0.6rem;
      margin-left: 6px;
      transition: transform .25s ease;
      opacity: .7;
  }
}

/* ===============================
   2. EFEK AKTIF SAAT DEKAT KURSOR
   =============================== */
@media (min-width: 1024px) {
  header ul#navigationPrimary li div.relative:hover > a,
  header ul#navigationPrimary li div.relative:focus-within > a {
      background-color: #111111 !important;
      color: #ffffff !important;
  }
}

/* ===============================
   3. ARROW ANIMASI SAAT AKTIF
   =============================== */
@media (min-width: 1024px) {
  header ul#navigationPrimary li div.relative:hover > a::after,
  header ul#navigationPrimary li div.relative:focus-within > a::after {
      transform: rotate(180deg);
  }
}

/* ===============================
   4. ACTIVE STATE HALAMAN
   =============================== */
header ul#navigationPrimary li.current > div.relative > a,
header ul#navigationPrimary li.pkp_menu_item_current > div.relative > a,
header ul#navigationPrimary a[aria-current="page"] {
    background-color: #111111 !important;
    color: #ffffff !important;
    font-weight: 600;
}
/* =====================================================
   EFEK NAVIGASI DROP DOWN MENU
   ACTIVE KURSOR — WARNA KEBALIK
   ===================================================== */

/* Desktop only */
@media (min-width: 1024px) {

  /* ===============================
     DEFAULT (PASTI PUTIH)
     =============================== */
  header ul#navigationPrimary > li > div.relative > a {
      color: #ffffff !important;
      transition: background-color .25s ease, color .25s ease;
  }

  /* ===============================
     ACTIVE KURSOR / FOCUS
     =============================== */
  header ul#navigationPrimary > li > div.relative:hover > a,
  header ul#navigationPrimary > li > div.relative:focus-within > a {
      background-color: #ffffff !important;
      color: #000000 !important;
  }

  /* ===============================
     ARROW IKUT WARNA
     =============================== */
  header ul#navigationPrimary > li > div.relative:hover > a::after,
  header ul#navigationPrimary > li > div.relative:focus-within > a::after {
      color: #000000;
  }
}
/* =====================================================
   DARK MODE — SAFE TEXT OVERRIDE (NON-DESTRUCTIVE)
   OJS 3.5 + TAILWIND
   ===================================================== */

/* aktif hanya saat dark mode */
html.dark {

  /* ===============================
     KONTEN UTAMA SAJA
     =============================== */

  main,
  article,
  section {
      color: #e5e7eb; /* gray-200 */
  }

  /* ===============================
     TYPOGRAPHY PROSE (AMAN)
     =============================== */

  .prose {
      color: #e5e7eb;
  }

  .prose p,
  .prose li {
      color: #e5e7eb;
  }

  .prose h1,
  .prose h2,
  .prose h3,
  .prose h4,
  .prose h5,
  .prose h6 {
      color: #ffffff;
  }

  /* link tetap beda warna */
  .prose a {
      color: #7dd3fc;
  }

  /* ===============================
     METADATA ARTIKEL (ISSUE TOC)
     =============================== */

  .text-gray-900,
  .text-gray-800,
  .text-gray-700,
  .text-gray-600 {
      color: #e5e7eb !important;
  }

  .dark\:text-gray-400,
  .dark\:text-slate-400 {
      color: #d1d5db !important;
  }

  /* ===============================
     ADDITIONAL CONTENT / CUSTOM BLOCK
     =============================== */

  .additional_content,
  .additional_content p,
  .additional_content label {
      color: #e5e7eb;
  }
}
/* ===================================================
   DARK MODE — GLOBAL CONTENT FIX (SAFE & TARGETED)
   Only affect journal content area
   =================================================== */

html.dark .page_index_journal {
    color: #e5e7eb; /* default teks terang */
}

/* teks hitam / abu gelap */
html.dark .page_index_journal
.text-gray-700,
html.dark .page_index_journal
.text-gray-800,
html.dark .page_index_journal
.text-gray-900 {
    color: #f1f5f9 !important; /* slate-100 */
}

/* teks abu sedang */
html.dark .page_index_journal
.text-gray-500,
html.dark .page_index_journal
.text-gray-600 {
    color: #d1d5db !important; /* gray-300 */
}

/* teks kecil & metadata */
html.dark .page_index_journal
.md\:text-sm,
html.dark .page_index_journal
.text-xs {
    color: #e5e7eb !important;
}

/* additional content / custom card */
html.dark .page_index_journal
.ijsah-card,
html.dark .page_index_journal
.ijsah-card * {
    color: #e5e7eb;
}
/* ===================================================
   DARK MODE — MISSED ELEMENTS FIX
   Only specific selectors provided
   =================================================== */

/* ---------- ADDITIONAL CONTENT (CARD TEXT) ---------- */
html.dark .page_index_journal .additional_content,
html.dark .page_index_journal .additional_content *,
html.dark .page_index_journal .ijsah-card,
html.dark .page_index_journal .ijsah-card *,
html.dark .page_index_journal .ijsah-content,
html.dark .page_index_journal .ijsah-content * {
    color: #f1f5f9 !important;
}

/* ---------- RESTRICTED BUTTON (TEXT + ICON) ---------- */
html.dark .page_index_journal a.restricted,
html.dark .page_index_journal a.restricted div,
html.dark .page_index_journal a.restricted svg {
    color: #ffffff !important;
    fill: #ffffff !important;
}

/* ---------- SIDEBAR CUSTOM BLOCK (LEFT NAV) ---------- */
html.dark nav.w-56 li.pkp_block.block_custom a {
    color: #f8fafc !important;
}

/* hover tetap halus */
html.dark nav.w-56 li.pkp_block.block_custom a:hover {
    color: #38bdf8 !important; /* sky-400 */
}
/* Sembunyikan bubble hero buttons di homepage Material Theme */
.pkp_page_index a.rounded-full.bg-sky-300 {
    display: none !important;
}
/* ================================
Hapus bubble/tombol hero IJSAH
Author: Dimas Hadi
=============================== */

/* Bubble hero gelap */
html.font-roboto-serif body.bg-white.dark\:bg-slate-900.pkp_page_index.pkp_op_index.has_site_logo.loaded 
div.relative.overflow-hidden.bg-slate-900.dark\:bg-slate-900._dark\:-mb-32._dark\:mt-\[\-4\.75rem\]._dark\:pb-32._dark\:pt-\[4\.75rem\] 
div.py-16.sm\:px-2.lg\:relative.lg\:px-0.lg\:py-20 
div.mx-auto.grid.max-w-2xl.grid-cols-1.items-center.gap-x-8.gap-y-16.px-4.lg\:max-w-8xl.lg\:grid-cols-2.lg\:px-8.xl\:gap-x-16.xl\:px-12 
div.relative.z-10.md\:text-center.lg\:text-left div.relative 
div.mt-8.flex.gap-4.md\:justify-center.lg\:justify-start 
a.rounded-full.bg-slate-800.py-2.px-4.text-sm.font-medium.text-white.hover\:bg-slate-700.focus\:outline-none.focus-visible\:outline-2.focus-visible\:outline-offset-2.focus-visible\:outline-white\/50.active\:text-slate-400 {
    display: none !important;
}

/* Bubble hero biru */
html.font-roboto-serif body.bg-white.dark\:bg-slate-900.pkp_page_index.pkp_op_index.has_site_logo.loaded 
div.relative.overflow-hidden.bg-slate-900.dark\:bg-slate-900._dark\:-mb-32._dark\:mt-\[\-4\.75rem\]._dark\:pb-32._dark\:pt-\[4\.75rem\] 
div.py-16.sm\:px-2.lg\:relative.lg\:px-0.lg\:py-20 
div.mx-auto.grid.max-w-2xl.grid-cols-1.items-center.gap-x-8.gap-y-16.px-4.lg\:max-w-8xl.lg\:grid-cols-2.lg\:px-8.xl\:gap-x-16.xl\:px-12 
div.relative.z-10.md\:text-center.lg\:text-left div.relative 
div.mt-8.flex.gap-4.md\:justify-center.lg\:justify-start 
a.rounded-full.bg-sky-300.py-2.px-4.text-sm.font-semibold.text-slate-900.hover\:bg-sky-200.focus\:outline-none.focus-visible\:outline-2.focus-visible\:outline-offset-2.focus-visible\:outline-sky-300\/50.active\:bg-sky-500 {
    display: none !important;
}
/* wrapper */
.ijsah-editorial-slider-wrapper {
  margin: 60px 0;
}

/* title */
.ijsah-editorial-title {
  text-align: center;
  font-size: 22px;
  margin-bottom: 26px;
}

/* badge */
.ijsah-badge {
  font-size: 12px;
  background: #000;
  color: #fff;
  padding: 4px 12px;
  border-radius: 999px;
  margin-left: 8px;
}

/* slider */
.ijsah-editorial-slider {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 14px 4px 20px;
  scroll-snap-type: x mandatory;
}

.ijsah-editorial-slider::-webkit-scrollbar {
  display: none;
}

/* card */
.editorial-card {
  scroll-snap-align: start;
  min-width: 260px;
  background: #fff;
  border-radius: 18px;
  padding: 18px 18px 20px;
  text-align: center;

  /* modern shadow */
  box-shadow:
    0 8px 18px rgba(0,0,0,.06),
    0 2px 6px rgba(0,0,0,.04);

  transition: transform .25s ease, box-shadow .25s ease;
}

.editorial-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 16px 32px rgba(0,0,0,.10),
    0 4px 12px rgba(0,0,0,.06);
}

/* photo FIX CENTER */
.editorial-card img {
  display: block;
  margin: 0 auto 10px;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  object-fit: cover;
}

/* text spacing RAPAT */
.editorial-card h4 {
  font-size: 15.5px;
  margin: 6px 0 2px;
  line-height: 1.25;
}

.editorial-card .role {
  font-size: 12.5px;
  font-weight: 500;
  margin: 0 0 4px;
  color: #000;
}

.editorial-card .inst {
  font-size: 12px;
  margin: 0;
  line-height: 1.3;
  color: #555;
}

.editorial-card .country {
  font-size: 11.5px;
  margin: 2px 0 0;
  color: #777;
}
/* =========================================================
   REMOVE RIGHT BACKGROUND PANEL (MATERIAL THEME)
   ========================================================= */

.pkp_page_index.pkp_op_index
div.absolute.inset-y-0.right-0.w-\[50vw\].bg-slate-50 {
	display: none !important;
}

/* ===================================================
   REMOVE RIGHT SIDEBAR — HOMEPAGE ONLY
   =================================================== */

/* hide right sidebar container */
.pkp_page_index
div.hidden.xl\:sticky {
  display: none !important;
}

/* center main content */
.pkp_page_index main {
  margin-right: auto;
  margin-left: auto;
  width: 100%;
}

/* remove gap caused by sidebar */
.pkp_page_index
div.relative.mx-auto.flex.w-full.max-w-8xl {
  justify-content: center !important;
}
/* =========================================================
   FOR AUTHORS – IJSAH (FINAL ALL-IN-ONE)
   ========================================================= */

/* ===== SECTION FULL WIDTH ===== */
section.ijsah-for-authors {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background: #d9dce1;
  padding: 96px 0 120px 0; /* ruang napas atas & bawah */
  box-sizing: border-box;
}

/* Matikan efek prose OJS */
section.ijsah-for-authors * {
  max-width: none;
}

/* ===== CONTAINER DALAM ===== */
.ijsah-fa-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ===== JUDUL ===== */
.ijsah-fa-title {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  color: #000;
  margin-bottom: 40px;
  letter-spacing: 0.3px;
}

/* ===== GRID UTAMA ===== */
.ijsah-fa-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.6fr;
  gap: 56px;
  align-items: flex-start; /* penting: hindari nempel bawah */
}

/* ===== KOLOM KIRI (DESKRIPSI) ===== */
.ijsah-fa-left {
  max-width: 720px;
}

.ijsah-fa-left p {
  font-size: 15px;
  line-height: 1.8;
  color: #000;
  text-align: justify;
  margin: 0 0 18px 0;
}

.ijsah-fa-left p:last-child {
  margin-bottom: 0;
}

/* ===== KOLOM KANAN (BUTTON) ===== */
.ijsah-fa-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ===== BUTTON UMUM ===== */
.ijsah-fa-right a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;

  border-radius: 6px;
  transition: all 0.25s ease;
}

/* Hitam – Submission & Guidelines */
.ijsah-btn.primary {
  background: #000;
  color: #fff;
}

.ijsah-btn.primary:hover {
  background: #222;
}

/* Maroon – Submit a Paper */
.ijsah-btn.accent {
  background: #6e1f2a;
  color: #fff;
}

.ijsah-btn.accent:hover {
  background: #561822;
}

/* ===== ICON BUTTON (UNICODE, AMAN TANPA LIBRARY) ===== */
.ijsah-btn.primary::before {
  content: "📄";
  font-size: 14px;
}

.ijsah-btn.accent::before {
  content: "🚀";
  font-size: 14px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  section.ijsah-for-authors {
    padding: 72px 0 96px 0;
  }

  .ijsah-fa-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ijsah-fa-title {
    font-size: 24px;
  }

  .ijsah-fa-right a {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .ijsah-fa-inner {
    padding: 0 24px;
  }

  .ijsah-fa-title {
    font-size: 22px;
  }
}
/* =====================================================
   FOR AUTHORS – VERTICAL CENTER FIX (FINAL)
   ===================================================== */

/* Jadikan section sebagai vertical flex container */
section.ijsah-for-authors {
  display: flex;
  align-items: center;     /* center vertikal */
  justify-content: center; /* center horizontal isi */

  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background: #d9dce1;

  min-height: 420px;       /* ⬅️ KUNCI: tinggi proporsional */
  padding: 0;              /* biar center murni */
  box-sizing: border-box;
}

/* Inner tetap jadi pembungkus konten */
.ijsah-fa-inner {
  width: 100%;
  max-width: 1280px;
  padding: 0 48px;
}
.ijsah-fa-inner {
  transform: translateY(-28px);
}
section.ijsah-for-authors {
  background: #eef1f5;
}
/* ======================================================
   OJS – ABSTRACT JUSTIFY (GLOBAL, SEMUA ARTIKEL)
   ====================================================== */

/* Target khusus isi Abstract */
.pkp_page_article
.obj_article_details
dd {
  text-align: justify;
  text-justify: inter-word;
  line-height: 1.8;
}

/* Pastikan paragraf di dalam abstrak juga justify */
.pkp_page_article
.obj_article_details
dd p {
  text-align: justify;
  margin-bottom: 1rem;
}
/* =========================================
   CURRENT ISSUE – WIDER & FLEXIBLE LAYOUT
   ========================================= */

/* Wrapper – lebih lebar dan ada padding sisi */
.issue_wrapper {
  padding: 48px 32px;     /* kiri-kanan lebih luas */
  max-width: 1400px;      /* lebih luas supaya konten tidak ngumpul */
  margin: 0 auto;
  box-sizing: border-box;
}

/* Grid layout – kiri-kanan fleksibel */
.issue_layout {
  display: grid;
  grid-template-columns: minmax(360px, 400px) 1fr; /* kiri tetap minimal 360px, kanan menyesuaikan */
  gap: 60px;                                        /* ruang antar kolom lebih lega */
}

/* -----------------
   LEFT COLUMN
   ----------------- */
.issue_left .issue_cover img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
  margin-bottom: 20px;
}

.issue_description {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 12px;
}

.issue_date {
  font-size: 0.82rem;
  color: #777;
  margin-bottom: 18px;
}

/* Full Issue Button */
.issue_galleys a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: linear-gradient(135deg, #0b5ed7, #2563eb);
  color: #fff !important;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 5px 16px rgba(37,99,235,.35);
  transition: all 0.25s ease;
}

.issue_galleys a:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(37,99,235,.45);
}

/* View All Issues Button */
.view_all_issues {
  margin-top: 20px;
}

.view_all_issues a {
  display: inline-block;
  padding: 8px 16px;
  background: #f3f4f6;
  color: #2563eb;
  font-weight: 500;
  font-size: 0.9rem;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.view_all_issues a:hover {
  background: #e0e7ff;
  transform: translateY(-1px);
}

/* -----------------
   RIGHT COLUMN
   ----------------- */
.issue_section {
  margin-bottom: 36px;
}

/* Section title */
.section_title {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .02em;
  margin-bottom: 14px;
  padding-bottom: 6px;
  border-bottom: 1px solid #e5e7eb;
  color: #111;
}

/* Article list */
.article_list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Article item – compact */
.article_item {
  padding: 10px 0;
  border-bottom: 1px solid #eef2f7;
  transition: background 0.2s ease;
}

.article_item:last-child {
  border-bottom: none;
}

.article_item:hover {
  background: rgba(0,0,0,0.02);
}

/* Article title – slightly larger karena area lebih luas */
.article_item h3,
.article_item h4 {
  font-size: 0.9rem;      /* tetap readable */
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 2px;
  white-space: normal;     /* wrap jika panjang */
}

/* Author + meta */
.article_item .authors,
.article_item .meta {
  font-size: 0.75rem;
  color: #6b7280;
  line-height: 1.2;
}

/* -----------------
   RESPONSIVE
   ----------------- */
@media (max-width: 1024px) {
  .issue_layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .issue_cover img {
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .issue_wrapper {
    padding: 24px 16px;
  }

  .issue_galleys a,
  .view_all_issues a {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .article_item h3,
  .article_item h4 {
    font-size: 0.9rem;
    line-height: 1.4;
  }
}
/* -----------------
   Journal-style Modern Editorial Title – Left Aligned
   ----------------- */
.page_index_journal .additional_content h3.ijsah-editorial-title {
  display: block;
  font-family: "Roboto Serif", serif;  /* modern serif */
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.4;
  color: #111;                        /* light mode */
  margin: 0.6em 0 0.4em 0;
  padding: 0;
  border-radius: 0;
  background: none;
  border: none;
  text-align: left;                   /* rata kiri */
  transition: color 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

/* Hover effect ringan */
.page_index_journal .additional_content h3.ijsah-editorial-title:hover {
  color: #2563eb;          /* accent color */
  transform: translateY(-1px);
}

/* Dark mode support */
body.dark .page_index_journal .additional_content h3.ijsah-editorial-title {
  color: #e2e8f0;          /* light text for dark mode */
}

body.dark .page_index_journal .additional_content h3.ijsah-editorial-title:hover {
  color: #38bdf8;          /* light blue accent */
}

/* Optional underline animation – left aligned */
.page_index_journal .additional_content h3.ijsah-editorial-title::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: #2563eb;
  transition: width 0.3s ease;
  margin-left: 0;                   /* start underline dari kiri */
}

.page_index_journal .additional_content h3.ijsah-editorial-title:hover::after {
  width: 40px;                       /* underline expands on hover */
}
/* Wrapper card */
.custom_cards {
  display: flex;
  justify-content: center;   /* center horizontal */
  gap: 2rem;                 /* jarak antar card */
  flex-wrap: wrap;            /* responsive ke bawah di mobile */
  margin-top: 2rem;
}

/* Card individual */
.custom_cards .card {
  width: 280px;
  text-align: center;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  padding: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  position: relative;
  transition: transform 0.3s ease;
  cursor: pointer;
}

/* Hover lift */
.custom_cards .card:hover {
  transform: translateY(-4px);
}

/* Card image */
.custom_cards .card img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 1rem;
}

/* Card title */
.custom_cards .card_title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
}

/* Hover underline animation */
.custom_cards .card_title::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: #2563eb;
  margin: 4px auto 0 auto; /* center underline */
  transition: width 0.3s ease;
}

.custom_cards .card:hover .card_title::after {
  width: 60%; /* garis bawah muncul saat hover */
}

/* Card description */
.custom_cards .card_desc {
  font-size: 0.9rem;
  line-height: 1.4;
  color: #555;
  margin-bottom: 1rem;
}

/* Arrow at bottom */
.custom_cards .card_arrow {
  display: inline-block;
  font-size: 1.2rem;
  color: #2563eb;
  transition: transform 0.3s ease;
}

.custom_cards .card:hover .card_arrow {
  transform: translateX(6px); /* panah bergerak saat hover */
}

/* Dark mode support */
body.dark .custom_cards .card {
  background: #1e293b;
}

body.dark .custom_cards .card_desc {
  color: #cbd5e1;
}

body.dark .custom_cards .card_title::after {
  background: #38bdf8;
}

body.dark .custom_cards .card_arrow {
  color: #38bdf8;
}

/* Responsive */
@media (max-width: 768px) {
  .custom_cards {
    gap: 1rem;
  }
  
  .custom_cards .card {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
}
/* HIDE HEADLESSUI BUTTON (LISTBOX) */
header button[id^="headlessui-listbox-button"] {
  display: none !important;
}
/* =====================================================
   CUSTOM CARDS – HORIZONTAL, 50% LEBIH KECIL, RAPI
   ===================================================== */

.page_index_journal
.additional_content
.custom_cards {
  display: flex;
  flex-wrap: wrap;              /* HORIZONTAL + WRAP */
  gap: 1.5rem;                  /* JARAK ANTAR KARTU */
  justify-content: flex-start;
}

/* SETIAP KARTU */
.page_index_journal
.additional_content
.custom_cards > * {
  flex: 0 0 calc(20% - 1.5rem); /* ± 5 KARTU PER BARIS */
  max-width: calc(20% - 1.5rem);

  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 0.6rem 0.75rem;
  min-height: 120px;            /* ± 1/2 DARI ASLINYA */

  overflow: hidden;
}

/* GAMBAR / LOGO */
.page_index_journal
.additional_content
.custom_cards img {
  max-width: 100%;
  max-height: 42px;             /* LOGO DIKECILKAN */
  height: auto;

  object-fit: contain;
  margin-bottom: 0.4rem;
}

/* JUDUL & LINK */
.page_index_journal
.additional_content
.custom_cards h1,
.page_index_journal
.additional_content
.custom_cards h2,
.page_index_journal
.additional_content
.custom_cards h3,
.page_index_journal
.additional_content
.custom_cards a {
  font-size: 0.78rem;
  line-height: 1.3;
}

/* DESKRIPSI */
.page_index_journal
.additional_content
.custom_cards p,
.page_index_journal
.additional_content
.custom_cards span {
  font-size: 0.72rem;
  line-height: 1.35;
  margin: 0;
}

/* TABLET */
@media (max-width: 1024px) {
  .page_index_journal
  .additional_content
  .custom_cards > * {
    flex: 0 0 calc(33.333% - 1.5rem);
    max-width: calc(33.333% - 1.5rem);
  }
}

/* MOBILE */
@media (max-width: 640px) {
  .page_index_journal
  .additional_content
  .custom_cards > * {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
/* ==============================
   REPORTING GUIDELINES – EXTRA SMALL
   ============================== */

.rg-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 0.9rem; /* jarak tetap aman */
  margin: 1.5rem 0;
}

/* KARTU */
.rg-card {
  display: flex;
  align-items: center;
  justify-content: center;

  height: 64px; /* diperkecil drastis */
  padding: 0.4rem;

  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;

  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

/* DARK MODE */
.dark .rg-card {
  background: #0f172a;
  border-color: #1e293b;
}

/* ICON */
.rg-card img {
  max-height: 34px;
  max-width: 100%;
  object-fit: contain;
}

/* HIDE TEXT */
.rg-card span {
  display: none !important;
}

/* HOVER */
.rg-card:hover {
  transform: translateY(-3px);
  border-color: #0ea5e9;
  box-shadow: 0 6px 14px rgba(14, 165, 233, 0.18);
}

/* HOVER DARK */
.dark .rg-card:hover {
  border-color: #38bdf8;
  box-shadow: 0 6px 14px rgba(56, 189, 248, 0.22);
}

/* MOBILE */
@media (max-width: 768px) {
  .rg-cards {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
  }

  .rg-card {
    height: 58px;
  }

  .rg-card img {
    max-height: 30px;
  }
}
/* ===============================
   REPORTING GUIDELINES – TITLE
   =============================== */

/* WRAPPER JUDUL */
.ijsah-editorial-title {
  margin: 1.8rem 0 0.6rem;
  padding: 1rem 1.4rem;

  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;

  font-size: 1.35rem; /* 👉 ATUR UKURAN JUDUL DI SINI */
  font-weight: 600;
  letter-spacing: 0.3px;

  color: #0f172a;
}

/* DARK MODE */
.dark .ijsah-editorial-title {
  background: #0f172a;
  border-color: #1e293b;
  color: #e5e7eb;
}

/* MATIKAN BUBBLE / BADGE */
.ijsah-editorial-title .ijsah-badge {
  all: unset;
}

/* DESKRIPSI / PENJELASAN */
.ijsah-editorial-title + p {
  margin-top: 0.5rem;
  font-size: 0.85rem; /* 👉 ATUR UKURAN TEKS KECIL DI SINI */
  line-height: 1.6;
  color: #475569;
}

/* DARK MODE DESKRIPSI */
.dark .ijsah-editorial-title + p {
  color: #94a3b8;
}
/* ===== INDEXING CARD STYLE ===== */
.indexing-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #ffffff, #f9fafb);
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
  transition: transform .25s ease, box-shadow .25s ease;
  max-width: 520px;
}

.indexing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.1);
}

/* ICON */
.indexing-icon {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 12px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1px #e5e7eb;
}

.indexing-icon img {
  max-width: 48px;
  height: auto;
}

/* CONTENT */
.indexing-content h4 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #111827;
}

.indexing-content p {
  margin: 0 0 10px;
  font-size: .9rem;
  color: #4b5563;
  line-height: 1.5;
}

/* BADGE */
.indexing-badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .03em;
  color: #1f2937;
  background: #e5e7eb;
  border-radius: 999px;
}

/* RESPONSIVE */
@media (max-width: 640px) {
  .indexing-card {
    flex-direction: column;
    text-align: center;
  }
}
/* ======================================================
   BANNER / HERO IMAGE HEIGHT CONTROL (OJS – INDEX PAGE)
   ====================================================== */

/* Container banner */
.pkp_page_index
.relative.overflow-hidden.bg-slate-900 {
  height: 360px;
  max-height: 420px;
  overflow: hidden;
}

/* Banner image */
.pkp_page_index
.relative.overflow-hidden.bg-slate-900
img.absolute {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  inset: 0;
  margin: 0 !important;
  opacity: 0.5;
}

/* Responsive */
@media (max-width: 768px) {
  .pkp_page_index
  .relative.overflow-hidden.bg-slate-900 {
    height: 220px;
  }
}
/* ===============================
   ARTICLE MDPI-LIKE LAYOUT
   =============================== */

.article-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 260px;
  gap: 28px;
  margin-top: 24px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-toc,
  .article-side {
    display: none;
  }
}
.article-toc {
  position: sticky;
  top: 120px;
  font-size: 14px;
}

.article-toc h4 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
}

.article-toc ul {
  list-style: none;
  padding-left: 0;
}

.article-toc li {
  margin-bottom: 6px;
}

.article-toc a {
  color: #475569;
  text-decoration: none;
}

.article-toc a:hover {
  text-decoration: underline;
}
.article-main {
  max-width: 820px;
}

.article-main h1.page_title {
  margin-top: 12px;
  margin-bottom: 16px;
}
.oa-badge span {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  background: #e8f7ee;
  color: #0f7a4a;
  margin-bottom: 6px;
}

.article-type-badge span {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  margin-bottom: 14px;
}
.article-side {
  position: sticky;
  top: 120px;
  font-size: 14px;
}

.article-side h4 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}
/* ==============================
   ARTICLE 3-COLUMN LAYOUT
   ============================== */

.article-layout {
  display: grid;
  grid-template-columns: 220px 1fr 220px;
  gap: 24px;
  margin-top: 20px;
}

/* ==============================
   TOC
   ============================== */

.article-toc {
  position: sticky;
  top: 110px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  font-size: 14px;
}

.article-toc h4 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 600;
}

.article-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.article-toc li {
  margin-bottom: 6px;
}

.article-toc a {
  color: #1f2937;
  text-decoration: none;
}

.article-toc a:hover {
  text-decoration: underline;
}

/* ==============================
   MAIN ARTICLE
   ============================== */

.article-main {
  background: #ffffff;
}

/* ==============================
   OPEN ACCESS BADGE
   ============================== */

.oa-badge {
  display: inline-block;
  background: #16a34a;
  color: #ffffff;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

/* ==============================
   ARTICLE TYPE BADGE
   ============================== */

.article-type-badge {
  display: inline-block;
  background: #e0f2fe;
  color: #075985;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  margin-left: 6px;
}

/* ==============================
   RIGHT SIDE
   ============================== */

.article-side {
  position: sticky;
  top: 110px;
  background: #f9fafb;
  border-radius: 12px;
  padding: 16px;
  font-size: 14px;
}

/* ==============================
   RESPONSIVE (MOBILE)
   ============================== */

@media (max-width: 1024px) {
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-toc,
  .article-side {
    position: relative;
    top: auto;
  }
}
.share-links {
  list-style: none;
  padding: 0;
}

.share-links li {
  margin-bottom: 6px;
}

.cite-block {
  margin-bottom: 12px;
  font-size: 13px;
}

.copy-btn {
  margin-top: 4px;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  cursor: pointer;
}
/* TOC active state */
.article-toc a.active {
  font-weight: 600;
  color: #16a34a;
}

.article-toc li {
  position: relative;
}

.article-toc a.active::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 6px;
  width: 4px;
  height: 12px;
  background: #16a34a;
  border-radius: 2px;
}
.article-toc a.active {
  font-weight: 600;
  color: #16a34a;
}

.article-toc details summary {
  cursor: pointer;
  font-weight: 600;
  margin-bottom: .5rem;
}

@media (max-width: 768px) {
  .article-toc {
    position: relative;
  }
}
/* ==================================================
   FINAL MDPI FIX — ARTICLE PAGE ONLY
   ================================================== */

/* ==================================================
   1. FORCE POPUP BEHAVIOR (FIX BROKEN POPUP)
   ================================================== */
.mdpi-overlay {
  display: none !important;
  position: fixed !important;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  z-index: 99999;
  align-items: center;
  justify-content: center;
}

.mdpi-overlay.active {
  display: flex !important;
}

/* modal */
.mdpi-modal {
  background: #ffffff;
  padding: 24px;
  width: 360px;
  max-width: 90%;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}

/* ==================================================
   2. HIDE MATERIAL STICKY SIDEBAR (FULL WIDTH LIKE HOMEPAGE)
   ================================================== */
.pkp_page_article.pkp_op_view
div.hidden.xl\:sticky.xl\:top-\[4\.75rem\].xl\:-mr-6.xl\:block.xl\:h-\[calc\(100vh-4\.75rem\)\] {
  display: none !important;
}

/* ==================================================
   3. MAKE ARTICLE FULL WIDTH (REMOVE SIDE PADDING)
   ================================================== */
.pkp_page_article.pkp_op_view main {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* ==================================================
   4. ARTICLE LAYOUT — WIDER CENTER
   ================================================== */
.pkp_page_article.pkp_op_view .article-layout {
  grid-template-columns: 240px minmax(0, 1fr) 80px;
  gap: 24px;
}

/* ==================================================
   5. TOC & ARTICLE AS MODERN CARD
   ================================================== */
.article-toc,
.article-main {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 18px 20px;
}

.dark .article-toc,
.dark .article-main {
  background: #0f172a;
  border-color: #1e293b;
}

/* ==================================================
   6. REMOVE DUPLICATE AUTO ARTICLE TYPE
   ================================================== */
.article-main > .article-type-badge {
  display: none !important;
}

/* ==================================================
   7. SHARE & CITE — ICON ONLY (MDPI OLD STYLE)
   ================================================== */
.article-side {
  background: transparent;
  border: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.article-side .mdpi-btn {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  font-size: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-side .mdpi-btn:hover {
  background: #f1f5f9;
}

/* ICON FONT */
.article-side .mdpi-btn::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 16px;
  color: #1f2937;
}

/* Share */
.article-side .mdpi-btn[data-popup="share-popup"]::before {
  content: "\f1e0";
}

/* Cite */
.article-side .mdpi-btn[data-popup="cite-popup"]::before {
  content: "\f02d";
}

/* ==================================================
   8. FONT SCALE — MDPI OLD (COMPACT)
   ================================================== */
:root {
  --mdpi-body: 0.88rem;
  --mdpi-h1: 1.45rem;
  --mdpi-h2: 1.2rem;
  --mdpi-h3: 1.05rem;
}

.article-main {
  font-size: var(--mdpi-body);
  line-height: 1.65;
}

.article-main h1.page_title {
  font-size: var(--mdpi-h1);
}

.article-main h2 {
  font-size: var(--mdpi-h2);
}

.article-main h3 {
  font-size: var(--mdpi-h3);
}

/* ==================================================
   RESPONSIVE SAFETY
   ================================================== */
@media (max-width: 1024px) {
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-side {
    flex-direction: row;
    justify-content: flex-start;
  }
}

/* ==================================================
   REMOVE RIGHT GRAY BACKGROUND PANEL (ARTICLE ONLY)
   ================================================== */
.pkp_page_article.pkp_op_view
div.hidden.lg\:relative.lg\:block.lg\:flex-none
div.absolute.inset-y-0.right-0.w-\[50vw\].bg-slate-50.dark\:hidden {
  display: none !important;
}
/* ==================================================
   OPEN ACCESS BADGE — ORANGE CARD (ARTICLE ONLY)
   ================================================== */
.pkp_page_article.pkp_op_view
.article-badges
.badge.badge-oa {
  background: #fff7ed;            /* orange soft */
  color: #9a3412;                 /* orange text */
  border: 1px solid #fed7aa;
  padding: 4px 10px;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 6px;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}
/* ==================================================
   ARTICLE TYPE BADGE — GREEN CARD (ARTICLE ONLY)
   ================================================== */
.pkp_page_article.pkp_op_view
.article-badges
.badge.badge-type {
  background: #ecfdf5;            /* green soft */
  color: #065f46;                 /* green text */
  border: 1px solid #a7f3d0;
  padding: 4px 10px;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 6px;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}
/* ==================================================
   SHARE POPUP — ICON ONLY, VERTICAL, MDPI STYLE
   ================================================== */

/* modal container */
.pkp_page_article.pkp_op_view
#share-popup.mdpi-overlay.active
.mdpi-modal {
  position: relative;
  width: 220px;
  padding: 20px 16px 16px;
  border-radius: 14px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* title kecil */
#share-popup .mdpi-modal h4 {
  font-size: 0.75rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 4px;
}

/* link share → icon only */
#share-popup .mdpi-modal a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0; /* hide text */
  transition: all .2s ease;
}

/* hover */
#share-popup .mdpi-modal a:hover {
  background: #e2e8f0;
  transform: scale(1.05);
}

/* =========================================
   ICONS
   ========================================= */

/* WhatsApp */
#share-popup a#share-wa::before {
  content: "";
  width: 20px;
  height: 20px;
  background: url("https://cdn.jsdelivr.net/npm/simple-icons@v11/icons/whatsapp.svg")
              no-repeat center / contain;
  filter: invert(38%) sepia(88%) saturate(407%) hue-rotate(90deg);
}

/* COPY LINK (replace X) */
#share-popup a#share-x::before {
  content: "";
  width: 20px;
  height: 20px;
  background: url("https://cdn.jsdelivr.net/npm/lucide-static/icons/link.svg")
              no-repeat center / contain;
  filter: invert(30%);
}

/* Email */
#share-popup a#share-email::before {
  content: "";
  width: 20px;
  height: 20px;
  background: url("https://cdn.jsdelivr.net/npm/lucide-static/icons/mail.svg")
              no-repeat center / contain;
  filter: invert(30%);
}

/* =========================================
   CLOSE BUTTON — SILANG POJOK
   ========================================= */
#share-popup .close-modal {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: #f1f5f9;
  font-size: 0;
  cursor: pointer;
}

#share-popup .close-modal::before {
  content: "✕";
  font-size: 14px;
  color: #334155;
}

#share-popup .close-modal:hover {
  background: #e2e8f0;
}

/* ==============================
   IJSAH BRANDING CARD (MDPI-LIKE)
   ============================== */

.page_article .article-layout .article-toc .ijsah-branding{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;

  padding:14px 12px;
  margin:0 0 14px 0;

  border-radius:14px;
  border:1px solid rgba(148,163,184,.28);

  background:#ffffff;

  box-shadow: 0 1px 2px rgba(15,23,42,.05);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

/* hover minimal ala MDPI */
.page_article .article-layout .article-toc .ijsah-branding:hover{
  transform: translateY(-1px);
  border-color: rgba(56,189,248,.35);
  box-shadow:
    0 2px 10px rgba(15,23,42,.08);
}

/* Logo */
.page_article .article-layout .article-toc .ijsah-branding .ijsah-logo{
  max-height:80px;
  width:auto;
  display:block;
}

/* Title */
.page_article .article-layout .article-toc .ijsah-branding .ijsah-title{
  margin-top:9px;
  font-weight:600;
  font-size:14px;
  line-height:1.25;
  color:#0f172a;
}

/* Dark mode */
.dark .page_article .article-layout .article-toc .ijsah-branding{
  background: rgba(15,23,42,.35);
  border-color: rgba(148,163,184,.18);
  box-shadow: 0 1px 2px rgba(0,0,0,.25);
}

.dark .page_article .article-layout .article-toc .ijsah-branding:hover{
  border-color: rgba(56,189,248,.28);
  box-shadow: 0 2px 12px rgba(0,0,0,.35);
}

.dark .page_article .article-layout .article-toc .ijsah-branding .ijsah-title{
  color: rgba(255,255,255,.92);
}
/* ==============================
   Divider antara Branding dan Contents
   ============================== */

/* Garis tipis di bawah branding */
.page_article .article-layout .article-toc .ijsah-branding{
  position: relative;
}

/* Divider line */
.page_article .article-layout .article-toc .ijsah-branding::after{
  content:"";
  display:block;

  width: 88%;
  height: 1px;

  margin-top: 14px;

  background: rgba(148,163,184,.28);
}

/* Dark mode divider */
.dark .page_article .article-layout .article-toc .ijsah-branding::after{
  background: rgba(148,163,184,.18);
}
/* ==============================
   TOC DETAILS -> CARD TERPISAH (MDPI-like)
   Target: .article-toc details
   ============================== */

.page_article .article-layout .article-toc details{
  /* Card wrapper */
  margin-top: 12px;           /* jarak dari kotak branding */
  border: 1px solid rgba(148,163,184,.22);
  border-radius: 14px;
  background: #fff;

  box-shadow: 0 1px 2px rgba(15,23,42,.05);

  overflow: hidden;           /* biar header & isi “rapi” */
}

/* Dark mode */
.dark .page_article .article-layout .article-toc details{
  background: rgba(15,23,42,.32);
  border-color: rgba(148,163,184,.16);
  box-shadow: 0 1px 2px rgba(0,0,0,.25);
}

/* Summary jadi header bar */
.page_article .article-layout .article-toc details > summary{
  list-style: none;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 10px 12px;

  font-size: 13px;
  font-weight: 650;
  letter-spacing: .2px;

  color: #0f172a;

  background: rgba(248,250,252,1); /* header sedikit beda */
  border-bottom: 1px solid rgba(148,163,184,.18);

  user-select: none;
}

.page_article .article-layout .article-toc details > summary::-webkit-details-marker{
  display:none;
}

/* Dark header */
.dark .page_article .article-layout .article-toc details > summary{
  color: rgba(255,255,255,.92);
  background: rgba(15,23,42,.45);
  border-bottom-color: rgba(148,163,184,.14);
}

/* Chevron ala MDPI (tanpa JS) */
.page_article .article-layout .article-toc details > summary::after{
  content: "▾";
  font-size: 12px;
  opacity: .75;
  transform: translateY(-1px);
  transition: transform .18s ease, opacity .18s ease;
}

.page_article .article-layout .article-toc details[open] > summary::after{
  transform: rotate(180deg);
  opacity: .9;
}

/* Area isi TOC */
.page_article .article-layout .article-toc #article-toc-list{
  margin: 0;
  padding: 10px 12px 12px 18px; /* kiri agak masuk */
}

/* Item list rapat */
.page_article .article-layout .article-toc #article-toc-list li{
  margin: 7px 0;
}

/* Link tampil elegan */
.page_article .article-layout .article-toc #article-toc-list a{
  display: block;

  font-size: 13px;
  line-height: 1.25;

  text-decoration: none;
  color: rgba(15,23,42,.82);

  padding: 6px 8px;
  border-radius: 10px;

  transition: background .18s ease, color .18s ease, transform .18s ease;
}

/* Hover link: halus seperti MDPI */
.page_article .article-layout .article-toc #article-toc-list a:hover{
  background: rgba(56,189,248,.10);
  color: rgba(15,23,42,.95);
  transform: translateX(1px);
}

/* Dark links */
.dark .page_article .article-layout .article-toc #article-toc-list a{
  color: rgba(255,255,255,.80);
}

.dark .page_article .article-layout .article-toc #article-toc-list a:hover{
  background: rgba(56,189,248,.14);
  color: rgba(255,255,255,.92);
}
.page_article .article-layout .article-main .ijsah-inline-pdf{
  margin-top: 18px;
  border: 1px solid rgba(148,163,184,.22);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15,23,42,.05);
}

.page_article .article-layout .article-main .ijsah-inline-pdf .ijsah-pdf-frame{
  width: 100%;
  height: 80vh;
  border: 0;
  display: block;
}

.dark .page_article .article-layout .article-main .ijsah-inline-pdf{
  background: rgba(15,23,42,.32);
  border-color: rgba(148,163,184,.16);
  box-shadow: 0 1px 2px rgba(0,0,0,.25);
}
/* =========================================================
   FIX layout section (Authors/Abstract/References) agar lurus,
   dd lebih lebar, dan badge hijau tidak "ketiban garis"
   Scope: hanya halaman artikel
   ========================================================= */

.page_article .article-layout .article-main article.obj_article_details
div.row.not-prose div div.mt-6.border-t.border-slate-200.dark\:border-slate-800
dl.divide-y.divide-slate-200.dark\:divide-slate-800.my-0 > div.px-0.py-6.sm\:grid.sm\:grid-cols-3.sm\:gap-4{
  /* bikin jarak lebih rapat & rapi */
  padding-top: 18px;
  padding-bottom: 18px;
}

/* 1) Bikin dd (kolom isi) FULL WIDTH supaya tidak terlihat "geser kiri/sempit" */
.page_article .article-layout .article-main article.obj_article_details
div.row.not-prose div div.mt-6.border-t.border-slate-200.dark\:border-slate-800
dl.divide-y.divide-slate-200.dark\:divide-slate-800.my-0 > div.px-0.py-6.sm\:grid.sm\:grid-cols-3.sm\:gap-4 > dd{
  grid-column: 1 / -1 !important;     /* isi melebar 100% */
  margin-top: 10px !important;        /* turun sedikit dari label */
}

/* 2) Label (dt) tetap 1 baris atas, rata kiri, biar layout terlihat "judul + isi" */
.page_article .article-layout .article-main article.obj_article_details
div.row.not-prose div div.mt-6.border-t.border-slate-200.dark\:border-slate-800
dl.divide-y.divide-slate-200.dark\:divide-slate-800.my-0 > div.px-0.py-6.sm\:grid.sm\:grid-cols-3.sm\:gap-4 > dt{
  grid-column: 1 / -1 !important;     /* label juga 100% */
  padding-bottom: 6px;
}

/* 3) Khusus Authors: rapikan area agar badge hijau "Author" tidak ketiban garis */
.page_article .article-layout .article-main article.obj_article_details
dt#section-authors + dd{
  position: relative;
}

/* Jika di dalam dd Authors ada elemen badge (biasanya span/label kecil),
   kita beri background + z-index supaya garis divider tidak terlihat tembus */
.page_article .article-layout .article-main article.obj_article_details
dt#section-authors + dd span,
.page_article .article-layout .article-main article.obj_article_details
dt#section-authors + dd a,
.page_article .article-layout .article-main article.obj_article_details
dt#section-authors + dd .badge{
  position: relative;
  z-index: 2;
}

/* Yang biasanya jadi "badge hijau" kita buat punya background solid */
.page_article .article-layout .article-main article.obj_article_details
dt#section-authors + dd span[class*="bg-"],
.page_article .article-layout .article-main article.obj_article_details
dt#section-authors + dd span[class*="badge"],
.page_article .article-layout .article-main article.obj_article_details
dt#section-authors + dd .badge{
  background: #ffffff;
  padding-left: 8px;
  padding-right: 8px;
  border-radius: 999px;
}

/* Dark mode: background menutup garis */
.dark .page_article .article-layout .article-main article.obj_article_details
dt#section-authors + dd span[class*="bg-"],
.dark .page_article .article-layout .article-main article.obj_article_details
dt#section-authors + dd span[class*="badge"],
.dark .page_article .article-layout .article-main article.obj_article_details
dt#section-authors + dd .badge{
  background: rgba(15,23,42,.85);
}

/* 4) Bonus: bikin divider antar section terlihat halus */
.page_article .article-layout .article-main article.obj_article_details
div.row.not-prose div div.mt-6.border-t.border-slate-200.dark\:border-slate-800
dl.divide-y.divide-slate-200.dark\:divide-slate-800.my-0{
  border-top-width: 1px;
}

.page_article .article-layout .article-main article.obj_article_details
div.row.not-prose div div.mt-6.border-t.border-slate-200.dark\:border-slate-800
dl.divide-y.divide-slate-200.dark\:divide-slate-800.my-0 > div{
  /* ini menjaga garis divide-y tetap rapi setelah layout jadi 1 kolom */
  border-color: rgba(148,163,184,.22);
}

.dark .page_article .article-layout .article-main article.obj_article_details
div.row.not-prose div div.mt-6.border-t.border-slate-200.dark\:border-slate-800
dl.divide-y.divide-slate-200.dark\:divide-slate-800.my-0 > div{
  border-color: rgba(148,163,184,.14);
}
/* ==============================
   Heading section (Full Article) + divider
   ============================== */
.page_article .article-layout .article-main article.obj_article_details .ijsah-section-heading{
  margin-top: 22px;
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.25;
  color: rgba(15,23,42,.92);
}

.dark .page_article .article-layout .article-main article.obj_article_details .ijsah-section-heading{
  color: rgba(255,255,255,.92);
}

.page_article .article-layout .article-main article.obj_article_details .ijsah-section-divider{
  width: 100%;
  height: 1px;
  background: rgba(148,163,184,.22);
  margin-bottom: 14px;
}

.dark .page_article .article-layout .article-main article.obj_article_details .ijsah-section-divider{
  background: rgba(148,163,184,.14);
}

/* PDF viewer card (tetap sama) */
.page_article .article-layout .article-main .ijsah-inline-pdf{
  margin-top: 0; /* sudah diatur di section */
  border: 1px solid rgba(148,163,184,.22);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15,23,42,.05);
}

.page_article .article-layout .article-main .ijsah-inline-pdf .ijsah-pdf-frame{
  width: 100%;
  height: 80vh;
  border: 0;
  display: block;
}

.dark .page_article .article-layout .article-main .ijsah-inline-pdf{
  background: rgba(15,23,42,.32);
  border-color: rgba(148,163,184,.16);
  box-shadow: 0 1px 2px rgba(0,0,0,.25);
}
/* Divider tipis sebelum PDF card (di dalam dd) */
.page_article .article-layout .article-main article.obj_article_details .ijsah-section-divider{
  width: 100%;
  height: 1px;
  background: rgba(148,163,184,.22);
  margin: 8px 0 12px 0;
}

.dark .page_article .article-layout .article-main article.obj_article_details .ijsah-section-divider{
  background: rgba(148,163,184,.14);
}
/* =========================================================
   PREMIUM JOURNAL LOOK — IJSAH (ADD-ON)
   Tempelkan di paling bawah custom.css
   ========================================================= */

/* ===== META STRIP ===== */
.page_article .article-layout .article-main article.obj_article_details .ijsah-meta-strip{
  margin-top: 10px;
  margin-bottom: 16px;

  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;

  padding: 12px;
  border: 1px solid rgba(148,163,184,.22);
  border-radius: 14px;

  background: rgba(248,250,252,1);
  box-shadow: 0 1px 2px rgba(15,23,42,.05);
}

@media (max-width: 900px){
  .page_article .article-layout .article-main article.obj_article_details .ijsah-meta-strip{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.page_article .article-layout .article-main article.obj_article_details .ijsah-meta-item{
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.page_article .article-layout .article-main article.obj_article_details .ijsah-meta-key{
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .2px;
  color: rgba(15,23,42,.60);
  text-transform: uppercase;
}

.page_article .article-layout .article-main article.obj_article_details .ijsah-meta-val{
  font-size: 13px;
  font-weight: 600;
  color: rgba(15,23,42,.90);
  word-break: break-word;
}

/* Dark mode */
.dark .page_article .article-layout .article-main article.obj_article_details .ijsah-meta-strip{
  background: rgba(15,23,42,.35);
  border-color: rgba(148,163,184,.16);
  box-shadow: 0 1px 2px rgba(0,0,0,.25);
}
.dark .page_article .article-layout .article-main article.obj_article_details .ijsah-meta-key{
  color: rgba(255,255,255,.55);
}
.dark .page_article .article-layout .article-main article.obj_article_details .ijsah-meta-val{
  color: rgba(255,255,255,.88);
}

/* ===== TOC STICKY ===== */
.page_article .article-layout .article-toc{
  position: sticky;
  top: 92px; /* sesuaikan jika header berbeda */
  align-self: flex-start;
}

/* ===== TOC ACTIVE LINK ===== */
.page_article .article-layout .article-toc #article-toc-list a.is-active{
  background: rgba(56,189,248,.14);
  font-weight: 650;
  border-radius: 10px;
  padding-left: 10px;
  padding-right: 10px;
}
.dark .page_article .article-layout .article-toc #article-toc-list a.is-active{
  background: rgba(56,189,248,.16);
}

/* ===== DIVIDER sebelum PDF card ===== */
.page_article .article-layout .article-main article.obj_article_details .ijsah-section-divider{
  width: 100%;
  height: 1px;
  background: rgba(148,163,184,.22);
  margin: 8px 0 12px 0;
}
.dark .page_article .article-layout .article-main article.obj_article_details .ijsah-section-divider{
  background: rgba(148,163,184,.14);
}

/* ===== PDF VIEWER CARD ===== */
.page_article .article-layout .article-main .ijsah-inline-pdf{
  border: 1px solid rgba(148,163,184,.22);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15,23,42,.05);
}

.page_article .article-layout .article-main .ijsah-inline-pdf .ijsah-pdf-frame{
  width: 100%;
  height: 78vh;
  border: 0;
  display: block;
}

.dark .page_article .article-layout .article-main .ijsah-inline-pdf{
  background: rgba(15,23,42,.32);
  border-color: rgba(148,163,184,.16);
  box-shadow: 0 1px 2px rgba(0,0,0,.25);
}
/* =========================
   IJSAH: Matikan sticky TOC di halaman artikel
   (agar TOC tidak bergerak saat scroll)
   ========================= */

body.pkp_page_article .page.page_article .article-layout .article-toc {
  position: static !important;   /* matikan sticky */
  top: auto !important;
  align-self: auto !important;
}

/* kalau ada wrapper TOC yang dibuat sticky oleh theme */
body.pkp_page_article .page.page_article .article-layout .article-toc .ijsah-toc-card,
body.pkp_page_article .page.page_article .article-layout .article-toc details {
  position: static !important;
  top: auto !important;
}

/* pastikan tidak “nempel” karena transform/layout tertentu */
body.pkp_page_article .page.page_article .article-layout {
  align-items: flex-start;
}
/* ===== IJSAH Citation Modal (PMC-like) ===== */
.ij-cite-modal {
  width: min(720px, 92vw);
  padding: 0;
}

.ij-cite-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(148,163,184,.25);
}

.ij-cite-title {
  font-weight: 800;
  font-size: 18px;
}

.ij-cite-close {
  border: 0;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  opacity: .75;
}
.ij-cite-close:hover { opacity: 1; }

.ij-cite-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(148,163,184,.18);
}

.ij-cite-label {
  font-size: 12px;
  font-weight: 700;
  opacity: .8;
}

.ij-cite-select {
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(148,163,184,.30);
  padding: 0 10px;
  font-weight: 650;
}

.ij-cite-btn {
  margin-left: auto;
  height: 34px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(148,163,184,.30);
  background: #fff;
  font-weight: 700;
  cursor: pointer;
}
.ij-cite-btn:hover { transform: translateY(-1px); }

.ij-cite-body {
  padding: 12px 16px 16px 16px;
}

.ij-cite-box {
  max-height: 280px;
  overflow: auto;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(148,163,184,.25);
  background: rgba(248,250,252,1);
  white-space: pre-wrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12.5px;
  line-height: 1.45;
}

.dark .ij-cite-box {
  background: rgba(2,6,23,.25);
  border-color: rgba(148,163,184,.18);
}
/* IJSAH: Hide meta strip card in main body (keep data for cite popup) */
body.pkp_page_article .page.page_article .article-main article.obj_article_details
div.my-8.flex.rounded-3xl.p-6.bg-sky-50 {
  display: none !important;
}
/* =========================================================
   ONLY "Tools for Authors" rg-cards (contains BOTH images)
   - Make the two cards close (normal gap)
   - Does NOT affect PRISMA / Journal Finder
   ========================================================= */

.page_index_journal .additional_content
.rg-cards:has(img[src$="kmendeley.jpeg"]):has(img[src$="kmesh.jpeg"]):has(img[src$="kturnitin.png"]){
  display: flex !important;
  justify-content: flex-start !important; /* lurus sama teks (kiri) */
  gap: 14px !important;                  /* JARAK PAS (ubah 10-16) */
  flex-wrap: wrap;
}

/* card style ONLY for those three cards */
.page_index_journal .additional_content
.rg-cards a.rg-card:has(img[src$="kmendeley.jpeg"]),
.page_index_journal .additional_content
.rg-cards a.rg-card:has(img[src$="kturnitin.png"]),
.page_index_journal .additional_content
.rg-cards a.rg-card:has(img[src$="kmesh.jpeg"]){
  margin: 0 !important;                  /* reset kalau ada margin aneh */
  width: 170px;
  height: 92px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(2,6,23,.10);
  box-shadow: 0 10px 28px rgba(2,6,23,.10);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.page_index_journal .additional_content
.rg-cards a.rg-card:has(img[src$="kmendeley.jpeg"]):hover,
.page_index_journal .additional_content
.rg-cards a.rg-card:has(img[src$="kturnitin.png"]):hover,
.page_index_journal .additional_content
.rg-cards a.rg-card:has(img[src$="kmesh.jpeg"]):hover{
  transform: translateY(-4px);
  border-color: rgba(56,189,248,.40);
  box-shadow: 0 18px 55px rgba(2,6,23,.16);
}

/* logo size only these two */
.page_index_journal .additional_content
.rg-cards a.rg-card img[src$="kmendeley.jpeg"],
.page_index_journal .additional_content
.rg-cards a.rg-card img[src$="kturnitin.png"],
.page_index_journal .additional_content
.rg-cards a.rg-card img[src$="kmesh.jpeg"]{
  height: 40px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin: 0 !important;
  display: block;
}

/* mobile: tetap rapi */
@media (max-width:720px){
  .page_index_journal .additional_content
  .rg-cards:has(img[src$="kmendeley.jpeg"]):has(img[src$="kmesh.jpeg"]):has(img[src$="kturnitin.png"]){
    justify-content: flex-start !important;
    gap: 12px !important;
  }
}
/* =========================================================
   Article View ONLY (pkp_page_article + pkp_op_view)
   Mobile & iPad friendly — scoped, won’t affect other pages
   ========================================================= */

body.pkp_page_article.pkp_op_view article .prose{
  /* typography */
  font-size: clamp(15px, 1.05vw + 12px, 18px);
  line-height: 1.75;
  word-break: normal;
  overflow-wrap: anywhere;
  -webkit-text-size-adjust: 100%;
}

/* better spacing rhythm */
body.pkp_page_article.pkp_op_view article .prose p{
  margin-top: .85em;
  margin-bottom: .85em;
}
body.pkp_page_article.pkp_op_view article .prose h1,
body.pkp_page_article.pkp_op_view article .prose h2,
body.pkp_page_article.pkp_op_view article .prose h3{
  line-height: 1.25;
  margin-top: 1.2em;
  margin-bottom: .55em;
}
body.pkp_page_article.pkp_op_view article .prose ul,
body.pkp_page_article.pkp_op_view article .prose ol{
  padding-left: 1.15em;
}
body.pkp_page_article.pkp_op_view article .prose li{
  margin: .35em 0;
}

/* images & figures */
body.pkp_page_article.pkp_op_view article .prose img,
body.pkp_page_article.pkp_op_view article .prose figure{
  max-width: 100% !important;
}
body.pkp_page_article.pkp_op_view article .prose img{
  height: auto !important;
  border-radius: 12px;
}

/* tables: make scrollable on small screens */
body.pkp_page_article.pkp_op_view article .prose table{
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-collapse: collapse;
}
body.pkp_page_article.pkp_op_view article .prose th,
body.pkp_page_article.pkp_op_view article .prose td{
  white-space: nowrap;
  padding: .6em .75em;
}

/* code blocks */
body.pkp_page_article.pkp_op_view article .prose pre{
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
}

/* improve tap targets on mobile */
@media (max-width: 640px){
  body.pkp_page_article.pkp_op_view main{
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  body.pkp_page_article.pkp_op_view article .prose a{
    word-break: break-word;
  }
}

/* iPad/tablet tuning */
@media (min-width: 768px) and (max-width: 1024px){
  body.pkp_page_article.pkp_op_view main{
    padding-left: 22px !important;
    padding-right: 22px !important;
  }
}
