/* ==========================================
   JOURNAL MENU
========================================== */
.journal-menu a {
  display: block;
  background: #26256f;
  color: #ffffff !important;
  padding: 12px;
  margin-bottom: 2px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  border-radius: 3px;
  transition: 0.3s;
}

.journal-menu a:hover {
  background: #0d47a1;
}

/* ==========================================
   PAGE AUTHOR GUIDELINES
========================================== */
.page_authorGuidelines {
  font-family: "Times New Roman", serif;
  font-size: 11pt;
  line-height: 1.15;
  text-align: justify;
}

.page_authorGuidelines ul {
  margin-top: 5px;
  margin-bottom: 5px;
}

.page_authorGuidelines li {
  margin-bottom: 3px;
}

.page_authorGuidelines h2 {
  color: #005A9C;
  border-bottom: 2px solid #005A9C;
  padding-bottom: 5px;
}

/* ==========================================
   ARTICLE TEMPLATE (WITH ICON WORD)
========================================== */
.article-template {
  width: 170px;
  margin: auto;
  text-align: center;
  padding: 10px 0;
}

.article-template::before {
  content: "";
  display: block;
  width: 120px;
  height: 150px;
  margin: auto;
  background: url('/public/site/icon-word.png') center/contain no-repeat;
  transition: transform 0.3s ease;
}

.article-template:hover::before {
  transform: scale(1.05);
}

