.container-fluid {
  width: 100%;
  padding: 0 15px;
  margin: 0 auto;
}

.container-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.breadcrumb {
  background-color: transparent !important;
  padding: 0;
  margin-bottom: 1rem;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: '>';
  margin: 5px;
  color: #000000 !important;
  background-color: transparent !important;
}

.breadcrumb-item a {
  color: red !important;
}

.breadcrumb-item a:hover {
  opacity: 80%;
}

a.taxonomy.category {
  color: red !important; /* Mengatur warna teks menjadi merah */
  margin-left: 5px !important;
  margin-right: 5px !important;
}

a.taxonomy.category:hover {
  opacity: 80%;
}

.post-post.current-item {
  margin-right: 5px !important;
  margin-left: 5px !important;
}

html {
  scroll-behavior: smooth; /* Untuk smooth scrolling */
}

body {
  position: relative; /* Pastikan body memiliki posisi relative */
}

.nav-header {
  font-size: 12px !important;
}

.nav-header-text {
  color: #000;
  padding: 19px 11px;
  display: block;
  -webkit-transition: all 0.3s ease-out 0s;
  -moz-transition: all 0.3s ease-out 0s;
  -ms-transition: all 0.3s ease-out 0s;
  -o-transition: all 0.3s ease-out 0s;
  transition: all 0.3s ease-out 0s;
  line-height: 48px;
  padding: 0 15px;
  font-weight: 700;
  text-transform: uppercase;
}

@media (max-width: 1200px) {
  .container-content {
    padding: 15px;
  }
}

.header-images {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  background-color: #fff;
  /* Sesuaikan background color */
}

.header-images img {
  max-width: 100%;
  height: auto;
}

.header-images .logo {
  max-width: 300px;
  /* Atur ukuran logo */
}

.header-images .banner {
  max-width: 600px;
  /* Atur ukuran banner */
}

@media (max-width: 991px) {
  .header-images {
    flex-direction: column;
    align-items: center;
  }

  .header-images .logo,
  .header-images .banner {
    max-width: 100%;
    /* Sesuaikan ukuran gambar untuk layar kecil */
    margin-bottom: 10px;
  }
}
/* Main Menu Styles */
.header-bottom {
  position: relative;
  top: 0; /* Sesuaikan dengan offset yang diinginkan */
  background-color: #fff; /* Warna latar belakang sticky bar */
  z-index: 1000; /* Atur z-index agar tetap di atas konten */
}

/* .header-bottom .container { */
  /* padding: 20px 0; Sesuaikan padding untuk konten di dalam sticky bar */
/* } */

.sticky-logo {
  margin-right: 20px;
}

.main-menu nav ul.navigation {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.main-menu nav ul.navigation li {
  margin-right: 0px;
}

@media (max-width: 1199px) {
  .main-menu nav ul.navigation li {
    margin-right: 15px;
  }
  .nav-header {
    font-size: 11px !important;
  }
  .header-bottom .container {
    margin-left: 20px;
  }
}

.main-menu nav ul.navigation li a {
  text-decoration: none;
  color: #000;
  position: relative;
  transition: color 0.3s ease;
}

.main-menu nav ul.navigation li a:hover,
.main-menu nav ul.navigation li.current-menu-item a {
  color: red;
}

.main-menu nav ul.navigation li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background-color: red;
  bottom: -5px;
  left: 0;
  transition: width 0.3s ease-in-out;
}

.main-menu nav ul.navigation li a:hover::after,
.main-menu nav ul.navigation li.current-menu-item a::after {
  width: 100%;
}

.search-box {
  display: none; /* Hidden by default */
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 20%; /* Adjust this value based on the width of the search input */
  padding: 10px;
  z-index: 1000;
}

.search-box.active {
  display: block; /* Show when active */
}

.search-box .search-top input {
  border: 1px solid red;
  padding: 5px;
  width: 200px;
  font-size: 14px;
  border-radius: 4px;
}

