:root {
  --maroon: #8B1A1A;
  --maroon-dark: #6B1010;
  --maroon-light: #A52020;
  --gold: #D4872A;
  --gold-light: #E8A84A;
  --cream: #FDF8F0;
  --white: #FFFFFF;
  --gray-100: #F5F5F5;
  --gray-200: #E0E0E0;
  --gray-400: #9E9E9E;
  --gray-600: #616161;
  --gray-800: #212121;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 40px rgba(139, 26, 26, 0.15);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Sans 3', sans-serif;
  background: #eaeaea;
  /* Latar luar keabuan */
  color: var(--gray-800);
  overflow-x: hidden;
}

/* ── BOXED LAYOUT WRAPPER ── */
.site-wrapper {
  max-width: 1366px;
  /* Lebar maksimal konten */
  margin: 0 auto;
  background: var(--white);
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.2);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* ── HEADER ── */
.sticky-header-wrapper {
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  animation: slideDown 0.5s ease;
  box-shadow: var(--shadow-md);
}

.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--gold);
  transition: all 0.3s ease;
}

.sticky-header-wrapper.scrolled .site-header {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  gap: 16px;
  transition: all 0.3s ease;
}

.sticky-header-wrapper.scrolled .header-inner {
  padding: 6px 20px;
}

.logo-block {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-block img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  transition: all 0.3s ease;
}

.sticky-header-wrapper.scrolled .logo-block img {
  width: 44px;
  height: 44px;
}

.logo-text h3 {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 10px;
  font-weight: 600;
  color: var(--gray-600);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.sticky-header-wrapper.scrolled .logo-text h3 {
  font-size: 8.5px;
}

.logo-text h1 {
  font-family: 'Merriweather', serif;
  font-size: 20px;
  font-weight: 900;
  color: var(--maroon);
  line-height: 1.1;
  transition: all 0.3s ease;
}

.sticky-header-wrapper.scrolled .logo-text h1 {
  font-size: 16px;
}

.logo-text p {
  font-size: 11px;
  color: var(--gray-400);
  margin-top: 2px;
  transition: all 0.3s ease;
}

.sticky-header-wrapper.scrolled .logo-text p {
  font-size: 9px;
  margin-top: 0;
}

.header-badges {
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge-img {
  height: 52px;
  object-fit: contain;
  transition: all 0.3s ease;
}

.sticky-header-wrapper.scrolled .badge-img {
  height: 38px;
}

/* Placeholder logo SVG */
.logo-svg {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

/* ── NAVBAR ── */
.navbar {
  background: var(--maroon);
  position: relative;
  transition: all 0.3s ease;
}

.sticky-header-wrapper.scrolled .navbar {
  background: transparent;
}

/*
 * backdrop-filter dipindah ke ::before agar tidak menjadi containing block
 * bagi elemen position:fixed di dalamnya (seperti .dropdown-menu-right).
 * Hanya elemen yang LANGSUNG memiliki backdrop-filter yang membuat containing block
 * untuk fixed children-nya — pseudo-element tidak mempengaruhi sibling/child lainnya.
 */
.sticky-header-wrapper.scrolled .navbar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(139, 26, 26, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  pointer-events: none;
  z-index: 0;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  position: relative; /* Pastikan nav-inner di atas ::before */
  z-index: 1;
}

.nav-item {
  position: relative;
  flex: 1;
}

.nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 10px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--white);
  text-decoration: none;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  transition: var(--transition);
  cursor: pointer;
}

.nav-link:hover,
.nav-link.active {
  background: var(--gold);
  color: var(--white);
}

.nav-item:last-child .nav-link {
  border-right: none;
}

/* Dropdown */
/* Dropdown utama — scrollable agar item panjang tetap terjangkau */
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 220px;
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--gold);
  z-index: 9999;
  border-radius: 0 0 var(--radius) var(--radius);
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  /* Scrollbar tipis berwarna gold */
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}

.dropdown::-webkit-scrollbar { width: 4px; }
.dropdown::-webkit-scrollbar-track { background: transparent; }
.dropdown::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }

.nav-item:hover .dropdown,
.nav-item.dropdown-active .dropdown {
  display: block;
  animation: fadeInDown 0.2s ease;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.dropdown a,
.dropdown-menu-right a {
  display: block;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--gray-800);
  text-decoration: none;
  border-bottom: 1px solid var(--gray-200);
  transition: var(--transition);
}

.dropdown a:hover,
.dropdown-menu-right a:hover {
  background: var(--cream);
  color: var(--maroon);
  padding-left: 22px;
}

/* ── DROPDOWN SUBMENU BERTINGKAT ── */
.dropdown-submenu {
  position: relative;
}

/* Panah indikator submenu */
.dropdown-submenu > a.has-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dropdown-submenu > a.has-child::after {
  content: '›';
  font-size: 18px;
  line-height: 1;
  margin-left: 8px;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.dropdown-submenu.submenu-open > a.has-child::after {
  transform: rotate(90deg);
}

/*
 * .dropdown-menu-right menggunakan position:fixed agar muncul di luar
 * batas overflow parent .dropdown.
 * Koordinat top/left dihitung oleh JavaScript (initSubmenuFixed).
 * Tidak perlu di-portal ke body karena backdrop-filter sudah dipindah
 * ke ::before sehingga tidak lagi membuat containing block untuk fixed children.
 */
.dropdown-menu-right {
  display: none;
  position: fixed;
  background: var(--white);
  min-width: 240px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  z-index: 10001;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}

.dropdown-menu-right::-webkit-scrollbar { width: 4px; }
.dropdown-menu-right::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }

