.pkp_site_name .is_img img {
    display: block;
    max-height: none;
    max-width: 100%;
    width: auto;
    height: auto;
}

.pkp_structure_head {
    background: #0d5494;
}

body {
    font-family: tahoma, geneva, sans-serif;
}

.obj_article_details .abstract {
    text-align: justify;
}

.pkp_footer_content {
    float: left;
    width: 50%;
    padding-top: 10px;
    padding-bottom: 10px;
}

.pkp_brand_footer {
    float: right;
    width: 30%;
    padding-bottom: 10px;
    padding-top: 50px;
}

.pkp_structure_footer_wrapper {
    background: #e8ebef;
    border-bottom: @double solid;
    border-bottom-color: #0d5494;
}

.pkp_head_wrapper {
  background-color: #1b1464; /* ubah warna */
  padding: 10px 0;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.pkp_structure_head {
  background-color: #1b1464;
  border-bottom: 1px solid #ddd;
}

.pkp_site_name_wrapper {
  background: #1b1464;
}

.pkp_block {
  margin-bottom: -50px; /* adjust jarak antar blok */
}

#navigationPrimary>li>a:hover, #navigationPrimary>li>a:focus {
    border-color: #1b1464;
}

.submit-btn {
  display: inline-block;
  padding: 8px 16px;
  background-color: #1b1464;
  color: #fff !important;
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-size: 14px;
  border-radius: 5px;
  max-width: 300px;
  width: 100%;
  box-shadow: 0 0 4px rgba(27, 20, 100, 0.5);
  transition: all 0.3s ease;
  margin: 10px auto;
}
.submit-btn:hover {
  background-color: #2e1f9c;
  box-shadow: 0 0 12px rgba(46, 31, 156, 0.7);
  transform: scale(1.05);
}

.journal-menu {
  text-align: center;
  padding: 10px 0;
}

.journal-menu ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: inline-block;
}

.journal-menu ul li {
  margin: -5px 0; /* Dikecilin jaraknya */
}

.journal-menu ul li a {
  display: inline-block;
  min-width: 220px;
  padding: 8px 12px;
  background-color: #1b1464;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  box-shadow: 0 0 4px rgba(27, 20, 100, 0.5);
  transition: all 0.3s ease;
  font-size: 14px;
}

.journal-menu ul li a:hover {
  background-color: #2e1f9c;
  box-shadow: 0 0 12px rgba(46, 31, 156, 0.7);
  transform: scale(1.03);
}

.page a {
  color: #1b1464; /* warna biru navy yang elegan */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page a:hover {
  color: #004080; /* warna hover yang lebih gelap */
  text-decoration: none; /* atau tetep underline, tergantung preferensi */
  cursor: pointer;
}

/* Mobile responsiveness fixes */
@media (max-width: 767px) {
  .submit-btn {
    display: block;
    margin: 0 auto;
    max-width: 300px;
  }

  /* Gunakan wrapper untuk tingkatkan specificity */
  .pkp_structure_page #navigationPrimary > li > a {
    color: #ffffff !important;
    background-color: transparent;
    padding: 10px 10px;
    transition: 0.3s ease;
  }

  .pkp_structure_page #navigationPrimary > li > a:hover,
  .pkp_structure_page #navigationPrimary > li > a:focus {
    color: #ffffff !important;
    border-bottom: 2px solid #ffffff;
    background-color: #1b1464;
    text-shadow: 0 0 5px #ffffff;
  }

  /* Optional: biar menu dropdown tetap putih juga */
  .pkp_structure_page #navigationPrimary .dropdown-menu a {
    color: #ffffff !important;
  }

  .pkp_structure_page #navigationPrimary .dropdown-menu a:hover {
    background-color: #ffffff;
    color: #1b1464 !important;
    text-shadow: 0 0 5px #1b1464;
    font-weight: bold;
  }

  /* Reset negative margins that cause overflow */
  .journal-menu ul li {
    margin: -5px 0 !important; /* Changed from -25px to positive */
  }
  
  /* Contain the journal menu properly */
  .journal-menu {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
  }
  
  /* Constrain menu items to viewport */
  .journal-menu ul {
    width: 100%;
    display: block;
    padding: 0 10px;
    box-sizing: border-box;
  }
  
  /* Fix button widths */
  .journal-menu ul li a {
    width: calc(100% - 20px); /* Account for padding */
    min-width: auto; /* Remove fixed min-width */
    margin: 0px auto; /* Center with small margin */
  }
  
  /* Fix structure page margins */
  .pkp_structure_page {
    margin-left: 10px !important;
    margin-right: 10px !important;
    overflow-x: hidden; /* Prevent horizontal scrolling */
  }
  
  /* Ensure content doesn't overflow */
  .pkp_structure_content {
    max-width: 100%;
    overflow: hidden;
  }
}

