/* ==========================================================================
   MPP Banjar - Redesigned front-end components
   Instansi & Layanan cards, announcement modal, and Fasilitas section.
   Scoped with .mpp- prefix so it does not clash with the existing theme.
   ========================================================================== */

:root {
   --mpp-primary: #0a5e51;
   --mpp-primary-dark: #07483d;
   --mpp-primary-soft: #e4f1ee;
   --mpp-ink: #1a152e;
   --mpp-muted: #6b6a78;
   --mpp-border: #e7e6ef;
   --mpp-surface: #ffffff;
   --mpp-soft-bg: #f7f7f9;
   --mpp-shadow: 0 6px 18px rgba(26, 21, 46, .06);
   --mpp-shadow-hover: 0 18px 40px rgba(10, 94, 81, .16);

   /* Warna aksen emas untuk baris kedua judul hero (nama daerah). */
   --mpp-hero-aksen: #fbbf24;

   /* Font utama: Wix Madefor Display (override variabel Bootstrap) */
   --bs-font-sans-serif: 'Wix Madefor Display', Helvetica, Arial, sans-serif;
}

body,
button,
input,
select,
textarea {
   font-family: 'Wix Madefor Display', Helvetica, Arial, sans-serif;
}

/* --------------------------------------------------------------------------
   Shared grid helpers (equal height cards)
   -------------------------------------------------------------------------- */
.mpp-col {
   display: flex;
   margin-bottom: 30px;
}

.mpp-card-hover,
.mpp-ins-card,
.mpp-ly-card {
   text-decoration: none !important;
   color: inherit;
}

/* ==========================================================================
   INSTANSI CARD (vertical)
   ========================================================================== */
