/* =========================================
   HEADER
========================================= */
.pkp_site_name .is_img img {
  display: inline-block;
  width: 1160px !important;
  max-width: 100%;
  width: auto;
  height: auto;
}

/* untuk header */
.pkp_site_name {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.pkp_site_name > a {
  padding-top: 0;
  padding-bottom: 0;
}

.pkp_site_name .is_img {
  margin-top: 0px;
}

.pkp_site_name .is_img img {
  max-height: 100% !important;
  padding-top: 0px;
  display: block;
}

.pkp_site_name_wrapper {
  padding-left: 0;
  padding-right: 0;
}

/* =========================================
   SIDEBAR MENU
========================================= */

/* Container sidebar */
.pkp_structure_sidebar {
  padding-top: 10px;
}
.pkp_block {
  padding: 1.143rem !important;
}

/* =========================================
   SIDEBAR TITLE
========================================= */

.sidebar-title {
  position: relative;
  display: inline-block;
  width: 100%;
  padding: 14px 18px;
  margin-bottom: 18px;

  background: linear-gradient(135deg, #194d31, #256347);
  color: #ffffff;

  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.5px;

  border-radius: 14px;
  overflow: hidden;

  box-shadow: 0 6px 18px rgba(25, 77, 49, 0.28);
}

/* Efek glow */
.sidebar-title::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 90px;
  height: 90px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

/* Garis bawah elegan */
.sidebar-title::after {
  content: "";
  position: absolute;
  left: 18px;
  bottom: 10px;
  width: 45px;
  height: 3px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
}

/* Menu item */
.sidemenu {
  margin-bottom: 12px;
}

/* Link menu */
.sidemenu a {
  display: block;
  padding: 14px 18px;
  background: #ffffff;
  border-radius: 14px;
  text-decoration: none;
  color: #1f2937;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
}

/* Efek garis kiri */
.sidemenu a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: #194d31;
  transition: 0.3s;
}

/* Hover menu */
.sidemenu a:hover {
  background: #194d31;
  color: #ffffff;
  transform: translateX(5px);
  box-shadow: 0 8px 18px rgba(25, 77, 49, 0.28);
}

/* Hover garis */
.sidemenu a:hover::before {
  width: 100%;
  opacity: 0.08;
}

/* =========================================
   INDEXING CARD
========================================= */

.sidebar-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 18px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
}

/* Layout logo index - 1 baris */
.sidebar-index {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

/* Link */
.index-link {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-radius: 12px;
  background: #f9fafb;
  transition: all 0.3s ease;
  border: 1px solid #f1f5f9;
}

/* Hover logo */
.index-link:hover {
  transform: translateY(-4px);
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(25, 77, 49, 0.12);
}

/* Gambar */
.image-sidebar {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  transition: 0.3s;
}

/* Hover gambar */
.index-link:hover .image-sidebar {
  transform: scale(1.05);
}

/* =========================================
   RESPONSIVE
========================================= */

@media only screen and (max-width: 991px) {
  .sidebar-card {
    padding: 15px;
  }

  .sidemenu a {
    padding: 12px 15px;
    font-size: 13px;
  }

  .sidebar-title {
    font-size: 16px;
    padding: 13px 16px;
  }
}

@media only screen and (max-width: 767px) {
  .pkp_page_peerreviewer .editorial-list > ul {
    grid-template-columns: 1fr;
  }

  .sidebar-index {
    gap: 8px;
  }

  .index-link {
    padding: 8px;
  }

  .image-sidebar {
    max-width: 90px;
  }

  .sidemenu a {
    font-size: 13px;
    padding: 12px 14px;
  }

  .sidebar-title {
    font-size: 15px;
    padding: 12px 14px;
  }
}
