/* ==========================================================================
   Tampilan publik baru (tata letak mengikuti kemenpar.go.id, identitas warna
   Disparpora). Hanya dimuat pada halaman dengan @section('header_variant', 'modern').
   Semua kelas memakai awalan .mh- agar tidak bentrok dengan main.css template.
   ========================================================================== */

:root {
    --mh-brand: #01473c;
    --mh-brand-600: #01362e;
    --mh-brand-50: #e6f0ed;
    --mh-brand-ink: #01473c;      /* warna brand yang aman untuk teks di atas latar halaman */
    --mh-accent: #ecab23;
    --mh-accent-ink: #1f1a0c;

    --mh-ink: #10201c;
    --mh-muted: #5a6a66;
    --mh-line: #e2e8e6;
    --mh-paper: #ffffff;
    --mh-tint: #f4f7f6;
    --mh-surface: #ffffff;
    /* Kaca kartu hero: gambar tetap terlihat, tetapi teks tetap ≥4,5:1 walau foto di belakangnya
       hitam pekat (0,6 → 5,9:1; di bawah 0,53 gagal). Jangan turunkan tanpa menghitung ulang. */
    --mh-glass: rgba(255, 255, 255, 0.6);
    --mh-glass-halo: 0 1px 2px rgb(255 255 255 / 0.7);

    --mh-font-head: 'Libre Franklin', system-ui, sans-serif;
    --mh-font-body: 'Rubik', system-ui, sans-serif;

    /* Skala tipe. Teks terkecil 14px (meta), teks baca 17px, judul kartu 18-20px. */
    --mh-fs-xs: 0.875rem;      /* 14px: tanggal, jumlah dilihat */
    --mh-fs-sm: 0.9375rem;     /* 15px: ringkasan kartu, breadcrumb, keterangan */
    --mh-fs-base: 1rem;        /* 16px: tombol, menu turunan, daftar isi */
    --mh-fs-md: 1.0625rem;     /* 17px: navbar, teks artikel */
    --mh-fs-lg: 1.125rem;      /* 18px: judul kartu kecil, menu mobile */
    --mh-fs-xl: 1.25rem;       /* 20px: judul kartu berita & sampul */
    --mh-fs-2xl: 1.5rem;       /* 24px: subjudul dalam artikel */
    --mh-fs-lead: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);   /* paragraf pembuka */
    --mh-fs-quote: clamp(1.25rem, 1rem + 1vw, 1.75rem);      /* pernyataan visi */
    --mh-fs-h2: clamp(1.5rem, 1.2rem + 0.9vw, 2rem);         /* judul section 24-32px */
    --mh-fs-hero: clamp(1.75rem, 1.2rem + 1.5vw, 2.5rem);    /* judul hero 28-40px */
    --mh-fs-h1: clamp(2rem, 1.5rem + 1.8vw, 3rem);           /* judul halaman 32-48px */

    --mh-radius-sm: 10px;
    --mh-radius-md: 16px;
    --mh-radius-lg: 24px;

    --mh-shadow-1: 0 1px 2px rgb(16 32 28 / 0.05), 0 2px 6px rgb(16 32 28 / 0.06);
    --mh-shadow-2: 0 2px 4px -2px rgb(1 71 60 / 0.06), 0 14px 32px -12px rgb(1 71 60 / 0.18);
    --mh-shadow-3: 0 4px 10px -4px rgb(1 71 60 / 0.08), 0 28px 56px -18px rgb(1 71 60 / 0.24);

    --mh-dur-short: 200ms;
    --mh-dur-long: 600ms;
    --mh-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --mh-ease-expo: cubic-bezier(0.16, 1, 0.3, 1);

    --mh-section-y: clamp(64px, 7vw, 112px);
}

html[data-theme="dark"] {
    --mh-brand-50: #16302a;
    --mh-brand-ink: #7cc9b6;
    --mh-ink: #e6eeeb;
    --mh-muted: #9eb0ab;
    --mh-line: #26352f;
    --mh-paper: #0c1412;
    --mh-tint: #101a17;
    --mh-surface: #15201d;
    --mh-glass: rgba(21, 32, 29, 0.7);  /* 5,2:1 walau foto putih; di bawah 0,65 gagal */
    --mh-glass-halo: 0 1px 3px rgb(0 0 0 / 0.6);
    --mh-shadow-1: 0 1px 2px rgb(0 0 0 / 0.3);
    --mh-shadow-2: 0 14px 32px -12px rgb(0 0 0 / 0.55);
    --mh-shadow-3: 0 28px 56px -18px rgb(0 0 0 / 0.6);
    color-scheme: dark;
}

body.site-modern {
    background: var(--mh-paper);
    color: var(--mh-ink);
}
body.site-modern main {
    background: var(--mh-paper);
}
/* Cincin fokus dua warna: emas terbaca di latar hijau/gelap, garis hijau tua di dalamnya
   terbaca di latar terang (emas saja hanya 2:1 di atas putih). Bayangan mengisi celah offset. */
.site-modern :focus-visible {
    outline: 3px solid var(--mh-accent);
    outline-offset: 2px;
    box-shadow: 0 0 0 2px var(--mh-brand);
}

/* Tombol kembali ke atas (gaya dasar dari main.css; di sini reset <button> + mode gelap) */
.site-modern .btn-scroll-top { padding: 0; border: 0; background-color: var(--mh-surface); }
.site-modern .btn-scroll-top::after { color: var(--mh-brand-ink); }
.site-modern .btn-scroll-top svg.progress-square path { stroke: var(--mh-brand-ink); }

/* ---------- Tombol pill ---------- */
.mh-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 10px 26px;
    border-radius: 999px;
    border: 1px solid var(--mh-line);
    background: var(--mh-surface);
    color: var(--mh-ink);
    font-family: var(--mh-font-body);
    font-size: var(--mh-fs-base);
    font-weight: 400;
    line-height: 1.2;
    text-decoration: none;
    transition: background-color var(--mh-dur-short) ease, color var(--mh-dur-short) ease,
        border-color var(--mh-dur-short) ease, transform var(--mh-dur-short) var(--mh-ease-out);
}
.mh-pill:hover { border-color: var(--mh-brand-ink); color: var(--mh-brand-ink); }
.mh-pill:active { transform: scale(0.98); }
.mh-pill--primary {
    background: var(--mh-brand);
    border-color: var(--mh-brand);
    color: #fff;
}
.mh-pill--primary:hover { background: var(--mh-brand-600); border-color: var(--mh-brand-600); color: #fff; }
.mh-pill--lg { min-height: 54px; padding: 14px 32px; font-size: var(--mh-fs-lg); }

/* ---------- Skip link ---------- */
.mh-skip {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 2000;
    padding: 10px 16px;
    border-radius: var(--mh-radius-sm);
    background: var(--mh-brand);
    color: #fff;
}
.mh-skip:focus { top: 12px; color: #fff; }

/* ==========================================================================
   HEADER (top header + navbar + pita, menempel bersama di atas layar)
   ========================================================================== */
html { scroll-padding-top: calc(var(--mh-header-h, 0px) + 16px); }

.mh-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: box-shadow var(--mh-dur-short) ease;
}
.mh-header.is-stuck { box-shadow: 0 12px 28px -16px rgb(16 32 28 / 0.4); }

.mh-top {
    position: relative;
    background: var(--mh-paper);
    border-top: 3px solid var(--mh-ink);
}
.mh-top__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 96px;
}
.mh-brand {
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--mh-ink);
    text-decoration: none;
    min-width: 0;
}
.mh-brand:hover { color: var(--mh-ink); }
.mh-brand img { width: auto; height: 58px; flex-shrink: 0; }
.mh-brand__text {
    display: flex;
    flex-direction: column;
    font-family: var(--mh-font-head);
    font-size: var(--mh-fs-lg);
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: 0.025em;
}
.mh-brand__short { display: none; }

.mh-tools { display: flex; align-items: center; gap: 10px; }
.mh-tool {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--mh-ink);
    font-size: 1.45rem;
    text-decoration: none;
    transition: background-color var(--mh-dur-short) ease, color var(--mh-dur-short) ease;
}
.mh-tool:hover, .mh-tool[aria-expanded="true"] { background: var(--mh-brand-50); color: var(--mh-brand-ink); }
.mh-tool--menu { font-size: 1.85rem; }

/* Panel pencarian */
.mh-search {
    border-top: 1px solid var(--mh-line);
    background: var(--mh-paper);
}
.mh-search__form {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-block: 14px;
}
.mh-search__form > .bi { color: var(--mh-muted); font-size: 1.2rem; }
.mh-search__form input {
    flex: 1;
    min-width: 0;
    height: 46px;
    border: 0;
    background: transparent;
    color: var(--mh-ink);
    font-size: var(--mh-fs-lg);
    outline: none;
}
.mh-search__form input::placeholder { color: var(--mh-muted); }
@media (prefers-reduced-motion: no-preference) {
    .mh-search:not([hidden]) { animation: mh-drop var(--mh-dur-short) var(--mh-ease-out); }
}
@keyframes mh-drop { from { opacity: 0; transform: translateY(-6px); } }