.mpp-ins-card {
   position: relative;
   display: flex;
   flex-direction: column;
   align-items: center;
   width: 100%;
   height: 100%;
   padding: 30px 22px 24px;
   background: var(--mpp-surface);
   border: 1px solid var(--mpp-border);
   border-radius: 18px;
   text-align: center;
   overflow: hidden;
   box-shadow: var(--mpp-shadow);
   transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

/* top accent line */
.mpp-ins-card::before {
   content: "";
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   height: 4px;
   background: linear-gradient(90deg, var(--mpp-primary), #3f9c8c);
   opacity: 0;
   transition: opacity .28s ease;
}

.mpp-ins-card--link:hover,
.mpp-ins-card--link:focus,
.mpp-ins-card:hover,
.mpp-ins-card:focus-visible {
   transform: translateY(-8px);
   box-shadow: var(--mpp-shadow-hover);
   border-color: rgba(10, 94, 81, .45);
   outline: none;
}

.mpp-ins-card--link:hover::before,
.mpp-ins-card--link:focus::before,
.mpp-ins-card:hover::before,
.mpp-ins-card:focus-visible::before {
   opacity: 1;
}

/* Piringan logo DIHAPUS: tidak ada lagi latar putih/bulat di belakang logo,
   sehingga logo tampil langsung di atas kartu. Kotak logo dibuat "menyesuaikan":
   lebar penuh kartu, tinggi tetap, dan gambar selalu muat (contain) sehingga
   logo memanjang maupun tinggi sama-sama tampil utuh tanpa terpotong. */
.mpp-ins-logo {
   display: flex;
   align-items: center;
   justify-content: center;
   width: 100%;
   height: 104px;
   padding: 0;
   margin-bottom: 18px;
   background: transparent;
   border: 0;
   border-radius: 0;
   transition: transform .28s ease;
}

.mpp-ins-logo img {
   width: auto;
   height: auto;
   max-width: 100%;
   max-height: 100%;
   object-fit: contain;
   display: block;
}

.mpp-ins-card--link:hover .mpp-ins-logo,
.mpp-ins-card--link:focus .mpp-ins-logo,
.mpp-ins-card:hover .mpp-ins-logo,
.mpp-ins-card:focus-visible .mpp-ins-logo {
   transform: scale(1.05);
}

/* texts */
.mpp-ins-alias {
   margin: 0 0 8px;
   font-size: 16px;
   font-weight: 700;
   line-height: 1.3;
   letter-spacing: .02em;
   text-transform: uppercase;
   color: var(--mpp-ink);
   display: -webkit-box;
   -webkit-line-clamp: 2;
   -webkit-box-orient: vertical;
   overflow: hidden;
}

.mpp-ins-name {
   flex: 1 1 auto;
   margin: 0 0 20px;
   font-size: 13.5px;
   line-height: 1.55;
   color: var(--mpp-muted);
   display: -webkit-box;
   -webkit-line-clamp: 3;
   -webkit-box-orient: vertical;
   overflow: hidden;
}

/* stats */
.mpp-ins-stats {
   display: flex;
   flex-wrap: wrap;
   justify-content: center;
   gap: 8px;
   width: 100%;
   margin-top: auto;
}

/* --------------------------------------------------------------------------
   Chips (used by both card types)
   -------------------------------------------------------------------------- */
.mpp-chip {
   display: inline-flex;
   align-items: center;
   gap: 6px;
   max-width: 100%;
   padding: 6px 12px;
   border-radius: 999px;
   font-size: 12.5px;
   font-weight: 600;
   line-height: 1;
   white-space: nowrap;
}

.mpp-chip i {
   font-size: 11px;
}

.mpp-chip--services {
   background: var(--mpp-primary-soft);
   color: var(--mpp-primary);
}

.mpp-chip--loket {
   background: #eaf3ff;
   color: #285da1;
}

.mpp-chip--instansi {
   background: var(--mpp-soft-bg);
   color: var(--mpp-muted);
   overflow: hidden;
   text-overflow: ellipsis;
}

/* ==========================================================================
   LAYANAN CARD (horizontal)
   ========================================================================== */
.mpp-ly-card {
   display: flex;
   gap: 18px;
   width: 100%;
   height: 100%;
   padding: 18px;
   background: var(--mpp-surface);
   border: 1px solid var(--mpp-border);
   border-radius: 18px;
   box-shadow: var(--mpp-shadow);
   transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.mpp-ly-card:hover,
.mpp-ly-card:focus {
   transform: translateY(-6px);
   box-shadow: var(--mpp-shadow-hover);
   border-color: rgba(10, 94, 81, .45);
   outline: none;
}

.mpp-ly-thumb {
   flex: 0 0 108px;
   width: 108px;
   height: 108px;
   padding: 8px;
   overflow: hidden;
   background: transparent;
   border: 0;
   border-radius: 14px;
}

/* contain: logo layanan (banyak yang berupa logo instansi memanjang) tampil
   utuh, tidak terpotong seperti waktu memakai cover. */
.mpp-ly-thumb img {
   width: 100%;
   height: 100%;
   object-fit: contain;
   display: block;
   transition: transform .4s ease;
}

.mpp-ly-card:hover .mpp-ly-thumb img,
.mpp-ly-card:focus .mpp-ly-thumb img {
   transform: scale(1.08);
}

.mpp-ly-body {
   display: flex;
   flex-direction: column;
   flex: 1 1 auto;
   min-width: 0;
}

.mpp-ly-title {
   margin: 0 0 8px;
   font-size: 16px;
   font-weight: 700;
   line-height: 1.35;
   color: var(--mpp-ink);
   display: -webkit-box;
   -webkit-line-clamp: 2;
   -webkit-box-orient: vertical;
   overflow: hidden;
}

.mpp-ly-card:hover .mpp-ly-title,
.mpp-ly-card:focus .mpp-ly-title {
   color: var(--mpp-primary);
}

.mpp-ly-desc {
   flex: 1 1 auto;
   margin: 0 0 14px;
   font-size: 13px;
   line-height: 1.55;
   color: var(--mpp-muted);
   display: -webkit-box;
   -webkit-line-clamp: 2;
   -webkit-box-orient: vertical;
   overflow: hidden;
}

.mpp-ly-meta {
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 10px;
   margin-top: auto;
}

.mpp-ly-meta .mpp-chip--instansi {
   min-width: 0;
   flex: 0 1 auto;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 575.98px) {
   .mpp-ly-card {
      flex-direction: column;
      gap: 14px;
   }

   .mpp-ly-thumb {
      flex: 0 0 auto;
      width: 100%;
      height: 170px;
   }

   .mpp-ly-desc {
      -webkit-line-clamp: 3;
   }
}

/* ==========================================================================
   HEADER: BILAH ATAS + MENU UTAMA
   ========================================================================== */

/* --- bilah atas --- */
.mpp-topbar {
   font-size: 12.5px;
   color: rgba(255, 255, 255, .82);
   background: var(--mpp-primary-dark);
}

.mpp-topbar__isi {
   display: flex;
   flex-wrap: wrap;
   align-items: center;
   justify-content: space-between;
   gap: 6px 22px;
   min-height: 40px;
   padding: 6px 0;
}

.mpp-topbar__kiri,
.mpp-topbar__kanan {
   display: flex;
   flex-wrap: wrap;
   align-items: center;
   gap: 6px 22px;
   margin: 0;
   padding: 0;
   list-style: none;
}

.mpp-topbar li {
   display: inline-flex;
   align-items: center;
   gap: 8px;
}

.mpp-topbar i {
   font-size: 12px;
   color: #8fd8c8;
}

.mpp-topbar a {
   color: inherit;
   text-decoration: none !important;
}

.mpp-topbar a:hover,
.mpp-topbar a:focus-visible {
   color: #ffffff;
   outline: none;
}

/* --- menu utama --- */
.mpp-nav {
   position: relative;
   z-index: 11;
   background: #ffffff;
   border-bottom: 1px solid var(--mpp-border);
}

/* Header lengket. Kelas `sticky` ditempel oleh JS tema saat halaman digulir;
   gayanya ditulis di sini karena elemennya tidak lagi memakai kelas
   .header__area milik tema. */
.mpp-nav.sticky {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   z-index: 99;
   background: #ffffff;
   border-bottom-color: transparent;
   box-shadow: 0 10px 30px rgba(26, 21, 46, .12);
   animation: 300ms ease-in-out 0s normal none 1 running fadeInDown;
   -webkit-animation: 300ms ease-in-out 0s normal none 1 running fadeInDown;
}

.mpp-nav__isi {
   min-height: 78px;
}

/* --- identitas --- */
.mpp-nav__brand,
.mpp-nav__tautan-brand {
   display: flex;
   align-items: center;
   gap: 12px;
   text-decoration: none !important;
   color: inherit;
}

.mpp-nav__logo {
   flex: 0 0 auto;
   display: flex;
   align-items: center;
   justify-content: center;
   width: 48px;
   height: 48px;
}

.mpp-nav__logo img {
   display: block;
   max-width: 100%;
   max-height: 100%;
   object-fit: contain;
}

.mpp-nav__teks {
   display: flex;
   flex-direction: column;
   min-width: 0;
   line-height: 1.25;
}

.mpp-nav__atas {
   font-size: 10.5px;
   font-weight: 700;
   letter-spacing: .07em;
   text-transform: uppercase;
   color: var(--mpp-muted);
}

.mpp-nav__bawah {
   font-size: 17px;
   font-weight: 800;
   letter-spacing: -.01em;
   color: var(--mpp-primary);
}

/* --- daftar menu --- */
.mpp-nav__menu {
   display: flex;
   justify-content: flex-end;
}

.mpp-nav__menu > ul {
   display: flex;
   flex-wrap: wrap;
   align-items: center;
   gap: 2px;
   margin: 0;
   padding: 0;
   list-style: none;
}

.mpp-nav__menu li {
   position: relative;
}

/* CSS tema menyetel jarak antar item menu 33px (untuk tampilan lama). Jarak
   itu dinolkan supaya menu baru bisa memakai gap sendiri. Bentuk
   :not(:last-child) dipakai agar bobotnya sama dengan aturan tema, sehingga
   berkas ini (dimuat setelahnya) yang menang. */
.mpp-nav__menu ul li:not(:last-child) {
   margin-right: 0;
}

.mpp-nav__menu .mpp-nav__tautan {
   display: inline-flex;
   align-items: center;
   gap: 8px;
   padding: 10px 14px;
   font-size: 14.5px;
   font-weight: 600;
   white-space: nowrap;
   color: var(--mpp-ink);
   text-decoration: none !important;
   border-radius: 10px;
   transition: color .2s ease, background .2s ease;
}

.mpp-nav__menu .mpp-nav__tautan i {
   font-size: 13px;
   color: var(--mpp-muted);
   transition: color .2s ease;
}

.mpp-nav__menu .mpp-nav__tautan:hover,
.mpp-nav__menu .mpp-nav__tautan:focus-visible,
.mpp-nav__menu .mpp-nav__tautan--aktif {
   color: var(--mpp-primary);
   background: var(--mpp-primary-soft);
   outline: none;
}

.mpp-nav__menu .mpp-nav__tautan:hover i,
.mpp-nav__menu .mpp-nav__tautan--aktif i {
   color: var(--mpp-primary);
}

/* Penanda ada submenu. Dibuat lewat CSS (bukan elemen ikon) agar tidak ikut
   tersalin ke panel menu di layar kecil dan tampil dua kali. */
.mpp-nav__menu .mpp-nav__punya-anak > .mpp-nav__tautan::after {
   content: "\f078";
   margin-left: 2px;
   font-family: "Font Awesome 5 Pro";
   font-size: 9px;
   font-weight: 400;
   opacity: .6;
}

/* --- submenu --- */
.mpp-nav__menu .mpp-nav__submenu {
   position: absolute;
   top: 100%;
   left: 0;
   z-index: 20;
   min-width: 228px;
   /* Jarak dari menu induk memakai margin, bukan top: saat disorot CSS tema
      ikut menulis top:100% sehingga submenu akan terlonjak kalau jaraknya
      ditaruh di properti top. */
   margin: 6px 0 0;
   padding: 8px;
   list-style: none;
   background: #ffffff;
   border: 1px solid var(--mpp-border);
   border-radius: 14px;
   box-shadow: 0 22px 48px rgba(26, 21, 46, .15);
   opacity: 0;
   visibility: hidden;
   transform: translateY(8px);
   transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.mpp-nav__menu li:hover > .mpp-nav__submenu,
.mpp-nav__menu li:focus-within > .mpp-nav__submenu {
   opacity: 1;
   visibility: visible;
   transform: translateY(0);
}

.mpp-nav__menu .mpp-nav__submenu a {
   display: block;
   padding: 9px 12px;
   font-size: 13.5px;
   font-weight: 500;
   white-space: nowrap;
   color: var(--mpp-muted);
   text-decoration: none !important;
   border-radius: 9px;
   transition: color .2s ease, background .2s ease;
}

.mpp-nav__menu .mpp-nav__submenu a:hover,
.mpp-nav__menu .mpp-nav__submenu a:focus-visible {
   color: var(--mpp-primary);
   background: var(--mpp-primary-soft);
   outline: none;
}

/* --- aksi di kanan --- */
.mpp-nav__aksi {
   display: flex;
   align-items: center;
   justify-content: flex-end;
   gap: 12px;
}

.mpp-nav__tombol {
   display: inline-flex;
   align-items: center;
   gap: 8px;
   padding: 10px 18px;
   font-size: 14px;
   font-weight: 600;
   white-space: nowrap;
   color: #ffffff !important;
   text-decoration: none !important;
   background: var(--mpp-primary);
   border-radius: 10px;
   transition: background .2s ease, transform .2s ease;
}

.mpp-nav__tombol:hover,
.mpp-nav__tombol:focus-visible {
   background: var(--mpp-primary-dark);
   transform: translateY(-1px);
   outline: none;
}

.mpp-nav__keluar {
   display: inline-flex;
   align-items: center;
   gap: 7px;
   font-size: 13.5px;
   font-weight: 600;
   color: #b4342f;
   text-decoration: none !important;
}

.mpp-nav__keluar:hover,
.mpp-nav__keluar:focus-visible {
   color: #8f2723;
   outline: none;
}

.mpp-nav__buka {
   display: inline-flex;
   flex-direction: column;
   justify-content: center;
   gap: 4px;
   width: 44px;
   height: 44px;
   padding: 0 11px;
   background: #ffffff;
   border: 1px solid var(--mpp-border);
   border-radius: 12px;
   cursor: pointer;
   transition: background .2s ease, border-color .2s ease;
}

.mpp-nav__buka span {
   display: block;
   width: 100%;
   height: 2px;
   background: var(--mpp-primary);
   border-radius: 2px;
}

.mpp-nav__buka:hover,
.mpp-nav__buka:focus-visible {
   background: var(--mpp-primary-soft);
   border-color: rgba(10, 94, 81, .3);
   outline: none;
}

/* --- panel menu layar kecil (sidebar tema) --- */
.sidebar__area {
   background: linear-gradient(180deg, #0a5e51 0%, #07483d 100%);
}

/* Kunci gulir latar selama panel menu terbuka (kelas dipasang oleh main.js). */
body.mpp-drawer-open {
   overflow: hidden;
}

/* Tombol tutup bawaan tema duduk di right:80px dan melebar saat hover,
   sehingga menimpa teks identitas di kepala panel. Dirapikan ke sudut kanan
   dan dibuat bulat tetap supaya tidak lagi bertumpuk. */
.sidebar__close {
   top: 26px;
   right: 30px;
}

.sidebar__close-btn {
   position: relative;
   top: 0;
   left: auto;
   transform: none;
   width: 40px;
   height: 40px;
   background: rgba(255, 255, 255, .12);
   border-color: rgba(255, 255, 255, .22);
}

.sidebar__close-btn:hover,
.sidebar__close-btn:focus-visible {
   width: 40px;
   border-radius: 50%;
   background: rgba(255, 255, 255, .24);
}

/* Tema aslinya menukar ikon X dengan kata "close" saat hover; di dalam panel
   ukuran tombol tetap kecil sehingga label itu terpotong. Pertahankan X. */
.sidebar__close-btn:hover span:first-of-type,
.sidebar__close-btn:focus-visible span:first-of-type {
   transform: translate(-50%, -50%);
}

.sidebar__close-btn:hover span:last-of-type,
.sidebar__close-btn:focus-visible span:last-of-type {
   transform: translate(-50%, 50%);
}

.mpp-drawer__brand {
   display: flex;
   align-items: center;
   gap: 12px;
   margin-bottom: 26px;
   padding-right: 52px; /* ruang untuk tombol tutup di sudut kanan */
   text-decoration: none !important;
}

.mpp-drawer__logo {
   flex: 0 0 auto;
   display: flex;
   align-items: center;
   justify-content: center;
   width: 46px;
   height: 46px;
   padding: 6px;
   background: #ffffff;
   border-radius: 13px;
}

.mpp-drawer__logo img {
   max-width: 100%;
   max-height: 100%;
   object-fit: contain;
}

.mpp-drawer__teks {
   display: flex;
   flex-direction: column;
   line-height: 1.3;
}

.mpp-drawer__atas {
   font-size: 10.5px;
   font-weight: 700;
   letter-spacing: .06em;
   text-transform: uppercase;
   color: #8fd8c8;
}

.mpp-drawer__bawah {
   font-size: 15.5px;
   font-weight: 800;
   color: #ffffff;
}

.mpp-drawer__aksi {
   display: flex;
   flex-direction: column;
   gap: 12px;
   margin-top: 26px;
}

.mpp-drawer__tombol {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   gap: 9px;
   padding: 13px 18px;
   font-size: 14.5px;
   font-weight: 600;
   color: #ffffff !important;
   text-decoration: none !important;
   background: rgba(255, 255, 255, .14);
   border: 1px solid rgba(255, 255, 255, .22);
   border-radius: 12px;
}

.mpp-drawer__tombol:hover,
.mpp-drawer__tombol:focus-visible {
   background: rgba(255, 255, 255, .24);
   outline: none;
}

.mpp-drawer__keluar {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   gap: 8px;
   font-size: 13.5px;
   font-weight: 600;
   color: rgba(255, 255, 255, .75);
   text-decoration: none !important;
}

.mpp-drawer__keluar:hover,
.mpp-drawer__keluar:focus-visible {
   color: #ffffff;
   outline: none;
}

/* meanmenu menyalin menu utama ke dalam panel; warnanya disesuaikan dengan
   latar hijau tua supaya tidak jadi blok putih. */
.mobile-menu .mean-bar,
.mobile-menu .mean-nav,
.mobile-menu .mean-nav ul {
   background: transparent !important;
   border: 0 !important;
}

/* MeanMenu (meanmenu.css) menata .mean-nav dan setiap <li> dengan float,
   sehingga tinggi kontainer runtuh jadi 0px. Akibatnya blok tombol aksi di
   bawah menu (Masuk / Dashboard) naik menimpa daftar menu dan lebarnya
   menyusut jadi 0px -- tampak sebagai tombol putih terpotong di tepi kanan.
   Kembalikan ke layout normal khusus di dalam panel. */
.mobile-menu {
   overflow: hidden; /* membentuk BFC: menahan float + memberi tinggi nyata */
}

.mobile-menu .mean-bar,
.mobile-menu .mean-nav,
.mobile-menu .mean-nav ul,
.mobile-menu .mean-nav ul li,
.mobile-menu .mean-nav ul li a {
   float: none;
   width: 100%;
}

.mobile-menu .mean-bar {
   z-index: 1; /* tetap di bawah tombol tutup panel */
}

.mobile-menu .mean-nav ul li a {
   background: transparent !important;
   border-top: 1px solid rgba(255, 255, 255, .12) !important;
   border-bottom: 0 !important;
   color: rgba(255, 255, 255, .86) !important;
   text-transform: none !important;
   font-size: 14px !important;
   font-weight: 600;
}

.mobile-menu .mean-nav ul li a:hover {
   color: #ffffff !important;
}

/* Label menu tidak boleh menabrak tombol "+" (mean-expand) yang mutlak di kanan. */
.mobile-menu .mean-nav ul li > a:not(.mean-expand) {
   padding-right: 52px;
}

.mobile-menu .mean-nav ul li li a:not(.mean-expand) {
   padding-right: 52px;
   padding-left: 28px;
   font-weight: 500;
   color: rgba(255, 255, 255, .72) !important;
}

.mobile-menu .mean-nav .mean-expand {
   background: rgba(255, 255, 255, .12) !important;
   border-left: 1px solid rgba(255, 255, 255, .14) !important;
   color: #ffffff !important;
}

/* ==========================================================================
   HERO (section pembuka beranda)
   Gambar jadi latar panel, sedangkan identitas situs, tombol aksi, dan angka
   ringkas ditumpuk di atasnya -- jadi tidak ada pita abu-abu kosong lagi.
   ========================================================================== */
.mpp-hero {
   padding: 26px 0 34px;
   background: linear-gradient(180deg, #f1f7f5 0%, var(--mpp-soft-bg) 100%);
}

.mpp-hero__panel {
   position: relative;
   display: flex;
   align-items: center;
   min-height: clamp(340px, 40vw, 460px);
   overflow: hidden;
   background: linear-gradient(135deg, #0a5e51 0%, #07483d 100%);
   border-radius: 24px;
   box-shadow: 0 24px 60px rgba(10, 94, 81, .22);
}

/* --- lapisan gambar --- */
.mpp-hero__slider {
   position: absolute;
   inset: 0;
}

#owl-demo,
#owl-demo .owl-stage-outer,
#owl-demo .owl-stage,
#owl-demo .owl-item {
   height: 100%;
}

#owl-demo .item.mpp-hero__slide {
   position: relative;
   height: 100%;
   margin: 0;
   overflow: hidden;
}

#owl-demo .item.mpp-hero__slide img {
   display: block;
   width: 100%;
   height: 100% !important;
   max-height: none !important;
   object-fit: cover;
   object-position: center;
}

/* Lapisan gelap supaya tulisan tetap terbaca di atas foto apa pun. */
.mpp-hero__panel::after {
   content: "";
   position: absolute;
   inset: 0;
   z-index: 1;
   pointer-events: none;
   background: linear-gradient(100deg,
         rgba(7, 72, 61, .94) 0%,
         rgba(7, 72, 61, .78) 42%,
         rgba(7, 72, 61, .34) 100%);
}

/* --- isi hero --- */
.mpp-hero__overlay {
   position: relative;
   z-index: 2;
   width: 100%;
   padding: clamp(30px, 4.6vw, 56px) clamp(22px, 4.6vw, 64px);
   color: #ffffff;
}

.mpp-hero__logo {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   width: 82px;
   height: 82px;
   margin-bottom: 20px;
   padding: 10px;
   background: rgba(255, 255, 255, .97);
   border-radius: 22px;
   box-shadow: 0 12px 28px rgba(0, 0, 0, .22);
}

.mpp-hero__logo img {
   max-width: 100%;
   max-height: 100%;
   object-fit: contain;
}

.mpp-hero__sapaan {
   margin: 0 0 8px;
   font-size: 12.5px;
   font-weight: 700;
   letter-spacing: .14em;
   text-transform: uppercase;
   color: #8fd8c8;
}

/* Judul hero: DUA BARIS bergaya banner referensi — baris pertama nama situs
   (putih), baris kedua nama daerah (emas). Keduanya sama besar & sama tebal
   supaya terbaca sebagai satu kesatuan, bukan judul + subjudul. */
.mpp-hero__title {
   margin: 0 0 12px;
   font-size: clamp(26px, 3.4vw, 44px);
   font-weight: 800;
   line-height: 1.12;
   color: #ffffff;
}

.mpp-hero__title-baris {
   display: block;
}

.mpp-hero__title-baris--aksen {
   color: var(--mpp-hero-aksen);
}

.mpp-hero__slogan {
   margin: 0;
   font-size: 14px;
   line-height: 1.6;
   color: rgba(255, 255, 255, .78);
}

/* --- tombol aksi --- */
.mpp-hero__aksi {
   display: flex;
   flex-wrap: wrap;
   gap: 12px;
   margin-top: 26px;
}

.mpp-hero__tombol {
   display: inline-flex;
   align-items: center;
   gap: 9px;
   padding: 13px 24px;
   font-size: 14.5px;
   font-weight: 700;
   color: var(--mpp-primary) !important;
   text-decoration: none !important;
   background: #ffffff;
   border-radius: 12px;
   box-shadow: 0 12px 26px rgba(0, 0, 0, .18);
   transition: transform .2s ease, background .2s ease;
}

.mpp-hero__tombol:hover,
.mpp-hero__tombol:focus-visible {
   transform: translateY(-2px);
   background: #eef7f5;
   outline: none;
}

.mpp-hero__tombol--garis {
   color: #ffffff !important;
   background: transparent;
   border: 1.5px solid rgba(255, 255, 255, .55);
   box-shadow: none;
}

.mpp-hero__tombol--garis:hover,
.mpp-hero__tombol--garis:focus-visible {
   background: rgba(255, 255, 255, .16);
}

/* --- angka ringkas --- */
.mpp-hero__statistik {
   display: flex;
   flex-wrap: wrap;
   gap: 12px 34px;
   margin: 30px 0 0;
   padding: 18px 0 0;
   list-style: none;
   border-top: 1px solid rgba(255, 255, 255, .2);
}

.mpp-hero__statistik li {
   display: flex;
   flex-direction: column;
}

.mpp-hero__statistik strong {
   font-size: 24px;
   font-weight: 800;
   line-height: 1.15;
   color: #ffffff;
}

.mpp-hero__statistik span {
   font-size: 12px;
   font-weight: 600;
   letter-spacing: .06em;
   text-transform: uppercase;
   color: rgba(255, 255, 255, .72);
}

/* --- titik navigasi slider ---
   Ditaruh di kanan bawah supaya tidak menabrak tulisan di kiri. Disembunyikan
   kalau gambarnya cuma satu. */
.mpp-hero__panel:not(.mpp-hero__panel--banyak) #owl-demo .owl-dots {
   display: none;
}

.mpp-hero__panel #owl-demo .owl-dots {
   position: absolute;
   right: 0;
   bottom: 20px;
   left: 0;
   z-index: 3;
   display: flex;
   justify-content: flex-end;
   gap: 8px;
   padding-right: clamp(22px, 4.6vw, 64px);
}

.mpp-hero__panel #owl-demo .owl-dot {
   line-height: 0;
}

.mpp-hero__panel #owl-demo .owl-dot span {
   display: block;
   width: 9px;
   height: 9px;
   margin: 0;
   background: rgba(255, 255, 255, .6);
   border-radius: 999px;
   transition: width .25s ease, background .25s ease;
}

