/* ==========================================================================
   OJS 3 Custom Stylesheet — IJLLIR (Faculty of Law, UNESA)
   ========================================================================== */

:root {
  --ijllir-maroon: #990000;
  --ijllir-maroon-bright: #b30d0b;
  --ijllir-maroon-dark: #660000;
  --ijllir-head-bg: #ffffff;
  --ijllir-content-bg: #ffffff;
  --ijllir-nav-text: #faf9fc;
}

.pkp_structure_head,
header.pkp_structure_head {
  background-color: var(--ijllir-head-bg) !important;
  border-bottom: none !important;
}

.pkp_structure_content {
  background-color: var(--ijllir-content-bg) !important;
}

.pkp_head_wrapper,
.pkp_site_name_wrapper {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.pkp_site_name .is_img img {
  display: block;
  width: 100%;
  max-width: 1200px;
  max-height: none !important;
  height: auto;
  padding-bottom: 0;
  margin: 0 auto -5px;
}

/* Menu Kanan Atas (Register / Login / ijllir_journal) agar jelas terbaca */
.pkp_navigation_user > li > a,
.pkp_navigation_user > li.profile > a,
#navigationUser > li > a {
  color: var(--ijllir-maroon) !important;
  font-weight: 600;
}

.pkp_navigation_user ul.pkp_nav_list {
  background-color: #ffffff !important;
}

.pkp_navigation_user ul.pkp_nav_list a {
  color: #333333 !important;
}

/* Bar Navigasi Utama */
.pkp_navigation_primary_row,
.pkp_navigation_primary_wrapper {
  background-color: var(--ijllir-maroon-bright) !important;
  max-width: 1200px;
  margin: 0 auto;
}

.pkp_navigation_primary > li:first-child a {
  margin-left: 30px;
}

.pkp_navigation_primary > li > a,
.pkp_navigation_primary > li > a:hover,
.pkp_navigation_primary > li > a:focus,
.pkp_navigation_search_wrapper a {
  color: var(--ijllir-nav-text) !important;
}

/* Perbaikan Mode Tablet: Mencegah tabel & teks panjang tembus ke sidebar kanan */
.pkp_structure_main {
  overflow-x: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.pkp_structure_main table,
.about_section table {
  width: 100% !important;
  max-width: 100% !important;
  table-layout: auto !important;
  border-collapse: collapse;
}

.pkp_structure_main table td,
.pkp_structure_main table th,
.about_section table td,
.about_section table th {
  white-space: normal !important;
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
  word-break: break-word;
  max-width: 100% !important;
  vertical-align: top;
}

a {
  color: var(--ijllir-maroon);
}

a:hover,
a:focus {
  color: var(--ijllir-maroon-dark);
}

.cmp_button_wire,
.obj_galley_link {
  display: inline-block;
  padding: 0 1em;
  background-color: #ffffff !important;
  border: 1px solid var(--ijllir-maroon) !important;
  border-radius: 3px;
  font-size: 13px;
  line-height: 28px;
  color: var(--ijllir-maroon) !important;
  text-decoration: none;
  font-weight: 600;
}

.cmp_button_wire:hover,
.cmp_button_wire:focus,
.obj_galley_link:hover,
.obj_galley_link:focus {
  background-color: var(--ijllir-maroon) !important;
  color: #ffffff !important;
}