/* Reset dasar untuk mencegah celah */
html,
body {
  margin: 0;
  padding: 0;
}
body > :first-child {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
/* Wrapper header */
.pkp_site_name_wrapper {
  margin: 0;
  padding: 0;
}

/* Kontainer header */
.pkp_site_name {
  margin: -5px 0 -5px 0;
  padding: 0;
}

/* Gambar header full-width tanpa ruang */
.pkp_site_name .is_img,
.pkp_site_name .is_img img {
  display: block;
  max-height: none !important;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
}
@media (max-width: 768px) {
  /* Pastikan wrapper punya tinggi minimum agar gambar tampil */
  .pkp_site_name_wrapper,
  .pkp_site_name {
    width: 100%;
    height: auto;
    min-height: 70px; /* tambahkan tinggi minimum agar gambar muncul */
    overflow: hidden;
  }

  /* Pastikan gambar tetap tampil di lebar kecil */
  .pkp_site_name .is_img img {
    width: 100% !important;
    height: auto !important;
    display: block;
    object-fit: cover;
    object-position: center top;
  }

  /* Tombol menu toggle tetap di atas gambar */
  .pkp_site_nav_toggle {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 999;
  }
}

/* Warna background utama navbar */
.pkp_navigation_primary_row {
  background-color: #f9790f;
}
/* Warna teks utama navigasi jadi putih */
.pkp_navigation_primary a {
  color: #fff !important; /* Pakai !important agar override style lain */
}

/* Warna teks saat hover */
.pkp_navigation_primary a:hover {
  color: #2e2e2e !important;
}

/* Warna teks submenu juga putih */
.pkp_navigation_primary ul li ul a {
  color: #fff !important;
}

/* Hover Effect for Menu Items */
#customblock-mainmenu li a {
  transition: all 0.5s ease;
  position: relative;
}

#customblock-mainmenu li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px; /* Align with existing border */
  left: 0;
  background-color: #f9790f; /* Orange color */
  transition: width 0.5s ease;
}

#customblock-mainmenu li a:hover {
  color: #f9790f; /* Change text color on hover */
  padding-left: 10px; /* Slight indent on hover */
}

#customblock-mainmenu li a:hover::after {
  width: 100%; /* Full width line on hover */
}

/* Remove default border on hover */
#customblock-mainmenu li a:hover {
  border-bottom-color: transparent;
}

.pkp_brand_footer {
  display: none;
}
/* HOVER EFFECT */
.pkp_navigation_primary a:hover,
.pkp_search:hover {
  background-color: #e0e0e0; /* Light gray */
  color: #f9790f !important; /* Orange text */
}

/* ACTIVE/CLICKED STATE - FIXED */
.pkp_navigation_primary li.current > a,
.pkp_navigation_primary li.current > a:hover,
.pkp_navigation_primary a:active {
  background-color: #e0e0e0 !important; /* Light gray */
  color: #f9790f !important; /* Orange text */
}

/* SEARCH BUTTON STYLES */
.pkp_search {
  color: white !important;
  padding: 10px 15px;
  transition: all 0.2s ease;
}

.task_count {
  display: inline-block;
  background-color: white; /* Warna oranye yang sesuai dengan tema */
  color: #f9790f;
  font-size: 0.8em;
  font-weight: bold;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  text-align: center;
  line-height: 20px;
  margin-left: 5px;
  position: relative;
  top: -1px;
  animation: pulse 2s infinite;
}
