/* =====================================================
   CUSTOM NAVBAR & SUBMENU
   ===================================================== */

/* WARNA DASAR NAVBAR */
.navbar {
  background-color: #198754 !important;
}

/* MENU UTAMA */
.navbar-nav .nav-link {
  color: #ffffff !important;
  padding: 8px 14px;
  transition: background 0.2s ease;
  text-align: center;
}

/* HOVER MENU */
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  background: rgba(255,255,255,0.2);
  border-radius: 4px;
  color: #ffc82a !important;
}

/* HILANGKAN PANAH DROPDOWN */
.navbar .dropdown-toggle::after,
.navbar .dropdown-toggle::before {
  display: none !important;
  content: none !important;
}

/* DROPDOWN MENU */
.navbar .dropdown-menu {
  background-color: #198754 !important;
  border: none !important;
  padding: 6px 0;
  margin-top: 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* ITEM SUBMENU */
.navbar .dropdown-menu .dropdown-item {
  color: #ffffff !important;
  padding: 8px 22px;
  background: transparent !important;
  transition: background 0.2s ease;
  text-align: left;
}

/* HOVER SUBMENU */
.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item:focus {
  background: rgba(255,255,255,0.2) !important;
  color: #ffffff !important;
}

/* ACTIVE SUBMENU */
.navbar .dropdown-menu .dropdown-item.active,
.navbar .dropdown-menu .dropdown-item:active {
  background: rgba(255,255,255,0.25) !important;
  color: #ffffff !important;
}

/* HOVER DROPDOWN DESKTOP */
@media (min-width: 992px) {
  .navbar .dropdown:hover > .dropdown-menu {
    display: block;
  }
}

/* =====================================================
   DETAIL BERITA – FINAL STABIL (TIDAK BERTABRAKAN)
   ===================================================== */

.berita-isi {
  direction: ltr;
  unicode-bidi: normal;
  font-size: 18px;
  line-height: 1.9;
  color: #222;
}

/* PARAGRAF */
.berita-isi p {
  text-align: justify;
  margin-bottom: 18px;
  hyphens: auto;
  overflow-wrap: break-word;
}

/* JUDUL DALAM ISI */
.berita-isi h1,
.berita-isi h2,
.berita-isi h3,
.berita-isi h4,
.berita-isi h5,
.berita-isi h6 {
  text-align: left;
  margin: 24px 0 12px;
  line-height: 1.4;
}

/* LIST */
.berita-isi ul,
.berita-isi ol {
  padding-left: 22px;
  margin-bottom: 18px;
}

.berita-isi li {
  text-align: left;
  margin-bottom: 8px;
}

/* LINK */
.berita-isi a {
  color: #198754;
  text-decoration: underline;
}

/* JUDUL DETAIL BERITA */
.container h3 {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.4;
}

/* TANGGAL */
.container small {
  font-size: 14px;
  color: #777;
}

/* =====================================================
   MOBILE
   ===================================================== */
@media (max-width: 768px) {
  .berita-isi {
    font-size: 16.5px;
    line-height: 1.8;
  }

  .berita-isi p {
    text-align: left; /* lebih nyaman di mobile */
  }

  .container h3 {
    font-size: 23px;
  }
}
.berita-isi {
  text-align: justify;
}
