/* =====================================================
   HEADER FULL LAYAR & HILANGKAN SPACE (FINAL)
   ===================================================== */

.pkp_structure_head,
.pkp_structure_head .pkp_head_wrapper,
.pkp_structure_head .pkp_site_name_wrapper,
.pkp_structure_head .pkp_site_name {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  box-sizing: border-box !important;
}

/* Memastikan link pembungkus gambar menjadi block agar tidak ada celah di bawah */
.pkp_structure_head .pkp_site_name a.is_img {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
}

/* Memaksa gambar melebar penuh menyentuh tepi layar */
.pkp_structure_head .pkp_site_name a.is_img img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

/* =====================================================
   BATIK BACKGROUND
   ===================================================== */

body {
  background-image: url("/public/site/images/batik-bg.png");
  background-repeat: repeat;
}

.pkp_structure_page {
  background: #ffffff;
}

/* =====================================================
   RUNNING TEXT
   ===================================================== */

.top-marquee {
  position: relative;
  width: 100%;
  height: 36px;
  background: #064e3b;
  color: #ffffff;
  overflow: hidden;
  white-space: nowrap;
}

.top-marquee-text {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 18s linear infinite;
  font-size: 14px;
  line-height: 36px;
  font-weight: 500;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

/* Paksa tampilan seperti desktop di HP */

@media (max-width: 768px) {
  body {
    min-width: 1200px !important;
  }

  .pkp_structure_page {
    min-width: 1200px !important;
  }

  .pkp_structure_content {
    min-width: 1200px !important;
  }
}
/* Editorial Team modal - CSS-only for OJS */
.reviewer-profile-link {
  color: #064e3b;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.reviewer-profile-link:hover {
  text-decoration: underline;
}

.reviewer-modal-toggle {
  display: none !important;
}

.reviewer-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999999;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.reviewer-modal-toggle:checked + .reviewer-modal {
  display: flex;
}

.reviewer-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  cursor: pointer;
}

.reviewer-modal-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 480px;
  max-height: 85vh;
  max-height: 85dvh;
  overflow-y: auto;
  overflow-x: hidden;
  background: #ffffff;
  border-radius: 8px;
  padding: 28px;
  box-sizing: border-box;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  overflow-wrap: anywhere;
}

.reviewer-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  font-size: 27px;
  line-height: 1;
  color: #555;
  cursor: pointer;
}

.reviewer-modal-name {
  margin: 0 45px 5px 0;
  font-size: 21px;
  line-height: 1.4;
  color: #222;
}

.reviewer-modal-role {
  margin: 0 0 20px 0;
  color: #064e3b;
  font-size: 14px;
  font-weight: 700;
}

.reviewer-modal-information {
  color: #333;
  font-size: 15px;
  line-height: 1.6;
}

.reviewer-modal-information p {
  margin: 0 0 12px 0;
}

.reviewer-modal-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  border-top: 1px solid #e5e5e5;
  padding-top: 18px;
  margin-top: 20px;
}

.reviewer-profile-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  box-sizing: border-box;
  background: #064e3b;
  color: #ffffff !important;
  text-decoration: none !important;
  padding: 8px 16px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
}

.reviewer-close-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  box-sizing: border-box;
  background: #ffffff;
  color: #064e3b;
  border: 1px solid #064e3b;
  padding: 7px 16px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.ojs-section {
  margin-bottom: 28px;
}

.ojs-title {
  color: #064e3b;
}

.ojs-ordered-list li {
  margin-bottom: 8px;
  line-height: 1.55;
}

.ojs-meta {
  color: #555;
}

html:has(.reviewer-modal-toggle:checked),
body:has(.reviewer-modal-toggle:checked) {
  overflow: hidden;
}

@media (max-width: 600px) {
  .reviewer-modal {
    padding: 12px;
  }

  .reviewer-modal-content {
    width: 100%;
    max-width: none;
    max-height: 88vh;
    max-height: 88dvh;
    padding: 22px 18px;
    border-radius: 7px;
  }

  .reviewer-modal-name {
    font-size: 19px;
    margin-right: 42px;
  }

  .reviewer-modal-role {
    font-size: 13px;
  }

  .reviewer-modal-information {
    font-size: 14px;
  }

  .reviewer-modal-buttons {
    flex-direction: column;
  }

  .reviewer-profile-button,
  .reviewer-close-button {
    width: 100%;
    min-height: 44px;
  }

  .ojs-ordered-list {
    padding-left: 22px;
  }

  .ojs-ordered-list li {
    margin-bottom: 10px;
  }

  .ojs-meta {
    display: inline;
  }
}

/* Additional Menus - hilangkan padding bawaan block OJS */
.pkp_block.block_custom:has(.njcsi-additional-menu) {
  padding: 0 !important;
}

.pkp_block.block_custom:has(.njcsi-additional-menu) .content {
  padding: 0 !important;
  margin: 0 !important;
}

.pkp_block:has(.njcsi-additional-menu) {
  padding: 0 !important;
}

.pkp_block:has(.njcsi-additional-menu) .content {
  padding: 0 !important;
  margin: 0 !important;
}

.njcsi-additional-menu {
  margin: 0 !important;
  width: 100% !important;
  max-width: none !important;
  border-radius: 0 !important;
}
