/* HEADER STYLING */
.site-header {
  background: linear-gradient(90deg, #0d7a37, #1da059);
  color: white;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 999;
}

.header-container {
  width: 90%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 15px;
}

.journal-logo {
  height: 70px;
  border-radius: 10px;
  background: white;
  padding: 5px;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
}

.journal-title h1 {
  font-size: 1.4rem;
  margin: 0;
  color: #ffffff;
  font-weight: 600;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.journal-title .subtitle {
  font-size: 0.9rem;
  color: #e2e2e2;
  margin-top: 2px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: 0.3s;
  padding: 8px 12px;
  border-radius: 6px;
}

.main-nav a:hover {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    text-align: center;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 10px;
  }

  .journal-logo {
    height: 60px;
  }
}

/* === SEMBUNYIKAN HEADER BAWAAN OJS === */
.pkp_site_name,
.pkp_navigation_primary_wrapper,
.pkp_navigation_user_wrapper,
.pkp_structure_head {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Opsional: atur ulang margin agar halaman tidak kosong di atas */
.pkp_structure_content {
    margin-top: 0 !important;
}

/* Header baru (contoh dari jemnus-theme.css) akan muncul di atas */
#custom-header {
    background: linear-gradient(135deg, #004aad, #00bcd4);
    color: white;
    padding: 20px 0;
    text-align: center;
    border-bottom: 4px solid #fff;
}
#custom-header img {
    height: 90px;
    vertical-align: middle;
}
#custom-header h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 10px 0 0 0;
}

/* === SEMBUNYIKAN FOOTER BAWAAN OJS === */
.pkp_structure_footer_wrapper,
.pkp_brand_footer {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* === Custom Footer JEMNUS === */
#custom-footer {
  background: linear-gradient(135deg, #0c6635, #0f8b3f);
  color: #f0f0f0;
  padding: 40px 0 10px 0;
  font-family: 'Segoe UI', sans-serif;
  border-top: 4px solid #ffffff;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  max-width: 1200px;
  margin: auto;
  text-align: left;
}

.footer-container div {
  flex: 1;
  min-width: 280px;
  margin: 10px;
}

.footer-left h3 {
  font-size: 1.2rem;
  margin-top: 10px;
  color: #ffffff;
}

.footer-logo {
  height: 70px;
  margin-bottom: 8px;
}

.footer-center h4,
.footer-right h4 {
  color: #ffffff;
  margin-bottom: 10px;
  border-bottom: 2px solid #9be09b;
  display: inline-block;
  padding-bottom: 4px;
}

.footer-center p,
.footer-right ul {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #e0e0e0;
}

.footer-right ul {
  list-style: none;
  padding: 0;
}

.footer-right ul li a {
  color: #d8ffd8;
  text-decoration: none;
}

.footer-right ul li a:hover {
  text-decoration: underline;
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid #ffffff44;
  text-align: center;
  margin-top: 20px;
  padding-top: 10px;
  font-size: 0.85rem;
  color: #e0e0e0;
}