.mpp-hero__panel #owl-demo .owl-dot.active span,
.mpp-hero__panel #owl-demo .owl-dot:hover span {
   width: 28px;
   background: #ffffff;
}

@media (max-width: 991.98px) {
   .mpp-nav__isi {
      min-height: 68px;
   }
}

@media (max-width: 575.98px) {
   .mpp-hero {
      padding: 16px 0 24px;
   }

   .mpp-hero__panel {
      min-height: 0;
      border-radius: 18px;
   }

   .mpp-hero__overlay {
      padding: 26px 20px 30px;
   }

   .mpp-hero__logo {
      width: 64px;
      height: 64px;
      margin-bottom: 16px;
      border-radius: 18px;
   }

   .mpp-hero__statistik {
      gap: 12px 24px;
      margin-top: 24px;
   }

   .mpp-hero__statistik strong {
      font-size: 20px;
   }

   .mpp-hero__tombol {
      flex: 1 1 auto;
      justify-content: center;
      padding: 12px 18px;
   }

   .mpp-nav__bawah {
      font-size: 15px;
   }

   .mpp-nav__atas {
      font-size: 9.5px;
   }
}

/* ==========================================================================
   ANNOUNCEMENT MODAL (Pengumuman)
   ========================================================================== */
.mpp-modal__dialog {
   width: 92%;
   max-width: 600px;
   margin: 1.75rem auto;
}

.mpp-modal__content {
   position: relative;
   display: flex;
   flex-direction: column;
   max-height: 90vh;
   overflow: hidden;
   background: var(--mpp-surface);
   border: 0;
   border-radius: 22px;
   box-shadow: 0 30px 80px rgba(26, 21, 46, .38);
}

/* entrance animation */
.mpp-modal.fade .mpp-modal__content {
   transform: scale(.95);
   transition: transform .28s ease;
}

.mpp-modal.show .mpp-modal__content {
   transform: scale(1);
}

.mpp-modal__close {
   position: absolute;
   top: 14px;
   right: 14px;
   z-index: 5;
   display: grid;
   place-items: center;
   width: 40px;
   height: 40px;
   padding: 0;
   color: #fff;
   font-size: 15px;
   background: rgba(26, 21, 46, .55);
   border: 0;
   border-radius: 50%;
   cursor: pointer;
   backdrop-filter: blur(4px);
   -webkit-backdrop-filter: blur(4px);
   transition: background .2s ease, transform .25s ease;
}

.mpp-modal__close:hover,
.mpp-modal__close:focus {
   background: var(--mpp-primary);
   transform: rotate(90deg);
   outline: none;
}

.mpp-modal__body {
   flex: 1 1 auto;
   min-height: 0;
   padding: 0;
   overflow-y: auto;
   -webkit-overflow-scrolling: touch;
}

.mpp-modal__figure {
   display: block;
   margin: 0;
   background: var(--mpp-soft-bg);
}

.mpp-modal__figure img {
   display: block;
   width: 100%;
   height: auto;
   /* poster tampil penuh selebar modal, tanpa celah di kiri/kanan */
   object-fit: cover;
}

.mpp-modal__text {
   padding: 22px 26px 28px;
   text-align: center;
}

.mpp-modal__title {
   margin: 0 0 10px;
   font-size: 20px;
   font-weight: 700;
   line-height: 1.35;
   color: var(--mpp-ink);
}

.mpp-modal__desc {
   margin: 0;
   font-size: 14px;
   line-height: 1.65;
   color: var(--mpp-muted);
   white-space: pre-line;
}

@media (max-width: 575.98px) {
   .mpp-modal .mpp-modal__dialog {
      width: 94%;
   }

   .mpp-modal__close {
      top: 10px;
      right: 10px;
      width: 34px;
      height: 34px;
      font-size: 13px;
   }

   .mpp-modal__text {
      padding: 18px 18px 22px;
   }

   .mpp-modal__title {
      font-size: 17px;
   }
}

/* ==========================================================================
   FASILITAS SECTION
   ========================================================================== */
.mpp-facility {
   background: var(--mpp-soft-bg);
}

/* --- left navigation --- */
.mpp-facility__nav {
   display: flex;
   flex-direction: column;
   flex-wrap: nowrap;
   gap: 6px;
   max-height: 470px;
   margin: 0;
   padding: 8px;
   list-style: none;
   overflow-y: auto;
   background: var(--mpp-surface);
   border: 1px solid var(--mpp-border);
   border-radius: 16px;
   box-shadow: var(--mpp-shadow);
}

.mpp-facility__nav-item {
   display: flex;
   width: 100%;
}

.mpp-facility__tab {
   display: flex;
   align-items: center;
   gap: 12px;
   width: 100%;
   padding: 12px 14px;
   font-size: 14px;
   font-weight: 600;
   color: var(--mpp-muted);
   text-align: left;
   background: transparent;
   border: 0;
   border-radius: 12px;
   transition: background .2s ease, color .2s ease;
}

.mpp-facility__tab:hover {
   color: var(--mpp-ink);
   background: var(--mpp-soft-bg);
}

.mpp-facility__tab.active {
   color: var(--mpp-primary);
   background: var(--mpp-primary-soft);
}

.mpp-facility__tab-icon {
   flex: 0 0 26px;
   display: grid;
   place-items: center;
   width: 26px;
   height: 26px;
   font-size: 10px;
   color: var(--mpp-muted);
   background: #f1f0f6;
   border-radius: 50%;
   transition: background .2s ease, color .2s ease, transform .2s ease;
}

