/* ==== Al-Mizan Custom Theme (Header original + Blue–Yellow) ==== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');

:root {
  --main: #2b82bf;
  --accent1: #2b82bf;
  --accent2: #f6dd0c;
  --text: #0f1721;
  --muted: #6b7280;
  --bg: #f5f7f9;
  --surface: #ffffff;
}

/* ---------- BASE ---------- */
body {
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 15px;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: var(--main);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: var(--accent2); }

/* ---------- HEADER (ukuran asli dipertahankan) ---------- */
.pkp_structure_head {
  background-color: var(--main) !important;
  border-bottom: 4px solid var(--accent2);
}

/* logo tetap proporsional seperti semula */
.pkp_site_name .is_img img {
  display: block;
  max-height: none !important;
  max-width: 100% !important;
  width: auto;
  height: auto;
}

/* Navigation bar warna & efek baru, ukuran tetap */
.pkp_navigation_primary_row {
  background-color: var(--main) !important;
  text-align: left;
  padding-left: 15px; /* sesuai versi awal */
}

#navigationPrimary a {
  font-size: 13.5px;
  color: #ffffff;
  font-weight: 500;
  text-transform: capitalize;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease;
}
#navigationPrimary a:hover {
  background-color: var(--accent2);
  color: #000;
  font-weight: 500;
}
#navigationPrimary .current a {
  background-color: var(--accent2);
  color: #000;
}

/* Search prompt tetap kecil seperti default */
.pkp_head_wrapper .pkp_search .search_controls .search_prompt {
  font-size: 13.5px;
  color: #ffffff;
}

/* ---------- CONTENT ---------- */
.pkp_structure_page,
.pkp_structure_content {
  background: #ffffff;
  border-bottom: 1px solid #dcdcdc;
}
.pkp_structure_main h1,
.pkp_structure_main h2 {
  font-weight: 700;
  color: var(--main);
  text-transform: capitalize;
  margin-bottom: 6px;
}
.pkp_structure_main h2::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent2);
  margin-top: 4px;
  border-radius: 2px;
}

/* ---------- ARTICLE SUMMARY ---------- */
.obj_article_summary {
  background: var(--surface);
  border: 1px solid #e5e7eb;
  border-left: 5px solid var(--main);
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 14px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.obj_article_summary:hover {
  border-left-color: var(--accent2);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}
.obj_article_summary > .title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}
.obj_article_summary .authors {
  font-size: 13px;
  color: var(--muted);
}
.obj_galley_link {
  font-weight: 600;
  text-transform: capitalize;
  background: var(--main);
  color: #fff !important;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.2s ease;
}
.obj_galley_link:hover {
  background: var(--accent2);
  color: #000 !important;
}

/* ---------- SIDEBAR ---------- */
.pkp_structure_sidebar { background: transparent; }
.pkp_block {
  background: var(--surface);
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.pkp_block .title {
  font-weight: 700;
  color: var(--main);
  border-bottom: 2px solid var(--accent2);
  display: inline-block;
  padding-bottom: 4px;
}

/* ---------- FOOTER ---------- */
.pkp_structure_footer_wrapper {
  background-color: var(--main);
  color: #fff;
  text-align: center;
  padding: 30px 0;
  font-size: 14px;
  border-top: 4px solid var(--accent2);
}
.pkp_footer_content a {
  color: #fff;
  font-weight: 600;
}
.pkp_footer_content a:hover {
  color: var(--accent2);
}

/* ---------- Responsive tweaks ---------- */
@media (max-width: 640px) {
  #navigationPrimary a {
    font-size: 13px;
    padding: 6px 10px;
  }
  .obj_article_summary { padding: 12px; }
}
/* ===== HIDE OJS/PKP FOOTER LOGO ===== */
.pkp_brand_footer,
.pkp_brand_footer img,
.pkp_brand_footer a {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
}
/* ==== SIDEBAR INFORMATION BUTTON STYLE ==== */
.info-buttons {
  font-family: "Montserrat", sans-serif;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  padding: 18px 16px 22px;
  margin-bottom: 20px;
  text-align: center;
}

.info-buttons h3 {
  color: #2b82bf;
  font-size: 17px;
  font-weight: bold;
  margin-bottom: 14px;
  border-bottom: 3px solid #f6dd0c;
  display: inline-block;
  padding-bottom: 4px;
}

.info-buttons a {
  display: block;
  text-decoration: none;
  color: #fff;
  background: #2b82bf;
  font-weight: 600;
  border-radius: 8px;
  padding: 10px 0;
  margin: 10px 0;
  font-size: 14px;
  transition: all 0.2s ease-in-out;
}

.info-buttons a:hover {
  background: #f6dd0c;
  color: #000;
  transform: translateY(-2px);
}