/* Navbar hijau: menu di tengah */
.mh-nav { background: var(--mh-brand); }
.mh-nav__list {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
}
.mh-nav__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    margin-block: 8px;          /* tinggi navbar tetap 60px; latar hover berbentuk pil di dalamnya */
    padding: 0 16px;
    border-radius: 10px;
    color: #fff;
    font-family: var(--mh-font-head);
    font-size: var(--mh-fs-md);
    font-weight: 500;
    letter-spacing: 0.01em;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color var(--mh-dur-short) ease, color var(--mh-dur-short) ease;
}
/* Hover jelas terlihat: latar terang transparan + teks kuning aksen (kontras ±6:1 di atas hijau) */
.mh-nav__link:hover,
.mh-nav__link:focus-visible,
.mh-nav__link.show { background: rgb(255 255 255 / 0.14); color: var(--mh-accent); }
.mh-nav__link.is-active { color: #fff; font-weight: 600; }
.mh-nav__link.is-active:hover { color: var(--mh-accent); }
.mh-nav__link::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 5px;
    height: 2px;
    border-radius: 2px;
    background: var(--mh-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--mh-dur-short) var(--mh-ease-out);
}
.mh-nav__link:hover::after, .mh-nav__link.is-active::after, .mh-nav__link.show::after { transform: scaleX(1); }
.mh-nav__link > .bi:first-child { font-size: 1.15rem; }
.mh-nav__chev { margin-left: -2px; font-size: 0.75rem; transition: transform var(--mh-dur-short) var(--mh-ease-out); }
.mh-nav__link.show .mh-nav__chev { transform: rotate(90deg); }
.mh-nav__dropdown {
    min-width: 250px;
    margin-top: 0 !important;
    padding: 8px;
    border: 1px solid var(--mh-line);
    border-radius: var(--mh-radius-md);
    background: var(--mh-surface);
    box-shadow: var(--mh-shadow-3);
}
.mh-nav__dropdown .dropdown-item {
    padding: 10px 14px;
    border-radius: var(--mh-radius-sm);
    color: var(--mh-ink);
    font-size: var(--mh-fs-base);
    white-space: normal;
}
.mh-nav__dropdown .dropdown-item:hover,
.mh-nav__dropdown .dropdown-item:focus { background: var(--mh-brand); color: #fff; }
/* Mode ringkas: tanpa ikon dan jarak lebih rapat, supaya menu tetap satu baris.
   Otomatis di layar lg sempit, dan dipasang modern.js (.is-compact) bila menu akan terlipat. */
.mh-nav.is-compact .mh-nav__link { padding: 0 11px; font-size: var(--mh-fs-base); }
.mh-nav.is-compact .mh-nav__link > .bi:first-child { display: none; }
.mh-nav.is-compact .mh-nav__link::after { left: 11px; right: 11px; }
@media (max-width: 1199.98px) {
    .mh-nav__link { padding: 0 11px; font-size: var(--mh-fs-base); }
    .mh-nav__link > .bi:first-child { display: none; }
    .mh-nav__link::after { left: 11px; right: 11px; }
}

/* Pita info */
.mh-notice {
    background: var(--mh-accent);
    color: var(--mh-accent-ink);
    font-size: var(--mh-fs-md);
    text-align: center;
}
.mh-notice .container {
    padding-block: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.mh-notice a { color: inherit; text-decoration: none; }
.mh-notice a:hover { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 991.98px) {
    .mh-top__inner { min-height: 76px; gap: 12px; }
    .mh-brand { gap: 12px; }
    .mh-brand img { height: 46px; }
    .mh-brand__text { font-size: var(--mh-fs-base); line-height: 1.4; letter-spacing: 0.015em; }
    .mh-tools { gap: 2px; }
    .mh-tool { width: 44px; height: 44px; font-size: 1.3rem; }
    .mh-tool--menu { font-size: 1.7rem; }
    .mh-notice { font-size: var(--mh-fs-sm); }
    .mh-notice .container { padding-block: 7px; }
}
@media (max-width: 575.98px) {
    .mh-top__inner { min-height: 68px; }
    .mh-brand__long { display: none; }
    .mh-brand__short { display: inline; font-weight: 700; letter-spacing: 0.03em; }
    .mh-brand__text { font-size: var(--mh-fs-sm); }
    .mh-brand img { height: 40px; }
    .mh-tools { gap: 0; }
    .mh-tool { width: 40px; height: 40px; font-size: 1.15rem; }
    .mh-tool--menu { font-size: 1.6rem; }
}

/* ---------- Laci menu mobile (dari kanan) ---------- */
.mh-drawer {
    position: fixed;
    inset: 0;
    z-index: 2000;
    overflow: hidden;
    visibility: hidden;
    transition: visibility 0s linear 320ms;
}
.mh-drawer.is-open { visibility: visible; transition: none; }
.mh-drawer__backdrop {
    position: absolute;
    inset: 0;
    background: rgb(8 20 17 / 0.45);
    opacity: 0;
    transition: opacity 320ms ease;
}
.mh-drawer.is-open .mh-drawer__backdrop { opacity: 1; }
.mh-drawer__panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    width: min(86vw, 420px);
    background: var(--mh-paper);
    box-shadow: -24px 0 48px -24px rgb(0 0 0 / 0.4);
    transform: translateX(100%);
    transition: transform 320ms var(--mh-ease-out);
}
.mh-drawer.is-open .mh-drawer__panel { transform: none; }
.mh-drawer__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 28px 16px 26px 24px;
    border-bottom: 1px solid var(--mh-line);
}
.mh-drawer .mh-brand { gap: 14px; align-items: center; }
.mh-drawer .mh-brand img { height: 46px; }
.mh-drawer .mh-brand__text { font-size: var(--mh-fs-sm); line-height: 1.45; letter-spacing: 0.02em; }
.mh-drawer__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    margin-top: -8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--mh-ink);
    font-size: 1.2rem;
}
.mh-drawer__close:hover { background: var(--mh-brand-50); color: var(--mh-brand-ink); }
.mh-drawer__nav {
    flex: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 18px 0 32px;
}
.mh-drawer__nav ul { margin: 0; padding: 0; list-style: none; }
.mh-drawer__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 55px;
    padding: 12px 28px 12px 24px;
    border: 0;
    background: transparent;
    color: var(--mh-ink);
    font-family: var(--mh-font-head);
    font-size: var(--mh-fs-lg);
    font-weight: 400;
    letter-spacing: 0.02em;
    text-align: left;
    text-decoration: none;
    text-transform: uppercase;
    transition: color var(--mh-dur-short) ease, background-color var(--mh-dur-short) ease;
}
.mh-drawer__link:hover { color: var(--mh-brand-ink); background: var(--mh-tint); }
.mh-drawer__link.is-active { color: var(--mh-brand-ink); font-weight: 600; box-shadow: inset 3px 0 0 var(--mh-accent); }
.mh-drawer__toggle .bi { color: var(--mh-muted); font-size: 0.95rem; transition: transform var(--mh-dur-short) var(--mh-ease-out); }
.mh-drawer__group.is-open > .mh-drawer__toggle { color: var(--mh-brand-ink); }
.mh-drawer__group.is-open > .mh-drawer__toggle .bi { transform: rotate(180deg); }
.mh-drawer__sub {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 320ms var(--mh-ease-out);
}
.mh-drawer__group.is-open > .mh-drawer__sub { grid-template-rows: 1fr; }
.mh-drawer__sub > ul {
    min-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: visibility 0s linear 320ms;
}
.mh-drawer__group.is-open > .mh-drawer__sub > ul { visibility: visible; transition: none; }
.mh-drawer__sub li:last-child { padding-bottom: 10px; }
.mh-drawer__sub a {
    display: block;
    margin-left: 24px;
    padding: 10px 28px 10px 18px;
    border-left: 2px solid var(--mh-line);
    color: var(--mh-muted);
    font-size: var(--mh-fs-base);
    line-height: 1.45;
    text-decoration: none;
}
.mh-drawer__sub a:hover { border-left-color: var(--mh-brand-ink); color: var(--mh-brand-ink); }
body.mh-drawer-open { overflow: hidden; }
@media (min-width: 992px) {
    .mh-drawer { display: none; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.mh-hero { padding-block: clamp(48px, 7vw, 100px); }
/* Grid 12 kolom: gambar di kolom 5-12, kartu di kolom 1-5 menumpuk di tepi kiri gambar.
   Tinggi area mengikuti yang lebih tinggi (kartu atau gambar), jadi kartu tidak pernah keluar. */
.mh-hero__stage {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: center;
}
.mh-hero__media {
    grid-column: 5 / -1;
    grid-row: 1;
    aspect-ratio: 16 / 9;
    border-radius: var(--mh-radius-lg);
    overflow: hidden;
    background: var(--mh-tint);
    box-shadow: var(--mh-shadow-1);
}
.mh-hero-swiper, .mh-hero-swiper .swiper-wrapper, .mh-hero-swiper .swiper-slide { height: 100%; }
.mh-hero-swiper .swiper-slide a { display: block; height: 100%; }
.mh-hero-swiper img { display: block; width: 100%; height: 100%; object-fit: cover; }

.mh-hero__panel {
    position: relative;
    z-index: 2;
    grid-column: 1 / 6;
    grid-row: 1;
}
@media (max-width: 1199.98px) {
    .mh-hero__panel { grid-column: 1 / 7; }
}
.mh-hero__card {
    padding: clamp(28px, 3.2vw, 52px);
    border: 1px solid rgb(255 255 255 / 0.6);
    border-radius: var(--mh-radius-lg);
    background: var(--mh-glass);
    /* Blur tipis: gambar tetap dikenali, teks tetap terbaca */
    -webkit-backdrop-filter: blur(4px) saturate(1.3);
    backdrop-filter: blur(4px) saturate(1.3);
    box-shadow: var(--mh-shadow-3);
    text-shadow: var(--mh-glass-halo);
}
html[data-theme="dark"] .mh-hero__card { border-color: rgb(255 255 255 / 0.12); }
.mh-hero__title {
    margin: 0 0 20px;
    color: var(--mh-ink);
    font-family: var(--mh-font-head);
    font-size: var(--mh-fs-hero);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}
.mh-hero__text {
    margin: 0 0 32px;
    max-width: 34em;
    color: var(--mh-ink);
    font-size: var(--mh-fs-lead);
    line-height: 1.6;
}
/* Teks per slide ditumpuk di satu sel grid; hanya yang aktif terlihat */
.mh-hero__items { display: grid; }
.mh-hero__item {
    grid-area: 1 / 1;
    visibility: hidden;
    opacity: 0;
    transition: opacity 250ms ease, visibility 0s linear 250ms;
}
.mh-hero__item.is-active {
    visibility: visible;
    opacity: 1;
    transition: opacity 450ms ease 120ms;
}
@media (prefers-reduced-motion: no-preference) {
    .mh-hero__item { transform: translateY(8px); transition: opacity 250ms ease, transform 250ms ease, visibility 0s linear 250ms; }
    .mh-hero__item.is-active { transform: none; transition: opacity 450ms ease 120ms, transform 600ms var(--mh-ease-expo) 120ms; }
}
.mh-hero__item .mh-hero__title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.mh-hero__item .mh-hero__text {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.mh-hero__item > :last-child { margin-bottom: 0; }

.mh-hero__nav {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 36px;
    padding-left: clamp(28px, 3.2vw, 52px);
}
.mh-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 50%;
    background: transparent;
    color: var(--mh-ink);
    font-size: 1.35rem;
    transition: background-color var(--mh-dur-short) ease, border-color var(--mh-dur-short) ease, color var(--mh-dur-short) ease;
}
.mh-arrow--ring { border-color: var(--mh-line); background: var(--mh-surface); }
.mh-arrow:hover { border-color: var(--mh-brand); background: var(--mh-brand); color: #fff; }
.mh-arrow.swiper-button-lock { display: none; }

@media (prefers-reduced-motion: no-preference) {
    .mh-hero__card { animation: mh-rise var(--mh-dur-long) var(--mh-ease-expo) 80ms both; }
    .mh-hero__nav { animation: mh-fade var(--mh-dur-long) ease 280ms both; }
}
@keyframes mh-rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes mh-fade { from { opacity: 0; } }

@media (max-width: 991.98px) {
    .mh-hero__media { grid-column: 1 / -1; }
    .mh-hero__panel {
        grid-column: 1 / -1;
        grid-row: 2;
        margin: -56px 16px 0;
    }
    .mh-hero__nav { margin-top: 24px; padding-left: 0; justify-content: center; }
}
@media (max-width: 575.98px) {
    .mh-hero__media { aspect-ratio: 4 / 3; }
    .mh-hero__panel { margin: -40px 8px 0; }
    .mh-hero__text { margin-bottom: 24px; }
}

/* ==========================================================================
   SECTION UMUM
   ========================================================================== */
.mh-section { padding-block: var(--mh-section-y); }
.mh-section--tint { background: var(--mh-tint); }
.mh-heading {
    margin: 0 0 32px;
    color: var(--mh-ink);
    font-family: var(--mh-font-head);
    font-size: var(--mh-fs-h2);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}
.mh-heading-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
}
.mh-empty {
    margin: 0;
    padding: 32px;
    border: 1px dashed var(--mh-line);
    border-radius: var(--mh-radius-lg);
    color: var(--mh-muted);
    text-align: center;
}
.mh-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---------- Kartu berita ---------- */
.mh-news { position: relative; height: 100%; display: flex; flex-direction: column; }
.mh-news__img {
    display: block;
    aspect-ratio: 4 / 3;
    border-radius: var(--mh-radius-lg);
    overflow: hidden;
    background: var(--mh-tint);
}
.mh-news__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms var(--mh-ease-out);
}
.mh-news__body {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    margin: -44px 34px 0 0;
    padding: 24px 20px 20px;
    border-radius: var(--mh-radius-lg);
    background: var(--mh-surface);
    box-shadow: var(--mh-shadow-2);
}
.mh-news__title {
    margin: 0 0 14px;
    font-family: var(--mh-font-head);
    font-size: var(--mh-fs-xl);
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.mh-news__title a { color: var(--mh-ink); text-decoration: none; transition: color var(--mh-dur-short) ease; }
.mh-news__excerpt {
    flex: 1;
    margin: 0 0 22px;
    color: var(--mh-muted);
    font-size: var(--mh-fs-sm);
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.mh-news__meta { display: flex; align-items: center; gap: 12px; }
.mh-news__meta img { width: 34px; height: 34px; object-fit: contain; flex-shrink: 0; }
.mh-news__by { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.mh-news__by strong { color: var(--mh-ink); font-size: var(--mh-fs-sm); font-weight: 500; }
.mh-news__by span { color: var(--mh-muted); font-size: var(--mh-fs-xs); }
.mh-news__views {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--mh-muted);
    font-size: var(--mh-fs-xs);
    font-variant-numeric: tabular-nums;
}
.mh-news:hover .mh-news__img img { transform: scale(1.04); }
.mh-news:hover .mh-news__title a { color: var(--mh-brand-ink); }

/* ---------- Kartu pengumuman ---------- */
.mh-announce-list { display: flex; flex-direction: column; gap: 24px; }
.mh-announce {
    position: relative;
    padding: 24px 22px 20px;
    border: 1px solid var(--mh-line);
    border-radius: var(--mh-radius-lg);
    background: var(--mh-surface);
    box-shadow: var(--mh-shadow-2);
    transition: border-color var(--mh-dur-short) ease;
}
.mh-announce:hover { border-color: var(--mh-brand-ink); }
.mh-announce__title {
    margin: 0 0 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--mh-line);
    font-family: var(--mh-font-head);
    font-size: var(--mh-fs-lg);
    font-weight: 600;
    line-height: 1.45;
}
.mh-announce__title a {
    color: var(--mh-ink);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.mh-announce:hover .mh-announce__title a { color: var(--mh-brand-ink); }
.mh-announce__date {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: var(--mh-ink);
    font-size: var(--mh-fs-sm);
}
.mh-announce__date .bi { color: var(--mh-muted); font-size: 1.05rem; }

/* ---------- Rail (slider kartu + tombol lanjut) ---------- */
.mh-rail { position: relative; }
.mh-rail .swiper { border-radius: var(--mh-radius-lg); }
.mh-rail .swiper-slide { height: auto; }
.mh-rail__next {
    position: absolute;
    top: 50%;
    right: -27px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    padding: 0;
    border: 1px solid var(--mh-line);
    border-radius: 50%;
    background: var(--mh-surface);
    color: var(--mh-ink);
    font-size: 1.2rem;
    box-shadow: var(--mh-shadow-2);
    transform: translateY(-50%);
    transition: background-color var(--mh-dur-short) ease, color var(--mh-dur-short) ease;
}
.mh-rail__next:hover { background: var(--mh-brand); border-color: var(--mh-brand); color: #fff; }
.mh-rail__next.swiper-button-lock { display: none; }
@media (max-width: 991.98px) {
    .mh-rail__next { right: 8px; width: 46px; height: 46px; }
}

/* ---------- Publikasi: sampul tegak ---------- */
.mh-cover {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    border-radius: var(--mh-radius-lg);
    overflow: hidden;
    background: linear-gradient(150deg, var(--mh-brand) 0%, #0b6b5a 100%);
    color: #fff;
    text-decoration: none;
}
.mh-cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms var(--mh-ease-out);
}
.mh-cover__placeholder {
    position: absolute;
    inset: 0 0 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgb(255 255 255 / 0.55);
}
.mh-cover__caption {
    position: absolute;
    inset: auto 0 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 72px 20px 24px;
    background: linear-gradient(to top, rgb(0 0 0 / 0.82) 0%, rgb(0 0 0 / 0.45) 55%, transparent 100%);
}
.mh-cover__title {
    font-family: var(--mh-font-head);
    font-size: var(--mh-fs-xl);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.mh-cover__sub { font-size: var(--mh-fs-sm); opacity: 0.9; }
.mh-cover:hover { color: #fff; }
.mh-cover:hover img { transform: scale(1.04); }

/* ---------- Infografis beranda: hanya gambar (klik = perbesar) ---------- */
.mh-promo {
    position: relative;
    aspect-ratio: 3 / 4;
    border-radius: var(--mh-radius-lg);
    overflow: hidden;
    background: var(--mh-surface);
}
.mh-promo__img { position: absolute; inset: 0; display: block; border-radius: inherit; cursor: zoom-in; }
.mh-promo__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 500ms var(--mh-ease-out);
}
.mh-promo:hover .mh-promo__img img { transform: scale(1.04); }

/* Kartu gambar di dalam slider: cincin fokus digambar di dalam kartu, karena cincin di luar
   terpotong overflow Swiper. Warna sama dengan cincin global (emas + hijau tua). */
.site-modern .mh-cover:focus-visible,
.site-modern .mh-promo__img:focus-visible { outline: none; box-shadow: none; }
.mh-cover:focus-visible::after,
.mh-promo__img:focus-visible::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: inherit;
    box-shadow: inset 0 0 0 3px var(--mh-accent), inset 0 0 0 5px var(--mh-brand);
    pointer-events: none;
}

/* ---------- Layanan ---------- */
.mh-service {
    display: flex;
    gap: 16px;
    height: 100%;
    padding: 24px;
    border: 1px solid var(--mh-line);
    border-radius: var(--mh-radius-lg);
    background: var(--mh-surface);
    color: var(--mh-ink);
    text-decoration: none;
    transition: border-color var(--mh-dur-short) ease, box-shadow var(--mh-dur-short) ease;
}
.mh-service:hover { border-color: var(--mh-brand-ink); box-shadow: var(--mh-shadow-2); color: var(--mh-ink); }
.mh-service__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--mh-brand-50);
    color: var(--mh-brand-ink);
    font-size: 1.3rem;
}
.mh-service__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.mh-service__title { font-family: var(--mh-font-head); font-size: var(--mh-fs-lg); font-weight: 600; line-height: 1.4; }
.mh-service__text {
    color: var(--mh-muted);
    font-size: var(--mh-fs-sm);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---------- Media sosial: mosaik ---------- */
.mh-social__accounts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: -8px 0 36px;
    padding: 0;
    list-style: none;
}
.mh-mosaic {
    display: grid;
    gap: 24px;
    max-width: 1200px;
    margin-inline: auto;
}
.mh-tile {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    border-radius: var(--mh-radius-lg);
    overflow: hidden;
    background: var(--mh-brand);
    color: #fff;
    text-decoration: none;
}
.mh-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms var(--mh-ease-out);
}
.mh-tile__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgb(0 0 0 / 0.78) 0%, rgb(0 0 0 / 0.15) 45%, transparent 70%);
}
.mh-tile__title {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 54px;
    font-family: var(--mh-font-head);
    font-size: var(--mh-fs-base);
    font-weight: 500;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.mh-tile__icon { position: absolute; left: 20px; bottom: 16px; font-size: 1.3rem; line-height: 1; }
.mh-tile:hover { color: #fff; }
.mh-tile:hover img { transform: scale(1.04); }

/* 5 ubin: satu besar di kiri + 2x2 di kanan */
.mh-mosaic--5 { grid-template-columns: 2fr 1fr 1fr; }
.mh-mosaic--5 .mh-tile:first-child { grid-row: span 2; aspect-ratio: auto; }
/* 3 ubin: satu besar + dua bertumpuk */
.mh-mosaic--3 { grid-template-columns: 2fr 1fr; }
.mh-mosaic--3 .mh-tile:first-child { grid-row: span 2; aspect-ratio: auto; }
.mh-mosaic--5 .mh-tile:first-child .mh-tile__title,
.mh-mosaic--3 .mh-tile:first-child .mh-tile__title { font-size: var(--mh-fs-xl); }
.mh-mosaic--1 { grid-template-columns: 1fr; max-width: 800px; }
.mh-mosaic--1 .mh-tile { aspect-ratio: 16 / 9; }
.mh-mosaic--2 { grid-template-columns: repeat(2, 1fr); max-width: 900px; }
.mh-mosaic--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 767.98px) {
    .mh-mosaic { gap: 12px; }
    .mh-mosaic--5, .mh-mosaic--3, .mh-mosaic--4 { grid-template-columns: repeat(2, 1fr); }
    .mh-mosaic--5 .mh-tile:first-child,
    .mh-mosaic--3 .mh-tile:first-child { grid-row: auto; grid-column: span 2; aspect-ratio: 16 / 10; }
    .mh-tile__title { left: 14px; right: 14px; bottom: 44px; font-size: var(--mh-fs-sm); }
    .mh-tile__icon { left: 14px; bottom: 14px; font-size: 1.1rem; }
}

/* ==========================================================================
   HALAMAN DALAM (profil dan halaman berikutnya)
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}

/* ---------- Kepala halaman ---------- */
.mh-pagehead {
    padding-block: clamp(40px, 5vw, 72px);
    background: var(--mh-tint);
    border-bottom: 1px solid var(--mh-line);
}
.mh-pagehead__grid { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
.mh-pagehead__grid.has-image { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
.mh-pagehead__title {
    margin: 0 0 16px;
    color: var(--mh-ink);
    font-family: var(--mh-font-head);
    font-size: var(--mh-fs-h1);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}
.mh-pagehead__lead {
    margin: 0;
    max-width: 40em;
    color: var(--mh-ink);
    font-size: var(--mh-fs-lead);
    line-height: 1.65;
}
.mh-pagehead__media img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--mh-radius-lg);
    box-shadow: var(--mh-shadow-2);
}
.mh-crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
    color: var(--mh-muted);
    font-size: var(--mh-fs-sm);
}
.mh-crumbs li + li::before { content: "›"; margin-right: 8px; color: var(--mh-muted); }
.mh-crumbs a { color: var(--mh-brand-ink); text-decoration: none; }
.mh-crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 991.98px) {
    .mh-pagehead__grid.has-image { grid-template-columns: 1fr; }
}