.category-filter-mobile {
  display: none;
}

@media (max-width: 767px) {
  .category-filter-mobile {
    display: block;
  }

  .main-menu {
    display: none;
  }

  .mobile_menu .sticky-logo {
    margin-bottom: 20px;
  }

  .mobile_menu nav ul.category-filter-mobile {
    display: flex;
    flex-direction: column;
  }

  .mobile_menu nav ul.category-filter-mobile li {
    margin-bottom: 10px;
  }
}

/* Tambahkan CSS ini ke dalam file CSS Anda */

@media (max-width: 991px) {
  .header-area {
    display: none;
  }
}

.current-menu-item:after {
  display: none;
}

.custom-layout {
  display: flex;
  margin-bottom: 30px;
}

.custom-layout-2 {
  position: relative;
  display: flex;
  margin-bottom: 30px;
}

.post-thumbnail {
  margin-right: 20px;
}

.post-thumbnail-2 {
  position: relative;
  margin-right: 20px;
}

.featured-image {
  width: 100px !important;
  height: 100px !important;
  border-radius: 5%;
}

.featured-image:hover {
  opacity: 80%;
}

.hover-banner:hover {
  opacity: 80%;
}

.featured-image-artikel:hover {
  opacity: 80%;
}

.featured-image-artikel {
  width: 100%;
  /* Sesuaikan ukuran sesuai kebutuhan Anda */
  height: auto;
  border-radius: 5%;
  margin-bottom: 8px;
}

.featured-image-left {
  /* position: absolute; */
  width: 121%;
  height: 100%;
  bottom: 0;
  border-radius: 2%;
}

@media (max-width: 768px) {
  .featured-image-left {
    width: 108%; /* Atur lebar sesuai kebutuhan Anda */
  }

  .entry-title-2 {
    max-width: 80%;
    color: white;
    text-align: left;
    font-weight: 700;
    margin: 0;
    -webkit-line-clamp: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
  }

  .stickyelement {
    z-index: 500 !important;
  }

  .float-bottom-nav {
    z-index: 10000 !important;
  }
}

@media (max-width: 1210px) {
  .featured-image-left {
    width: 106%; /* Atur lebar sesuai kebutuhan Anda */
  }
}
@media (max-width: 991px) {
  .featured-image-left {
    /* Atur lebar sesuai kebutuhan Anda */
  }
}
@media (max-width: 480px) {
  .stickyelement {
    z-index: -1; /* Menempatkan elemen di belakang */
  }
}

.d-flex {
  display: flex;
}

.align-items-center {
  align-items: center;
}

.post-details {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.post-details-2 {
  text-align: left;
  position: absolute;
  bottom: 0;
  left: 50%;
  /* Center align horizontally */
  transform: translateX(-50%) translateX(10%);
  /* Adjust the second translateX value for fine-tuning */
  width: 121%;
  /* Set to the desired width */
  color: #fff;
  padding: 20px;
  box-sizing: border-box;
}

.entry-header {
  display: flex;
  flex-direction: column;
}

.post-date {
  display: block;
  font-size: 11px;
  color: #777;
}

.post-date-artikel {
  color: #000;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 500;
  line-height: 0;
  display: inline-block;
}

.post-category-artikel {
  color: #000;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 500;
  line-height: 0;
  display: inline-block;
}

.post-category-artikel:hover {
  color: red;
}

.entry-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}

.entry-title-2 {
  color: white;
  /* text-align: center; */
  font-weight: 700;
  line-height: 1.3;
  -webkit-line-clamp: 2;
  overflow: hidden;
  /* display: -webkit-box; */
  -webkit-box-orient: vertical;
}

.post-categories {
  font-size: 14px;
  color: #999;
  margin-bottom: 10px;
}

.entry-footer {
  margin-top: 0px;
}

.entry-footer a {
  color: red;
  /* Warna teks link kategori */
  text-decoration: none;
}

.entry-footer a:hover {
  color: red;
  text-decoration: underline;
}

