/* --- TABEL DENGAN EFEK HOVER --- */
.hover {
  width: 100%;
  border-collapse: collapse;
}

.hover th {
  height: 30px;
  background: #ffffff;
  color: #134c56;
}

.hover td {
  height: 30px;
  padding-top: 3px;
  vertical-align: middle;
  border-bottom: 1px solid #ffffff;
  text-align: center;
}

.hover td a {
  width: 100%;
  display: block;
}

.hover tr {
  background: #134c56;
  color: #ffffff;
}

.hover tr:hover {
  background-color: #2c6b76;
}

.hover tr a {
  color: #1b897e;
}


/* --- LOGO SITE --- */
.pkp_site_name .is_img img {
  display: inline-block;
  max-height: 165px;
  max-width: 100%;
  width: auto;
  height: auto;
}


/* --- FOOTER --- */

/* --- FOOTER --- */

.pkp_structure_footer_wrapper {
  background: transparent !important;
  border: none !important;
}

.pkp_structure_footer {
  max-width: 1160px;
  width: 100%;
  margin: 0 auto;
  background: #0d8381 !important;
  overflow: hidden;
}

.pkp_footer_content {
  float: left;
  width: 70%;
  padding: 10px 0;
  color: #ffffff !important;
  box-sizing: border-box;
}

.pkp_brand_footer {
  float: right;
  width: 30%;
  padding: 10px 0;
  box-sizing: border-box;
}

/* Teks footer */
.pkp_structure_footer,
.pkp_structure_footer p,
.pkp_structure_footer span,
.pkp_structure_footer a {
  color: #ffffff !important;
}

/* Logo OJS/PKP yang berupa gambar/SVG */
.pkp_brand_footer img {
  filter: brightness(0) invert(1);
}

.pkp_structure_footer a:hover {
  color: #d9ffff !important;
}


/* --- HEADER --- */
.pkp_structure_head {
  background-color: #ffffff;
  border-bottom: 0px solid #ddd;
}


/* --- BLOCK TITLE --- */
.pkp_block .title {
  display: block !important;
  padding: 0.3em 0.5em !important;
  padding-left: 5px !important;
  background: #1b897e;
  border-radius: 5px 5px 0 0;
  color: #ffffff; /* putih */
}

.pkp_block .title {
  display: inline-block;
  padding-bottom: 0.5em;
  border-bottom: 3px solid #124857;
  text-transform: uppercase;
}


/* --- NAVIGASI --- */
.pkp_navigation_primary_row {
  margin-left: 10px;
}

.pkp_navigation_user > li > a,
.pkp_navigation_user > li.in_focus > a,
.pkp_navigation_user > li > a:hover,
.pkp_navigation_user > li > a:focus {
  color: #ffffff; /* samakan dengan menu utama */
  text-decoration: none;
}

.pkp_navigation_user > li > a:hover {
  color: #1b897e; /* biru muda */
}


/* --- KONTEN --- */
.pkp_structure_content {
  padding-top: 33px;
}

.pkp_block {
  padding-top: 0px;
}

.page_about .pkp_structure_content p {
  line-height: 1.5;     /* jarak antar baris */
  margin-bottom: 10px;  /* jarak antar paragraf */
}

.page_about .pkp_structure_content h2,
.page_about .pkp_structure_content h3 {
  margin-top: 10px;     /* jarak atas judul */
  margin-bottom: 10px;  /* jarak bawah judul */
}


/* --- PERBAIKAN IKON MENU (titik tiga / hamburger) --- */
.pkp_site_nav_toggle,
.pkp_site_nav_toggle::before,
.pkp_site_nav_toggle::after {
  color: #134b56 !important; /* ganti jadi biru tua agar kontras */
}

/* Kalau ikon berupa SVG putih, pakai invert supaya terlihat */
.pkp_site_nav_toggle svg,
.pkp_site_nav_toggle span {
  filter: invert(1);
}


/* --- STYLE UNTUK TOMBOL SUBMISSION --- */
.block p.title a {
  display: inline-block;
  background: #1b897e;   /* biru tombol */
  color: #ffffff !important;  /* teks putih */
  padding: 10px 15px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  width: 100%;
}

.block p.title a:hover {
  background: #00d3eb;   /* sedikit lebih gelap saat hover */
  color: #ffffff !important; /* tetap putih */
}


/* --- JARAK ANTAR BLOCK SIDEBAR --- */
.block {
  margin-bottom: 10px; /* bisa diganti 5px, 15px, sesuai kebutuhan */
}


/* --- WARNA LINK LOGIN & DAFTAR --- */
.pkp_navigation_user > li > a {
  color: #134c56 !important;  /* biru tua biar kontras */
}

.pkp_navigation_user > li > a:hover {
  color: #17435c !important;  /* biru saat hover */
}

/* --- WARNA TEKS MENU DROPDOWN --- */
.pkp_navigation_primary .dropdown-menu a {
  color: #134c56 !important;
}
.pkp_navigation_primary .dropdown-menu a {
  color: #134c56 !important;
  border-left-color: transparent !important;
}

.pkp_navigation_primary .dropdown-menu a:hover,
.pkp_navigation_primary .dropdown-menu a:focus {
  color: #134c56 !important;
  border-left-color: #1b897e !important;
}

/* Merapatkan jarak judul dengan gambar sidebar */
#customblock-submit .content,
#customblock-template .content {
    margin-top: -5px !important;
}