.mpp-facility__tab.active .mpp-facility__tab-icon {
   color: #fff;
   background: var(--mpp-primary);
}

.mpp-facility__tab:hover .mpp-facility__tab-icon {
   transform: translateX(2px);
}

.mpp-facility__tab-label {
   min-width: 0;
   overflow: hidden;
   text-overflow: ellipsis;
   white-space: nowrap;
}

/* --- right content --- */
.mpp-facility__panes > .tab-pane.active {
   animation: mpp-pane-in .3s ease both;
}

@keyframes mpp-pane-in {
   from {
      opacity: 0;
      transform: translateY(6px);
   }

   to {
      opacity: 1;
      transform: none;
   }
}

.mpp-facility__card {
   display: flex;
   flex-direction: column;
   overflow: hidden;
   background: var(--mpp-surface);
   border: 1px solid var(--mpp-border);
   border-radius: 18px;
   box-shadow: var(--mpp-shadow);
}

.mpp-facility__thumb {
   flex: 1 1 auto;
   min-height: 0;
   height: 300px;
   overflow: hidden;
   background: var(--mpp-soft-bg);
}

.mpp-facility__thumb img {
   display: block;
   width: 100%;
   height: 100%;
   /* gambar memenuhi kontainer, tanpa ruang kosong di samping */
   object-fit: cover;
   object-position: center;
}

/* placeholder "no image" tidak ikut di-crop */
.mpp-facility__thumb--empty img {
   object-fit: contain;
   padding: 24px;
}

/* Samakan tinggi konten tab dengan tinggi kontainer tab (desktop) */
@media (min-width: 992px) {
   .mpp-facility__row {
      height: var(--mpp-facility-h, 520px);
   }

   .mpp-facility__aside,
   .mpp-facility__main,
   .mpp-facility__panes,
   .mpp-facility__panes > .tab-pane,
   .mpp-facility__card {
      height: 100%;
   }

   .mpp-facility__nav {
      height: 100%;
      max-height: none;
   }

   .mpp-facility__thumb {
      height: auto;
   }

   .mpp-facility__body {
      flex: 0 0 auto;
      max-height: 45%;
      overflow-y: auto;
   }
}

.mpp-facility__body {
   padding: 22px 24px 26px;
}

.mpp-facility__title {
   margin: 0 0 10px;
   font-size: 18px;
   font-weight: 700;
   line-height: 1.35;
   color: var(--mpp-ink);
}

.mpp-facility__desc {
   margin: 0;
   font-size: 14px;
   line-height: 1.7;
   color: var(--mpp-muted);
   text-align: justify;
}

/* --- responsive: nav turns into horizontal scroller --- */
@media (max-width: 991.98px) {
   .mpp-facility__nav {
      flex-direction: row;
      max-height: none;
      overflow-x: auto;
      overflow-y: hidden;
      -webkit-overflow-scrolling: touch;
   }

   .mpp-facility__nav-item {
      width: auto;
      flex: 0 0 auto;
   }

   .mpp-facility__tab {
      width: auto;
      flex: 0 0 auto;
      padding: 10px 14px;
      border-radius: 999px;
      background: var(--mpp-soft-bg);
   }

   .mpp-facility__tab-label {
      white-space: nowrap;
   }
}

@media (max-width: 767.98px) {
   .mpp-facility__thumb {
      height: 220px;
   }

   .mpp-facility__body {
      padding: 18px 18px 22px;
   }
}

/* ==========================================================================
   SCROLLBAR TIPIS (ala SimpleBar)
   Tipis (6px), track transparan, thumb hanya terlihat jelas saat kontainer
   di-hover / di-fokus.
   ========================================================================== */

/* --- WebKit / Blink (Chrome, Edge, Safari) --- */
.mpp-facility__nav::-webkit-scrollbar,
.mpp-facility__body::-webkit-scrollbar,
.mpp-modal__body::-webkit-scrollbar {
   width: 6px;
   height: 6px;
}

.mpp-facility__nav::-webkit-scrollbar-track,
.mpp-facility__body::-webkit-scrollbar-track,
.mpp-modal__body::-webkit-scrollbar-track {
   background: transparent;
}

.mpp-facility__nav::-webkit-scrollbar-thumb,
.mpp-facility__body::-webkit-scrollbar-thumb,
.mpp-modal__body::-webkit-scrollbar-thumb {
   background: transparent;
   border-radius: 999px;
}

.mpp-facility__nav:hover::-webkit-scrollbar-thumb,
.mpp-facility__nav:focus-within::-webkit-scrollbar-thumb,
.mpp-facility__body:hover::-webkit-scrollbar-thumb,
.mpp-facility__body:focus-within::-webkit-scrollbar-thumb,
.mpp-modal__body:hover::-webkit-scrollbar-thumb,
.mpp-modal__body:focus-within::-webkit-scrollbar-thumb {
   background: rgba(10, 94, 81, .4);
}

.mpp-facility__nav::-webkit-scrollbar-thumb:hover,
.mpp-facility__body::-webkit-scrollbar-thumb:hover,
.mpp-modal__body::-webkit-scrollbar-thumb:hover {
   background: rgba(10, 94, 81, .68);
}

.mpp-facility__nav::-webkit-scrollbar-corner,
.mpp-facility__body::-webkit-scrollbar-corner,
.mpp-modal__body::-webkit-scrollbar-corner {
   background: transparent;
}

/* ==========================================================================
   INSTANSI CARD AS BUTTON + DETAIL MODAL
   ========================================================================== */

/* Kartu instansi kini berupa <button> yang membuka modal. Tombol tidak
   mewarisi font halaman, jadi disamakan lebih dulu agar tampilannya sama
   dengan versi <a>/<div> yang lama. */
button.mpp-ins-card {
   font: inherit;
   line-height: 1.55;
   color: inherit;
   cursor: pointer;
   -webkit-appearance: none;
   appearance: none;
}

/* Petunjuk kecil di bawah kartu bahwa kartu bisa dibuka. */
.mpp-ins-more {
   display: inline-flex;
   align-items: center;
   gap: 6px;
   margin-top: 16px;
   font-size: 12.5px;
   font-weight: 600;
   color: var(--mpp-primary);
}

.mpp-ins-more i {
   font-size: 11px;
   transition: transform .25s ease;
}

.mpp-ins-card:hover .mpp-ins-more i,
.mpp-ins-card:focus-visible .mpp-ins-more i {
   transform: translateX(3px);
}

/* --- modal rincian instansi --- */
.mpp-ins-modal__dialog {
   max-width: 680px;
}

.mpp-ins-modal__head {
   display: flex;
   align-items: center;
   gap: 16px;
   padding: 24px 26px 20px;
   border-bottom: 1px solid var(--mpp-border);
}

/* Logo modal tanpa piringan: tinggi tetap + lebar mengikuti bentuk logo
   (dibatasi max-width) supaya logo memanjang tidak dikecilkan jadi sepetak. */
.mpp-ins-modal__logo {
   flex: 0 0 auto;
   display: flex;
   align-items: center;
   justify-content: center;
   height: 68px;
   max-width: 150px;
   padding: 0;
   background: transparent;
   border: 0;
   border-radius: 0;
}

.mpp-ins-modal__logo img {
   width: auto;
   height: auto;
   max-width: 100%;
   max-height: 100%;
   object-fit: contain;
   display: block;
}

.mpp-ins-modal__ident {
   min-width: 0;
}

.mpp-ins-modal__title {
   margin: 0 0 4px;
   font-size: 19px;
   font-weight: 700;
   line-height: 1.3;
   letter-spacing: .02em;
   text-transform: uppercase;
   color: var(--mpp-ink);
}

.mpp-ins-modal__sub {
   margin: 0 0 10px;
   font-size: 13.5px;
   line-height: 1.5;
   color: var(--mpp-muted);
}

/* Chip di dalam modal rata kiri, bukan di tengah seperti pada kartu. */
.mpp-ins-modal__ident .mpp-ins-stats {
   justify-content: flex-start;
   margin-top: 0;
}

.mpp-ins-modal__isi {
   padding: 20px 26px 26px;
}

.mpp-ins-modal__blok {
   margin-bottom: 22px;
}

.mpp-ins-modal__blok:last-of-type {
   margin-bottom: 0;
}

.mpp-ins-modal__blok-judul {
   display: flex;
   align-items: center;
   gap: 8px;
   margin: 0 0 12px;
   font-size: 13px;
   font-weight: 700;
   letter-spacing: .04em;
   text-transform: uppercase;
   color: var(--mpp-primary);
}

.mpp-ins-modal__blok-judul i {
   font-size: 13px;
}

/* baris layanan (dapat diklik menuju halaman detail layanan) */
.mpp-ins-modal__lyn {
   display: block;
   padding: 12px 14px;
   margin-bottom: 8px;
   background: var(--mpp-soft-bg);
   border: 1px solid var(--mpp-border);
   border-radius: 12px;
   text-decoration: none !important;
   transition: background .2s ease, border-color .2s ease;
}

.mpp-ins-modal__lyn:last-child {
   margin-bottom: 0;
}

.mpp-ins-modal__lyn:hover,
.mpp-ins-modal__lyn:focus-visible {
   background: var(--mpp-primary-soft);
   border-color: rgba(10, 94, 81, .3);
   outline: none;
}

.mpp-ins-modal__lyn-nama {
   display: block;
   font-size: 14px;
   font-weight: 600;
   line-height: 1.45;
   color: var(--mpp-ink);
}

.mpp-ins-modal__lyn:hover .mpp-ins-modal__lyn-nama {
   color: var(--mpp-primary);
}

.mpp-ins-modal__lyn-desc {
   display: block;
   margin-top: 4px;
   font-size: 12.5px;
   line-height: 1.55;
   color: var(--mpp-muted);
}

.mpp-ins-modal__lyn-kaki {
   display: flex;
   flex-wrap: wrap;
   align-items: center;
   justify-content: space-between;
   gap: 8px;
   margin-top: 10px;
}

.mpp-ins-modal__lyn-loket {
   display: inline-flex;
   align-items: center;
   gap: 6px;
   margin-right: 6px;
   padding: 5px 10px;
   font-size: 11.5px;
   font-weight: 700;
   line-height: 1;
   color: #285da1;
   background: #eaf3ff;
   border-radius: 999px;
}

.mpp-ins-modal__lyn-loket i {
   font-size: 10px;
}

.mpp-ins-modal__lyn-detail {
   display: inline-flex;
   align-items: center;
   gap: 6px;
   margin-left: auto;
   font-size: 12px;
   font-weight: 600;
   white-space: nowrap;
   color: var(--mpp-primary);
}

.mpp-ins-modal__lyn-detail i {
   font-size: 10px;
}

/* baris loket */
.mpp-ins-modal__lkt {
   display: flex;
   align-items: center;
   gap: 10px;
   padding: 10px 12px;
   margin-bottom: 8px;
   background: var(--mpp-surface);
   border: 1px dashed var(--mpp-border);
   border-radius: 12px;
}

.mpp-ins-modal__lkt:last-child {
   margin-bottom: 0;
}

.mpp-ins-modal__lkt-nomor {
   flex: 0 0 auto;
   display: inline-flex;
   align-items: center;
   gap: 6px;
   padding: 5px 10px;
   font-size: 11.5px;
   font-weight: 700;
   line-height: 1;
   color: #285da1;
   background: #eaf3ff;
   border-radius: 999px;
}

