@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,400;0,700;1,400&display=swap');

/* === BASE === */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: 'Lato', sans-serif !important;
}

h1, h2, h3, h4 {
  font-family: 'Lato', sans-serif !important;
}

html {
  padding: 20px 0;
}

/* === HEADER / NAVBAR === */
.pkp_structure_head {
  background-color: #0A2E60 !important;
  border-bottom: 1px solid #0A2E60 !important;
  position: relative;
}

/* === LOGO — cegah terlalu besar di mobile === */
.pkp_site_name_wrapper {
  padding-left: 0 !important;
  padding-right: 0 !important;
  display: flex;
  align-items: center;
}

.pkp_site_name {
  padding-top: 0px !important;
  padding-bottom: 0px !important;
}

.pkp_site_name > a {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  display: flex;
  align-items: center;
}

.pkp_site_name .is_img {
  display: inline-block;
  margin: 0 !important;
  width: auto;
  height: auto;
  max-width: 100%;
}

.pkp_site_name .is_img img {
    display: inline-block;
    max-height: none;
    width: auto;
    height: auto;
    margin-top: 0;
    margin-bottom: 0;
}

/* === PAGE WRAPPER === */
.pkp_structure_page {
  background: white;
  border: 1px solid #c8c8c8;
  box-shadow: 2px 4px 12px rgba(0,0,0,0.12);
  border-bottom: none !important;
}

/* === NAVIGATION === */
.pkp_navigation_primary_wrapper {
  padding-left: 0;
  padding-right: 0;
}

.item_menu {
  padding: 6px 12px;
  margin: 0;
}

.item_menu a {
  color: #e8eef7 !important;
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s;
}

.item_menu a:hover {
  color: #ffffff !important;
  border-bottom: 2px solid #60aaff;
}

/* === BREADCRUMBS === */
.cmp_breadcrumbs {
  display: block;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 6px 12px;
  margin: 10px 0 20px 0;
  font-size: 13px;
  color: #555;
}

.cmp_breadcrumbs ol {
  margin-bottom: 0;
}

/* === ARTICLE LIST === */
.cmp_article_list li {
  border-bottom: 1px solid #e0e0e0;
  padding: 10px 10px 10px 14px;
  border-left: 5px solid #1a6ab1;
  border-radius: 0 0 0 4px;
  margin-bottom: 6px;
  background: #fafbfc;
  transition: background 0.2s;
}

.cmp_article_list li:hover {
  background: #f0f6ff;
}

.galleys_links li {
  border: none !important;
  padding: 0 !important;
  background: transparent !important;
}

/* === AUTHORS & PAGES === */
.item.abstract {
  text-align: justify;
  line-height: 1.7;
}

.name::before {
  content: '\f007';
  font-family: FontAwesome;
  margin-right: 5px;
  color: #1a6ab1;
}

.pages::before {
  content: '\f0f6';
  font-family: FontAwesome;
  margin-right: 4px;
  color: #555;
}

/* === SIDEBAR BLOCKS === */
.pkp_block {
  padding: 0 !important;
  margin-bottom: 16px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #ddd;
  box-shadow: 1px 2px 6px rgba(0,0,0,0.06);
}

.pkp_block .title {
  display: block !important;
  padding: 9px 12px !important;
  border-bottom: none !important;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: #0A2E60;
  color: #fff !important;
  border-radius: 0;
}

.pkp_block a {
  color: #1a5698 !important;
}

.block_make_submission_link {
  width: 100%;
  text-align: center;
  padding: 8px 0 !important;
  background: #f0f6ff;
  display: block;
}

.head_block {
  background: #0A2E60;
  color: white;
  border-radius: 5px 5px 0 0;
  padding: 8px 12px;
}

/* === DATA BOX === */
.data {
  background: #f7f7f7;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  padding: 8px 12px;
}

/* === HOMEPAGE === */
.homepage_about > h2 {
  display: none;
}

.pkp_page_index .homepage_about {
  padding-top: 0;
  padding-bottom: 2rem;
}

.pkp_page_index .homepage_image {
  margin-top: 0;
}

/* === INDEX LIST COVERS === */
.index_list img {
  width: 140px;
  max-width: 100%;
  margin: 0 12px 8px 0;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: 1px 2px 6px rgba(0,0,0,0.10);
  padding: 6px;
}

/* === ANNOUNCEMENTS === */
.obj_announcement_summary .summary {
  font-size: 11pt !important;
  line-height: 1.6;
}

/* === SEARCH === */
.fquery {
  padding: 7px 10px;
  border: 1px solid #bbb;
  border-radius: 5px;
  font-family: 'Lato', sans-serif;
}

/* === FOOTER === */
.pkp_structure_footer_wrapper,
.pkp_structure_footer,
footer {
  background: #0A2E60 !important;
  border-top: 3px solid #1a5098 !important;
}

.pkp_structure_footer_wrapper,
.pkp_structure_footer_wrapper a {
  color: #d0ddf0 !important;
}

.pkp_structure_footer_wrapper a:hover {
  color: #ffffff !important;
}

.pkp_brand_footer {
  display: none !important;
}

.bottom-details {
  background: #071e40;
  margin: 0;
  padding: 12px 16px;
  color: #b0c4de;
  font-size: 12px;
}

.bottom-details a {
  color: #90b4d8;
}

/* === FOOTER LINK BOXES === */
footer .content .link-boxes {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}

footer .content .link-boxes .box {
  min-width: 140px;
  flex: 1;
}

.content .link-boxes .box .link_name {
  color: #ffffff;
  font-size: 11pt;
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
}

.link-boxes .box .link_name::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 2px;
  width: 30px;
  background: #60aaff;
}

ul.box {
  padding: 0;
  list-style: none;
}

.content .link-boxes .box li {
  margin: 5px 0;
  list-style: none;
  font-size: 13px;
}

.policy_terms {
  float: right;
}

/* === CLEAN UP GHOST ELEMENTS === */
.pkp_structure_footer_wrapper::before,
.pkp_structure_footer_wrapper::after,
.pkp_structure_page::after,
.pkp_structure_page::before {
  display: none !important;
  content: none !important;
}

.pkp_structure_body,
.pkp_structure_body::after {
  background: none !important;
  border: none !important;
}

/* === CONTENT AREA === */
@media (min-width: 992px) {
  body {
    width: 1162px;
    margin: auto;
  }

  .pkp_structure_content {
    padding-top: 30px !important;
  }

  .pkp_navigation_user_wrapper {
    padding-left: 0 !important;
    padding-right: 20px !important;
  }

  .pages {
    display: inline-block;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    padding: 1px 7px;
    background: #f4f4f4;
    font-size: 12px;
    color: #555;
  }

  .pkp_navigation_search_wrapper {
    display: none;
  }

  .pkp_navigation_primary_wrapper {
    text-align: center;
  }
}

/* === MOBILE FIXES === */
@media (max-width: 767px) {
  .pkp_site_name .is_img img {
    max-height: 64px !important;
    max-width: 220px !important;
    width: auto !important;
    height: auto !important;
  }

  .index_list img {
    width: 100px;
  }

  footer .content .link-boxes {
    flex-direction: column;
  }

  .cmp_article_list li {
    padding-left: 10px;
  }
}