/* Sidebar EMIK untuk Custom Block Manager OJS 3.4. */
.pkp_block .humaniora-sidebar {
  box-sizing: border-box;
  width: 100%;
  color: #000;
  font: 16px/1.5 Georgia, "Times New Roman", serif;
  text-align: left;
}

.pkp_block .humaniora-sidebar *,
.pkp_block .humaniora-sidebar *::before {
  box-sizing: border-box;
}

.pkp_block .humaniora-block {
  margin: 0 0 24px;
  padding: 0;
}

.pkp_block .humaniora-block:last-child {
  margin-bottom: 0;
}

.pkp_block .humaniora-block-title {
  display: block;
  margin: 0 0 12px;
  padding: 8px 16px;
  border: 0;
  border-radius: 3px;
  background: #009ace;
  color: #fff;
  font: 400 16px/1.7 Georgia, "Times New Roman", serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pkp_block .humaniora-sidebar a {
  color: #009ace;
  text-decoration: none;
}

.pkp_block .humaniora-sidebar a:hover {
  font-weight: bold;
  text-decoration: underline;
}

.pkp_block .humaniora-sidebar a:focus-visible {
  outline: 2px solid #009ace;
  outline-offset: 2px;
}

.pkp_block .humaniora-main-menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pkp_block .content .humaniora-main-menu li,
.pkp_block .content .humaniora-links li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pkp_block .humaniora-main-menu a,
.pkp_block .humaniora-main-menu a:visited {
  display: block;
  padding: 8px 12px;
  border: 0;
  background: #009ace;
  color: #fff;
  text-align: center;
}

.pkp_block .humaniora-main-menu a:hover {
  background: #fff;
  color: #009ace;
}

.pkp_block .content .humaniora-links {
  margin: 4px 0 12px;
  padding: 0 0 0 19.2px;
  list-style: none;
}

.pkp_block .humaniora-links li {
  position: relative;
}

.pkp_block .content .humaniora-links li {
  line-height: 1.5;
}

.pkp_block .humaniora-links li::before {
  position: absolute;
  top: 0.4em;
  left: -1em;
  width: 0;
  height: 0;
  border-color: transparent #009ace;
  border-style: solid;
  border-width: 0.35em 0 0.35em 0.45em;
  content: "";
}

/* Navigasi utama OJS: tampilan terinspirasi Humaniora UGM. */
@media (min-width: 992px) {
  .pkp_site_nav_menu .pkp_navigation_primary_row {
    background: #009ace;
  }

  .pkp_site_nav_menu .pkp_navigation_primary > li > a,
  .pkp_site_nav_menu .pkp_navigation_primary > li:first-child > a,
  .pkp_site_nav_menu .pkp_navigation_primary > li:last-child > a {
    margin: 0;
    padding: 0 13px;
    border: 0;
    background: transparent;
    color: #fff;
    font: 400 13px/40px Georgia, "Times New Roman", serif;
    text-decoration: none;
    text-transform: uppercase;
  }

  .pkp_site_nav_menu .pkp_navigation_primary > li > a > .fa {
    display: none;
  }

  .pkp_site_nav_menu .pkp_navigation_primary > li > a:hover,
  .pkp_site_nav_menu .pkp_navigation_primary > li > a:focus-visible {
    background: #fff;
    color: #006385;
    text-decoration: none;
  }

  .pkp_site_nav_menu .pkp_navigation_primary > li > a:focus-visible {
    outline: 2px solid #003e54;
    outline-offset: -2px;
  }
}
/* Footer EMIK untuk konten footer OJS 3.4. */
.pkp_structure_footer_wrapper {
  background: #009ace;
}

.pkp_structure_footer .pkp_footer_content {
  padding: 40px 0 20px;
}

.emik-footer {
  color: #002d40;
  font: 16px/1.5 Georgia, "Times New Roman", serif;
}

.emik-footer *,
.emik-footer *::before,
.emik-footer *::after {
  box-sizing: border-box;
}

.emik-footer-navigation {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(0, 45, 64, 0.6);
}

.emik-footer-section h2 {
  margin: 0 0 12px;
  color: #002d40;
  font: bold 20px/1.3 Georgia, "Times New Roman", serif;
}

.emik-footer-section ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.emik-footer-section li {
  margin: 0 0 8px;
  padding: 0;
}

.emik-footer a,
.emik-footer a:visited {
  color: #002d40;
  text-decoration: none;
}

.emik-footer a:hover,
.emik-footer a:focus-visible {
  color: #002d40;
  text-decoration: underline;
}

.emik-footer a:focus-visible {
  outline: 2px solid #002d40;
  outline-offset: 3px;
}

.emik-footer-information {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
}

.emik-footer-logo {
  display: block;
  max-width: 90px;
  max-height: 90px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.emik-footer-details {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}

.emik-footer-index {
  display: block;
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-left: auto;
}

.emik-footer-details p {
  margin: 0 0 5px;
  font: 14px/1.5 Arial, sans-serif;
}

@media (max-width: 767px) {
  .emik-footer-navigation {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .emik-footer-information {
    flex-wrap: wrap;
  }

  .emik-footer-index {
    margin-left: 0;
  }
}

@media (max-width: 400px) {
  .emik-footer-navigation {
    grid-template-columns: 1fr;
  }

  .emik-footer-information {
    align-items: flex-start;
    flex-direction: column;
  }
}
.pkp_structure_footer .pkp_brand_footer {
  display: none;
}
/* Area header lebar penuh; gambar dibatasi agar tidak terlalu besar. */
.has_site_logo .pkp_head_wrapper,
.has_site_logo .pkp_site_name_wrapper {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.has_site_logo .pkp_site_name_wrapper {
  padding-left: 0;
  padding-right: 0;
}

.has_site_logo .pkp_site_name {
  width: 100%;
  padding: 0;
}

.has_site_logo .pkp_site_name a.is_img {
  display: block;
  width: 100%;
  margin: 0;
}

.has_site_logo .pkp_site_name a.is_img img {
  display: block;
  width: 100%;
  max-width: 800px;
  height: auto;
  max-height: none;
  margin: 0 auto;
}

@media (max-width: 991px) {
  .has_site_logo .pkp_head_wrapper {
    padding: 0;
  }

  .has_site_logo .pkp_site_name_wrapper {
    height: auto;
    padding-top: 40px;
  }

  .has_site_logo .pkp_site_name {
    position: static;
  }
}
@media (min-width: 992px) {
  .has_site_logo .pkp_navigation_primary_wrapper {
    width: 952px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (min-width: 1200px) {
  .has_site_logo .pkp_navigation_primary_wrapper {
    width: 1160px;
  }
}