/* Dropdown background & text color */
#navigationPrimary .dropdown-menu {
  background-color: #1b1464;
  border: none;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.2);
}

/* Dropdown item text */
#navigationPrimary .dropdown-menu a {
  color: #ffffff !important;
}

/* Hover effect: putih bold/lebih terang */
#navigationPrimary .dropdown-menu a:hover {
  background-color: #ffffff;
  color: #1b1464 !important;
  text-shadow: 0 0 5px #1b1464;
  font-weight: bold;
}

/* Teks utama menu */
#navigationPrimary > li > a {
  color: #1b1464 !important;
  background-color: transparent;
  padding: 10px 10px;
  transition: 0.3s ease;
}

/* Hover & focus efek (border bawah + glow) */
#navigationPrimary > li > a:hover,
#navigationPrimary > li > a:focus {
  color: #ffffff !important;
  border-bottom: 2px solid #ffffff;
  background-color: #1b1464;
  text-shadow: 0 0 5px #ffffff;
}

/* Scoped CSS khusus untuk container APC */
.apc-info {
  font-family: Tahoma, Arial, sans-serif;
  color: #1b1464;
  background-color: #ffffff;
  max-width: 700px;
  margin: 20px 0;
  line-height: 1.6;
  font-size: 14px;
}

.apc-info table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
  font-size: 14px;
}

.apc-info th,
.apc-info td {
  border: 1px solid #ccc;
  padding: 6px 10px;
  text-align: left;
}

.apc-info thead {
  background-color: #e0e7f1;
  font-weight: bold;
}

.apc-info ul {
  padding-left: 18px;
}

.apc-info li {
  margin-bottom: 5px;
}

.ethics-content {
  font-family: Tahoma, Arial, sans-serif;
  color: #1b1464;
  background-color: #ffffff;
  max-width: 700px;
  margin: 20px auto;
  line-height: 1.6;
  font-size: 14px;
}

/* Scoped CSS khusus untuk etika publikasi */
.ethics-content h2 {
  font-size: 18px;
  margin-bottom: 12px;
  border-bottom: 2px solid #1b1464;
  padding-bottom: 4px;
}

.ethics-content ul {
  padding-left: 18px;
}

.ethics-content li {
  margin-bottom: 10px;
}

.ethics-content strong {
  color: #000;
}

.pkp_structure_main h1 {
  color: #1b1464;
}

/* Scoped CSS khusus untuk editorial team */
.editorial-content {
  font-family: Tahoma, Arial, sans-serif;
  color: #1b1464;
  background-color: #ffffff;
  max-width: 700px;
  margin: 20px 0;
  line-height: 1.6;
  font-size: 14px;
}

.editorial-content h2 {
  font-size: 18px;
  margin-bottom: 12px;
  border-bottom: 2px solid #1b1464;
  padding-bottom: 4px;
}

.editorial-content h3 {
  font-size: 16px;
  margin-top: 20px;
  margin-bottom: 10px;
  color: #1b1464;
}

.editorial-content ul {
  list-style-type: none;
  padding-left: 0;
}

.editorial-content li {
  margin-bottom: 8px;
}

.editorial-content address {
  margin-top: 20px;
  font-style: normal;
}

/* Scoped CSS khusus untuk Reviewer */
.reviewer-content {
  margin-top: 30px;
  font-family: Tahoma, Geneva, sans-serif;
  color: #1b1464;
}

.reviewer-content .section-title {
  font-size: 20px;
  font-weight: bold;
  border-left: 5px solid #1b1464;
  padding-left: 12px;
  margin-bottom: 16px;
}

.reviewer-content p {
  margin: 6px 0;
  line-height: 1.5;
  text-align: justify;
}

.reviewer-link {
  color: #1b1464;
  text-decoration: none;
  border-bottom: 1px dotted #1b1464;
  transition: all 0.2s ease-in-out;
}

.reviewer-link:hover {
  text-decoration: underline;
  color: #0e0a38;
}