.container-fluid-content {
  width: 100%;
  padding: 0 15px;
  margin: 0 auto;
}

.container-content-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1200px) {
  .container-content {
    padding: 15px;
  }
}

@media (max-width: 1200px) {
  .container-content-content {
    padding: 15px;
  }
}

.pagination {
  text-align: center;
  margin: 20px 0;
  display: flex;
  justify-content: center; /* Pastikan pagination berada di tengah */
}

.pagination a {
  color: #000;
  background-color: #fff;
  padding: 8px 16px !important;
  text-decoration: none;
  border: 1px solid #f0e9ff;
  margin: 0 2px;
}

.pagination a:hover {
  color: red;
}

.pagination .current {
  background-color: red;
  color: #fff;
  padding: 8px 16px !important;
  border: 1px solid #f0e9ff;
  margin: 0 2px;
}

.title-artikel {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  -webkit-line-clamp: 2;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

.tocenter {
  text-align: center;
}

.title-search {
  color: #000;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
}

.header-sticky.sticky-bar.sticky .main-menu ul > li > a {
  padding-bottom: 10px !important;
}

hr {
  margin: 0 !important;
}

.footer-bottom-area {
  background-color: #fff !important;
}

.footer-bottom-area .contact:hover {
  color: red !important;
}

.header-menu-mobile {
  display: none;
}

@media (max-width: 991px) {
  .header-menu-mobile {
    display: block; /* Show mobile menu on mobile */
  }
}

.category-tag {
  display: inline-block;
  background-color: red;
  color: white;
  padding: 5px 10px;
  margin: 5px 5px 5px 0;
  border-radius: 5px;
  text-decoration: none;
  font-size: 14px;
}

@media (max-width: 760px) {
  .category-tag {
    display: none;
  }
}

.category-tag:hover {
  background-color: darkred; /* Warna background saat dihover */
}

.post-categories-new {
  position: absolute;
  bottom: 9rem;
  left: 15px;
}

.category-tag-post:hover {
  color: black !important;
}

@media (max-width: 991px) {
  .post-categories-new {
    bottom: 4.1rem;
  }
}
@media (max-width: 631px) {
  .post-categories-new {
    bottom: 5.6rem;
  }
}
@media (max-width: 411px) {
  .post-categories-new {
    bottom: 7.1rem;
  }
}


.category-tag-post {
  display: inline-block;
  background-color: red;
  color: white;
  padding: 5px 10px;
  margin: 0 5px 5px 0;
  border-radius: 0px;
  text-decoration: none;
  font-size: 14px;
}

@media (max-width: 992px) {
  .category-tag-post {
    margin: 0 5px 30px 0;
  }
}

@media (max-width: 376px) {
  .category-tag-post {
    margin: 0 5px 9px 0;
  }
}

.category-tag:hover {
  color: black; /* Warna background saat dihover */
}

.language-switcher .lang-item a span {
  color: #000 !important;
}

@media screen and (min-width: 992px) {
  .menu-item-has-children {
    position: relative;
  }

  .menu-item-has-children > ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    min-width: 200px;
  }

  .menu-item-has-children:hover > ul {
    display: block;
  }

  .menu-item-has-children > ul > li {
    display: block;
  }

  .menu-item-has-children:hover > a,
  .menu-item-has-children > ul:hover + a {
    color: red !important;
  }

  .menu-item-has-children > ul > li:hover > a {
    color: red !important;
  }
  .menu-item-has-children > ul,
  .navigation a {
    transition: all 0.3s ease;
  }
}

/* CSS untuk perangkat mobile */
@media screen and (max-width: 767px) {
  .menu-item-has-children > ul {
    display: none;
  }
}

@media (max-width: 1199px) {
  .header-sticky ul li a {
    padding: 10px 0px !important;
  }
}

.sticky-flex {
  transition: all 0.5s ease-in-out;
}

.sticky-active {
  width: 100%; /* Bisa dipakai untuk smooth transition */
}
