/* ==============================
   SIDEBAR MENU Ã¢â‚¬â€œ CUSTOM BLOCK OJS
   ============================== */

.pkp_block.block_custom {
  border: none;
  border-radius: 10px;
  overflow: hidden;
}

/* Container sidebar */
.pkp_block.block_custom .content .sidebar__container {
  background-color: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 0 6px rgba(0,0,0,0.05);
}

/* Judul MENU */
.pkp_block.block_custom .content .sidebar__container .menu__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  padding-left: 10px;
  border-left: 3px solid #04940D;
  color: #04940D;
}

/* Group menu */
.pkp_block.block_custom .content .sidebar__container .menu__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Item menu */
.pkp_block.block_custom .content .sidebar__container .menu__group .menu__link {
  display: block;
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  background-color: #04940D; /* Biru tua */
  color: #ffffff !important;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  transition: background-color 300ms ease, transform 200ms ease;
}

/* Hover effect */
.pkp_block.block_custom .content .sidebar__container .menu__group .menu__link:hover {
  background-color: #04940D; /* HIJAU */
  transform: translateY(-1px);
}

/* Active menu (manual) */
.pkp_block.block_custom .content .sidebar__container .menu__group .menu__link.active {
  background-color: #04940D;
  font-weight: 600;
}


/* ============================================================
   KOTAK ARTIKEL RAPI DAN ELEGAN
============================================================ */
.obj_article_summary {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

/* ============================================================
   JUDUL ARTIKEL
============================================================ */
.obj_article_summary .title a {
    font-size: 15px;
    font-weight: 700;
    color: #04940D;
    text-decoration: none;
}

/* ============================================================
   META (AUTHOR + PAGE)
============================================================ */
.obj_article_summary .meta {
    margin-top: 8px;
    font-size: 10px;
    color: #444444;
}

.obj_article_summary .authors {
    margin-bottom: 5px;
}

/* ============================================================
   TOMBOL PDF HIJAU TUA
============================================================ */
.obj_galley_link.pdf {
    background: #04940D !important;
    color: #ffffff !important;
    padding: 4px 8px;
    border-radius: 5px;
    font-weight: 300;
    display: inline-block;
    text-decoration: none !important;
    transition: 0.3s;
}

.obj_galley_link.pdf:hover {
    background: #04940D !important;
}

/* Tampilkan ikon panah default jika ada */
.current_issue > .read_more .fa,
.current_issue > .read_more span {
    vertical-align: baseline !important;
}

/* ================================
   PRIMARY NAVIGATION MENU GLOSSY MIDNIGHT BLUE
   ================================ */
.pkp_navigation_primary > li > a {
  background: linear-gradient(to bottom, #04940D, #04940D) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  padding: 6px 14px !important;
  border-radius: 4px !important;
  margin: 2px !important;
  text-align: center !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25),
              0 3px 6px rgba(0,0,0,0.35) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease !important;
}
.pkp_navigation_primary > li > a:hover {
  background: linear-gradient(to bottom, #04940D, #04940D) !important;
  color: #ffffff !important;
  transform: translateY(-3px) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.15),
              0 4px 9px rgba(0,0,0,0.45) !important;
}

/* ================================
   FIX LOGO OJS Ã¢â‚¬â€ DESKTOP & MOBILE
   ================================ */

/* =========================================
   FIX LOGO OJS Ã¢â‚¬â€ STABIL DESKTOP & MOBILE
   ========================================= */

/* ===== DESKTOP ===== */
.pkp_site_name {
  max-width: 100%;
  padding: 8px 0;
}

.pkp_site_name a.is_img {
  display: block;
  max-width: 100%;
}

.pkp_site_name img {
  max-width: 420px;     /* aman desktop */
  width: auto;
  height: auto;
  display: block;
}


/* ================================
   CSS LOGO OJS (DESKTOP AMAN)
   ================================ */

/* Container logo */
.pkp_site_name {
  max-width: 100%;
  padding: 10px 0;
}

/* Link pembungkus logo */
.pkp_site_name a.is_img {
  display: block;
  max-width: 100%;
}

/* Logo image Ã¢â‚¬â€ DESKTOP (JANGAN DIUBAH) */
.pkp_site_name img {
  width: 100% !important;
  max-width: 420px;      /* batas aman desktop */
  height: auto !important;
  display: block;
}

/* =========================================
   LOGO OJS Ã¢â‚¬â€ DESKTOP & MOBILE (FINAL)
   ========================================= */

/* ===== DESKTOP (AMAN Ã¢â‚¬â€ JANGAN DIUBAH) ===== */

/* Container logo */
.pkp_site_name {
  max-width: 100%;
  padding: 10px 0;
}

/* Link pembungkus logo */
.pkp_site_name a.is_img {
  display: block;
  max-width: 100%;
}

/* Logo image Ã¢â‚¬â€ DESKTOP */
.pkp_site_name img {
  width: 100% !important;
  max-width: 420px;      /* batas aman desktop */
  height: auto !important;
  display: block;
}


/* ===== MOBILE (FULL TAPI TIDAK KETUTUP) ===== */
@media (max-width: 768px) {

  /* Center container */
  .pkp_site_name {
    text-align: center;
    padding: 6px 0;
  }

  /* Logo image Ã¢â‚¬â€ MOBILE */
  .pkp_site_name img {
    width: 100% !important;   /* tetap FULL */
    max-width: 300px;         /* batas lebar mobile */
    max-height: 56px;         /* KUNCI: cegah logo turun */
    height: auto !important;
    margin: 0 auto;
    display: block;
  }
}