.mh-section--flush-top { padding-top: clamp(40px, 5vw, 64px); }

/* ---------- Tata letak dengan daftar isi ---------- */
.mh-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: clamp(32px, 4vw, 64px);
    align-items: start;
}
.mh-toc {
    position: sticky;
    top: calc(var(--mh-header-h, 200px) + 24px);
}
.mh-toc__title {
    margin: 0 0 12px;
    color: var(--mh-muted);
    font-size: var(--mh-fs-sm);
    font-weight: 600;
}
.mh-toc ul {
    margin: 0;
    padding: 0;
    list-style: none;
    border-left: 2px solid var(--mh-line);
}
.mh-toc a {
    display: block;
    margin-left: -2px;
    padding: 10px 16px;
    border-left: 2px solid transparent;
    color: var(--mh-muted);
    font-size: var(--mh-fs-base);
    line-height: 1.4;
    text-decoration: none;
    transition: color var(--mh-dur-short) ease, border-color var(--mh-dur-short) ease;
}
.mh-toc a:hover { color: var(--mh-ink); }
.mh-toc a.is-active { border-left-color: var(--mh-brand-ink); color: var(--mh-brand-ink); font-weight: 600; }
@media (max-width: 991.98px) {
    .mh-layout { display: block; }
    .mh-toc { position: static; margin-bottom: 36px; }
    .mh-toc__title { display: none; }
    .mh-toc ul {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        border-left: 0;
        scrollbar-width: none;
        margin-inline: calc(-1 * var(--bs-gutter-x, 24px) / 2);
        padding-inline: calc(var(--bs-gutter-x, 24px) / 2);
    }
    .mh-toc ul::-webkit-scrollbar { display: none; }
    .mh-toc a {
        margin: 0;
        padding: 9px 16px;
        border: 1px solid var(--mh-line);
        border-radius: 999px;
        background: var(--mh-surface);
        color: var(--mh-ink);
        white-space: nowrap;
    }
    .mh-toc a.is-active { border-color: var(--mh-brand); background: var(--mh-brand); color: #fff; }
}

.mh-block + .mh-block { margin-top: clamp(56px, 6vw, 88px); }
.mh-block > .mh-heading { margin-bottom: 24px; }
.mh-card {
    padding: clamp(24px, 3vw, 40px);
    border: 1px solid var(--mh-line);
    border-radius: var(--mh-radius-lg);
    background: var(--mh-surface);
    box-shadow: var(--mh-shadow-1);
}

/* ---------- Teks kaya dari TinyMCE ---------- */
.mh-prose {
    color: var(--mh-ink);
    font-size: var(--mh-fs-md);
    line-height: 1.75;
}
/* main.css memberi warna & ukuran tetap pada semua <p>; di sini ikuti wadahnya */
.mh-prose p, .mh-prose li, .mh-visi__text p {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
}
.mh-prose > :first-child { margin-top: 0; }
.mh-prose > :last-child { margin-bottom: 0; }
.mh-prose p { margin: 0 0 1em; }
.mh-prose ol, .mh-prose ul { margin: 0 0 1em; padding-left: 1.4em; }
.mh-prose li { margin-bottom: 0.45em; }
.mh-prose li::marker { color: var(--mh-brand-ink); }
.mh-prose h2, .mh-prose h3, .mh-prose h4 {
    margin: 1.6em 0 0.6em;
    color: var(--mh-ink);
    font-family: var(--mh-font-head);
    font-weight: 600;
    line-height: 1.3;
}
.mh-prose h2 { font-size: var(--mh-fs-2xl); }
.mh-prose h3 { font-size: var(--mh-fs-xl); }
.mh-prose h4 { font-size: var(--mh-fs-lg); }
.mh-prose a { color: var(--mh-brand-ink); text-decoration: underline; text-underline-offset: 3px; }
.mh-prose img, .mh-prose iframe { max-width: 100%; border-radius: 12px; }
.mh-prose img { height: auto; }
.mh-prose table { width: 100%; margin: 0 0 1em; border-collapse: collapse; font-size: var(--mh-fs-sm); }
.mh-prose th, .mh-prose td { padding: 10px 12px; border: 1px solid var(--mh-line); text-align: left; vertical-align: top; }
.mh-prose th { background: var(--mh-tint); }
.mh-prose blockquote { margin: 0 0 1em; padding-left: 16px; border-left: 3px solid var(--mh-accent); color: var(--mh-muted); }

/* ---------- Sambutan ---------- */
.mh-sambutan.has-photo {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: clamp(24px, 3vw, 40px);
    align-items: start;
}
.mh-sambutan__photo {
    margin: 0;
    aspect-ratio: 3 / 4;
    border-radius: var(--mh-radius-md);
    overflow: hidden;
    background: var(--mh-tint);
}
.mh-sambutan__photo img { width: 100%; height: 100%; object-fit: cover; }
.mh-sambutan__mark { display: block; margin: -6px 0 6px -4px; color: var(--mh-accent); font-size: 2.6rem; line-height: 1; }
.mh-sambutan__sign {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 24px 0 0;
    padding-top: 20px;
    border-top: 1px solid var(--mh-line);
}
.mh-sambutan__sign strong { color: var(--mh-ink); font-family: var(--mh-font-head); font-size: var(--mh-fs-md); font-weight: 600; }
.mh-sambutan__sign span { color: var(--mh-muted); font-size: var(--mh-fs-sm); }
@media (max-width: 767.98px) {
    .mh-sambutan.has-photo { grid-template-columns: 1fr; }
    .mh-sambutan__photo { max-width: 200px; }
}

/* ---------- Visi dan misi ---------- */
.mh-visi {
    padding: clamp(28px, 4vw, 48px);
    border-radius: var(--mh-radius-lg);
    background: linear-gradient(135deg, var(--mh-brand) 0%, #0b6b5a 100%);
    color: #fff;
    box-shadow: var(--mh-shadow-2);
}
.mh-visi__label,
.mh-misi__label {
    margin: 0 0 12px;
    font-family: var(--mh-font-head);
    font-size: var(--mh-fs-base);
    font-weight: 600;
}
.mh-visi__label { color: var(--mh-accent); }
.mh-visi__text {
    font-family: var(--mh-font-head);
    font-size: var(--mh-fs-quote);
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: -0.005em;
}
.mh-visi__text p { margin: 0 0 0.6em; }
.mh-visi__text p:last-child { margin-bottom: 0; }
.mh-visi__text em { display: block; margin-top: 16px; font-family: var(--mh-font-body); font-size: var(--mh-fs-sm); font-weight: 400; opacity: 0.8; }
.mh-misi { margin-top: 36px; }
.mh-misi__label { color: var(--mh-ink); font-size: var(--mh-fs-xl); margin-bottom: 16px; }

/* Daftar bernomor sebagai baris kartu */
.mh-steps ol {
    display: grid;
    gap: 12px;
    margin: 0 0 1em;
    padding: 0;
    list-style: none;
    counter-reset: mh-step;
}
.mh-steps ol > li {
    position: relative;
    list-style: none;   /* menimpa list-style-type inline dari TinyMCE (mis. huruf a, b, c) */
    margin: 0;
    padding: 18px 20px 18px 70px;
    border: 1px solid var(--mh-line);
    border-radius: var(--mh-radius-md);
    background: var(--mh-surface);
    counter-increment: mh-step;
}
.mh-steps ol > li::before {
    content: counter(mh-step);
    position: absolute;
    left: 18px;
    top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--mh-brand-50);
    color: var(--mh-brand-ink);
    font-family: var(--mh-font-head);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 575.98px) {
    .mh-card { padding: 20px 18px; }
    .mh-prose { font-size: var(--mh-fs-base); line-height: 1.7; }
    .mh-steps ol > li { padding: 14px 16px 14px 56px; }
    .mh-steps ol > li::before { left: 12px; top: 12px; width: 32px; height: 32px; }
    .mh-visi { padding: 24px 22px; }
}

/* ---------- Gambar bagan ---------- */
.mh-figure { margin: 0 0 24px; }
.mh-figure a {
    display: block;
    border: 1px solid var(--mh-line);
    border-radius: var(--mh-radius-lg);
    overflow: hidden;
    background: var(--mh-surface);
}
.mh-figure img { display: block; width: 100%; height: auto; }
.mh-figure figcaption { display: flex; align-items: center; gap: 6px; margin-top: 10px; color: var(--mh-muted); font-size: var(--mh-fs-sm); }

/* ---------- Pimpinan dan staf ---------- */
.mh-person__photo {
    position: relative;
    aspect-ratio: 3 / 4;
    border-radius: var(--mh-radius-md);
    overflow: hidden;
    background: var(--mh-tint);
}
.mh-person__photo img { width: 100%; height: 100%; object-fit: cover; }
.mh-person__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mh-muted);
    font-size: 3rem;
}
.mh-person__name {
    margin: 14px 0 4px;
    color: var(--mh-ink);
    font-family: var(--mh-font-head);
    font-size: var(--mh-fs-md);
    font-weight: 600;
    line-height: 1.35;
}
.mh-person__role { margin: 0; color: var(--mh-muted); font-size: var(--mh-fs-sm); line-height: 1.5; }

