.pkp_structure_head,
.pkp_site_nav_menu {
  background-color: #012161 !important;
}

/* 1. BUNUH JARAK ATAS OJS PERMANEN (Berlaku Global) */
.pkp_structure_content,
.pkp_structure_main,
.page_index_journal {
  margin-top: 0 !important;
}

.sidebar-img-container {
  border: 1px solid #1a5c28;
  border-radius: 12px;
  padding: 25px 15px;
  text-align: center;
  max-width: 250px;
  margin: 0 auto;
}

.sidebar-img-container a {
  display: block;
  margin-bottom: 20px;
}

.sidebar-img-container a {
  display: block;
  margin-bottom: 20px;
}

.sidebar-img-container a:last-child {
  margin-bottom: 0;
}

.sidebar-img-container img {
  max-width: 100%;
  width: 180px;
  height: auto;
  transition: transform 0.2s ease;
}

.sidebar-img-container img:hover {
  transform: scale(1.05);
}

.custom-nav-menu {
  display: flex;
  flex-direction: column;
  background-color: #263645;
  font-family: "Segoe UI", Arial, sans-serif;
  width: 100%;
  max-width: 250px;
  margin: 30px auto 0 auto !important;
}

.custom-nav-menu a {
  color: #ffffff !important;
  text-decoration: none !important;
  padding: 10px 15px;
  text-align: left;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: block;
  position: relative;
  z-index: 1;
  overflow: hidden;
  transition: padding-left 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.custom-nav-menu a:last-child {
  border-bottom: none;
}

.custom-nav-menu a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 0%;
  background-color: #21884f;
  z-index: -1;
  transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.custom-nav-menu a:hover::before {
  width: 100%;
}
.custom-nav-menu a:hover {
  padding-left: 25px;
  color: #ffffff !important;
}

.footer .link {
  display: flex !important;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  align-items: center;
}

.footer .link a img {
  max-width: 100% !important;
  width: 8rem !important;
  height: auto !important;
  transition: transform 0.2s;
}

.footer .link a:hover img {
  transform: scale(1.1);
}

@media screen and (max-width: 768px) {
  .footer .link {
    gap: 1.5rem;
  }

  .footer .link a img {
    width: 5rem !important;
  }
}
