/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&family=Roboto+Slab:wght@700&display=swap');

/* Global Reset */
body {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  background: #f9f9f9;
  margin: 0;
  padding: 0;
}

/* ==== Hilangkan jarak antara header (logo) dan navigasi ==== */
.pkp_head_wrapper {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.pkp_site_nav_wrapper {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* ==== Ukuran Logo Header OJS ==== */
.pkp_site_name .is_img {
    display: inline-block;
    padding: 0; /* biar nempel */
}

.pkp_site_name .is_img img {
    display: block;
    width: auto;
    height: auto;
    max-height: 100%;
    max-width: 100%;
}

/* ==== Navigasi utama ==== */
.pkp_site_nav_wrapper {
  background-color: #004080; /* warna blok navigasi */
}

.pkp_navigation_primary_row {
  background: #e6e209; /* biar sama blok warna */
  padding-left: 20px;
  margin: 0; /* hilangin jarak */
}

/* Link navigasi */
.pkp_site_nav_menu_primary a {
  color: #ffffff !important;
  font-weight: 600;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 4px;
}
.pkp_site_nav_menu_primary a:hover {
  background-color: #ff9800;
  color: white !important;
}


/* === SIDEBAR === */
.pkp_sidebar {
  background: #fff;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: 13px;
}
.pkp_sidebar .title {
  font-family: 'Roboto Slab', serif;
  font-size: 1rem;
  margin-bottom: 10px;
  color: #26315A;
  border-bottom: 2px solid #1d698a;
  padding-bottom: 4px;
}

/* === FOOTER === */
.pkp_footer {
  background: #26315A;
  color: white;
  padding: 20px;
  text-align: center;
  font-size: 13px;
}
.pkp_footer a {
  color: #fff;
  text-decoration: underline;
}
.pkp_footer a:hover {
  color: #ddd;
}

/* === ISSUE TOC + ARTICLE LIST === */
.issue_toc, .articles {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #ddd;
  margin-bottom: 25px;
}

/* Artikel dalam list issue */
.issue_item, .article_summary {
  border-top: 1px solid #e0e0e0;
  padding: 10px 12px;
  font-size: 13px;
}
.issue_item:first-child, .article_summary:first-child {
  border-top: none;
}
.issue_item a.title, .article_summary h3 {
  font-family: 'Roboto Slab', serif;
  font-size: 1rem;
  color: #333;
}
.issue_item a.title:hover {
  color: #1d698a;
}

/* Kotak artikel dengan background pattern */
.obj_article_summary {
  background: url("https://ejournal.uinbukittinggi.ac.id/img/gift/patern.png") repeat;
  border: 1px solid #26315A;
  padding: 12px;
  border-radius: 12px;
  box-shadow: 2px 2px 4px rgba(0,0,0,0.2);
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 15px;
}

/* Tombol */
.pkp_button, .obj_galley_link {
  background: #1d698a;
  border: none;
  color: #fff !important;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.3s;
  text-decoration: none;
}
.pkp_button:hover, .obj_galley_link:hover {
  background: #26315A;
}

/* Breadcrumb */
.pkp_navigation_breadcrumbs {
  background: #f1f1f1;
  padding: 8px 12px;
  border-radius: 8px;
  margin-bottom: 15px;
  font-size: 13px;
}
.pkp_navigation_breadcrumbs a {
  color: #1d698a;
  text-decoration: none;
}
.pkp_navigation_breadcrumbs a:hover {
  text-decoration: underline;
}

/*Body and Abstrack*/
.main_entry .item.abstract {
    text-align: justify;
}

/* Responsive */
@media (max-width: 768px) {
  .navbar_wrapper {
    flex-direction: column;
    gap: 10px;
  }
  .pkp_navigation_primary {
    flex-wrap: wrap;
    justify-content: center;
  }
  .pkp_navigation_search_wrapper {
    margin-top: 10px;
  }
}