/* ==========================================================================
   BERITA: daftar, kategori, pencarian, detail
   ========================================================================== */

/* ---------- Varian kartu berita ---------- */
.mh-news__cat {
    margin: 0 0 8px;
    color: var(--mh-brand-ink);
    font-size: var(--mh-fs-xs);
    font-weight: 600;
    line-height: 1.3;
}
.mh-news--lead .mh-news__img,
.mh-news--slim .mh-news__img { aspect-ratio: 16 / 9; }
.mh-news--lead .mh-news__body { margin-right: 64px; padding: 28px 28px 24px; }
.mh-news--lead .mh-news__title { font-size: var(--mh-fs-2xl); line-height: 1.3; -webkit-line-clamp: 3; }
.mh-news--lead .mh-news__excerpt { font-size: var(--mh-fs-base); -webkit-line-clamp: 3; }
.mh-news--slim .mh-news__title { margin-bottom: 18px; font-size: var(--mh-fs-lg); }
@media (max-width: 575.98px) {
    .mh-news--lead .mh-news__body { margin-right: 20px; padding: 22px 18px 18px; }
    .mh-news--lead .mh-news__title { font-size: var(--mh-fs-xl); }
}

/* Blok berita utama (halaman 1 daftar berita): 1 besar + 2 ramping */
.mh-lead {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 32px 40px;
    margin-bottom: clamp(40px, 5vw, 64px);
}
.mh-lead__main { grid-row: span 2; }
/* Desktop: kartu utama setinggi dua kartu di sampingnya; sisa tinggi diisi gambar, bukan ruang kosong.
   (Hanya >=992px: min-height + aspect-ratio akan memaksa lebar minimum di layar sempit.) */