/* Tampilkan saat kelas aktif ditambahkan via JS */
.dropdown-menu-right.submenu-visible {
  display: block;
  animation: fadeInRight 0.18s ease;
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(-6px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 14px 20px;
  color: var(--white);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: var(--transition);
}

/* ── HERO / SLIDER ── */
.hero {
  background: linear-gradient(135deg, var(--maroon-dark) 0%, #4a0b0b 100%);
  padding: 0;
  overflow: hidden;
  position: relative;
}

.slider-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  align-items: center;
  gap: 40px;
  padding: 60px 20px 50px;
  position: relative;
  z-index: 1;
}

.slide {
  display: none;
  animation: fadeIn 0.6s ease;
}

.slide.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-eyebrow {
  font-size: 14px;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.slide h2 {
  font-family: 'Merriweather', serif;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.slide p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  max-width: 520px;
}

.slide-image-box {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.slide-image-box svg {
  width: 80px;
  opacity: 0.3;
}

/* Slider dots */
.slider-dots {
  display: flex;
  gap: 8px;
  margin-top: 28px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.dot.active {
  background: var(--gold);
  width: 28px;
  border-radius: 5px;
}

/* ── STRIP LAYANAN UTAMA (12 APLIKASI) ── */
.utility-strip {
  background: var(--white);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 10;
  padding: 30px 20px;
}

.utility-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* Grid 6 kolom, 2 baris untuk tampilan PC */
.utility-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.utility-card {
  position: relative;
  display: block;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  /* Membuat kotaknya berbentuk proporsional memanjang horizontal */
  aspect-ratio: 2.2 / 1;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  cursor: pointer;
}

/* Gambar Aplikasi */
.utility-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Gunakan "contain" jika gambar Baginda adalah logo dengan background transparan */
  transition: transform 0.4s ease;
}

/* Blok Warna Penutup (Hover Overlay) */
.utility-overlay {
  position: absolute;
  inset: 0;
  background: rgba(139, 26, 26, 0.9);
  /* Warna Maroon transparan tebal */
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.utility-overlay span {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  transform: translateY(10px);
  transition: transform 0.3s ease;
}

/* Efek saat Disentuh Kursor (Hover) */
.utility-card:hover img {
  transform: scale(1.1);
  /* Gambar sedikit membesar sebelum ditutup warna */
}

.utility-card:hover .utility-overlay {
  opacity: 1;
  /* Blok warna muncul */
}

.utility-card:hover .utility-overlay span {
  transform: translateY(0);
  /* Teks sedikit terangkat (slide up) */
}

/* Responsif untuk Layar Kecil */
@media (max-width: 1024px) {
  .utility-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .utility-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .utility-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── SERVICE ICONS ROW ── */

.services-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.services-grid-2 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.service-card:hover {
  background: var(--white);
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.service-card .icon {
  font-size: 24px;
}

.service-card .label {
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-600);
  line-height: 1.2;
}

/* ── MAIN CONTENT AREA ── */
.main-section {
  max-width: 1200px;
  margin: 36px 83px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: start;
}

/* Left col */
.left-col {
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-width: 0;
  /* Cegah overflow pada grid */
}

/* Kotak Konten Utama */
.content-paper {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

/* Metadata Konten */
.content-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--gray-600);
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--gray-200);
}

.content-meta .meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.content-meta .meta-item svg {
  color: var(--maroon);
}

.content-meta .meta-divider {
  color: var(--gray-400);
}

/* Info panels row */
.info-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.panel {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}

.panel-header {
  background: var(--maroon);
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.panel-body {
  background: var(--white);
  min-height: 200px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 13px;
}

.panel-body img {
  width: 100%;
  border-radius: 4px;
}

/* Section heading */
.section-heading {
  background: var(--maroon);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.section-heading::after {
  content: '';
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0.3;
}

/* News grid */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  cursor: pointer;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.news-thumb {
  background: var(--gray-200);
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--gray-400);
  overflow: hidden;
}

.news-body {
  padding: 14px;
}

.news-title {
  font-family: 'Merriweather', serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 4px;
  line-height: 1.4;
}

.news-date {
  font-size: 11px;
  color: var(--gray-400);
  margin-bottom: 8px;
}

.news-excerpt {
  font-size: 12px;
  color: var(--gray-600);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-more {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--maroon);
  text-decoration: none;
}

.news-more:hover {
  color: var(--gold);
}

/* Announcement */
.announcement-section {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}

.announcement-list {
  padding: 8px 0;
}

.announcement-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--gray-100);
  transition: var(--transition);
  cursor: pointer;
}

.announcement-item:last-child {
  border-bottom: none;
}

.announcement-item:hover {
  background: var(--white);
}

.ann-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}

.ann-title {
  font-family: 'Merriweather', serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--maroon);
  margin-bottom: 2px;
}

.ann-date {
  font-size: 11px;
  color: var(--gray-400);
}

/* ── RIGHT SIDEBAR ── */
.right-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}

.widget-header {
  background: var(--maroon);
  padding: 11px 16px;
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.widget-body {
  padding: 14px;
}

/* Language switcher */
.lang-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  background: var(--gray-100);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-800);
  transition: var(--transition);
}

.lang-btn:hover {
  border-color: var(--gold);
  background: var(--white);
}

.flag {
  font-size: 20px;
}

/* Search */
.search-row {
  display: flex;
  gap: 8px;
}

.search-input {
  flex: 1;
  padding: 9px 12px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 13px;
  font-family: 'Source Sans 3', sans-serif;
  transition: var(--transition);
  outline: none;
}

.search-input:focus {
  border-color: var(--maroon);
}

.search-btn {
  padding: 9px 14px;
  background: var(--maroon);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 14px;
  transition: var(--transition);
}

.search-btn:hover {
  background: var(--gold);
}

/* Working hours */
.hours-list {
  list-style: none;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  font-size: 13px;
  border-bottom: 1px solid var(--gray-100);
}

.hours-list li:last-child {
  border-bottom: none;
}

.hours-list .day {
  color: var(--gray-600);
}

.hours-list .time {
  font-weight: 600;
  color: var(--maroon);
}

.hours-note {
  margin-top: 10px;
  font-size: 12px;
  color: var(--gray-400);
  font-style: italic;
}

/* IPP widget */
.ipp-box {
  background: linear-gradient(135deg, #e8f4fd, #c9e4f7);
  border-radius: var(--radius);
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--gray-600);
  margin-bottom: 10px;
}

.ipp-box-2 {
  background: linear-gradient(135deg, #fef9e7, #fde8b0);
  border-radius: var(--radius);
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--gray-600);
}