/* Scoped CSS khusus untuk Indexing */
.indexing-container {
  max-width: 700px;
  margin: 30px 0;
  font-family: Tahoma, Geneva, sans-serif;
  color: #1b1464;
  font-size: 14px;
  line-height: 1.6;
}
.indexing-container p {
  margin-top: 20px;
  text-align: justify;
}
.indexing-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 25px;
}
.indexing-logos a,
.indexing-logos div {
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 8px;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.indexing-logos img {
  height: 38px;
}

/* Scoped CSS khusus untuk Focus and Scope */
.focus-container {
  max-width: 800px;
  margin: 30px auto;
  font-family: Tahoma, Geneva, sans-serif;
  font-size: 14px;
  color: #1b1464;
  line-height: 1.6;
}
.focus-container h2 {
  text-align: center;
  font-weight: bold;
  margin-bottom: 20px;
}
.focus-container p {
  text-align: justify;
  margin-bottom: 15px;
}
.focus-container ol {
  padding-left: 20px;
}
.focus-container li {
  font-weight: bold;
  margin-top: 10px;
}
.focus-container ul {
  margin-top: 5px;
  padding-left: 20px;
  list-style-type: disc;
}

/* Scoped CSS khusus untuk guidelines */
.guidelines-container {
  max-width: 800px;
  margin: 30px auto;
  font-family: Tahoma, Geneva, sans-serif;
  color: #1b1464;
  font-size: 14px;
  line-height: 1.6;
}
.guidelines-container h2 {
  text-align: center;
  font-weight: bold;
  margin-bottom: 20px;
  border-bottom: 2px solid #1b1464;
  padding-bottom: 4px;
}
.guidelines-container h3 {
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 16px;
}
.guidelines-container ul {
  padding-left: 20px;
  list-style-type: disc;
}
.guidelines-container ol {
  padding-left: 20px;
}

/* Scoped CSS khusus untuk guidelines */
.contact-container {
  max-width: 700px;
  margin: 30px auto;
  font-family: Tahoma, Geneva, sans-serif;
  color: #1b1464;
  font-size: 14px;
  line-height: 1.6;
}

.contact-container h2 {
  text-align: center;
  font-weight: bold;
  margin-bottom: 20px;
  border-bottom: 2px solid #1b1464;
  padding-bottom: 4px;
}

.contact-container p {
  text-align: center;
  font-size: 16px;
}

.contact-container .contact-box {
  margin-top: 20px;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #f9f9f9;
  text-align: center;
}

.contact-container .contact-name {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 5px;
}

.contact-container .contact-phone {
  font-size: 15px;
  color: #1b1464;
}

.announcement-box {
  margin-bottom: 20px;
  font-family: sans-serif;
}

.announcement-btn {
  display: block;
  background-color: #f59e0b;
  color: #fff;
  padding: 12px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}

.announcement-content {
  display: none;
  background-color: #fffbea;
  padding: 15px;
  border: 1px solid #fcd34d;
  border-radius: 6px;
  margin-top: 5px;
}

#announcement-toggle:checked + .announcement-btn + .announcement-content {
  display: block;
}

.tutorial-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 25px;
  font-family: 'Segoe UI', sans-serif;
  color: #222;
  background-color: #fff;
  border-radius: 12px;
  line-height: 1.6;
}

.tutorial-container h2 {
  font-size: 24px;
  color: #1a1a6d;
  margin-bottom: 16px;
  font-weight: bold;
}

.tutorial-container h3 {
  color: #1a1a6d;
  font-size: 18px;
  margin-top: 24px;
  margin-bottom: 10px;
  border-left: 5px solid #1a1a6d;
  padding-left: 10px;
}

.tutorial-container img {
  width: 100%;
  max-width: 100%;
  margin: 10px 0 20px;
  border-radius: 10px;
  border: 2px solid #e0e0e0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.tutorial-container ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.tutorial-container a {
  color: #0040ff;
  text-decoration: none;
  font-weight: 600;
}

.tutorial-container a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .tutorial-container {
    padding: 15px 18px;
  }

  .tutorial-container h2 {
    font-size: 20px;
  }

  .tutorial-container h3 {
    font-size: 16px;
  }
}

.img-scroll-container {
  overflow-x: auto;
  max-width: 100%;
  border: 2px solid #ccc;
  border-radius: 10px;
  margin: 15px 0;
}

.img-scroll-container img {
  display: block;
  max-height: 100%;
  height: auto;
  width: 1300px; /* Ukuran asli desktop */
}

@media (max-width: 768px) {
  .img-scroll-container img {
    width: 1000px;
  }
}

@media (max-width: 480px) {
  .img-scroll-container img {
    width: 800px;
  }
}

.guide-btn {
  display: inline-block;
  min-width: 250px;
  text-align: center;
  color: white;
  padding: 10px 16px;
  margin: 8px 6px 8px 0;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
  font-size: 15px;
}

/* Hijau */
.guide-btn.green {
  background-color: #10b981;
}
.guide-btn.green:hover {
  background-color: #0f766e;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.7);
  transform: scale(1.03);
}

/* Biru */
.guide-btn.blue {
  background-color: #3b82f6;
}
.guide-btn.blue:hover {
  background-color: #2563eb;
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.7);
  transform: scale(1.03);
}

/* Kuning */
.guide-btn.yellow {
  background-color: #f59e0b;
}
.guide-btn.yellow:hover {
  background-color: #d97706;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.7);
  transform: scale(1.03);
}