@media (min-width: 992px) {
    .mh-lead__main .mh-news--lead .mh-news__img { flex: 1 1 auto; min-height: 300px; aspect-ratio: auto; }
    .mh-lead__main .mh-news--lead .mh-news__body { flex: 0 0 auto; }
    .mh-lead__main .mh-news--lead .mh-news__excerpt { flex: 0 0 auto; }
}
@media (max-width: 991.98px) {
    .mh-lead { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
    .mh-lead__main { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 575.98px) {
    .mh-lead { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Toolbar: chip kategori + kotak cari ---------- */
.mh-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px 32px;
    margin-bottom: clamp(32px, 4vw, 48px);
    padding-bottom: 24px;
    border-bottom: 1px solid var(--mh-line);
}
.mh-chips { flex: 1 1 0; min-width: 0; }
.mh-chips ul,
.mh-chips__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.mh-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 8px 16px;
    border: 1px solid var(--mh-line);
    border-radius: 999px;
    background: var(--mh-surface);
    color: var(--mh-ink);
    font-size: var(--mh-fs-sm);
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color var(--mh-dur-short) ease, border-color var(--mh-dur-short) ease, color var(--mh-dur-short) ease;
}
.mh-chip:hover { border-color: var(--mh-brand-ink); color: var(--mh-brand-ink); }
.mh-chip.is-active { border-color: var(--mh-brand); background: var(--mh-brand); color: #fff; }
.mh-chip--sm { min-height: 36px; padding: 6px 14px; }
.mh-chip__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 22px;
    padding: 0 7px;
    border-radius: 999px;
    background: var(--mh-tint);
    color: var(--mh-muted);
    font-size: var(--mh-fs-xs);
    font-variant-numeric: tabular-nums;
}
.mh-chip.is-active .mh-chip__count { background: rgb(255 255 255 / 0.18); color: #fff; }

.mh-searchbox {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 1 400px;
    min-width: 260px;
    height: 54px;
    padding: 5px 5px 5px 18px;
    border: 1px solid var(--mh-line);
    border-radius: 999px;
    background: var(--mh-surface);
    transition: border-color var(--mh-dur-short) ease, box-shadow var(--mh-dur-short) ease;
}
.mh-searchbox:focus-within { border-color: var(--mh-brand-ink); box-shadow: 0 0 0 3px rgb(1 71 60 / 0.14); }
.mh-searchbox > .bi { color: var(--mh-muted); }
.mh-searchbox input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    color: var(--mh-ink);
    font-size: var(--mh-fs-base);
}
.mh-searchbox input:focus-visible { outline: none; box-shadow: none; }  /* cincin fokus ada di wadahnya */
.mh-searchbox input::placeholder { color: var(--mh-muted); }
.mh-searchbox .mh-pill { min-height: 44px; padding: 8px 22px; }
@media (max-width: 767.98px) {
    .mh-searchbox { order: -1; flex: 1 1 100%; }
    .mh-chips ul {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        margin-inline: calc(-1 * var(--bs-gutter-x, 24px) / 2);
        padding-inline: calc(var(--bs-gutter-x, 24px) / 2);
    }
    .mh-chips ul::-webkit-scrollbar { display: none; }
}

/* ---------- Keadaan kosong besar ---------- */
.mh-empty--lg {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 56px 24px;
}
.mh-empty--lg > .bi { color: var(--mh-muted); font-size: 2.5rem; }
.mh-empty__title { margin: 0; color: var(--mh-ink); font-family: var(--mh-font-head); font-size: var(--mh-fs-xl); font-weight: 600; }
.mh-empty__text { margin: 0; max-width: 36em; color: var(--mh-muted); font-size: var(--mh-fs-base); }

/* ---------- Pagination ---------- */
.mh-pager {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: clamp(40px, 5vw, 64px);
    padding-top: 24px;
    border-top: 1px solid var(--mh-line);
}
.mh-pager__info { margin: 0; color: var(--mh-muted); font-size: var(--mh-fs-sm); }
.mh-pager__list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.mh-pager__num,
.mh-pager__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    border: 1px solid var(--mh-line);
    border-radius: 999px;
    background: var(--mh-surface);
    color: var(--mh-ink);
    font-size: var(--mh-fs-base);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    text-decoration: none;
    transition: border-color var(--mh-dur-short) ease, color var(--mh-dur-short) ease;
}
.mh-pager__btn { padding: 0 18px; }
a.mh-pager__num:hover, a.mh-pager__btn:hover { border-color: var(--mh-brand-ink); color: var(--mh-brand-ink); }
.mh-pager__num.is-current { border-color: var(--mh-brand); background: var(--mh-brand); color: #fff; }
.mh-pager__btn.is-disabled { opacity: 0.45; }
.mh-pager__gap { padding: 0 4px; color: var(--mh-muted); }
@media (max-width: 575.98px) {
    .mh-pager { justify-content: center; }
    .mh-pager__info { width: 100%; text-align: center; }
    .mh-pager__page, .mh-pager__gap { display: none; }
}

/* ---------- Detail berita ---------- */
.mh-article-page { padding-top: clamp(32px, 4vw, 56px); }
.mh-article__head { margin-bottom: 28px; }
.mh-article__title {
    margin: 0 0 16px;
    color: var(--mh-ink);
    font-family: var(--mh-font-head);
    font-size: var(--mh-fs-hero);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.015em;
}
.mh-article__lead {
    margin: 0 0 24px;
    color: var(--mh-ink);
    font-size: var(--mh-fs-lead);
    line-height: 1.6;
}
.mh-article__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px 24px;
    padding: 18px 0;
    border-top: 1px solid var(--mh-line);
    border-bottom: 1px solid var(--mh-line);
}
.mh-byline { display: flex; align-items: center; gap: 12px; min-width: 0; }
.mh-byline img { width: 40px; height: 40px; object-fit: contain; flex-shrink: 0; }
.mh-byline strong { display: block; color: var(--mh-ink); font-size: var(--mh-fs-sm); font-weight: 600; }
.mh-byline__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
    color: var(--mh-muted);
    font-size: var(--mh-fs-xs);
}
.mh-byline__facts li { display: inline-flex; align-items: center; gap: 6px; }