.mpp-ins-modal__lkt-nomor i {
   font-size: 10px;
}

.mpp-ins-modal__lkt-lyn {
   min-width: 0;
   font-size: 13px;
   line-height: 1.45;
   color: var(--mpp-muted);
}

.mpp-ins-modal__lkt-asal {
   font-style: normal;
   font-size: 12px;
   color: var(--mpp-muted);
   opacity: .85;
}

.mpp-ins-modal__lkt-mati {
   font-style: italic;
   font-size: 12.5px;
}

/* keadaan kosong */
.mpp-ins-modal__kosong {
   margin: 0;
   padding: 14px;
   font-size: 13px;
   line-height: 1.55;
   color: var(--mpp-muted);
   background: var(--mpp-soft-bg);
   border: 1px dashed var(--mpp-border);
   border-radius: 12px;
}

/* tautan situs instansi (di bagian atas modal, di atas judul "Layanan") */
.mpp-ins-modal__aksi {
   margin-bottom: 22px;
}

.mpp-ins-modal__tombol {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   gap: 9px;
   width: 100%;
   padding: 13px 20px;
   font-size: 14px;
   font-weight: 600;
   color: #ffffff !important;
   text-decoration: none !important;
   background: var(--mpp-primary);
   border-radius: 12px;
   transition: background .2s ease;
}

.mpp-ins-modal__tombol:hover,
.mpp-ins-modal__tombol:focus-visible {
   background: var(--mpp-primary-dark);
   outline: none;
}

@media (max-width: 575.98px) {
   .mpp-ins-modal__head {
      gap: 12px;
      padding: 18px 18px 16px;
   }

   .mpp-ins-modal__logo {
      height: 54px;
      max-width: 110px;
      padding: 0;
   }

   .mpp-ins-modal__title {
      font-size: 16px;
   }

   .mpp-ins-modal__isi {
      padding: 16px 18px 20px;
   }

   .mpp-ins-modal__lkt {
      align-items: flex-start;
      flex-direction: column;
      gap: 8px;
   }
}

/* ==========================================================================
   BERITA TERKINI SECTION
   ========================================================================== */

