.btn-no-round {
  border-radius: 0 !important;
  padding: 0.5rem 1.25rem;
  font-weight: 500;
  /* text-transform: uppercase; */
}

.btn-plain-link {
  color: #198754; /* warna hijau Bootstrap (text-success) */
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.btn-plain-link:hover {
  color: #145c32; /* warna hijau lebih gelap saat hover */
}

.btn-plain-link:focus,
.btn-plain-link:active {
  outline: none;
  box-shadow: none;
  background-color: transparent;
  border: none;
}

.terpopuler,
.foto-peristiwa,
.video-youtube,
.kankemenag .container,
.banner,
.footer {
  background-color: #f1f5f8;
}

/* Style Navbar */

/* .navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  background-color: #f0f0f0;
  border-radius: 5px;
} */

.nav-link,
.dropdown-menu,
.dropdown-item,
.berita h2 {
  color: #6c757d;
}

/* === Hapus kotak latar dropdown utama === */
/* .dropdown-menu {
  box-shadow: none;
  border: none;
  margin-top: 0.25rem;
  padding: 0;
  color: #6c757d;
} */

/* === Styling item dropdown === */
/* .dropdown-item {
  padding: 8px 15px;
}

.dropdown-menu .dropdown-item:hover {
  background-color: #f0f0f0;
  color: #000;
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-left: 0.1rem;
} */

/* Custom CSS for multi-level dropdown */
      .dropdown-submenu {
        position: relative;
      }
      .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -2.5rem; /* Semakin besar minus, semakin naik */
        margin-left: 0.1rem;
        border-radius: 0.25rem;
        min-width: 180px;
      }
      /* Untuk submenu tingkat 3 (dropdown-menu di dalam dropdown-submenu di dalam dropdown-menu) */
.navbar-nav .dropdown-menu .dropdown-submenu .dropdown-menu {
  margin-top: -3.2rem !important; /* Atur sesuai kebutuhan */
  left: 100%;
  top: 0;
}
      .dropdown-submenu > .dropdown-menu.show {
        display: block;
      }
      /* Hilangkan panah default Bootstrap pada dropdown-toggle di submenu */
      .dropdown-submenu > .dropdown-toggle.dropdown-toggle::after {
        display: none !important;
      }

      /* Hanya submenu tingkat 3 yang margin-top-nya lebih naik */
      .dropdown-submenu .dropdown-submenu > .dropdown-menu {
        margin-top: -2.2rem !important; /* Atur sesuai kebutuhan, misal -2.2rem */
      }

/* Style Hero */
.hero {
  position: relative;
  background-image: url("bg-hero.png");
  background-size: cover;
}

/* Berita */
.list-group-item {
  border: none;
  border-bottom: 1px solid #dee2e6;
  /* padding: 1rem 1rem; */
  background-color: transparent;
}

.list-group-item:hover {
  border: none;
  border-bottom: 1px solid #dee2e6;
  /* padding: 1rem 1rem; */
  background-color: transparent;
}

.img-thumbnail {
  border-radius: 0.5rem;
}

/* Foto Peristiwa */
.text-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.thumb-foto:hover {
  background-color: rgba(0, 0, 0, 0.6); /* hitam transparan */
}

#mainPhoto {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
}

.thumb-foto img {
  width: 100px;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 4px;
}

/* Banner */
.banner-slider img {
  opacity: 1;
  transition: opacity 0.8s ease-in-out;
}

/* Renungan */
.blockquote p {
  font-family: "Georgia", serif;
  color: #333;
}

/* footer */

footer ul li a:hover {
  color: #0d6efd;
  text-decoration: underline;
}