.mh-share { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.mh-share__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--mh-line);
    border-radius: 50%;
    background: var(--mh-surface);
    color: var(--mh-ink);
    font-size: 1.1rem;
    text-decoration: none;
    transition: background-color var(--mh-dur-short) ease, border-color var(--mh-dur-short) ease, color var(--mh-dur-short) ease;
}
.mh-share__btn:hover { border-color: var(--mh-brand); background: var(--mh-brand); color: #fff; }
.mh-share__btn.is-copied,
.mh-share--labeled .is-copied { border-color: var(--mh-brand-ink); background: var(--mh-brand-50); color: var(--mh-brand-ink); }
.mh-share--labeled .mh-pill { min-height: 42px; padding: 8px 18px; font-size: var(--mh-fs-sm); }

.mh-article__media {
    margin: 0 0 32px;
    border-radius: var(--mh-radius-lg);
    overflow: hidden;
    background: var(--mh-tint);
}
.mh-article__media img { display: block; width: 100%; height: auto; max-height: 640px; object-fit: cover; }
.mh-article__body { font-size: var(--mh-fs-lg); line-height: 1.8; }
.mh-prose iframe { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; }
.mh-prose figure { margin: 0 0 1em; }
.mh-prose figcaption { margin-top: 8px; color: var(--mh-muted); font-size: var(--mh-fs-sm); }
@media (max-width: 575.98px) {
    .mh-article__body { font-size: var(--mh-fs-md); line-height: 1.75; }
}

.mh-article__tags { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.mh-article__tags-label,
.mh-article__foot-label { margin: 0; color: var(--mh-muted); font-size: var(--mh-fs-sm); font-weight: 600; }
.mh-article__foot {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--mh-line);
}

/* Galeri foto berita (gambar utama + post_images) */
.mh-gallery { margin: 0 0 32px; }
.mh-gallery__swiper {
    position: relative;
    border-radius: var(--mh-radius-lg);
    overflow: hidden;
    background: var(--mh-tint);
}
.mh-gallery__slide { display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 2; }
.mh-gallery__slide img { width: 100%; height: 100%; object-fit: contain; }
.mh-gallery__nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-top: -22px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgb(255 255 255 / 0.92);
    color: var(--mh-brand);
    font-size: 1.2rem;
    box-shadow: var(--mh-shadow-2);
    transition: background-color var(--mh-dur-short) ease, opacity var(--mh-dur-short) ease;
}
.mh-gallery__nav:hover { background: #fff; }
.mh-gallery__nav--prev { left: 12px; }
.mh-gallery__nav--next { right: 12px; }
.mh-gallery__nav.swiper-button-disabled { opacity: 0; pointer-events: none; }
.mh-gallery__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.mh-gallery__dots { position: static; display: flex; flex-wrap: wrap; gap: 2px; width: auto !important; }
.mh-gallery__dots .swiper-pagination-bullet { width: 10px; height: 10px; margin: 0 4px !important; background: var(--mh-brand-ink); opacity: 0.25; }
.mh-gallery__dots .swiper-pagination-bullet-active { opacity: 1; }
.mh-gallery__count { margin: 0; color: var(--mh-muted); font-size: var(--mh-fs-xs); white-space: nowrap; }
/* Tanpa JavaScript: foto tetap bisa digeser manual */
.mh-gallery__swiper:not(.swiper-initialized) .swiper-wrapper { overflow-x: auto; scroll-snap-type: x mandatory; }
.mh-gallery__swiper:not(.swiper-initialized) .swiper-slide { flex: 0 0 100%; scroll-snap-align: start; }
.mh-gallery__swiper:not(.swiper-initialized) ~ .mh-gallery__bar,
.mh-gallery__swiper:not(.swiper-initialized) .mh-gallery__nav { display: none; }

/* Kolom samping detail berita */
.mh-aside { display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 992px) and (min-height: 820px) {
    .mh-aside { position: sticky; top: calc(var(--mh-header-h, 200px) + 24px); }
}
.mh-aside__block {
    padding: 24px;
    border: 1px solid var(--mh-line);
    border-radius: var(--mh-radius-lg);
    background: var(--mh-surface);
}
.mh-aside__title {
    margin: 0 0 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--mh-line);
    color: var(--mh-ink);
    font-family: var(--mh-font-head);
    font-size: var(--mh-fs-lg);
    font-weight: 600;
}
.mh-mini-list { display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 0; list-style: none; }
.mh-mini { position: relative; display: flex; align-items: flex-start; gap: 14px; }
.mh-mini img { flex-shrink: 0; width: 88px; height: 66px; border-radius: 12px; background: var(--mh-tint); object-fit: cover; }
.mh-mini__title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--mh-ink);
    font-size: var(--mh-fs-sm);
    font-weight: 600;
    line-height: 1.45;
    text-decoration: none;
}
.mh-mini:hover .mh-mini__title { color: var(--mh-brand-ink); }
.mh-mini__date { margin: 6px 0 0; color: var(--mh-muted); font-size: var(--mh-fs-xs); }

/* ==========================================================================
   LAYANAN & DOKUMEN
   ========================================================================== */
.mh-count { margin: 0 0 20px; color: var(--mh-muted); font-size: var(--mh-fs-sm); }

/* ---------- Kartu layanan ---------- */
.mh-svc {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
    padding: 28px;
    border: 1px solid var(--mh-line);
    border-radius: var(--mh-radius-lg);
    background: var(--mh-surface);
    transition: border-color var(--mh-dur-short) ease, box-shadow var(--mh-dur-short) ease;
}
.mh-svc:hover { border-color: var(--mh-brand-ink); box-shadow: var(--mh-shadow-2); }
.mh-svc__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--mh-brand-50);
    color: var(--mh-brand-ink);
    font-size: 1.4rem;
}
.mh-svc__title { margin: 0; font-family: var(--mh-font-head); font-size: var(--mh-fs-lg); font-weight: 600; line-height: 1.4; }
.mh-svc__title a { color: var(--mh-ink); text-decoration: none; }
.mh-svc:hover .mh-svc__title a { color: var(--mh-brand-ink); }
.mh-svc__facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: auto 0 0;
    padding-top: 16px;
    border-top: 1px solid var(--mh-line);
}
.mh-svc__facts dt { display: flex; align-items: center; gap: 6px; margin: 0 0 4px; color: var(--mh-muted); font-size: var(--mh-fs-xs); font-weight: 500; }
.mh-svc__facts dd { margin: 0; color: var(--mh-ink); font-size: var(--mh-fs-sm); font-weight: 500; line-height: 1.4; }
.mh-svc__more { display: inline-flex; align-items: center; gap: 6px; color: var(--mh-brand-ink); font-size: var(--mh-fs-sm); font-weight: 600; }
.mh-svc__more .bi { transition: transform var(--mh-dur-short) var(--mh-ease-out); }
.mh-svc:hover .mh-svc__more .bi { transform: translateX(3px); }

/* ---------- Ringkasan cepat layanan ---------- */
.mh-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 0 0 clamp(40px, 5vw, 56px);
}
.mh-facts__item { padding: 20px 22px; border: 1px solid var(--mh-line); border-radius: var(--mh-radius-md); background: var(--mh-tint); }
.mh-facts dt { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; color: var(--mh-muted); font-size: var(--mh-fs-sm); font-weight: 500; }
.mh-facts dt .bi { color: var(--mh-brand-ink); }
.mh-facts dd { margin: 0; color: var(--mh-ink); font-family: var(--mh-font-head); font-size: var(--mh-fs-lg); font-weight: 600; line-height: 1.4; }
.mh-facts dd.mh-prose { font-size: var(--mh-fs-lg); line-height: 1.5; }
.mh-facts dd.mh-prose p { margin: 0; }
@media (max-width: 575.98px) {
    .mh-facts { grid-template-columns: minmax(0, 1fr); }
}

/* Daftar persyaratan bertanda centang */
.mh-checklist ul { padding-left: 0; list-style: none; }
.mh-checklist ul > li { position: relative; margin-bottom: 0.7em; padding-left: 36px; }
.mh-checklist ul > li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--mh-brand-50);
}
.mh-checklist ul > li::after {
    content: "";
    position: absolute;
    left: 8px;
    top: 8px;
    width: 6px;
    height: 11px;
    border: solid var(--mh-brand-ink);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* ---------- Kartu bantuan ---------- */
.mh-help { display: flex; flex-direction: column; gap: 16px; }
.mh-help__title { margin: 0 0 6px; color: var(--mh-ink); font-family: var(--mh-font-head); font-size: var(--mh-fs-lg); font-weight: 600; }
.mh-help__lead { margin: 0; color: var(--mh-muted); font-size: var(--mh-fs-sm); line-height: 1.6; }
.mh-help__list { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.mh-help__list a:not(.mh-pill) {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--mh-ink);
    font-size: var(--mh-fs-sm);
    font-weight: 500;
    text-decoration: none;
    overflow-wrap: anywhere;
}
.mh-help__list a:not(.mh-pill):hover { color: var(--mh-brand-ink); }
.mh-help__list .bi { color: var(--mh-brand-ink); font-size: 1.1rem; }
.mh-help__list .mh-pill { width: 100%; margin-top: 4px; }
.mh-help--wide {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px 40px;
    padding: clamp(24px, 3vw, 36px);
    border-radius: var(--mh-radius-lg);
    background: var(--mh-brand-50);
}
.mh-help--wide .mh-help__title { font-size: var(--mh-fs-xl); }
.mh-help--wide .mh-help__list { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.mh-help--wide .mh-help__list .mh-pill { width: auto; margin-top: 0; }

/* Daftar tautan di kolom samping */
.mh-aside__text { margin: 0 0 16px; color: var(--mh-muted); font-size: var(--mh-fs-sm); line-height: 1.6; }
.mh-aside__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--mh-brand-ink); font-size: var(--mh-fs-sm); font-weight: 600; text-decoration: none; }
.mh-linklist { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.mh-linklist a {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--mh-line);
    color: var(--mh-ink);
    font-size: var(--mh-fs-sm);
    font-weight: 500;
    line-height: 1.45;
    text-decoration: none;
}
.mh-linklist li:last-child a { border-bottom: 0; }
.mh-linklist a .bi { flex-shrink: 0; margin-top: 2px; color: var(--mh-brand-ink); font-size: 1rem; }
.mh-linklist a:hover { color: var(--mh-brand-ink); }

/* ---------- Dokumen ---------- */
.mh-cover__sub--muted { font-size: var(--mh-fs-xs); opacity: 0.75; }
@media (max-width: 575.98px) {
    .mh-section .row > .col-6 > .mh-cover .mh-cover__caption { gap: 4px; padding: 48px 14px 16px; }
    .mh-section .row > .col-6 > .mh-cover .mh-cover__title { font-size: var(--mh-fs-base); }
    .mh-section .row > .col-6 > .mh-cover .mh-cover__sub { font-size: var(--mh-fs-xs); }
}
.mh-chips--bar { margin-bottom: clamp(24px, 3vw, 36px); }