/* ── FOOTER ── */
.site-footer {
  background: var(--maroon-dark);
  color: var(--white);
  padding: 40px 20px 20px;
  margin-top: 48px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand .logo-text h1 {
  font-size: 16px;
  color: var(--white);
}

.footer-brand .logo-text h3 {
  color: rgba(255, 255, 255, 0.5);
}

.footer-brand .logo-text p {
  color: rgba(255, 255, 255, 0.4);
}

.footer-brand>p {
  margin-top: 14px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a, .footer-col ul li span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--gold-light);
  padding-left: 6px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

/* ── TOP ACCENT BAR ── */
.top-bar {
  background: var(--gold);
  height: 5px;
  background: linear-gradient(90deg, var(--maroon) 0%, var(--gold) 50%, var(--maroon) 100%);
  animation: shimmer 3s ease infinite;
  background-size: 200% 100%;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

.reveal-delay-5 {
  transition-delay: 0.5s;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {

  .services-grid,
  .services-grid-2 {
    grid-template-columns: repeat(4, 1fr);
  }

  .main-section {
    grid-template-columns: 1fr;
  }

  .right-col {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .right-col .sidebar-widget {
    flex: 1 1 240px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .header-badges {
    display: none;
  }

  .logo-text h1 {
    font-size: 16px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-inner {
    display: none;
    flex-direction: column;
  }

  .nav-inner.open {
    display: flex;
  }

  .nav-link {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-item {
    flex: none;
    width: 100%;
  }

  .slider-wrapper {
    grid-template-columns: 1fr;
    padding: 36px 20px;
  }

  .slide-image-box {
    display: none;
  }

  .services-grid,
  .services-grid-2 {
    grid-template-columns: repeat(3, 1fr);
  }

  .info-panels {
    grid-template-columns: 1fr;
  }

  .news-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-col:not(:first-child) {
    display: none;
  }
}

@media (max-width: 480px) {

  .services-grid,
  .services-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .slider-wrapper {
    padding: 28px 16px;
  }
}

/* Sembunyikan banner dan elemen bawaan Google Translate */
.VIpgJd-Zvi9od-ORHb-OEVmcd {
  display: none !important;
}

.goog-te-banner-frame {
  display: none !important;
}

body {
  top: 0 !important;
}

.goog-tooltip {
  display: none !important;
}

.goog-tooltip:hover {
  display: none !important;
}

.goog-text-highlight {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* ── CUSTOM WIDGET ALIH BAHASA ── */
.custom-lang-widget {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.custom-lang-header {
  background: var(--maroon);
  color: var(--white);
  padding: 11px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  /* Garis bawah oranye khas Pengadilan */
  border-bottom: 3px solid var(--gold);
}

.custom-lang-body {
  background: var(--white);
}

.lang-item {
  padding: 10px 16px;
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-800);
  border-bottom: 1px solid var(--gray-100);
  transition: var(--transition);
}

.lang-item:last-child {
  border-bottom: none;
}

.lang-item:hover {
  background: var(--white);
  color: var(--maroon);
}

.lang-item .flag {
  margin-right: 12px;
  font-size: 18px;
}

/* Styling Bendera agar terlihat seperti logo */
.lang-item .flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  /* Lebar logo */
  height: 24px;
  /* Tinggi logo */
  background: #f0f0f0;
  border-radius: 4px;
  /* Buat agak membulat (Gunakan 50% jika ingin bulat penuh) */
  font-size: 18px;
  line-height: 1;
  border: 1px solid #ddd;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  margin-right: 12px;
  overflow: hidden;
}

/* Jika Baginda ingin menggunakan gambar (.png), ganti isi .flag dengan <img> dan gunakan CSS ini: */
.lang-item .flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.selected-lang {
  justify-content: space-between;
  border-bottom: none;
}

.selected-lang .chevron {
  color: var(--gray-600);
  font-size: 14px;
  transform: rotate(0deg);
  transition: transform 0.3s ease;
}

.selected-lang.open .chevron {
  transform: rotate(180deg);
}

.lang-dropdown-list {
  max-height: 180px;
  overflow-y: auto;
  border-top: 1px solid var(--gray-200);
}

/* Kustomisasi Scrollbar untuk Dropdown */
.lang-dropdown-list::-webkit-scrollbar {
  width: 6px;
}

.lang-dropdown-list::-webkit-scrollbar-track {
  background: var(--gray-100);
}

.lang-dropdown-list::-webkit-scrollbar-thumb {
  background: var(--gray-400);
  border-radius: 4px;
}

.lang-dropdown-list::-webkit-scrollbar-thumb:hover {
  background: var(--gray-600);
}

/* ── WIDGET SOSIAL MEDIA ── */
.sosmed-widget {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  margin-top: 20px;
  /* Jarak dengan widget IPP di atasnya */
}

.sosmed-header {
  background: var(--maroon);
  color: var(--white);
  padding: 11px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-bottom: 3px solid var(--gold);
  /* Garis emas sesuai gambar */
}

.sosmed-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  /* Jarak antar kotak sosial media */
}

.sosmed-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  background: #f4f7fb;
  /* Latar belakang rona biru muda seperti gambar */
  border: 1px solid #dbe3ed;
  border-radius: 6px;
  text-decoration: none;
  color: #333333;
  font-weight: 700;
  font-size: 14px;
  transition: var(--transition);
}

.sosmed-item:hover {
  background: #e9eef5;
  border-color: #c0ccdb;
  transform: translateY(-2px);
  /* Efek sedikit melayang saat diklik */
}

.sosmed-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/* ── WIDGET STATISTIK SITUS ── */
.stat-widget {
  background: #f4f7fb;
  /* Latar belakang biru sangat muda */
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
  margin-top: 20px;
  /* Jarak dengan widget sebelumnya */
}

.stat-header {
  background: var(--maroon);
  color: var(--white);
  padding: 11px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-bottom: 3px solid var(--gold);
  /* Garis bawah emas */
}

.stat-body {
  padding: 18px 24px;
}

.stat-main {
  text-align: center;
  font-size: 44px;
  font-weight: 900;
  color: #555555;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.stat-divider {
  border: none;
  border-top: 1px solid #e2e8f0;
  margin: 12px 0;
}

.stat-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.stat-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  font-size: 13px;
  color: #444444;
}

.stat-list li .stat-label {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stat-list li .stat-icon {
  font-size: 14px;
  width: 18px;
  text-align: center;
  /* Mencegah emoji terpotong */
  display: inline-block;
}

.stat-list li .stat-val {
  font-weight: 400;
  color: #555555;
}

.stat-footer {
  text-align: center;
  font-size: 11px;
  color: #555555;
  margin-top: 12px;
}

/* ── WIDGET TAUTAN WEBSITE ── */
.tautan-widget {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  margin-top: 20px;
  /* Jarak dari widget IPP di atasnya */
}

.tautan-header {
  background: var(--maroon);
  color: var(--white);
  padding: 11px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-bottom: 3px solid var(--gold);
  /* Garis emas bawah judul */
}

.tautan-body {
  padding: 12px 16px;
}

.tautan-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tautan-list li {
  border-bottom: 1px solid var(--gray-100);
}

.tautan-list li:last-child {
  border-bottom: none;
}

.tautan-list a {
  display: block;
  padding: 10px 0;
  font-size: 13px;
  font-weight: 700;
  color: #1a6b9c;
  /* Warna biru profesional menyerupai rujukan */
  text-decoration: none;
  transition: var(--transition);
}

/* Efek saat kursor diarahkan ke tautan */
.tautan-list a:hover {
  color: var(--maroon);
  padding-left: 6px;
  /* Teks sedikit bergeser ke kanan */
}

/* ── WIDGET ROLE MODEL & AGEN PERUBAHAN ── */
.role-model-widget {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  margin-top: 20px;
}

.role-model-header {
  background: var(--maroon);
  color: var(--white);
  padding: 11px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-bottom: 3px solid var(--gold);
}

.role-model-body {
  padding: 12px;
}

/* Kotak Slider Portrait */
.role-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  /* Mengatur bentuk memanjang ke bawah (portrait) */
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--gray-100);
}

.role-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  /* Efek transisi memudar (fade) */
}

.role-slide.active {
  opacity: 1;
  z-index: 1;
}

.role-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Memastikan foto penuh tanpa mengubah proporsi wajah */
}

.role-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(139, 26, 26, 0.85);
  /* Warna maroon transparan */
  color: var(--white);
  text-align: center;
  padding: 10px;
  font-size: 13px;
  font-weight: 600;
  backdrop-filter: blur(2px);
}

