/* Hilangkan logo default OJS */
.pkp_site_name {
  display: none !important;
}

/* Tambahkan gambar header sebagai pseudo-element */
body::before {
  content: "";
  display: block;
  background-image: url('https://i.imgur.com/6ChqpRM.png');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  height: 0;
  padding-top: 16%; /* Rasio tinggi: 298px / 1800px ≈ 16.5% */
  width: 100%;
  position: relative;
  z-index: 1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* Untuk layar mobile/potret: buat lebih presisi dan rapat */
@media (max-width: 768px), (orientation: portrait) {
  body::before {
    background-size: contain;
    padding-top: 25%; /* Sesuaikan tinggi logo agar tetap terlihat proporsional */
    margin-bottom: -40px; /* Hapus jarak putih ekstra */
  }
}

/* Dorong isi halaman agar tidak tertutup */
.pkp_structure_page {
  position: relative;
  z-index: 2;
  margin-top: 0 !important;
}

.pkp_navigation_primary_row {
  background: linear-gradient(135deg, #700000, #c49b05);
  background-size: 300% 300%;
  animation: gradientShift 12s ease infinite;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  padding: 4px 20px;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Navigasi utama menu item */
.pkp_navigation_primary li a {
  background: transparent;
  color: #fefefe;
  font-weight: 600;
  padding: 12px 18px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.pkp_navigation_primary li a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffd700;
  box-shadow: 0 4px 12px rgba(255, 213, 0, 0.3);
  transform: translateY(-3px);
}

/* SUBMENU (dropdown) dengan latar putih dan warna maroon elegan */
.pkp_navigation_primary li ul {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 10px 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  min-width: 220px;
  z-index: 9999;
}

/* Item submenu */
.pkp_navigation_primary li ul li a {
  display: block;
  padding: 10px 18px;
  color: #700000; /* maroon */
  background: transparent;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-family: 'Georgia', 'Times New Roman', serif;
}

/* Hover efek: emas dengan sedikit bayangan */
.pkp_navigation_primary li ul li a:hover {
  background-color: #f5f5f5;
  color: #c49b05; /* emas */
  box-shadow: inset 4px 0 0 #c49b05;
  transform: translateX(6px);
}

/* Aktif (jika submenu sedang aktif) */
.pkp_navigation_primary li ul li a.active {
  background-color: #fdf8e5;
  color: #a05c00;
  font-weight: 700;
}

/* Hover efek timbul */
.pkp_structure_sidebar .pkp_block:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(255, 204, 0, 0.3);
}

/* Judul menu sidebar */
.pkp_structure_sidebar .pkp_block .title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #fffbe6;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 8px;
}

/* Item menu */
.pkp_structure_sidebar .pkp_block ul li a {
  display: block;
  padding: 10px 14px;
  margin: 5px 0;
  color: #fffbe0;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.05);
}

/* Hover efek menyala */
.pkp_structure_sidebar .pkp_block ul li a:hover {
  background: rgba(255, 213, 0, 0.2);
  color: #fff9a3;
  transform: translateX(6px);
  box-shadow: 0 0 10px rgba(255, 204, 0, 0.4);
}

input[type="text"], textarea {
  background: #fff7e6;
  border: 2px solid #c49b05;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

input[type="text"]:focus, textarea:focus {
  outline: none;
  border-color: #ffd700;
  box-shadow: 0 0 8px rgba(255, 213, 0, 0.5);
}

/* === JARAK ANTAR BLOK SIDEBAR === */
.pkp_structure_sidebar .pkp_block {
  margin-bottom: 24px; /* tambahkan jarak antar sidebar */
}

/* === TAMPILAN ITEM MENU SAAT DIPILIH / AKTIF === */
.pkp_structure_sidebar .pkp_block ul li a.active,
.pkp_structure_sidebar .pkp_block ul li a.current {
  background: rgba(255, 255, 255, 0.15);
  color: #ffd700;
  font-weight: bold;
  box-shadow: inset 4px 0 0 #ffd700;
  transform: translateX(4px);
}

/* === TRANSISI LEBIH HALUS SAAT HOVER === */
.pkp_structure_sidebar .pkp_block ul li a,
.pkp_structure_sidebar .pkp_block ul li a:hover,
.pkp_structure_sidebar .pkp_block ul li a.active {
  transition: background-color 0.3s ease, transform 0.3s ease, color 0.3s ease;
}
/* === FONT & TEKS UTAMA ala Al-Majaalis === */
body,
.pkp_structure_page {
  font-family: 'Times New Roman', Times, serif;
  font-size: 20px;
  line-height: 1.8;
  color: #333;
  text-align: justify;
}

/* Paragraf */
.page p,
body p {
  font-size: 20px;
  margin-bottom: 28px;
  text-align: justify;
  color: #333;
}

/* Heading */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Times New Roman', Times, serif;
  font-weight: bold;
  line-height: 1.5;
  margin-top: 1.5em;
  margin-bottom: 0.6em;
  color: #222;
}

/* List */
ul, ol {
  margin-left: 2em;
  margin-bottom: 1.5em;
  font-size: 20px;
  line-height: 1.8;
}

/* Blockquote */
blockquote {
  font-style: italic;
  color: #555;
  margin: 1.5em 2em;
  padding-left: 1.2em;
  border-left: 4px solid #c49b05;
  font-size: 19px;
}

/* === ANIMASI MASUK ISI HALAMAN === */
.page,
.page_about,
.page_contact,
.page_register,
.page_login,
.page_search,
.pkp_structure_main {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  padding: 40px;
  margin: 24px auto 40px auto;
  max-width: 1000px;
  animation: fadeSlideUp 0.8s ease both;
  transition: box-shadow 0.3s ease;
}

/* Efek masuk lembut dari bawah */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hover ringan */
.page:hover,
.page_about:hover,
.page_contact:hover {
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

/* Judul Halaman */
.page_title {
  text-align: center;
  font-size: 34px;
  font-weight: bold;
  margin-bottom: 30px;
  color: #700000;
  font-family: 'Times New Roman', Times, serif;
}

/* Responsive */
@media (max-width: 768px) {
  .page,
  .pkp_structure_main {
    padding: 20px;
    margin: 20px 10px;
  }

  .page_title {
    font-size: 26px;
  }
}

/* === EFEK TIMBUL & GERAK UNTUK FILE PDF TERBITAN DI HALAMAN ARSIP === */
.obj_issue_summary,
.obj_article_summary,
.galleys_links a {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  will-change: transform;
}

.obj_issue_summary:hover,
.obj_article_summary:hover,
.galleys_links a:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

/* Tambahan efek glowing pada hover link PDF */
.galleys_links a:hover {
  background: linear-gradient(135deg, #c49b05, #700000);
  color: #fff;
}

/* Tambahan animasi masuk lembut dari bawah saat load */
.obj_issue_summary,
.obj_article_summary,
.galleys_links a {
  animation: fadeUpPDF 0.6s ease both;
}

@keyframes fadeUpPDF {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* === EFEK GERAK UNIVERSAL SAAT DISENTUH UNTUK ELEMEN ISI HALAMAN === */

.page *:not(script):not(style):not(link):not(meta) {
  transition: all 0.3s ease;
  will-change: transform;
}

/* Efek ringan saat disentuh atau diarahkan kursor */
.page *:hover {
  transform: translateY(-2px);
}

/* Tambahan efek bayangan untuk elemen tertentu */
.page img:hover,
.page .obj_issue_summary:hover,
.page .obj_article_summary:hover,
.page .pkp_block:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-6px) scale(1.02);
}

/* Cegah efek berlebihan pada teks paragraf */
.page p:hover,
.page li:hover {
  transform: none !important;
  box-shadow: none !important;
}

/* Cegah efek pada link kecil agar tidak mengganggu */
.page a:hover {
  transform: none;
}
/* === EFEK GERAK UNTUK SIDEBAR === */

/* Efek lembut untuk seluruh blok sidebar */
.pkp_structure_sidebar .pkp_block {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}

.pkp_structure_sidebar .pkp_block:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

/* Efek gerak untuk setiap item menu sidebar */
.pkp_structure_sidebar .pkp_block ul li a {
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
  will-change: transform;
}

.pkp_structure_sidebar .pkp_block ul li a:hover {
  transform: translateX(6px);
  background-color: rgba(255, 213, 0, 0.15);
  color: #fff9a3;
  box-shadow: 0 0 12px rgba(255, 204, 0, 0.3);
}

/* Aktif: Tetap terlihat mencolok */
.pkp_structure_sidebar .pkp_block ul li a.active,
.pkp_structure_sidebar .pkp_block ul li a.current {
  background: rgba(255, 255, 255, 0.15);
  color: #ffd700;
  font-weight: bold;
  box-shadow: inset 4px 0 0 #ffd700;
  transform: translateX(4px);
}
/* === BACKGROUND UTAMA JURNAL === */
body {
  background-image: url('https://i.imgur.com/LVyDQg8.png');
  background-attachment: fixed; 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Agar kotak konten tetap putih & terbaca */
.pkp_structure_page,
.pkp_structure_main,
.page {
  background: rgba(255, 255, 255, 0.35) !important; 
  backdrop-filter: blur(1px);
  border-radius: 14px;
}