.mh-files { display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 0; list-style: none; }
.mh-file {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    padding: 20px;
    border: 1px solid var(--mh-line);
    border-radius: var(--mh-radius-lg);
    background: var(--mh-surface);
    transition: box-shadow var(--mh-dur-short) ease;
}
.mh-file:hover { box-shadow: var(--mh-shadow-2); }
.mh-file__thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    aspect-ratio: 3 / 4;
    border-radius: 12px;
    overflow: hidden;
    background: var(--mh-brand-50);
}
.mh-file__thumb img { width: 100%; height: 100%; object-fit: cover; }
.mh-file__icon { display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--mh-brand-ink); }
.mh-file__icon .bi { font-size: 2rem; line-height: 1; }
.mh-file__icon span { font-size: var(--mh-fs-xs); font-weight: 700; letter-spacing: 0.04em; }
.mh-file__title { margin: 0 0 6px; color: var(--mh-ink); font-family: var(--mh-font-head); font-size: var(--mh-fs-lg); font-weight: 600; line-height: 1.4; }
.mh-file__desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 10px;
    color: var(--mh-muted);
    font-size: var(--mh-fs-sm);
    line-height: 1.6;
}
.mh-file__facts { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0; padding: 0; list-style: none; color: var(--mh-muted); font-size: var(--mh-fs-xs); }
.mh-file__facts li { display: inline-flex; align-items: center; gap: 6px; }
.mh-file__actions { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.mh-file__actions .mh-pill { min-height: 44px; padding: 8px 20px; white-space: nowrap; }
@media (max-width: 767.98px) {
    .mh-file { grid-template-columns: 64px minmax(0, 1fr); align-items: start; gap: 16px; padding: 16px; }
    .mh-file__thumb { width: 64px; }
    .mh-file__icon .bi { font-size: 1.5rem; }
    .mh-file__actions { grid-column: 1 / -1; flex-direction: row; }
    .mh-file__actions .mh-pill { flex: 1; }
}

/* Penampil PDF */
.mh-pdf-modal .modal-content { border: 0; border-radius: var(--mh-radius-lg); overflow: hidden; background: var(--mh-surface); color: var(--mh-ink); }
.mh-pdf-modal .modal-header { gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--mh-line); }
.mh-pdf-modal .modal-title {
    flex: 1;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    font-family: var(--mh-font-head);
    font-size: var(--mh-fs-lg);
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.mh-pdf-modal .modal-header .mh-pill { min-height: 40px; padding: 6px 16px; font-size: var(--mh-fs-sm); }
.mh-pdf-modal .modal-header .btn-close { margin: 0; }
.mh-pdf-modal .modal-body { height: 80vh; padding: 0; background: var(--mh-tint); }
.mh-pdf-modal iframe { display: block; width: 100%; height: 100%; border: 0; }
html[data-theme="dark"] .mh-pdf-modal .btn-close { filter: invert(1); }

/* ==========================================================================
   GALERI FOTO & VIDEO
   ========================================================================== */
.mh-chip .bi { font-size: 1rem; }

/* ---------- Kartu album ---------- */
.mh-album { position: relative; display: flex; flex-direction: column; height: 100%; }
.mh-album__media {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--mh-radius-lg);
    overflow: hidden;
    background: var(--mh-tint);
}
.mh-album__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--mh-ease-out); }
.mh-album:hover .mh-album__media img { transform: scale(1.04); }
.mh-album__placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--mh-muted); font-size: 3rem; }
.mh-album__count {
    position: absolute;
    top: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgb(0 0 0 / 0.58);
    color: #fff;
    font-size: var(--mh-fs-xs);
    font-weight: 500;
}
.mh-album__body { padding: 16px 4px 0; }
.mh-album__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 6px;
    font-family: var(--mh-font-head);
    font-size: var(--mh-fs-lg);
    font-weight: 600;
    line-height: 1.4;
}
.mh-album__title a { color: var(--mh-ink); text-decoration: none; }
.mh-album:hover .mh-album__title a { color: var(--mh-brand-ink); }
.mh-album__date { margin: 0; color: var(--mh-muted); font-size: var(--mh-fs-xs); }

/* ---------- Detail album ---------- */
.mh-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
    color: var(--mh-muted);
    font-size: var(--mh-fs-sm);
}
.mh-meta-row li { display: inline-flex; align-items: center; gap: 8px; }
.mh-meta-row__hint { margin-left: auto; }
@media (max-width: 767.98px) {
    .mh-meta-row__hint { display: none !important; }
}
/* Susunan kolom: foto tegak & mendatar tampil utuh tanpa dipotong */
.mh-photos { column-count: 3; column-gap: 20px; }
.mh-photo {
    position: relative;
    display: block;
    margin: 0 0 20px;
    break-inside: avoid;
    border-radius: var(--mh-radius-md);
    overflow: hidden;
    background: var(--mh-tint);
}
.mh-photo img { display: block; width: 100%; height: auto; transition: transform 500ms var(--mh-ease-out); }
.mh-photo:hover img { transform: scale(1.03); }
@media (max-width: 991.98px) {
    .mh-photos { column-count: 2; column-gap: 14px; }
    .mh-photo { margin-bottom: 14px; }
}
@media (max-width: 575.98px) {
    .mh-photos { column-gap: 10px; }
    .mh-photo { margin-bottom: 10px; border-radius: 12px; }
}

/* ---------- Kartu video ---------- */
.mh-video { display: flex; flex-direction: column; height: 100%; }
.mh-video__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    border-radius: var(--mh-radius-lg);
    overflow: hidden;
    background: #0c1412;
}
.mh-video__media img,
.mh-video__media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    transition: transform 500ms var(--mh-ease-out);
}
.mh-video__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgb(0 0 0 / 0.35), transparent 55%);
}
.mh-video__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(150deg, var(--mh-brand) 0%, #0b6b5a 100%);
    color: rgb(255 255 255 / 0.6);
    font-size: 3rem;
}
.mh-video__play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: -32px 0 0 -32px;
    border-radius: 50%;
    background: rgb(255 255 255 / 0.94);
    color: var(--mh-brand);
    font-size: 2rem;
    box-shadow: var(--mh-shadow-2);
    transition: transform var(--mh-dur-short) var(--mh-ease-out);
}
.mh-video__play .bi-play-fill { margin-left: 4px; }
.mh-video__play .bi-box-arrow-up-right { font-size: 1.4rem; }
.mh-video__media:hover .mh-video__play { transform: scale(1.08); }
.mh-video__media:hover img { transform: scale(1.04); }
.mh-video__body { padding: 16px 4px 0; }
.mh-video__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 8px;
    color: var(--mh-ink);
    font-family: var(--mh-font-head);
    font-size: var(--mh-fs-lg);
    font-weight: 600;
    line-height: 1.4;
}
.mh-video__facts { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0; padding: 0; list-style: none; color: var(--mh-muted); font-size: var(--mh-fs-xs); }
.mh-video__facts li { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Pemutar video (modal) ---------- */
.mh-media-modal .modal-dialog { max-width: min(1140px, calc((100vh - 140px) * 16 / 9), calc(100vw - 32px)); }
.mh-media-modal .modal-content { border: 0; border-radius: var(--mh-radius-lg); overflow: hidden; background: #0c1412; color: #fff; }
.mh-media-modal .modal-header { gap: 12px; padding: 14px 20px; border-bottom: 1px solid rgb(255 255 255 / 0.1); }
.mh-media-modal .modal-title {
    flex: 1;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    color: #fff;
    font-family: var(--mh-font-head);
    font-size: var(--mh-fs-lg);
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.mh-media-modal .btn-close { margin: 0; filter: invert(1); }
.mh-media-modal .modal-body { padding: 0; }
.mh-media-modal__frame { aspect-ratio: 16 / 9; background: #000; }
.mh-media-modal__frame iframe,
.mh-media-modal__frame video { display: block; width: 100%; height: 100%; border: 0; }

/* ==========================================================================
   DESTINASI WISATA
   ========================================================================== */
.mh-help__hours { display: flex; align-items: flex-start; gap: 8px; margin: 10px 0 0; color: var(--mh-ink); font-size: var(--mh-fs-sm); line-height: 1.5; }
.mh-help__hours .bi { margin-top: 2px; color: var(--mh-brand-ink); }

/* ---------- Kartu destinasi ---------- */
.mh-dest { position: relative; display: flex; flex-direction: column; height: 100%; }
.mh-dest__media {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--mh-radius-lg);
    overflow: hidden;
    background: var(--mh-tint);
}
.mh-dest__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--mh-ease-out); }
.mh-dest:hover .mh-dest__media img { transform: scale(1.04); }
.mh-dest__placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--mh-muted); font-size: 3rem; }
.mh-dest__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--mh-surface);
    color: var(--mh-brand-ink);
    font-size: var(--mh-fs-xs);
    font-weight: 600;
    box-shadow: var(--mh-shadow-1);
}
.mh-dest__badge--static { position: static; align-self: flex-start; background: var(--mh-brand-50); box-shadow: none; }
.mh-dest__body { padding: 16px 4px 0; }
.mh-dest__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 6px;
    font-family: var(--mh-font-head);
    font-size: var(--mh-fs-xl);
    font-weight: 600;
    line-height: 1.35;
}
.mh-dest__title a { color: var(--mh-ink); text-decoration: none; }
.mh-dest:hover .mh-dest__title a { color: var(--mh-brand-ink); }
.mh-dest__loc { display: flex; align-items: flex-start; gap: 6px; margin: 0 0 8px; color: var(--mh-muted); font-size: var(--mh-fs-sm); line-height: 1.45; }
.mh-dest__loc .bi { margin-top: 2px; color: var(--mh-brand-ink); }
.mh-dest__summary {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
    color: var(--mh-ink);
    font-size: var(--mh-fs-sm);
    line-height: 1.6;
}

/* ---------- Detail destinasi ---------- */
.mh-gallery__slide--cover { aspect-ratio: 4 / 3; }
.mh-gallery__slide--cover img { object-fit: cover; }
.mh-dest-photo img { aspect-ratio: 4 / 3; max-height: none; object-fit: cover; }
.mh-dest-photo--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    border-radius: var(--mh-radius-lg);
    background: var(--mh-tint);
    color: var(--mh-muted);
    font-size: 3rem;
}
.mh-visit {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: clamp(24px, 3vw, 32px);
    border: 1px solid var(--mh-line);
    border-radius: var(--mh-radius-lg);
    background: var(--mh-surface);
    box-shadow: var(--mh-shadow-2);
}
.mh-visit__facts { display: flex; flex-direction: column; gap: 16px; margin: 0; }
.mh-visit__facts > div { padding-bottom: 16px; border-bottom: 1px solid var(--mh-line); }
.mh-visit__facts > div:last-child { padding-bottom: 0; border-bottom: 0; }
.mh-visit__facts dt { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; color: var(--mh-muted); font-size: var(--mh-fs-sm); font-weight: 500; }
.mh-visit__facts dt .bi { color: var(--mh-brand-ink); }
.mh-visit__facts dd { margin: 0; color: var(--mh-ink); font-family: var(--mh-font-head); font-size: var(--mh-fs-lg); font-weight: 600; line-height: 1.45; }
.mh-visit__facts dd.is-empty { color: var(--mh-muted); font-family: var(--mh-font-body); font-size: var(--mh-fs-base); font-weight: 400; }
.mh-visit__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.mh-visit__actions .mh-pill { flex: 1 1 200px; }
.mh-visit__note { margin: 0; color: var(--mh-muted); font-size: var(--mh-fs-xs); line-height: 1.55; }