/* ── WIDGET JADWAL SIDANG (PREMIUM REDESIGN) ── */
.jadwal-widget {
  background: linear-gradient(145deg, #ffffff, #f9f9f9);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0,0,0,0.05);
  position: relative;
}

/* Header Utama dengan Gradient Maroon Mewah */
.jadwal-main-header {
  text-align: center;
  padding: 30px 20px 20px;
  background: linear-gradient(135deg, #811d08 0%, #a42c14 50%, #d84315 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

/* Efek cahaya/kilap di header */
.jadwal-main-header::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
  transform: rotate(30deg);
  pointer-events: none;
}

.jadwal-main-header h3 {
  font-size: 22px;
  color: #ffffff;
  margin-bottom: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.jadwal-main-header h3 i {
  color: #ffc107; /* Warna emas untuk palu hakim */
  font-size: 24px;
}

.jadwal-date {
  color: #811d08;
  background: linear-gradient(to right, #fdfbfb, #ebedee);
  display: inline-block;
  padding: 6px 20px;
  border-radius: 30px;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Body Widget */
.jadwal-body {
  display: flex;
  gap: 24px;
  padding: 24px;
  background: #f4f6f8; /* Abu-abu sangat muda agar kartu putih menonjol */
}

/* Kartu Kolom */
.jadwal-col {
  flex: 1;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.02);
  display: flex;
  flex-direction: column;
}

/* Header Kolom */
.jadwal-col-header {
  background: #ffffff;
  color: #2c3e50;
  text-align: center;
  padding: 16px;
  font-weight: 800;
  font-size: 15px;
  border-bottom: 2px solid #f0f2f5;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.jadwal-col-header i {
  color: #d84315;
  margin-right: 8px;
  font-size: 18px;
}

/* Daftar Jadwal */
.jadwal-list {
  background: #ffffff;
  min-height: 150px;
  max-height: 380px;
  overflow-y: auto;
  padding: 12px;
  flex: 1;
}

/* Custom Scrollbar */
.jadwal-list::-webkit-scrollbar { width: 6px; }
.jadwal-list::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 10px; }
.jadwal-list::-webkit-scrollbar-thumb { background: #c1c1c1; border-radius: 10px; }
.jadwal-list::-webkit-scrollbar-thumb:hover { background: #a8a8a8; }

/* Item Jadwal - Desain Card Modern */
.jadwal-item {
  background: #ffffff;
  border: 1px solid #f0f2f5;
  padding: 16px;
  font-size: 13px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border-radius: 12px;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

/* Pita warna di kiri item */
.jadwal-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: #d84315;
  border-radius: 4px 0 0 4px;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.jadwal-item:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 8px 20px rgba(216, 67, 21, 0.1);
  border-color: rgba(216, 67, 21, 0.2);
}

.jadwal-item:hover::before {
  width: 6px;
  opacity: 1;
}

.jadwal-item:last-child {
  margin-bottom: 0;
}

.jadwal-item strong {
  color: #811d08;
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 800;
}

.jadwal-item div {
  margin-bottom: 4px;
  color: #555;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}

.jadwal-item div::before {
  content: "\f054"; /* Ikon chevron kanan */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #d84315;
  font-size: 10px;
  margin-top: 4px;
}

/* Status Kosong */
.jadwal-empty {
  text-align: center;
  color: #95a5a6;
  padding: 40px 20px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.jadwal-empty i {
  font-size: 32px;
  color: #bdc3c7;
  margin-bottom: 8px;
}

/* Footer Widget */
.jadwal-footer {
  background: #ffffff;
  padding: 20px;
  text-align: center;
  border-top: 1px solid #f0f2f5;
}

/* Tombol Mewah */
.jadwal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #a42c14, #d84315);
  color: #ffffff !important;
  padding: 14px 40px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 8px 25px rgba(216, 67, 21, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.jadwal-btn::after {
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  transition: transform 0.3s ease;
}

.jadwal-btn:hover {
  background: linear-gradient(135deg, #811d08, #a42c14);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(216, 67, 21, 0.5);
}

.jadwal-btn:hover::after {
  transform: translateX(4px);
}

/* Responsif untuk HP */
@media (max-width: 768px) {
  .jadwal-body {
    flex-direction: column;
  }
}

/* ── WIDGET VIDEO UTAMA ── */
.video-widget {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.video-header {
  background: var(--maroon);
  color: var(--white);
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.video-body {
  padding: 20px;
}

/* Grid 3x2 */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.video-item {
  display: block;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/9;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--gray-200);
}

.video-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* Efek tombol play di tengah video saat kursor diarahkan */
.play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.6);
  color: white;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 20px;
  padding-left: 4px;
  /* Menyesuaikan agar segitiga play pas di tengah */
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.video-item:hover img {
  transform: scale(1.05);
  /* Gambar sedikit membesar */
}

.video-item:hover .play-overlay {
  opacity: 1;
  /* Munculkan logo play */
}

/* Area tombol bawah */
.video-footer {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 12px;
  padding-bottom: 8px;
}

.video-btn {
  background: var(--maroon);
  color: var(--white);
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.video-btn.subscribe-btn {
  background: #c4302b;
  /* Warna merah khas YouTube */
}

.video-btn:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
  /* Tombol sedikit terangkat */
}

/* Penyesuaian layar HP (Responsive) */
@media (max-width: 768px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
}

/* ── PERBAIKAN DROPDOWN (MEMANJANG, MULTI-LEVEL & ANTI-OVERFLOW) ── */
.dropdown {
  min-width: 260px;
  /* Memberikan lebar minimum yang proporsional agar enak dilihat */
  white-space: nowrap;
  /* Mencegah teks terpotong ke baris baru */
}

.dropdown a {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Sub-Menu Tingkat Lanjut (Level 3) */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu .dropdown-menu-right {
  display: none;
  position: absolute;
  top: -3px;
  left: 100%;
  /* Default: Muncul tepat di sebelah kanan */
  background: var(--white);
  min-width: 260px;
  /* Lebar minimum untuk sub-menu */
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--gold);
  border-radius: 0 0 var(--radius) var(--radius);
  z-index: 1000;
}

.dropdown-submenu:hover>.dropdown-menu-right {
  display: block;
}

/* Ikon Panah Kanan untuk menu yang memiliki anak */
.has-child::after {
  content: '\203A';
  /* Panah kanan (›) */
  font-size: 18px;
  margin-left: 16px;
  color: var(--gray-400);
}

.dropdown-submenu:hover>.has-child::after {
  color: var(--maroon);
}

/* ── SOLUSI MENU UJUNG LAYAR (2 Menu Terakhir: Hubungi Kami & Reformasi) ── */

/* 1. Dropdown utama dibuat rata kanan */
.nav-item:nth-last-child(1) .dropdown,
.nav-item:nth-last-child(2) .dropdown {
  left: auto;
  right: 0;
}

/* 2. Sub-menu level 3 meluncur ke KIRI (bukan ke kanan) agar tidak keluar layar */
.nav-item:nth-last-child(1) .dropdown-submenu .dropdown-menu-right,
.nav-item:nth-last-child(2) .dropdown-submenu .dropdown-menu-right {
  left: auto;
  right: 100%;
}

/* 3. Memindahkan posisi panah ke sebelah kiri teks dan menunjuk ke kiri (‹) */
.nav-item:nth-last-child(1) .has-child::after,
.nav-item:nth-last-child(2) .has-child::after {
  content: '\2039';
  /* Panah kiri */
  margin-left: 0;
  margin-right: 16px;
  order: -1;
  /* Trik Flexbox: Memaksa ikon panah pindah ke sisi kiri teks */
}

/* ── WIDGET JAM KERJA REAL-TIME ── */
.jk-widget {
  background: #f8fbff;
  /* Biru sangat muda */
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.jk-header {
  background: var(--maroon);
  color: var(--white);
  padding: 11px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-bottom: 3px solid var(--gold);
}

.jk-body {
  padding: 20px 16px;
}

/* Status Indikator */
.jk-status-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.jk-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ccc;
}

.dot-red {
  background: #f44336;
  box-shadow: 0 0 6px rgba(244, 67, 54, 0.5);
}

.dot-green {
  background: #4caf50;
  box-shadow: 0 0 6px rgba(76, 175, 80, 0.5);
}

.dot-orange {
  background: #ff9800;
  box-shadow: 0 0 6px rgba(255, 152, 0, 0.5);
}

.jk-status-text {
  font-size: 15px;
  color: #333;
}

.jk-badge {
  background: #dc3545;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
}

/* Bar Hari */
.jk-days-bar {
  display: flex;
  background: #9a2109;
  /* Maroon */
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 20px;
}

.jk-day {
  flex: 1;
  text-align: center;
  padding: 8px 0;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  border-right: 1px solid rgba(0, 0, 0, 0.15);
}

.jk-day:last-child {
  border-right: none;
}

.jk-day.active {
  background: #fbc02d;
  /* Emas / Kuning terang */
  color: #8B1A1A;
  /* Teks Maroon */
}

/* Tabel Jam */
.jk-table-title {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #555;
  margin-bottom: 6px;
}

.jk-table-row {
  display: flex;
  justify-content: space-between;
  text-align: center;
  font-size: 13px;
  color: #666;
  margin-bottom: 16px;
}

.jk-table-row div {
  flex: 1;
}

.jk-table-row strong {
  color: #333;
}

/* Banner Libur Nasional */
.jk-holiday-banner {
  background: #fefaf0;
  border: 1px solid #f7dfa4;
  border-radius: 20px;
  text-align: center;
  padding: 10px;
  margin-top: 14px;
}

.jk-holiday-banner strong {
  color: #8c6d1f;
  /* Coklat Emas */
  font-size: 13px;
}

.jk-note {
  text-align: center;
  font-size: 11px;
  color: #777;
  margin-top: 16px;
  line-height: 1.5;
}

/* ── PERBAIKAN TAMPILAN MOBILE (HEADER & WIDGET FULL WIDTH) ── */

@media (max-width: 1024px) {

  /* Di layar Tablet: Semua widget di kolom kanan disejajarkan rapi */
  .right-col>div {
    flex: 1 1 240px;
    margin-top: 0 !important;
    /* Menghapus jarak manual agar seragam */
  }
}

@media (max-width: 768px) {

  /* 1. Membuat Header Lebih Proporsional di Layar HP */
  .logo-block {
    gap: 10px;
  }

  .logo-svg {
    width: 44px !important;
    height: 44px !important;
  }

  .logo-text h3 {
    font-size: 8px !important;
    letter-spacing: 0.5px !important;
  }

  .logo-text h1 {
    font-size: 15px !important;
    line-height: 1.2 !important;
    margin-top: 2px;
  }

  .logo-text p {
    font-size: 9px !important;
    line-height: 1.4;
  }

  /* 2. Memaksa SEMUA Widget di Sidebar menjadi Lebar Penuh (Full Width) */
  .right-col {
    flex-direction: column !important;
    display: flex !important;
    gap: 20px !important;
    /* Memberikan jarak seragam antar kotak */
  }

  .right-col>div {
    width: 100% !important;
    /* Menyamakan lebar seperti kotak pencarian */
    flex: none !important;
    margin-bottom: 0 !important;
  }
}

/* ── PERBAIKAN RUANG KOSONG HEADER & TOMBOL MENU MOBILE ── */
@media (max-width: 768px) {

  /* 1. Mencegah elemen terdorong ke bawah yang menyebabkan ruang kosong */
  .header-inner {
    flex-wrap: nowrap !important;
    align-items: center !important;
    padding: 10px 16px !important;
  }

  /* 2. Memberi batasan pada blok logo agar berbagi ruang dengan tombol menu */
  .logo-block {
    flex: 1;
  }

  /* 3. Mewarnai tombol menu garis tiga menjadi maroon agar terlihat jelas */
  .nav-toggle span {
    background: var(--maroon) !important;
  }

  /* 4. Menyesuaikan area klik tombol menu agar lebih proporsional */
  .nav-toggle {
    padding: 10px !important;
    margin-left: 10px;
  }
}

/* ── WIDGET PEMBACA LAYAR (SCREEN READER) ── */
.sr-widget-btn {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 54px;
  height: 54px;
  background-color: var(--white);
  border: 4px solid var(--maroon);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--maroon);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  z-index: 9999;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

/* Animasi denyut halus agar menarik perhatian difabel */
.sr-widget-btn {
  animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
  0% {
    box-shadow: 0 0 0 0 rgba(139, 26, 26, 0.4);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(139, 26, 26, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(139, 26, 26, 0);
  }
}

/* Saat Pembaca Layar Aktif */
.sr-widget-btn.aktif {
  background-color: var(--maroon);
  color: var(--white);
  border-color: var(--gold);
  animation: none;
  /* Matikan denyut setelah aktif */
  box-shadow: 0 0 15px var(--gold);
}

@media (max-width: 768px) {
  .sr-widget-btn {
    bottom: 20px;
    left: 20px;
    width: 48px;
    height: 48px;
    border-width: 3px;
  }
}

/* ── WIDGET AKSESIBILITAS ── */
.acc-widget {
  position: fixed;
  top: 15%;
  /* Berada di kanan atas */
  right: 0;
  z-index: 10000;
}

/* Tombol Biru Melayang */
.acc-main-btn {
  background: #0062cc;
  /* Warna biru sesuai referensi */
  color: white;
  border: none;
  padding: 12px 14px;
  border-radius: 8px 0 0 8px;
  /* Lengkung hanya di sisi kiri */
  cursor: pointer;
  box-shadow: -2px 2px 8px rgba(0, 0, 0, 0.15);
  transition: background 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.acc-main-btn:hover {
  background: #004bb5;
}

/* Panel Menu */
.acc-menu-panel {
  display: none;
  position: absolute;
  top: 0;
  right: 60px;
  /* Muncul di sebelah kiri tombol biru */
  background: #ffffff;
  width: 250px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border: 1px solid #e0e0e0;
  overflow: hidden;
}

.acc-menu-panel.show {
  display: block;
  animation: fadeInAcc 0.2s ease-in-out;
}

@keyframes fadeInAcc {
  from {
    opacity: 0;
    transform: translateX(10px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.acc-header {
  font-weight: 700;
  font-size: 15px;
  color: #333;
  padding: 12px 16px;
  border-bottom: 1px solid #eaeaea;
}

.acc-body {
  padding: 12px;
  max-height: 70vh;
  overflow-y: auto;
}

/* Kustomisasi Scrollbar Menu Aksesibilitas */
.acc-body::-webkit-scrollbar {
  width: 5px;
}

.acc-body::-webkit-scrollbar-track {
  background: transparent;
}

.acc-body::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

/* Item Menu / Tombol */
.acc-item {
  display: flex;
  align-items: center;
  width: 100%;
  background: #ffffff;
  border: 1px solid #e0b4b4;
  /* Garis tepi kemerahan */
  padding: 10px 14px;
  margin-bottom: 8px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #212529;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Source Sans 3', sans-serif;
}

.acc-item:last-child {
  margin-bottom: 0;
}

.acc-item:hover {
  background: #fdfdfd;
  border-color: #8b1a1a;
}

/* Saat fitur diaktifkan */
.acc-item.active {
  background: #fcf0f0;
  border-color: #8b1a1a;
  color: #8b1a1a;
}

.acc-icon {
  width: 24px;
  color: #0062cc;
  /* Warna ikon biru */
  font-weight: bold;
  font-size: 16px;
  margin-right: 8px;
  text-align: center;
  display: inline-block;
}

/* ── EFEK FUNGSIONAL AKSESIBILITAS PADA SISTEM (OVERRIDE CSS) ── */

/* 1. Mode Disleksia (Font ramah Disleksia / Comic Sans sebagai fallback umum) */
body.acc-disleksia,
body.acc-disleksia * {
  font-family: "Comic Sans MS", "Comic Sans", cursive !important;
  letter-spacing: 1px !important;
}

/* 2. Font Ramah Baca (San-Serif murni) */
body.acc-readable,
body.acc-readable * {
  font-family: Arial, Helvetica, sans-serif !important;
}

/* 3. Skala Abu-abu (Grayscale) */
html.acc-grayscale {
  filter: grayscale(100%) !important;
}

/* 4. Mode Invers (Kebalikan warna) */
html.acc-invert {
  filter: invert(100%) hue-rotate(180deg) !important;
}

html.acc-invert img,
html.acc-invert video {
  /* Membalikkan ulang gambar agar warna foto tetap asli */
  filter: invert(100%) hue-rotate(180deg) !important;
}

/* 5. Kontras Tinggi (Hitam & Kuning) */
body.acc-high-contrast {
  background-color: #000000 !important;
  color: #ffffff !important;
}

body.acc-high-contrast * {
  background-color: transparent !important;
  color: #ffffff !important;
  border-color: #ffff00 !important;
}

body.acc-high-contrast a,
body.acc-high-contrast button {
  color: #ffff00 !important;
}

/* 6. Latar Putih */
body.acc-white-bg {
  background-color: #ffffff !important;
  color: #000000 !important;
  background-image: none !important;
}

body.acc-white-bg * {
  background-color: #ffffff !important;
  color: #000000 !important;
}

/* 7. Garis Bawah Link */
body.acc-underline a {
  text-decoration: underline !important;
}

/* ── STYLE METADATA KONTEN (OLEH: ADMIN) ── */
.content-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-200);
  font-size: 13px;
  color: var(--gray-600);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.meta-item svg {
  color: var(--maroon-light);
}

.meta-divider {
  color: var(--gray-200);
  font-weight: 300;
}

/* Responsif untuk HP */
@media (max-width: 768px) {
  .content-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .meta-divider {
    display: none;
  }
}

/* ── PENANGKAL KONTEN WYSIWYG (AGAR RESPONSIP & TIDAK RUSAK DI HP) ── */

/* 1. Memaksa Gambar WYSIWYG agar tidak keluar batas layar */
.sejarah-text img,
.page-content img,
.content-paper img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 8px;
  /* Memberikan efek lengkung agar selaras dengan desain situs */
  margin: 15px 0;
}

/* 2. Memaksa Tabel WYSIWYG agar bisa di-scroll ke samping (tidak terpotong) */
.sejarah-text table,
.page-content table,
.content-paper table {
  width: 100% !important;
  max-width: 100% !important;
  display: block;
  overflow-x: auto;
  /* Memunculkan scrollbar horizontal jika tabel terlalu lebar */
  -webkit-overflow-scrolling: touch;
  border-collapse: collapse;
}

/* 3. Merapikan garis pada Tabel WYSIWYG */
.sejarah-text td,
.sejarah-text th,
.content-paper td,
.content-paper th {
  border: 1px solid var(--gray-200);
  padding: 8px 12px;
}

/* 4. Memaksa Iframe (Video YouTube/Maps dari WYSIWYG) agar proporsional */
.sejarah-text iframe,
.page-content iframe,
.content-paper iframe {
  max-width: 100% !important;
}

.struktur-img:hover {
  transform: scale(1.02);
  cursor: zoom-in;
}

/* ── TOMBOL KEMBALI KE ATAS (SCROLL TO TOP) ── */
.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--maroon);
  /* Warna dasar Maroon Kebanggaan */
  color: var(--white);
  border: 2px solid var(--gold);
  /* Bingkai Emas Mewah */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9998;
  /* Memastikan berada di atas konten lain */

  /* Efek Sembunyi Awal */
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Muncul saat pengunjung menggeser layar ke bawah (dipicu oleh script.js) */
.scroll-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background-color: var(--gold);
  /* Berubah menjadi Emas saat disentuh */
  color: var(--maroon);
  border-color: var(--maroon);
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(139, 26, 26, 0.4);
}

/* Penyesuaian untuk Layar HP agar tidak menghalangi konten */
@media (max-width: 768px) {
  .scroll-top-btn {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }
}

/* ── SEARCH RESULT STYLE ── */

.search-result-list {
  margin-top: 24px;
}

.search-group {
  margin-bottom: 40px;
}

/* Judul kategori hasil */
.search-group-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--maroon);
  border-bottom: 3px solid var(--gold);
  padding-bottom: 10px;
  margin-bottom: 20px;
  font-family: 'Merriweather', serif;
}

/* Card hasil pencarian */
.search-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-left: 5px solid var(--maroon);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 16px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

/* Hover card */
.search-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-left-color: var(--gold);
}

/* Judul hasil */
.search-title {
  display: inline-block;
  font-size: 18px;
  font-weight: 700;
  color: var(--maroon);
  text-decoration: none;
  margin-bottom: 10px;
  font-family: 'Merriweather', serif;
  line-height: 1.5;
  transition: var(--transition);
}

.search-title:hover {
  color: var(--gold);
  text-decoration: underline;
}

/* Cuplikan isi */
.search-excerpt {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.8;
}

/* Highlight keyword */
.search-excerpt mark {
  background: rgba(212, 135, 42, 0.2);
  color: var(--maroon);
  padding: 1px 4px;
  border-radius: 4px;
  font-weight: 700;
}

/* Metadata kecil */
.search-meta {
  margin-top: 12px;
  font-size: 12px;
  color: var(--gray-400);
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Jika tidak ada hasil */
.search-empty {
  background: var(--white);
  border: 1px dashed var(--gray-400);
  border-radius: var(--radius);
  padding: 30px 20px;
  text-align: center;
  color: var(--gray-600);
  font-size: 14px;
}

/* Responsif HP */
@media (max-width: 768px) {

  .search-group-title {
    font-size: 18px;
  }

  .search-item {
    padding: 16px;
  }

  .search-title {
    font-size: 16px;
  }

  .search-excerpt {
    font-size: 13px;
  }
}

/* ── DETAIL PENCARIAN ── */

.page-title {
  font-family: 'Merriweather', serif;
  font-size: 34px;
  line-height: 1.4;
  color: var(--maroon);
  margin-bottom: 24px;
  font-weight: 900;
}

.page-content {
  font-size: 15px;
  line-height: 1.9;
  color: var(--gray-700);
}

.page-content p {
  margin-bottom: 18px;
}

.page-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

@media(max-width:768px) {

  .page-title {
    font-size: 26px;
  }

  .page-content {
    font-size: 14px;
  }

}

/* =====================================================
   DETAIL PENCARIAN
===================================================== */

.detail-search-wrapper {
  width: 100%;
}

.detail-search-header {
  margin-bottom: 30px;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 20px;
}

.detail-search-badge {
  display: inline-block;
  background: #0f766e;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 50px;
  margin-bottom: 15px;
  letter-spacing: .5px;
}

.detail-search-header h1 {
  font-size: 32px;
  line-height: 1.4;
  color: #111827;
  margin: 0;
}

.detail-search-image {
  margin-bottom: 30px;
}

.detail-search-image img {
  width: 220px;
  border-radius: 18px;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

.detail-search-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.detail-item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 20px;
  transition: .3s;
}

.detail-item:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, .05);
  transform: translateY(-2px);
}

.detail-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: #0f766e;
  margin-bottom: 10px;
  letter-spacing: .5px;
}

.detail-value {
  color: #374151;
  line-height: 1.8;
  font-size: 15px;
}

.download-btn {
  display: inline-flex;
  align-items: center;
.search-title {
  display: inline-block;
  font-size: 18px;
  font-weight: 700;
  color: var(--maroon);
  text-decoration: none;
  margin-bottom: 10px;
  font-family: 'Merriweather', serif;
  line-height: 1.5;
  transition: var(--transition);
}

.search-title:hover {
  color: var(--gold);
  text-decoration: underline;
}

/* Cuplikan isi */
.search-excerpt {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.8;
}

/* Highlight keyword */
.search-excerpt mark {
  background: rgba(212, 135, 42, 0.2);
  color: var(--maroon);
  padding: 1px 4px;
  border-radius: 4px;
  font-weight: 700;
}

/* Metadata kecil */
.search-meta {
  margin-top: 12px;
  font-size: 12px;
  color: var(--gray-400);
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Jika tidak ada hasil */
.search-empty {
  background: var(--white);
  border: 1px dashed var(--gray-400);
  border-radius: var(--radius);
  padding: 30px 20px;
  text-align: center;
  color: var(--gray-600);
  font-size: 14px;
}

/* Responsif HP */
@media (max-width: 768px) {

  .search-group-title {
    font-size: 18px;
  }

  .search-item {
    padding: 16px;
  }

  .search-title {
    font-size: 16px;
  }

  .search-excerpt {
    font-size: 13px;
  }
}

/* ── DETAIL PENCARIAN ── */

.page-title {
  font-family: 'Merriweather', serif;
  font-size: 34px;
  line-height: 1.4;
  color: var(--maroon);
  margin-bottom: 24px;
  font-weight: 900;
}

.page-content {
  font-size: 15px;
  line-height: 1.9;
  color: var(--gray-700);
}

.page-content p {
  margin-bottom: 18px;
}

.page-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

@media(max-width:768px) {

  .page-title {
    font-size: 26px;
  }

  .page-content {
    font-size: 14px;
  }

}

/* =====================================================
   DETAIL PENCARIAN
===================================================== */

.detail-search-wrapper {
  width: 100%;
}

.detail-search-header {
  margin-bottom: 30px;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 20px;
}

.detail-search-badge {
  display: inline-block;
  background: #0f766e;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 50px;
  margin-bottom: 15px;
  letter-spacing: .5px;
}

.detail-search-header h1 {
  font-size: 32px;
  line-height: 1.4;
  color: #111827;
  margin: 0;
}

.detail-search-image {
  margin-bottom: 30px;
}

.detail-search-image img {
  width: 220px;
  border-radius: 18px;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

.detail-search-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.detail-item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 20px;
  transition: .3s;
}

.detail-item:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, .05);
  transform: translateY(-2px);
}

.detail-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: #0f766e;
  margin-bottom: 10px;
  letter-spacing: .5px;
}

.detail-value {
  color: #374151;
  line-height: 1.8;
  font-size: 15px;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #0f766e;
  color: #fff;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 600;
  transition: .3s;
}

.download-btn:hover {
  background: #115e59;
  transform: translateY(-2px);
}

.detail-link {
  color: #0f766e;
  font-weight: 600;
  word-break: break-all;
}

.search-empty {
  padding: 40px;
  text-align: center;
  background: #fff;
  border-radius: 20px;
  border: 1px solid #eee;
}

/* WYSIWYG Content Editor Styles */
/* Memaksa font seragam pada output WYSIWYG agar mengabaikan styling inline dari editor */
.wysiwyg-content,
.isi-artikel,
.announcement-detail-body {
  color: var(--gray-800);
  text-align: justify;
  line-height: 1.8;
  font-size: 15px;
  font-family: Arial, Helvetica, sans-serif;
}

.wysiwyg-content *,
.isi-artikel *,
.announcement-detail-body * {
  font-family: Arial, Helvetica, sans-serif !important;
  line-height: inherit !important;
}

.wysiwyg-content ul,
.isi-artikel ul,
.announcement-detail-body ul {
  list-style-type: disc;
  padding-left: 2rem;
  margin-bottom: 1rem;
}

.wysiwyg-content ol,
.isi-artikel ol,
.announcement-detail-body ol {
  list-style-type: decimal;
  padding-left: 2rem;
  margin-bottom: 1rem;
}

/* Aturan untuk list bertingkat (nested list) */
.wysiwyg-content ul ul,
.isi-artikel ul ul,
.announcement-detail-body ul ul,
.wysiwyg-content ol ul,
.isi-artikel ol ul,
.announcement-detail-body ol ul {
  list-style-type: circle;
  margin-bottom: 0;
  margin-top: 0.5rem;
  padding-left: 1.5rem;
}

.wysiwyg-content ul ul ul,
.isi-artikel ul ul ul,
.announcement-detail-body ul ul ul {
  list-style-type: square;
  padding-left: 1.5rem;
}

.wysiwyg-content ol ol,
.isi-artikel ol ol,
.announcement-detail-body ol ol,
.wysiwyg-content ul ol,
.isi-artikel ul ol,
.announcement-detail-body ul ol {
  list-style-type: lower-alpha;
  margin-bottom: 0;
  margin-top: 0.5rem;
  padding-left: 1.5rem;
}

.wysiwyg-content ol ol ol,
.isi-artikel ol ol ol,
.announcement-detail-body ol ol ol {
  list-style-type: lower-roman;
  padding-left: 1.5rem;
}

.wysiwyg-content li,
.isi-artikel li,
.announcement-detail-body li {
  margin-bottom: 0.5rem;
  display: list-item;
}

.wysiwyg-content p,
.isi-artikel p,
.announcement-detail-body p {
  margin-bottom: 1rem;
}

.wysiwyg-content strong,
.wysiwyg-content b,
.isi-artikel strong,
.isi-artikel b,
.announcement-detail-body strong,
.announcement-detail-body b {
  font-weight: bold;
}

.wysiwyg-content em,
.wysiwyg-content i,
.isi-artikel em,
.isi-artikel i,
.announcement-detail-body em,
.announcement-detail-body i {
  font-style: italic;
}

.wysiwyg-content a,
.isi-artikel a,
.announcement-detail-body a {
  color: var(--maroon);
  text-decoration: underline;
}

/* Hide content meta on home page explicitly */
body.page-home .content-meta { display: none !important; }
body.page- .content-meta { display: none !important; }

/* ══════════════════════════════════════════════════════════
   TAMBAHAN: Selector class untuk logo-text (SEO: h1 unik/hlm)
   Menggantikan .logo-text h3 / h1 tanpa menghapus rule lama
══════════════════════════════════════════════════════════ */

/* State normal (menyamai .logo-text h3 lama) */
.logo-text .logo-eyebrow {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 10px;
  font-weight: 600;
  color: var(--gray-600);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  margin: 0;
}

/* State normal (menyamai .logo-text h1 lama) */
.logo-text .logo-title {
  font-family: 'Merriweather', serif;
  font-size: 20px;
  font-weight: 900;
  color: var(--maroon);
  line-height: 1.1;
  transition: all 0.3s ease;
  margin: 0;
}

/* State header di-scroll (sticky mengecil) */
.sticky-header-wrapper.scrolled .logo-text .logo-eyebrow {
  font-size: 8.5px;
}

.sticky-header-wrapper.scrolled .logo-text .logo-title {
  font-size: 16px;
}

/* Breakpoint tablet/HP (dari blok ── RESPONSIVE ──) */
@media (max-width: 768px) {
  .logo-text .logo-title {
    font-size: 16px;
  }
}

/* Breakpoint HP kedua (dari blok ── PERBAIKAN TAMPILAN MOBILE ──) */
@media (max-width: 768px) {
  .logo-text .logo-eyebrow {
    font-size: 8px !important;
    letter-spacing: 0.5px !important;
  }

  .logo-text .logo-title {
    font-size: 15px !important;
    line-height: 1.2 !important;
    margin-top: 2px;
  }
}