.article-template a,
.article-template .download-btn {
  display: inline-block;
  margin-top: 8px;
  background: #003b7a;
  color: #ffffff !important;
  padding: 8px 18px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.article-template a:hover,
.article-template .download-btn:hover {
  background: #002855;
}

/* ==========================================
   ABSTRACTING & INDEXING (LOGOS)
========================================== */
.indexing {
  text-align: center;
}

.google-scholar {
  width: 150px;
  height: 45px;
  margin: 2px auto;
  background: url('/public/site/gs.png') center/contain no-repeat;
  transition: transform 0.3s ease;
}

.garuda {
  width: 150px;
  height: 45px;
  margin: 2px auto;
  background: url('/public/site/gr.png') center/contain no-repeat;
  transition: transform 0.3s ease;
}

.onesearch {
  width: 150px;
  height: 45px;
  margin: 2px auto;
  background: url('/public/site/one.png') center/contain no-repeat;
  transition: transform 0.3s ease;
}

.dimensions {
  width: 150px;
  height: 45px;
  margin: 2px auto;
  background: url('/public/site/dm.png') center/contain no-repeat;
  transition: transform 0.3s ease;
}

.google-scholar:hover,
.garuda:hover,
.onesearch:hover,
.dimensions:hover {
  transform: scale(1.05);
}

/* ==========================================
   DIKEMASY SIDEBAR
========================================== */
.pkp_block {
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  background: #ffffff;
  margin-bottom: 18px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.pkp_block .title,
.pkp_block h2,
.pkp_block h3 {
  background: #005A9C;
  color: #fff;
  text-align: center;
  padding: 10px;
  margin: 0;
  font-size: 15px;
  font-weight: bold;
  text-transform: uppercase;
}

.pkp_block .content,
.pkp_block p {
  padding: 12px;
  font-size: 14px;
  line-height: 1.6;
}

.pkp_block a {
  color: #005A9C;
  text-decoration: none;
  font-weight: bold;
}

.pkp_block a:hover {
  color: #0077cc;
  text-decoration: underline;
}

.pkp_block ul {
  margin: 10px 20px;
  padding: 0;
}

.pkp_block li {
  margin-bottom: 8px;
}

/* ==========================================
   1. TOP BAR (ISSN & USER LOGIN/REGISTER)
========================================== */
.pkp_navigation_user_wrapper {
  background: #002855 !important;
  padding: 10px 0 !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
}

.pkp_navigation_user_wrapper::before {
  content: "p-ISSN: XXXX-XXXX | e-ISSN: XXXX-XXXX";
  color: #ffffff;
  font-size: 12px; /* Dinaikkan dari 10px agar teks jelas dan tegas */
  font-weight: 600;
  letter-spacing: 0.5px;
  white-space: nowrap; /* Mencegah teks terpotong atau turun baris secara acak */
  padding-right: 15px; /* Memberi jarak pernapasan ekstra di sebelah kanan teks */
  display: inline-block; /* Memastikan dimensi teks dihitung penuh oleh browser */
}
.pkp_navigation_user_wrapper a {
  color: #ffffff !important;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
}

/* ==========================================
   2. HEADER BANNER (GEDUNG 3 - SEJAJAR & TANPA LOGO)
========================================== */
.pkp_head_wrapper {
  background-color: #002855 !important;
  width: 100% !important;
}

.pkp_site_name_wrapper {
  padding: 0 !important;
  margin: 0 auto !important;
  width: 100% !important;
  max-width: 1200px !important;
  background: url('/public/site/gedung3.png') center center / 100% 100% no-repeat !important;
  height: 180px !important;
  min-height: 180px !important;
  display: block !important;
}

/* Sembunyikan teks nama & logo bawaan OJS */
.pkp_site_name {
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0 !important;
}

.pkp_site_name a {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.pkp_site_name img,
.pkp_site_name .is_img,
.pkp_site_name_wrapper img {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* ==========================================
   3. MAIN MENU & SEARCH
========================================== */
.pkp_navigation_primary_wrapper {
  background: #002855 !important;
  box-shadow: 0 4px 10px rgba(0,0,0,.15);
  padding: 0 !important;
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  box-sizing: border-box !important;
}

.pkp_navigation_primary {
  display: flex !important;
  flex-direction: row !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.pkp_navigation_primary > li > a {
  color: #ffffff !important;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  padding: 14px 20px !important;
  transition: all 0.3s ease;
  display: block !important;
  text-decoration: none !important;
}

.pkp_navigation_primary > li > a:hover,
.pkp_navigation_primary > li.active > a {
  background: transparent !important;
  color: #ffffff !important;
  border-bottom: 3px solid #ffcc00 !important;
}

.pkp_head_wrapper .search_prompt,
.pkp_search,
.pkp_search a {
  color: #ffffff !important;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none !important;
}

/* ==========================================
   PAGE LAYOUT & BUTTONS
========================================== */
.page {
  background: #f5f7fb;
}

.page h1 {
  color: #003b7a;
  font-weight: 700;
}

.page h2 {
  color: #003b7a;
}

.pkp_structure_sidebar {
  padding-left: 25px;
}

.cmp_button,
button,
input[type=submit] {
  background: #005ec4;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 10px 18px;
}

.cmp_button:hover,
button:hover {
  background: #1976d2;
}

/* ==========================================
   4. FOOTER MODERN (LOGO LPPM VIA CSS)
========================================== */
.pkp_structure_footer_wrapper {
  background: #001f42 !important;
  color: #d1d5db !important;
  padding: 40px 0 20px 0 !important;
  margin-top: 50px !important;
  border-top: 4px solid #ffcc00 !important;
}

.pkp_structure_footer {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
  box-sizing: border-box !important;
}

.custom-footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-col {
  flex: 1;
  min-width: 250px;
}

/* Memanggil Logo LPPM langsung via CSS */
.footer-col-logo::before {
  content: "";
  display: block;
  width: 180px;
  height: 60px; /* Sesuaikan tinggi rasio logo Anda */
  margin-bottom: 15px;
  background: url('/public/site/lppm.png') left center / contain no-repeat;
  filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.3));
}

.footer-col h4 {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 15px;
  border-bottom: 2px solid #ffcc00;
  display: inline-block;
  padding-bottom: 5px;
  text-transform: uppercase;
}

.footer-col p {
  font-size: 13px;
  line-height: 1.6;
  color: #cbd5e1;
  margin-bottom: 10px;
}

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

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: #cbd5e1 !important;
  text-decoration: none !important;
  font-size: 13px;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: #ffcc00 !important;
  padding-left: 5px;
}

.pkp_brand_footer {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  font-size: 12px;
  color: #94a3b8;
}

.pkp_brand_footer a {
  color: #ffcc00 !important;
  text-decoration: none;
}
/* ==========================================
   RESPONSIVE (MOBILE)
========================================== */
@media(max-width: 768px) {
  .pkp_navigation_user_wrapper::before {
    display: none;
  }

  .pkp_site_name_wrapper {
    height: 100px !important;
    min-height: 100px !important;
  }

  .pkp_navigation_primary_wrapper {
    flex-direction: column !important;
    padding: 10px !important;
  }

  .pkp_navigation_primary > li > a {
    padding: 10px 12px !important;
  }

  .custom-footer-content {
    flex-direction: column;
  }

  .block_custom {
    margin-top: 20px;
  }
}
/* ==========================================
   HOMEPAGE - ABOUT THE JOURNAL (CUSTOM)
========================================== */
.journal-about-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 5px solid #002855;
  border-radius: 8px;
  padding: 25px 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.journal-about-box h3 {
  color: #002855;
  font-size: 18px;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.journal-about-box p {
  font-size: 14px;
  line-height: 1.7;
  color: #334155;
  margin-bottom: 15px;
  text-align: justify;
}

/* Feature Grid (Highlight Info Penting) */
.journal-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.feature-badge {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 13px;
  color: #0f172a;
  display: flex;
  align-items: center;
  font-weight: 600;
}

.feature-badge span {
  color: #005A9C;
  margin-right: 6px;
}
/* ==========================================
   HOMEPAGE - ABOUT THE JOURNAL (WITH IMAGES)
========================================== */
.journal-about-box {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 5px solid #002855;
  border-radius: 8px;
  padding: 25px 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

/* Gambar Watermark / Background Logo LPPM di pojok kanan bawah */
.journal-about-box::after {
  content: "";
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 180px;
  height: 180px;
  /* Masukkan URL Logo LPPM / Universitas Anda di sini */
  background: url('/public/site/lppm.png') no-repeat center / contain;
  opacity: 0.08; /* Dibuat transparan halus sebagai efek samar */
  pointer-events: none;
}

.journal-about-box h3 {
  color: #002855;
  font-size: 18px;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.journal-about-box p {
  font-size: 14px;
  line-height: 1.7;
  color: #334155;
  margin-bottom: 15px;
  text-align: justify;
  position: relative;
  z-index: 1; /* Agar teks berada di atas watermark */
}

/* Feature Badges Container */
.journal-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
  position: relative;
  z-index: 1;
}

.feature-badge {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 8px 14px 8px 34px; /* Space di kiri untuk ikon gambar */
  font-size: 13px;
  color: #0f172a;
  font-weight: 600;
  position: relative;
}

/* Menambahkan gambar/ikon kecil via CSS di tiap badge */
.feature-badge::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* Gambar/Ikon khusus masing-masing badge */
.badge-calendar::before {
  /* Ikon Kalender SVG/PNG */
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="%23002855" viewBox="0 0 24 24"><path d="M19 4h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V10h14v10zm0-12H5V6h14v2z"/></svg>');
}

.badge-review::before {
  /* Ikon Kaca Pembesar / Review */
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="%23002855" viewBox="0 0 24 24"><path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/></svg>');
}

.badge-language::before {
  /* Ikon Bahasa / Dunia */
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="%23002855" viewBox="0 0 24 24"><path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zm6.93 6h-2.95a15.65 15.65 0 0 0-1.38-3.56A8.03 8.03 0 0 1 18.92 8zM12 4.04c.83 1.2 1.48 2.53 1.91 3.96h-3.82c.43-1.43 1.08-2.76 1.91-3.96zM4.26 14C4.1 13.36 4 12.69 4 12s.1-1.36.26-2h3.38c-.08.66-.14 1.32-.14 2 0 .68.06 1.34.14 2H4.26z"/></svg>');
}

.badge-lppm::before {
  /* Ikon Gedung / Institusi */
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="%23002855" viewBox="0 0 24 24"><path d="M5 13.18v4L12 21l7-3.82v-4L12 17l-7-3.82zM12 3L1 9l11 6 9-4.91V17h2V9L12 3z"/></svg>');
}
/* ==========================================
   COVER GAMBAR DIBAWAH TULISAN ABOUT
========================================== */
.journal-cover-img {
  width: 100%;
  max-width: 240px; /* Lebar kover ideal */
  height: 310px;    /* Tinggi proporsional kover */
  margin: 25px auto 0 auto;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); /* Efek bayangan elegan */
  /* Ganti URL di bawah dengan path lokasi upload gambar cover Anda */
  background: url('/public/site/cover.png') center/contain no-repeat;
  transition: transform 0.3s ease;
}

.journal-cover-img:hover {
  transform: translateY(-5px); /* Efek terangkat sedikit saat dikursorkan */
}