.mh-facility-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.mh-facility-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border: 1px solid var(--mh-line);
    border-radius: var(--mh-radius-md);
    background: var(--mh-surface);
    color: var(--mh-ink);
    font-size: var(--mh-fs-base);
}
.mh-facility-list .bi { color: var(--mh-brand-ink); font-size: 1.15rem; }

/* ==========================================================================
   KONTAK & HALAMAN STATIS
   ========================================================================== */
.mh-pagehead__note { margin: 14px 0 0; color: var(--mh-muted); font-size: var(--mh-fs-sm); }

/* ---------- Panel informasi kontak ---------- */
.mh-contact {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: clamp(24px, 3vw, 36px);
    border-radius: var(--mh-radius-lg);
    background: var(--mh-brand);
    color: #fff;
}
.mh-contact__title { margin: 0; color: #fff; font-family: var(--mh-font-head); font-size: var(--mh-fs-xl); font-weight: 600; }
.mh-contact__list { display: flex; flex-direction: column; gap: 20px; margin: 0; padding: 0; list-style: none; }
.mh-contact__list li { display: flex; align-items: flex-start; gap: 14px; }
.mh-contact__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgb(255 255 255 / 0.12);
    color: var(--mh-accent);
    font-size: 1.15rem;
}
.mh-contact__label { margin: 0 0 2px; color: rgb(255 255 255 / 0.72); font-size: var(--mh-fs-sm); font-weight: 500; }
.mh-contact__value { margin: 0; color: #fff; font-size: var(--mh-fs-md); font-weight: 500; line-height: 1.5; overflow-wrap: anywhere; }
.mh-contact__value--link { text-decoration: underline; text-decoration-color: rgb(255 255 255 / 0.35); text-underline-offset: 4px; }
.mh-contact__value--link:hover { color: var(--mh-accent); text-decoration-color: currentColor; }
.mh-contact__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    color: var(--mh-accent);
    font-size: var(--mh-fs-sm);
    font-weight: 600;
    text-decoration: none;
}
.mh-contact__link:hover { color: #fff; }
.mh-contact__social { padding-top: 20px; border-top: 1px solid rgb(255 255 255 / 0.15); }
.mh-contact__social .mh-contact__label { margin-bottom: 10px; }
.mh-contact .mh-share__btn { border-color: rgb(255 255 255 / 0.25); background: transparent; color: #fff; }
.mh-contact .mh-share__btn:hover { border-color: var(--mh-accent); background: var(--mh-accent); color: var(--mh-accent-ink); }

/* ---------- Formulir ---------- */
.mh-form-card {
    padding: clamp(24px, 3vw, 40px);
    border: 1px solid var(--mh-line);
    border-radius: var(--mh-radius-lg);
    background: var(--mh-surface);
    box-shadow: var(--mh-shadow-2);
}
.mh-form-card__title { margin: 0 0 6px; color: var(--mh-ink); font-family: var(--mh-font-head); font-size: var(--mh-fs-2xl); font-weight: 600; }
.mh-form-card__lead { margin: 0 0 24px; color: var(--mh-muted); font-size: var(--mh-fs-base); line-height: 1.6; }
.mh-label { display: block; margin-bottom: 8px; color: var(--mh-ink); font-size: var(--mh-fs-base); font-weight: 600; }
.mh-req { color: #c2410c; }
.mh-optional { color: var(--mh-muted); font-weight: 400; }
.mh-input {
    display: block;
    width: 100%;
    min-height: 50px;
    padding: 12px 16px;
    border: 1px solid var(--mh-line);
    border-radius: 12px;
    background: var(--mh-paper);
    color: var(--mh-ink);
    font-size: var(--mh-fs-base);
    line-height: 1.5;
    transition: border-color var(--mh-dur-short) ease, box-shadow var(--mh-dur-short) ease;
}
textarea.mh-input { min-height: 160px; resize: vertical; }
.mh-input:hover { border-color: var(--mh-muted); }
.mh-input:focus { border-color: var(--mh-brand-ink); outline: none; box-shadow: 0 0 0 3px rgb(1 71 60 / 0.16); }
.mh-input.is-invalid { border-color: #c2410c; }
.mh-input.is-invalid:focus { box-shadow: 0 0 0 3px rgb(194 65 12 / 0.18); }
.mh-field-hint { display: flex; justify-content: space-between; gap: 12px; margin: 8px 0 0; color: var(--mh-muted); font-size: var(--mh-fs-sm); }
.mh-field-hint__count { flex-shrink: 0; font-variant-numeric: tabular-nums; }
.mh-field-error { margin: 6px 0 0; color: #c2410c; font-size: var(--mh-fs-sm); font-weight: 500; }
html[data-theme="dark"] .mh-req,
html[data-theme="dark"] .mh-field-error { color: #fb923c; }
html[data-theme="dark"] .mh-input.is-invalid { border-color: #fb923c; }

.mh-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0 0 24px;
    padding: 16px 18px;
    border: 1px solid;
    border-radius: var(--mh-radius-md);
    font-size: var(--mh-fs-base);
    line-height: 1.55;
}
.mh-alert > .bi { margin-top: 2px; font-size: 1.2rem; }
.mh-alert ul { margin: 6px 0 0; padding-left: 1.2em; }
.mh-alert:focus { outline: 3px solid var(--mh-accent); outline-offset: 2px; box-shadow: 0 0 0 2px var(--mh-brand); }
.mh-alert--success { border-color: #86c5b3; background: #e8f5f1; color: #0b4a3d; }
.mh-alert--error { border-color: #f3b38f; background: #fff3ec; color: #8a2c0d; }
html[data-theme="dark"] .mh-alert--success { border-color: #2f6b5c; background: #12302a; color: #b8eadb; }
html[data-theme="dark"] .mh-alert--error { border-color: #7a3a1c; background: #2e1a10; color: #ffd2b8; }

/* ---------- Peta ---------- */
.mh-map {
    height: clamp(300px, 40vw, 440px);
    border: 1px solid var(--mh-line);
    border-radius: var(--mh-radius-lg);
    overflow: hidden;
    background: var(--mh-tint);
}
.mh-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.mh-map--empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: auto;
    padding: 48px 24px;
    text-align: center;
}
.mh-map--empty > .bi { color: var(--mh-brand-ink); font-size: 2.4rem; }
.mh-map--empty p { margin: 0; max-width: 32em; color: var(--mh-ink); font-size: var(--mh-fs-md); }

/* ---------- Halaman statis ---------- */
.mh-reading { max-width: 820px; }
.mh-sectionnav { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; border-left: 2px solid var(--mh-line); }
.mh-sectionnav a {
    display: block;
    margin-left: -2px;
    padding: 10px 14px;
    border-left: 2px solid transparent;
    color: var(--mh-ink);
    font-size: var(--mh-fs-base);
    line-height: 1.45;
    text-decoration: none;
    transition: color var(--mh-dur-short) ease, border-color var(--mh-dur-short) ease;
}
.mh-sectionnav a:hover { color: var(--mh-brand-ink); }
.mh-sectionnav a.is-active { border-left-color: var(--mh-brand-ink); color: var(--mh-brand-ink); font-weight: 600; }
.mh-related-links--inline {
    margin-top: clamp(40px, 5vw, 56px);
    padding: 24px;
    border: 1px solid var(--mh-line);
    border-radius: var(--mh-radius-lg);
    background: var(--mh-surface);
}

/* ==========================================================================
   INFOGRAFIS & HALAMAN 404
   ========================================================================== */
.mh-infographics { column-count: 3; column-gap: 24px; }
.mh-infographic {
    margin: 0 0 24px;
    padding: 0;
    break-inside: avoid;
    border: 1px solid var(--mh-line);
    border-radius: var(--mh-radius-lg);
    overflow: hidden;
    background: var(--mh-surface);
}
.mh-infographic .mh-photo { margin: 0; border-radius: 0; }
.mh-infographic figcaption { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; }
.mh-infographic__title { color: var(--mh-ink); font-family: var(--mh-font-head); font-size: var(--mh-fs-lg); font-weight: 600; line-height: 1.4; }
.mh-infographic__text { color: var(--mh-muted); font-size: var(--mh-fs-sm); line-height: 1.6; }
.mh-infographic__link { display: inline-flex; align-items: center; gap: 6px; color: var(--mh-brand-ink); font-size: var(--mh-fs-sm); font-weight: 600; text-decoration: none; }
.mh-infographic__link:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 991.98px) {
    .mh-infographics { column-count: 2; column-gap: 16px; }
    .mh-infographic { margin-bottom: 16px; }
}
@media (max-width: 575.98px) {
    .mh-infographics { column-count: 1; }
}

.mh-notfound { padding-block: clamp(56px, 8vw, 120px); }
.mh-notfound__inner { max-width: 720px; margin: 0 auto; text-align: center; }
.mh-notfound__code {
    margin: 0;
    color: rgb(1 71 60 / 0.16);
    font-family: var(--mh-font-head);
    font-size: clamp(5rem, 3rem + 10vw, 9rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
}
html[data-theme="dark"] .mh-notfound__code { color: rgb(124 201 182 / 0.22); }
.mh-notfound__title {
    margin: 8px 0 14px;
    color: var(--mh-ink);
    font-family: var(--mh-font-head);
    font-size: var(--mh-fs-h1);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}
.mh-notfound__lead { max-width: 36em; margin: 0 auto 28px; color: var(--mh-muted); font-size: var(--mh-fs-lead); line-height: 1.65; }
.mh-notfound__search { max-width: 520px; margin: 0 auto 24px; }
.mh-notfound__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }

/* ---------- Gerak dikurangi ---------- */
@media (prefers-reduced-motion: reduce) {
    .site-modern *,
    .site-modern *::before,
    .site-modern *::after {
        transition-duration: 1ms !important;
        animation-duration: 1ms !important;
    }
}