.mpp-news-card {
   display: flex;
   flex-direction: column;
   width: 100%;
   height: 100%;
   overflow: hidden;
   background: var(--mpp-surface);
   border: 1px solid var(--mpp-border);
   border-radius: 18px;
   text-decoration: none !important;
   color: inherit;
   box-shadow: var(--mpp-shadow);
   transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.mpp-news-card:hover,
.mpp-news-card:focus-visible {
   transform: translateY(-8px);
   box-shadow: var(--mpp-shadow-hover);
   border-color: rgba(10, 94, 81, .45);
   outline: none;
}

/* Rasio 7:5 dipilih karena thumbnail berita berukuran 350x250 px. Dengan rasio
   yang sama gambar tampil utuh tanpa dipotong dan tanpa diperbesar -- kalau
   rasionya berbeda (mis. 16:9), gambar harus dipotong dan hasilnya jadi kabur. */
.mpp-news-thumb {
   position: relative;
   display: block;
   aspect-ratio: 7 / 5;
   overflow: hidden;
   background: var(--mpp-soft-bg);
}

.mpp-news-thumb img {
   display: block;
   width: 100%;
   height: 100%;
   object-fit: cover;
   transition: transform .45s ease;
}

.mpp-news-card:hover .mpp-news-thumb img,
.mpp-news-card:focus-visible .mpp-news-thumb img {
   transform: scale(1.06);
}

/* label kategori di atas gambar */
.mpp-news-tag {
   position: absolute;
   top: 12px;
   left: 12px;
   max-width: calc(100% - 96px);
   padding: 6px 12px;
   overflow: hidden;
   font-size: 11.5px;
   font-weight: 700;
   line-height: 1;
   letter-spacing: .02em;
   text-transform: uppercase;
   white-space: nowrap;
   text-overflow: ellipsis;
   color: #ffffff;
   background: rgba(10, 94, 81, .94);
   border-radius: 999px;
}

/* jumlah dibaca di kanan atas gambar */
.mpp-news-view {
   position: absolute;
   top: 12px;
   right: 12px;
   display: inline-flex;
   align-items: center;
   gap: 6px;
   padding: 6px 10px;
   font-size: 11.5px;
   font-weight: 600;
   line-height: 1;
   white-space: nowrap;
   color: #ffffff;
   background: rgba(26, 21, 46, .62);
   border-radius: 999px;
   backdrop-filter: blur(3px);
   -webkit-backdrop-filter: blur(3px);
}

.mpp-news-view i {
   font-size: 11px;
}

.mpp-news-body {
   display: flex;
   flex-direction: column;
   flex: 1 1 auto;
   padding: 18px 20px 20px;
}

.mpp-news-title {
   margin: 0 0 12px;
   font-size: 16px;
   font-weight: 700;
   line-height: 1.45;
   color: var(--mpp-ink);
   display: -webkit-box;
   -webkit-line-clamp: 3;
   -webkit-box-orient: vertical;
   overflow: hidden;
   transition: color .2s ease;
}

.mpp-news-card:hover .mpp-news-title,
.mpp-news-card:focus-visible .mpp-news-title {
   color: var(--mpp-primary);
}

.mpp-news-meta {
   display: flex;
   flex-wrap: wrap;
   align-items: center;
   gap: 6px 14px;
   margin-bottom: 14px;
   font-size: 12.5px;
   line-height: 1.4;
   color: var(--mpp-muted);
}

.mpp-news-meta > span {
   display: inline-flex;
   align-items: center;
   gap: 6px;
   min-width: 0;
}

.mpp-news-meta i {
   font-size: 12px;
   opacity: .85;
}

.mpp-news-more {
   display: inline-flex;
   align-items: center;
   gap: 6px;
   margin-top: auto;
   font-size: 12.5px;
   font-weight: 600;
   color: var(--mpp-primary);
}

.mpp-news-more i {
   font-size: 11px;
   transition: transform .25s ease;
}

.mpp-news-card:hover .mpp-news-more i,
.mpp-news-card:focus-visible .mpp-news-more i {
   transform: translateX(3px);
}

.mpp-news-kosong {
   margin: 0;
   padding: 28px;
   font-size: 14px;
   text-align: center;
   color: var(--mpp-muted);
   background: var(--mpp-surface);
   border: 1px dashed var(--mpp-border);
   border-radius: 18px;
}

@media (max-width: 575.98px) {
   .mpp-news-body {
      padding: 16px 16px 18px;
   }

   .mpp-news-title {
      font-size: 15px;
   }

   .mpp-news-tag {
      max-width: calc(100% - 96px);
      padding: 5px 10px;
   }

   .mpp-news-view {
      padding: 5px 9px;
   }
}

/* ==========================================================================
   HALAMAN BERITA (detail) + SIDEBAR + PAGINASI
   ========================================================================== */

/* --- kepala artikel --- */
.mpp-artikel__kategori {
   display: inline-flex;
   align-items: center;
   margin-bottom: 14px;
   padding: 7px 14px;
   font-size: 12px;
   font-weight: 700;
   line-height: 1;
   letter-spacing: .02em;
   text-transform: uppercase;
   color: #ffffff !important;
   text-decoration: none !important;
   background: var(--mpp-primary);
   border-radius: 999px;
}

.mpp-artikel__kategori:hover,
.mpp-artikel__kategori:focus-visible {
   background: var(--mpp-primary-dark);
   outline: none;
}

.mpp-artikel__judul {
   margin-bottom: 16px;
}

.mpp-artikel__meta {
   display: flex;
   flex-wrap: wrap;
   align-items: center;
   gap: 8px 20px;
   font-size: 13px;
   color: var(--mpp-muted);
}

.mpp-artikel__meta span {
   display: inline-flex;
   align-items: center;
   gap: 7px;
}

.mpp-artikel__meta i {
   font-size: 13px;
   opacity: .85;
}

/* --- gambar utama --- */
.mpp-artikel__gambar {
   margin: 0 0 30px;
   overflow: hidden;
   background: var(--mpp-soft-bg);
   border: 1px solid var(--mpp-border);
   border-radius: 18px;
   box-shadow: var(--mpp-shadow);
}

.mpp-artikel__gambar img {
   display: block;
   width: 100%;
   height: auto;
}

/* --- isi artikel ---
   Isi berita berasal dari editor, jadi semua tag yang mungkin muncul
   (judul, daftar, kutipan, tabel, gambar, kode) diberi gaya di sini agar
   hasilnya tetap enak dibaca dan tidak meluber keluar kolom. */
.mpp-artikel {
   font-size: 15.5px;
   line-height: 1.85;
   color: #2f2b3f;
   word-wrap: break-word;
}

.mpp-artikel > * + * {
   margin-top: 18px;
}

.mpp-artikel p {
   margin: 0;
}

/* Drop cap hanya pada paragraf pertama. */
.mpp-artikel > p:first-of-type::first-letter {
   float: left;
   margin: 6px 10px 0 0;
   font-size: 52px;
   font-weight: 700;
   line-height: .85;
   color: var(--mpp-primary);
}

.mpp-artikel h1,
.mpp-artikel h2,
.mpp-artikel h3,
.mpp-artikel h4,
.mpp-artikel h5,
.mpp-artikel h6 {
   margin: 0;
   font-weight: 700;
   line-height: 1.35;
   color: var(--mpp-ink);
}

.mpp-artikel h2 { font-size: 22px; }
.mpp-artikel h3 { font-size: 19px; }
.mpp-artikel h4,
.mpp-artikel h5,
.mpp-artikel h6 { font-size: 16.5px; }

.mpp-artikel a {
   color: var(--mpp-primary);
   text-decoration: underline;
}

.mpp-artikel ul,
.mpp-artikel ol {
   padding-left: 22px;
}

.mpp-artikel li + li {
   margin-top: 8px;
}

.mpp-artikel img {
   max-width: 100%;
   height: auto;
   border-radius: 12px;
}

.mpp-artikel blockquote {
   margin: 0;
   padding: 16px 20px;
   font-style: italic;
   color: #45415a;
   background: var(--mpp-soft-bg);
   border-left: 4px solid var(--mpp-primary);
   border-radius: 0 12px 12px 0;
}

.mpp-artikel table {
   width: 100%;
   border-collapse: collapse;
   font-size: 14px;
}

.mpp-artikel th,
.mpp-artikel td {
   padding: 10px 12px;
   text-align: left;
   border: 1px solid var(--mpp-border);
}

.mpp-artikel th {
   background: var(--mpp-soft-bg);
   font-weight: 700;
}

.mpp-artikel pre {
   padding: 16px;
   overflow-x: auto;
   font-size: 13px;
   background: #1a152e;
   color: #f2f2f5;
   border-radius: 12px;
}

.mpp-artikel code {
   padding: 2px 6px;
   font-size: 13.5px;
   background: var(--mpp-soft-bg);
   border-radius: 6px;
}

.mpp-artikel pre code {
   padding: 0;
   background: none;
}

/* --- tag artikel --- */
.mpp-artikel__tag {
   display: flex;
   flex-wrap: wrap;
   align-items: center;
   gap: 8px;
   margin-top: 34px;
}

.mpp-artikel__tag-label {
   font-size: 13px;
   font-weight: 700;
   color: var(--mpp-ink);
}

.mpp-artikel__tag a {
   padding: 7px 14px;
   font-size: 12.5px;
   font-weight: 600;
   line-height: 1;
   color: var(--mpp-muted);
   text-decoration: none !important;
   background: var(--mpp-soft-bg);
   border: 1px solid var(--mpp-border);
   border-radius: 999px;
   transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.mpp-artikel__tag a:hover,
.mpp-artikel__tag a:focus-visible {
   color: #ffffff;
   background: var(--mpp-primary);
   border-color: var(--mpp-primary);
   outline: none;
}

/* --- blok "Berita Lainnya" --- */
.mpp-artikel__lain {
   margin-top: 50px;
   padding-top: 34px;
   border-top: 1px solid var(--mpp-border);
}

.mpp-section__judul {
   margin: 0 0 22px;
   font-size: 20px;
   font-weight: 700;
   color: var(--mpp-ink);
}

/* ==========================================================================
   SIDEBAR BERITA
   ========================================================================== */
.mpp-side {
   display: flex;
   flex-direction: column;
   gap: 22px;
}

@media (min-width: 992px) {
   .mpp-side {
      margin-left: 30px;
   }
}

@media (max-width: 991.98px) {
   .mpp-side {
      margin-top: 50px;
   }
}

/* kotak pencarian */
.mpp-side__cari {
   display: flex;
   align-items: center;
   overflow: hidden;
   background: var(--mpp-surface);
   border: 1px solid var(--mpp-border);
   border-radius: 14px;
   box-shadow: var(--mpp-shadow);
}

.mpp-side__cari input {
   flex: 1 1 auto;
   min-width: 0;
   height: 50px;
   padding: 0 8px 0 18px;
   font-size: 14px;
   color: var(--mpp-ink);
   background: transparent;
   border: 0;
}

.mpp-side__cari input:focus {
   outline: none;
}

.mpp-side__cari button {
   flex: 0 0 auto;
   width: 50px;
   height: 50px;
   padding: 0;
   font-size: 15px;
   color: var(--mpp-primary);
   background: transparent;
   border: 0;
   cursor: pointer;
   transition: color .2s ease, background .2s ease;
}

.mpp-side__cari button:hover,
.mpp-side__cari button:focus-visible {
   color: #ffffff;
   background: var(--mpp-primary);
   outline: none;
}

/* kotak widget */
.mpp-side__widget {
   padding: 20px 22px;
   background: var(--mpp-surface);
   border: 1px solid var(--mpp-border);
   border-radius: 16px;
   box-shadow: var(--mpp-shadow);
}

.mpp-side__judul {
   margin: 0 0 16px;
   padding-bottom: 12px;
   font-size: 15px;
   font-weight: 700;
   color: var(--mpp-ink);
   border-bottom: 1px solid var(--mpp-border);
}

/* daftar berita terkini */
.mpp-side__item {
   display: flex;
   align-items: center;
   gap: 12px;
   padding: 12px 0;
   text-decoration: none !important;
   color: inherit;
   border-bottom: 1px dashed var(--mpp-border);
}

.mpp-side__item:last-child {
   padding-bottom: 0;
   border-bottom: 0;
}

.mpp-side__item:first-of-type {
   padding-top: 0;
}

.mpp-side__thumb {
   flex: 0 0 64px;
   width: 64px;
   height: 64px;
   overflow: hidden;
   background: var(--mpp-soft-bg);
   border: 1px solid var(--mpp-border);
   border-radius: 12px;
}

.mpp-side__thumb img {
   display: block;
   width: 100%;
   height: 100%;
   object-fit: cover;
   transition: transform .35s ease;
}

.mpp-side__item:hover .mpp-side__thumb img,
.mpp-side__item:focus-visible .mpp-side__thumb img {
   transform: scale(1.08);
}

.mpp-side__body {
   min-width: 0;
}

.mpp-side__nama {
   display: -webkit-box;
   -webkit-line-clamp: 2;
   -webkit-box-orient: vertical;
   overflow: hidden;
   font-size: 13.5px;
   font-weight: 600;
   line-height: 1.45;
   color: var(--mpp-ink);
   transition: color .2s ease;
}

.mpp-side__item:hover .mpp-side__nama,
.mpp-side__item:focus-visible .mpp-side__nama {
   color: var(--mpp-primary);
}

.mpp-side__tanggal {
   display: inline-flex;
   align-items: center;
   gap: 6px;
   margin-top: 6px;
   font-size: 11.5px;
   color: var(--mpp-muted);
}

.mpp-side__tanggal i {
   font-size: 11px;
}

/* daftar kategori */
.mpp-side__kategori {
   margin: 0;
   padding: 0;
   list-style: none;
}

.mpp-side__kategori a {
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 10px;
   padding: 10px 0;
   font-size: 13.5px;
   color: var(--mpp-muted);
   text-decoration: none !important;
   border-bottom: 1px dashed var(--mpp-border);
   transition: color .2s ease;
}

.mpp-side__kategori li:last-child a {
   padding-bottom: 0;
   border-bottom: 0;
}

.mpp-side__kategori a:hover,
.mpp-side__kategori a:focus-visible {
   color: var(--mpp-primary);
   outline: none;
}

.mpp-side__jumlah {
   flex: 0 0 auto;
   min-width: 26px;
   padding: 3px 8px;
   font-size: 11.5px;
   font-weight: 700;
   line-height: 1.4;
   text-align: center;
   color: var(--mpp-primary);
   background: var(--mpp-primary-soft);
   border-radius: 999px;
}

/* daftar tag */
.mpp-side__tag {
   display: flex;
   flex-wrap: wrap;
   gap: 8px;
}

.mpp-side__tag a {
   padding: 7px 13px;
   font-size: 12.5px;
   font-weight: 600;
   line-height: 1;
   color: var(--mpp-muted);
   text-decoration: none !important;
   background: var(--mpp-soft-bg);
   border: 1px solid var(--mpp-border);
   border-radius: 999px;
   transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.mpp-side__tag a:hover,
.mpp-side__tag a:focus-visible {
   color: #ffffff;
   background: var(--mpp-primary);
   border-color: var(--mpp-primary);
   outline: none;
}

.mpp-side__kosong {
   margin: 0;
   font-size: 13px;
   color: var(--mpp-muted);
}

/* banner bawah sidebar — gambar tampil UTUH (rasio asli), bukan hasil crop
   background-size: cover yang dulu memangkas bagian atas/bawah banner. */
.mpp-side__banner {
   position: relative;
   overflow: hidden;
   background-color: var(--mpp-primary);
   border-radius: 16px;
}

.mpp-side__banner-gambar {
   display: block;
   width: 100%;
   height: auto;
}

/* Judul & tombol ditumpuk di atas gambar (hanya bila banner punya judul/link),
   dengan lapisan gelap tipis supaya tulisan tetap terbaca. */
.mpp-side__banner-isi {
   position: absolute;
   inset: 0;
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   gap: 14px;
   padding: 22px;
   text-align: center;
   background: linear-gradient(180deg, rgba(7, 72, 61, .18) 0%, rgba(7, 72, 61, .62) 100%);
}

.mpp-side__banner-judul {
   margin: 0;
   font-size: 18px;
   font-weight: 700;
   line-height: 1.4;
   color: #ffffff;
   text-shadow: 0 2px 8px rgba(0, 0, 0, .35);
}

/* ==========================================================================
   LAYANAN DIGITAL (deret mendatar di beranda, di atas bagian Fasilitas)
   ========================================================================== */

/* Tombol geser kiri/kanan. Tidak ditampilkan sampai skrip menandai bahwa
   deretnya memang lebih lebar daripada layar (`.is-bisa-geser`), supaya tidak
   ada tombol mati pada deretan yang pendek. */
.mpp-digital__kontrol {
   display: none;
   justify-content: flex-end;
   gap: 8px;
}

.mpp-digital.is-bisa-geser .mpp-digital__kontrol {
   display: flex;
}

.mpp-digital__tombol {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   width: 42px;
   height: 42px;
   font-size: 14px;
   color: var(--mpp-primary);
   background: var(--mpp-surface);
   border: 1px solid var(--mpp-border);
   border-radius: 50%;
   cursor: pointer;
   transition: color .25s ease, background .25s ease, border-color .25s ease, opacity .25s ease;
}

.mpp-digital__tombol:hover:not(:disabled),
.mpp-digital__tombol:focus-visible:not(:disabled) {
   color: #ffffff;
   background: var(--mpp-primary);
   border-color: var(--mpp-primary);
   outline: none;
}

.mpp-digital__tombol:disabled {
   opacity: .35;
   cursor: default;
}

/* Rel yang digeser mendatar. Tanpa JavaScript pun sudah bisa digeser:
   overflow-x: auto + scroll-snap (roda mouse dengan Shift, trackpad, atau
   sentuhan). */
.mpp-digital__track {
   display: flex;
   gap: 18px;
   padding: 6px 4px 20px;
   overflow-x: auto;
   scroll-snap-type: x proximity;
   overscroll-behavior-x: contain;
   scrollbar-width: thin;
   scrollbar-color: transparent transparent;
}

/* Scrollbar tipis ala SimpleBar: hanya muncul saat relnya disentuh. */
.mpp-digital__track::-webkit-scrollbar {
   height: 6px;
}

.mpp-digital__track::-webkit-scrollbar-track {
   background: transparent;
}

.mpp-digital__track::-webkit-scrollbar-thumb {
   background: transparent;
   border-radius: 999px;
}

.mpp-digital__track:hover::-webkit-scrollbar-thumb,
.mpp-digital__track:focus-within::-webkit-scrollbar-thumb {
   background: rgba(10, 94, 81, .35);
}

@supports not selector(::-webkit-scrollbar) {
   .mpp-digital__track:hover,
   .mpp-digital__track:focus-within {
      scrollbar-color: rgba(10, 94, 81, .35) transparent;
   }
}

.mpp-digital__card {
   flex: 0 0 208px;
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 14px;
   padding: 22px 18px;
   text-align: center;
   text-decoration: none !important;
   color: inherit;
   background: var(--mpp-surface);
   border: 1px solid var(--mpp-border);
   border-radius: 18px;
   box-shadow: var(--mpp-shadow);
   scroll-snap-align: start;
   transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.mpp-digital__card:hover,
.mpp-digital__card:focus-visible {
   transform: translateY(-6px);
   box-shadow: var(--mpp-shadow-hover);
   border-color: rgba(10, 94, 81, .45);
   outline: none;
}

/* Kartu tanpa tautan: bukan <a>, jadi jangan diberi efek klik. */
.mpp-digital__card--mati {
   cursor: default;
}

.mpp-digital__card--mati:hover {
   transform: none;
   box-shadow: var(--mpp-shadow);
   border-color: var(--mpp-border);
}

/* Kotak logo: logo ditampilkan utuh (contain), bukan dipotong. */
.mpp-digital__logo {
   display: flex;
   align-items: center;
   justify-content: center;
   width: 100%;
   height: 82px;
}

.mpp-digital__logo img {
   width: auto;
   height: auto;
   max-width: 100%;
   max-height: 100%;
   object-fit: contain;
   display: block;
}

.mpp-digital__nama {
   width: 100%;
   font-size: 13.5px;
   font-weight: 700;
   line-height: 1.45;
   color: var(--mpp-ink);
   display: -webkit-box;
   -webkit-line-clamp: 2;
   -webkit-box-orient: vertical;
   overflow: hidden;
}

.mpp-digital__aksi {
   display: inline-flex;
   align-items: center;
   gap: 6px;
   margin-top: auto;
   font-size: 11.5px;
   font-weight: 600;
   color: var(--mpp-primary);
}

.mpp-digital__aksi i {
   font-size: 10px;
}

.mpp-digital__aksi--mati {
   color: var(--mpp-muted);
}

@media (max-width: 575.98px) {
   .mpp-digital__card {
      flex-basis: 172px;
      padding: 18px 14px;
   }

   .mpp-digital__logo {
      height: 68px;
   }
}

/* ==========================================================================
   PAGINASI HALAMAN PUBLIK
   ========================================================================== */
.mpp-pagination {
   display: flex;
   flex-wrap: wrap;
   align-items: center;
   justify-content: space-between;
   gap: 14px;
   margin-top: 10px;
}

.mpp-pagination__info {
   margin: 0;
   font-size: 13px;
   color: var(--mpp-muted);
}

.mpp-pagination__daftar {
   display: flex;
   flex-wrap: wrap;
   gap: 6px;
   margin: 0;
   padding: 0;
   list-style: none;
}

.mpp-pagination__tautan,
.mpp-pagination__aktif,
.mpp-pagination__mati {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   min-width: 40px;
   height: 40px;
   padding: 0 14px;
   font-size: 13px;
   font-weight: 600;
   color: var(--mpp-ink);
   text-decoration: none !important;
   background: var(--mpp-surface);
   border: 1px solid var(--mpp-border);
   border-radius: 10px;
   transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.mpp-pagination__tautan:hover,
.mpp-pagination__tautan:focus-visible {
   color: #ffffff;
   background: var(--mpp-primary);
   border-color: var(--mpp-primary);
   outline: none;
}

.mpp-pagination__aktif {
   color: #ffffff;
   background: var(--mpp-primary);
   border-color: var(--mpp-primary);
}

.mpp-pagination__mati {
   color: var(--mpp-muted);
   opacity: .55;
}

/* keterangan hasil pencarian */
.mpp-hasil-cari {
   margin: 0 0 22px;
   padding: 14px 18px;
   font-size: 13.5px;
   line-height: 1.6;
   color: var(--mpp-muted);
   background: var(--mpp-surface);
   border: 1px solid var(--mpp-border);
   border-left: 4px solid var(--mpp-primary);
   border-radius: 0 12px 12px 0;
}

.mpp-hasil-cari a {
   font-weight: 600;
   color: var(--mpp-primary);
}

@media (max-width: 575.98px) {
   .mpp-artikel {
      font-size: 15px;
      line-height: 1.8;
   }

   .mpp-artikel__gambar {
      border-radius: 14px;
   }

   .mpp-side__widget {
      padding: 18px;
   }

   .mpp-pagination {
      justify-content: center;
   }

   .mpp-pagination__info {
      text-align: center;
   }
}

/* ==========================================================================
   GALERI FOTO
   ========================================================================== */

.mpp-gal-card {
   display: flex;
   flex-direction: column;
   width: 100%;
   height: 100%;
   overflow: hidden;
   background: var(--mpp-surface);
   border: 1px solid var(--mpp-border);
   border-radius: 18px;
   text-decoration: none !important;
   color: inherit;
   box-shadow: var(--mpp-shadow);
   transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.mpp-gal-card:hover,
.mpp-gal-card:focus-visible {
   transform: translateY(-8px);
   box-shadow: var(--mpp-shadow-hover);
   border-color: rgba(10, 94, 81, .45);
   outline: none;
}

.mpp-gal-thumb {
   position: relative;
   display: block;
   aspect-ratio: 3 / 2;
   overflow: hidden;
   background: var(--mpp-soft-bg);
}

.mpp-gal-thumb img {
   display: block;
   width: 100%;
   height: 100%;
   object-fit: cover;
   transition: transform .45s ease;
}

.mpp-gal-card:hover .mpp-gal-thumb img,
.mpp-gal-card:focus-visible .mpp-gal-thumb img {
   transform: scale(1.07);
}

/* penanda "perbesar" yang muncul saat disorot */
.mpp-gal-zoom {
   position: absolute;
   inset: 0;
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 20px;
   color: #ffffff;
   background: rgba(10, 94, 81, .55);
   opacity: 0;
   transition: opacity .25s ease;
}

.mpp-gal-zoom i {
   transform: scale(.8);
   transition: transform .25s ease;
}

.mpp-gal-card:hover .mpp-gal-zoom,
.mpp-gal-card:focus-visible .mpp-gal-zoom {
   opacity: 1;
}

.mpp-gal-card:hover .mpp-gal-zoom i,
.mpp-gal-card:focus-visible .mpp-gal-zoom i {
   transform: scale(1);
}

.mpp-gal-body {
   display: flex;
   flex-direction: column;
   flex: 1 1 auto;
   padding: 16px 18px 18px;
}

.mpp-gal-judul {
   display: -webkit-box;
   -webkit-line-clamp: 2;
   -webkit-box-orient: vertical;
   overflow: hidden;
   font-size: 14.5px;
   font-weight: 600;
   line-height: 1.45;
   color: var(--mpp-ink);
   transition: color .2s ease;
}

.mpp-gal-card:hover .mpp-gal-judul,
.mpp-gal-card:focus-visible .mpp-gal-judul {
   color: var(--mpp-primary);
}

.mpp-gal-tanggal {
   display: inline-flex;
   align-items: center;
   gap: 6px;
   margin-top: 8px;
   font-size: 12px;
   color: var(--mpp-muted);
}

.mpp-gal-tanggal i {
   font-size: 11.5px;
}

@media (max-width: 575.98px) {
   .mpp-gal-body {
      padding: 14px 15px 16px;
   }

   .mpp-gal-judul {
      font-size: 14px;
   }
}

/* ==========================================================================
   FOOTER HALAMAN PUBLIK
   Latar hijau tua supaya situs terasa "ditutup" dengan rapi. Warna diambil dari
   --mpp-primary / --mpp-primary-dark, jadi tetap satu keluarga dengan teal yang
   dipakai di seluruh halaman.
   ========================================================================== */
.mpp-footer {
   --mpp-footer-teks: rgba(255, 255, 255, .74);
   --mpp-footer-aksen: #8fd8c8;

   color: var(--mpp-footer-teks);
   background: linear-gradient(180deg, #0a5e51 0%, #07483d 100%);
}

.mpp-footer__atas {
   padding: 60px 0 38px;
}

.mpp-footer__kolom {
   margin-bottom: 34px;
}

/* --- identitas --- */
.mpp-footer__brand {
   display: flex;
   align-items: center;
   gap: 15px;
   margin-bottom: 18px;
}

.mpp-footer__logo {
   flex: 0 0 auto;
   display: flex;
   align-items: center;
   justify-content: center;
   width: 62px;
   height: 62px;
   padding: 8px;
   background: #ffffff;
   border-radius: 16px;
}

.mpp-footer__logo img {
   max-width: 100%;
   max-height: 100%;
   object-fit: contain;
   display: block;
}

.mpp-footer__nama {
   margin: 0 0 4px;
   font-size: 17px;
   font-weight: 700;
   line-height: 1.35;
   color: #ffffff;
}

.mpp-footer__instansi {
   margin: 0;
   font-size: 11.5px;
   font-weight: 700;
   letter-spacing: .08em;
   text-transform: uppercase;
   color: var(--mpp-footer-aksen);
}

.mpp-footer__slogan {
   margin: 4px 0 0;
   font-size: 12.5px;
   color: var(--mpp-footer-teks);
}

.mpp-footer__deskripsi {
   margin: 0 0 20px;
   font-size: 13.5px;
   line-height: 1.8;
   text-align: justify;
   color: var(--mpp-footer-teks);
}

.mpp-footer__pimpinan {
   display: flex;
   flex-direction: column;
   gap: 2px;
   padding: 12px 16px;
   background: rgba(255, 255, 255, .07);
   border-left: 3px solid var(--mpp-footer-aksen);
   border-radius: 0 12px 12px 0;
}

.mpp-footer__pimpinan-label {
   font-size: 11px;
   font-weight: 700;
   letter-spacing: .06em;
   text-transform: uppercase;
   color: var(--mpp-footer-aksen);
}

.mpp-footer__pimpinan-nama {
   font-size: 13.5px;
   font-weight: 600;
   color: #ffffff;
}

/* --- judul kolom --- */
.mpp-footer__judul {
   position: relative;
   margin: 0 0 20px;
   padding-bottom: 12px;
   font-size: 14px;
   font-weight: 700;
   letter-spacing: .05em;
   text-transform: uppercase;
   color: #ffffff;
}

.mpp-footer__judul::after {
   content: "";
   position: absolute;
   left: 0;
   bottom: 0;
   width: 38px;
   height: 3px;
   background: var(--mpp-footer-aksen);
   border-radius: 2px;
}

/* --- link terkait --- */
.mpp-footer__list {
   margin: 0;
   padding: 0;
   list-style: none;
}

.mpp-footer__list a {
   display: inline-flex;
   align-items: center;
   gap: 9px;
   padding: 7px 0;
   font-size: 13.5px;
   color: var(--mpp-footer-teks);
   text-decoration: none !important;
   transition: color .2s ease, transform .2s ease;
}

.mpp-footer__list a i {
   font-size: 12px;
   color: var(--mpp-footer-aksen);
}

.mpp-footer__list a:hover,
.mpp-footer__list a:focus-visible {
   color: #ffffff;
   transform: translateX(4px);
   outline: none;
}

/* --- kontak --- */
.mpp-footer__kontak {
   display: flex;
   flex-direction: column;
   gap: 15px;
   margin: 0;
   padding: 0;
   list-style: none;
}

.mpp-footer__kontak li {
   display: flex;
   align-items: flex-start;
   gap: 12px;
   font-size: 13.5px;
   line-height: 1.6;
}

.mpp-footer__kontak a {
   color: rgba(255, 255, 255, .85);
   text-decoration: none !important;
}

.mpp-footer__kontak a:hover,
.mpp-footer__kontak a:focus-visible {
   color: #ffffff;
   text-decoration: underline !important;
   outline: none;
}

.mpp-footer__ikon {
   flex: 0 0 auto;
   display: flex;
   align-items: center;
   justify-content: center;
   width: 34px;
   height: 34px;
   font-size: 13px;
   color: var(--mpp-footer-aksen);
   background: rgba(255, 255, 255, .08);
   border: 1px solid rgba(255, 255, 255, .12);
   border-radius: 10px;
}

/* --- bilah bawah --- */
.mpp-footer__bawah {
   padding: 18px 0;
   border-top: 1px solid rgba(255, 255, 255, .14);
}

.mpp-footer__bawah-isi {
   display: flex;
   flex-wrap: wrap;
   align-items: center;
   justify-content: space-between;
   gap: 8px 24px;
}

.mpp-footer__copy,
.mpp-footer__dev {
   margin: 0;
   font-size: 12.5px;
   line-height: 1.6;
   color: rgba(255, 255, 255, .62);
}

.mpp-footer__dev a {
   font-weight: 600;
   color: var(--mpp-footer-aksen);
   text-decoration: none !important;
}

.mpp-footer__dev a:hover,
.mpp-footer__dev a:focus-visible {
   color: #ffffff;
   text-decoration: underline !important;
}

/* Tombol "kembali ke atas" melayang di atas footer gelap: diberi garis putih
   tipis supaya lingkarannya tetap terlihat. */
.progress-wrap {
   background-color: #ffffff;
   box-shadow: 0 6px 18px rgba(7, 72, 61, .35);
}

@media (max-width: 991.98px) {
   .mpp-footer__atas {
      padding: 46px 0 24px;
   }

   .mpp-footer__kolom {
      margin-bottom: 28px;
   }
}

@media (max-width: 575.98px) {
   .mpp-footer__atas {
      padding: 38px 0 18px;
   }

   .mpp-footer__deskripsi {
      text-align: left;
   }

   .mpp-footer__bawah-isi {
      justify-content: center;
      text-align: center;
   }
}

/* ==========================================================================
   HALAMAN DETAIL LAYANAN
   ========================================================================== */

/* Wadah gambar tanpa latar/bingkai ("background putih" di belakang logo
   dihilangkan). object-fit: contain dipakai supaya logo instansi (yang
   bentuknya tidak selalu persegi panjang) tetap tampil utuh. */
.mpp-layanan__gambar {
   display: flex;
   align-items: center;
   justify-content: center;
   min-height: 0;
   margin-bottom: 28px;
   padding: 0;
   background: transparent;
   border: 0;
   border-radius: 0;
}

.mpp-layanan__gambar img {
   display: block;
   max-width: 100%;
   max-height: 260px;
   object-fit: contain;
}

.mpp-layanan__ringkas {
   margin: 0 0 22px;
   padding: 16px 20px;
   font-size: 14.5px;
   line-height: 1.75;
   color: #45415a;
   background: var(--mpp-surface);
   border: 1px solid var(--mpp-border);
   border-left: 4px solid var(--mpp-primary);
   border-radius: 0 14px 14px 0;
}

.mpp-layanan__aksi {
   margin-top: 30px;
}

/* baris loket pada panel samping */
.mpp-loket {
   display: flex;
   align-items: center;
   gap: 11px;
   padding: 11px 0;
   border-bottom: 1px dashed var(--mpp-border);
}

.mpp-loket:first-of-type {
   padding-top: 0;
}

.mpp-loket:last-of-type {
   padding-bottom: 0;
   border-bottom: 0;
}

.mpp-loket__nomor {
   flex: 0 0 auto;
   display: inline-flex;
   align-items: center;
   gap: 6px;
   padding: 6px 11px;
   font-size: 11.5px;
   font-weight: 700;
   line-height: 1;
   white-space: nowrap;
   color: #285da1;
   background: #eaf3ff;
   border-radius: 999px;
}

.mpp-loket__nomor i {
   font-size: 10px;
}

.mpp-loket__info {
   min-width: 0;
   font-size: 12.5px;
   line-height: 1.45;
   color: var(--mpp-muted);
}

.mpp-loket__asal {
   font-style: normal;
   font-size: 11.5px;
   opacity: .85;
}

.mpp-layanan__instansi {
   margin: 0 0 14px;
   font-size: 13.5px;
   font-weight: 600;
   line-height: 1.5;
   color: var(--mpp-ink);
}

.mpp-side__widget .mpp-ins-stats {
   justify-content: flex-start;
   margin-top: 0;
}

.mpp-layanan__tautan {
   display: inline-flex;
   align-items: center;
   gap: 7px;
   margin-top: 16px;
   font-size: 12.5px;
   font-weight: 600;
   color: var(--mpp-primary);
   text-decoration: none !important;
}

.mpp-layanan__tautan:hover,
.mpp-layanan__tautan:focus-visible {
   color: var(--mpp-primary-dark);
   text-decoration: underline !important;
   outline: none;
}

@media (max-width: 575.98px) {
   .mpp-layanan__gambar {
      padding: 0;
   }

   .mpp-layanan__gambar img {
      max-height: 200px;
   }
}

/* --- Firefox (tidak mendukung ::-webkit-scrollbar) --- */
@supports not selector(::-webkit-scrollbar) {
   .mpp-facility__nav,
   .mpp-facility__body,
   .mpp-modal__body {
      scrollbar-width: thin;
      scrollbar-color: transparent transparent;
      transition: scrollbar-color .25s ease;
   }

   .mpp-facility__nav:hover,
   .mpp-facility__nav:focus-within,
   .mpp-facility__body:hover,
   .mpp-facility__body:focus-within,
   .mpp-modal__body:hover,
   .mpp-modal__body:focus-within {
      scrollbar-color: rgba(10, 94, 81, .45) transparent;
   }
}

/* ==========================================================================
   JUDUL SECTION — WARNA UTAMA (sama dengan tombol)
   Ditaruh di akhir berkas supaya pasti menang atas aturan tema.
   `.text-white` dikecualikan karena dipakai judul di atas latar gelap
   (mis. halaman kontak), dan dulu warna putihnya datang dari kelas itu.
   ========================================================================== */
.section__title:not(.text-white) {
   color: var(--mpp-primary);
}

/* ==========================================================================
   KARTU INSTANSI — LATAR HIJAU
   Kartu memakai warna utama (senada tombol) dengan teks putih. Ditulis setelah
   aturan kartu putih di atasnya, jadi otomatis menimpanya.
   ========================================================================== */
.mpp-ins-card {
   background: linear-gradient(158deg, var(--mpp-primary) 0%, var(--mpp-primary-dark) 100%);
   border-color: rgba(255, 255, 255, .16);
   box-shadow: 0 20px 45px rgba(10, 94, 81, .24);
}

/* Garis aksen atas: dulu gradasi hijau (tak terlihat di latar hijau),
   sekarang garis terang. */
.mpp-ins-card::before {
   background: linear-gradient(90deg, rgba(255, 255, 255, .7), rgba(63, 156, 140, .25));
}

.mpp-ins-card--link:hover,
.mpp-ins-card--link:focus,
.mpp-ins-card:hover,
.mpp-ins-card:focus-visible {
   border-color: rgba(255, 255, 255, .38);
   box-shadow: 0 26px 55px rgba(10, 94, 81, .34);
}

/* Tanpa piringan putih: logo menempel langsung pada kartu hijau. Supaya
   logo gelap tetap terbaca di atas latar hijau, objek diberi bayangan tipis
   (drop-shadow mengikuti bentuk logo, bukan kotak putih di belakangnya).
   Semua aturan warna piringan lama ditimpa di sini. */
.mpp-ins-card .mpp-ins-logo {
   background: transparent;
   border: 0;
   box-shadow: none;
}

.mpp-ins-card .mpp-ins-logo img {
   filter: drop-shadow(0 4px 10px rgba(6, 40, 34, .45));
}

.mpp-ins-card .mpp-ins-alias {
   color: #ffffff;
}

.mpp-ins-card .mpp-ins-name {
   color: rgba(255, 255, 255, .84);
}

/* Chip di atas latar hijau: tanpa ini tulisannya hijau di atas hijau. */
.mpp-ins-card .mpp-chip--services,
.mpp-ins-card .mpp-chip--loket {
   background: rgba(255, 255, 255, .16);
   color: #ffffff;
}

.mpp-ins-card .mpp-ins-more {
   color: #ffffff;
}

/* ==========================================================================
   TOMBOL "TAMPILKAN LEBIH BANYAK" (section Instansi & Layanan)
   ========================================================================== */
.mpp-muat {
   display: flex;
   justify-content: center;
   margin-top: 4px;
}

.mpp-muat__tombol {
   display: inline-flex;
   align-items: center;
   gap: 10px;
   padding: 14px 26px;
   font-size: 14.5px;
   font-weight: 600;
   color: var(--mpp-primary);
   background: #ffffff;
   border: 2px solid rgba(10, 94, 81, .22);
   border-radius: 999px;
   cursor: pointer;
   transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.mpp-muat__tombol:hover,
.mpp-muat__tombol:focus-visible {
   color: #ffffff;
   background: var(--mpp-primary);
   border-color: var(--mpp-primary);
   transform: translateY(-2px);
   outline: none;
}

.mpp-muat__tombol i {
   font-size: 12px;
}

.mpp-muat__sisa {
   font-size: 12px;
   font-weight: 600;
   opacity: .75;
}

/* Item yang belum dibuka.
   `hidden` HARUS dikawal seperti ini: aturan bawaan peramban kalah oleh CSS
   penulis, sehingga `.mpp-col { display: flex }` akan membuat item "tersembunyi"
   tetap terlihat. */
[data-muat-item][hidden],
[data-muat-kontrol][hidden] {
   display: none;
}

/* Tombol baru ditampilkan setelah skripnya siap (kelas `is-siap` dipasang
   public/js/muat-lebih.js). Tanpa JavaScript tombolnya tidak berguna, jadi
   lebih baik tidak ditampilkan sama sekali. */
[data-muat-kontrol] {
   display: none;
}

[data-muat-kontrol].is-siap {
   display: block;
}

/* Animasi halus saat kartu tambahan dibuka (kelas `is-muncul` dipasang
   SEMENTARA oleh public/js/muat-lebih.js).

   Animasi dipasang pada KARTU, bukan pada pembungkus `.mpp-col`: elemen yang
   sedang dianimasikan transform-nya menjadi containing block, sehingga modal
   rincian instansi (`position: fixed`) yang berada di dalam kolom itu ikut
   terkurung mengikuti ukuran kartu — modalnya jadi sempit dan terpotong. */
.is-muncul .mpp-ins-card,
.is-muncul .mpp-ly-card {
   animation: mpp-muncul .34s ease both;
}

@keyframes mpp-muncul {
   from {
      opacity: 0;
      transform: translateY(10px);
   }

   to {
      opacity: 1;
      transform: none;
   }
}

/* ==========================================================================
   TOMBOL LIHAT PASSWORD (form login tema lama)
   Tombol diletakkan di dalam .sign__input (sudah position: relative) dan
   sengaja di sisi kanan, sedangkan ikon kunci tema ada di sisi kiri.
   Perilaku tombol: public/js/password-toggle.js
   ========================================================================== */

.sign__input .mpp-pw__tombol {
   position: absolute;
   top: 50%;
   right: 10px;
   transform: translateY(-50%);
   display: inline-flex;
   align-items: center;
   justify-content: center;
   width: 40px;
   height: 40px;
   padding: 0;
   border: 0;
   border-radius: 8px;
   background: transparent;
   color: #8e8c94;
   cursor: pointer;
   transition: color .18s ease, background-color .18s ease;
}

.sign__input .mpp-pw__tombol:hover,
.sign__input .mpp-pw__tombol:focus-visible {
   color: #0a5e51;
   background: rgba(10, 94, 81, .08);
   outline: none;
}

/* Aturan tema `.sign__input i` memaksa ikon ke kiri; netralkan di dalam tombol. */
.sign__input .mpp-pw__tombol i {
   position: static;
   top: auto;
   left: auto;
   transform: none;
   font-size: 15px;
   line-height: 1;
}

.sign__input .mpp-pw__ikon-sembunyi {
   display: none;
}

.sign__input.is-visible .mpp-pw__ikon-tampil {
   display: none;
}

.sign__input.is-visible .mpp-pw__ikon-sembunyi {
   display: inline-block;
}

