/* =============================================================================
   KEMENAG NGAWI — TEMA MODERN (terinspirasi kemenag.go.id)
   -----------------------------------------------------------------------------
   File ini dimuat PALING AKHIR di template-frontend.php sehingga menimpa seluruh
   gaya lama (bootstrap.css / app.css / app-modif.css / wajib.css) TANPA mengubah
   file-file tersebut.  Hapus baris <link theme-modern.css> untuk kembali ke
   tampilan lama.
   Palet : hijau #017119 | emas #ecbd00 | tinta #16241d | latar #f6f8f7
   ========================================================================== */

:root {
    --m-green: #017119;
    --m-green-600: #016717;
    --m-green-800: #015012;
    --m-green-50: #e9f5ec;
    --m-green-100: #dceee2;
    --m-gold: #ecbd00;
    --m-gold-50: #fdf7e2;
    --m-ink: #16241d;
    --m-muted: #667085;
    --m-line: #e4e9e5;
    --m-bg: #f6f8f7;
    --m-card: #ffffff;
    --m-radius: 14px;
    --m-radius-sm: 10px;
    --m-shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
    --m-shadow-lg: 0 12px 24px -8px rgba(16, 24, 40, .16), 0 4px 8px -4px rgba(16, 24, 40, .08);
    --m-head: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    --m-serif: 'Lora', Georgia, 'Times New Roman', serif;
}

/* ---------------------------------------------------------------- BASE --- */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--m-head);
    font-size: 15px;
    line-height: 1.65;
    color: var(--m-ink);
    background-color: var(--m-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body[data-layout="horizontal"][data-layout-size="boxed"] {
    background-color: var(--m-bg);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--m-head);
    color: var(--m-ink);
    font-weight: 700;
    letter-spacing: -.01em;
}

p {
    color: var(--m-ink);
}

a {
    color: var(--m-green-600);
    transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

a:hover,
a:focus {
    color: var(--m-green-800);
    text-decoration: none;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--m-green);
    outline-offset: 2px;
}

::selection {
    background: var(--m-green-100);
    color: var(--m-green-800);
}

/* ------------------------------------------------------------- LAYOUT ---- */
/* Konten utama: container rapi max 1240px (bukan fluid selebar layar) */
.page-content {
    padding: 96px 16px 56px !important;
}

.page-content-wrapper {
    margin-top: 0 !important;
}

.page-content-wrapper > .container-fluid,
.page-content > .container-fluid {
    max-width: 1240px;
    padding-left: 0;
    padding-right: 0;
}

/* Blok judul hijau kosong bawaan lama disembunyikan, judulnya ada di .title-konten */
.page-title-box {
    display: none !important;
}

.main-content {
    background: var(--m-bg);
}

/* --------------------------------------------------------------- HEADER -- */
#page-topbar {
    position: fixed;
    background-color: #ffffff !important;
    border-bottom: 1px solid var(--m-line);
    box-shadow: 0 1px 3px rgba(16, 24, 40, .06) !important;
    max-width: 100% !important;
    padding: 0;
}

.navbar-header {
    background: #ffffff !important;
}

.navbar-header > .container-fluid {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 16px;
    min-height: 70px;
}

/* Logo */
.navbar-brand-box,
.site-logo {
    width: auto !important;
    padding: 0 !important;
    text-align: left !important;
    background: transparent !important;
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    margin-right: 8px;
}

.site-logo img,
.logo img {
    max-height: 48px;
    width: auto;
    object-fit: contain;
}

.navbar-brand-box .logo-lg img {
    max-height: 48px;
    width: auto;
}

.site-logo-name {
    display: none;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.25;
    color: var(--m-green-800);
    letter-spacing: -.01em;
}

.site-logo-name small {
    display: block;
    font-weight: 500;
    font-size: 11.5px;
    color: var(--m-muted);
    letter-spacing: 0;
}

/* Nav utama */
.topnav {
    flex: 1 1 auto;
    min-width: 0;
}

.site-nav,
.topnav nav-dge {
    display: block;
    padding: 0 !important;
}

.menudge {
    list-style: none;
    margin: 0 auto 0 0;
    padding: 0 !important;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.menudge li {
    display: block;
    position: relative;
    margin: 0 !important;
    z-index: 30;
}

.menudge li a {
    display: block;
    font-family: var(--m-head);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .02em;
    text-transform: uppercase;
    text-decoration: none;
    color: #2b3b33;
    padding: 25px 9px;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}

.menudge li a:hover,
.menudge li:hover > a,
a.dgeaktif,
.menudge li a.dgeaktif {
    color: var(--m-green);
    background: transparent !important;
    border-bottom-color: var(--m-green);
}

.menudge li a .mdi,
.menudge li a .fa-chevron-down {
    font-size: 11px;
    opacity: .6;
}

/* Dropdown */
.menudge ul {
    list-style: none;
    visibility: hidden;
    opacity: 0;
    margin: 0;
    padding: 8px 0 !important;
    min-width: 224px;
    width: auto !important;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    border: 1px solid var(--m-line);
    border-radius: 12px;
    box-shadow: var(--m-shadow-lg);
    z-index: 40;
    transform: translate(0, 10px);
    transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}

.menudge ul:after {
    display: none;
}

.menudge ul li {
    display: block;
    float: none;
    margin: 0;
    padding: 0;
    background: none;
}

.menudge ul li a {
    display: block;
    font-size: 13.5px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    color: #35443c;
    background: #ffffff;
    padding: 9px 16px;
    border: none;
    white-space: nowrap;
    border-radius: 0;
}

.menudge ul li a:hover,
.menudge ul li:hover > a {
    background: var(--m-green-50);
    color: var(--m-green-800);
}

.menudge li:hover > ul {
    visibility: visible;
    opacity: 1;
    transform: translate(0, 0);
}

/* Sub-submenu */
.menudge ul ul {
    top: 0;
    left: 100%;
    transform: translate(10px, 0);
    border-radius: 12px;
}

.menudge ul ul:after {
    display: none;
}

.menudge li > ul ul:hover {
    visibility: visible;
    opacity: 1;
    transform: translate(0, 0);
}

/* Sub-submenu: buka ke kiri agar tidak keluar layar di lebar desktop kecil */
@media (min-width: 992px) and (max-width: 1279.98px) {
    .menudge ul ul {
        left: auto;
        right: 100%;
        transform: translate(-10px, 0);
    }
}

/* Aksi kanan (cari & hamburger) */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.header-item {
    height: auto;
    color: var(--m-ink);
    background: transparent !important;
    box-shadow: none !important;
    border: none;
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 17px;
}

.header-item:hover {
    background: var(--m-green-50) !important;
    color: var(--m-green);
}

.header-item i {
    color: #35443c;
}

.header-item:hover i {
    color: var(--m-green);
}

#resp-menudge {
    display: none;
    font-size: 20px;
    line-height: 1;
}

/* Dropdown pencarian */
.dropdown-menu-lg {
    border: 1px solid var(--m-line);
    border-radius: 12px;
    box-shadow: var(--m-shadow-lg);
    padding: 12px;
    min-width: 300px;
}

.dropdown-menu-lg .form-control {
    border-radius: 10px 0 0 10px;
    font-size: 14px;
}

.dropdown-menu-lg .btn {
    border-radius: 0 10px 10px 0;
}

/* Menu mobile */
.responsive-menudge {
    background: #ffffff !important;
    color: var(--m-ink) !important;
    border-radius: 12px;
    box-shadow: var(--m-shadow);
}

/* -------------------------------------------------------------- BUTTONS -- */
.btn {
    font-family: var(--m-head);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: .01em;
    border-radius: 10px;
    padding: 9px 18px;
    box-shadow: none;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px -6px rgba(1, 113, 25, .45);
}

.btn-primary {
    background-color: var(--m-green) !important;
    border-color: var(--m-green) !important;
    color: #fff !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--m-green-600) !important;
    border-color: var(--m-green-600) !important;
    color: #fff !important;
}

.btn-secondary {
    background-color: #35443c !important;
    border-color: #35443c !important;
}

.btn-success {
    background-color: var(--m-green-600) !important;
    border-color: var(--m-green-600) !important;
}

.btn-light {
    background: #fff;
    border: 1px solid var(--m-line);
    color: var(--m-ink);
}

.btn-light:hover {
    background: var(--m-green-50);
    border-color: var(--m-green-100);
    color: var(--m-green-800);
}

.btn-warning {
    background-color: var(--m-gold) !important;
    border-color: var(--m-gold) !important;
    color: #1d1b12 !important;
}

.btn-outline-primary {
    color: var(--m-green) !important;
    border-color: var(--m-green) !important;
}

.btn-outline-primary:hover {
    background: var(--m-green) !important;
    border-color: var(--m-green) !important;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 8px;
}

.btn-group .btn {
    border-radius: 8px !important;
}

/* ---------------------------------------------------------------- CARDS -- */
.card {
    background: var(--m-card);
    border: 1px solid var(--m-line);
    border-radius: var(--m-radius);
    box-shadow: var(--m-shadow);
    margin-bottom: 24px;
}

.card-body {
    padding: 24px;
}

.card-header {
    background: #fff;
    border-bottom: 1px solid var(--m-line);
    border-radius: var(--m-radius) var(--m-radius) 0 0;
    font-weight: 600;
}

/* Judul seksi / judul halaman */
.title-konten {
    display: block !important;
    position: relative;
    font-family: var(--m-serif);
    font-size: 20px !important;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: .01em;
    color: var(--m-ink);
    text-transform: uppercase;
    padding-left: 14px;
    margin-bottom: 20px;
}

.title-konten:before,
.title-konten:after {
    content: "";
    position: absolute;
    border: none;
    margin: 0;
    flex: none;
}

.title-konten:before {
    left: 0;
    top: 3px;
    bottom: 3px;
    width: 5px;
    border-radius: 3px;
    background: var(--m-green);
}

.title-konten:after {
    display: none;
}

.section-heading .title-konten {
    margin-bottom: 18px;
}

/* Kartu berita (grid: gambar + isi) */
.col-sampul {
    padding: 0 8px 16px;
    margin-bottom: 0;
}

.col-sampul > .row {
    margin: 0 -8px;
    background: #fff;
    border: 1px solid var(--m-line);
    border-radius: var(--m-radius);
    overflow: hidden;
    box-shadow: var(--m-shadow);
    height: 100%;
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}

.col-sampul > .row:hover {
    transform: translateY(-3px);
    box-shadow: var(--m-shadow-lg);
    border-color: var(--m-green-100);
}

.col-gambar {
    padding: 0 !important;
}

.col-isi {
    padding: 14px 16px 16px !important;
}

.wraper-img-new {
    position: relative;
    width: 100%;
    height: 170px;
    overflow: hidden;
    background: #eef2f0;
    border-radius: 0;
}

.wraper-img-new img,
img.wraper-img-new {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 0 !important;
    transition: transform .35s ease;
}

.col-sampul > .row:hover .wraper-img-new img {
    transform: scale(1.05);
}

.wraper-info-new {
    height: 240px;
    border-radius: 12px;
    background: #eef2f0;
}

.posted-new {
    font-size: 12.5px;
    color: var(--m-muted);
    line-height: 1.55;
}

.posted-new a {
    white-space: nowrap;
}

.posted-new .d-block a {
    white-space: normal;
}

.posted-new i {
    color: var(--m-green);
    margin-right: 3px;
}

.posted-new a {
    color: var(--m-green-600);
    font-weight: 600;
}

.judul-berita-new {
    display: block;
    font-family: var(--m-head);
    font-size: 15.5px !important;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -.01em;
    margin-top: 6px;
    text-decoration: none;
}

a.judul-berita-new:link,
a.judul-berita-new:visited {
    color: var(--m-ink);
}

a.judul-berita-new:hover {
    color: var(--m-green);
    text-decoration: none;
}

/* Chip kategori (menimpa bg-danger / bg-warning bawaan) */
.kategori,
.kategori.bg-danger,
.kategori.bg-warning,
.kategori.bg-success,
.kategori.bg-info,
.kategori.bg-primary {
    position: absolute;
    top: 10px !important;
    left: 10px !important;
    right: auto;
    z-index: 5;
    display: inline-block;
    padding: 4px 11px !important;
    border-radius: 999px;
    background: rgba(255, 255, 255, .94) !important;
    box-shadow: 0 2px 6px rgba(16, 24, 40, .14);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    line-height: 1.5;
    border: none;
}

.kategori .text-light,
.kategori .text-light a,
.kategori a,
.kategori div {
    color: var(--m-green-800) !important;
    font-weight: 700;
}

.kategori_inline {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--m-green-50);
    color: var(--m-green-800);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

/* ------------------------------------------------------------- TABS/PILL */
.nav-tabs {
    border-bottom: none;
    gap: 6px;
    flex-wrap: wrap;
}

.nav-tabs .nav-item {
    margin: 0 0 8px !important;
}

.nav-tabs .nav-link {
    border: 1px solid transparent;
    background: #eef2f0;
    color: #475467;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .03em;
    text-transform: uppercase;
    padding: 9px 16px;
    border-radius: 999px;
    margin-right: 4px;
    transition: background-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.nav-tabs .nav-link:hover {
    background: var(--m-green-50);
    color: var(--m-green-800);
    border-color: transparent;
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-link.show {
    background: var(--m-green) !important;
    border-color: var(--m-green) !important;
    color: #fff !important;
    box-shadow: 0 6px 14px -8px rgba(1, 113, 25, .6);
}

.nav-pills .nav-link.active {
    background: var(--m-green) !important;
    color: #fff !important;
}

.tab-content {
    padding-top: 4px;
}

/* ---------------------------------------------------------- LIST GROUP --- */
.list-group {
    border-radius: var(--m-radius);
}

.list-group-item {
    background: #fff;
    border: 1px solid var(--m-line);
    border-radius: 12px !important;
    margin-bottom: 10px;
    padding: 14px 16px !important;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.list-group-item:hover {
    border-color: var(--m-green-100);
    box-shadow: var(--m-shadow);
    transform: translateY(-1px);
}

.list-judul {
    font-family: var(--m-head);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--m-ink);
}

.list-icon {
    font-size: 18px;
    color: var(--m-green);
    width: 34px;
    height: 34px;
    line-height: 34px;
    text-align: center;
    background: var(--m-green-50);
    border-radius: 9px;
    flex: 0 0 34px;
}

.list-posted {
    font-size: 12.5px;
    color: var(--m-muted);
    padding-top: 4px;
}

.list-posted i {
    color: var(--m-green);
}

.media-body .list-posted a {
    color: var(--m-green-600);
    font-weight: 600;
}

/* ------------------------------------------------------------ COUNTERS --- */
.small-box {
    border: 1px solid var(--m-line);
    border-radius: var(--m-radius);
    overflow: hidden;
    min-height: 132px;
    transition: transform .2s ease, box-shadow .2s ease;
    box-shadow: var(--m-shadow);
}

.small-box:hover {
    transform: translateY(-3px);
    box-shadow: var(--m-shadow-lg);
}

.small-box > .inner {
    padding: 16px 16px 6px;
    position: relative;
    z-index: 2;
}

.small-box .inner h3 {
    font-family: var(--m-head);
    font-size: 30px;
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 2px;
}

.small-box .inner p {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, .92);
    text-transform: uppercase;
    letter-spacing: .04em;
}

.small-box .icon {
    opacity: .22;
    font-size: 68px;
    top: 6px;
    right: 8px;
}

.small-box .small-box-footer {
    display: block;
    width: 100%;
    background: rgba(0, 0, 0, .16);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    padding: 7px 12px;
    position: relative;
    z-index: 2;
}

.small-box .small-box-footer:hover {
    background: rgba(0, 0, 0, .28);
    color: #fff;
}

/* ------------------------------------------------------------- SIDEBAR --- */
.caption {
    background: var(--m-green-50);
    color: var(--m-green-800);
    font-size: 15px;
    font-weight: 600;
    padding: 9px 12px 9px 14px;
    border-left: 4px solid var(--m-green);
    border-radius: 8px;
}

.wraper-img-side {
    height: 96px;
    border-radius: 10px;
    overflow: hidden;
}

.judul-side {
    font-family: var(--m-head);
    color: var(--m-ink);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

a.judul-side:link,
a.judul-side:visited {
    color: var(--m-ink);
}

a.judul-side:hover {
    color: var(--m-green);
}

.post-side {
    font-size: 12.5px;
    color: var(--m-muted);
}

.single-sidebar-widget img.img-thumbnail {
    border: none;
    border-radius: 12px;
    box-shadow: var(--m-shadow);
}

/* ------------------------------------------------------------- DETAIL ---- */
.judul-single-konten {
    font-family: var(--m-serif);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.32;
    letter-spacing: -.01em;
    color: var(--m-ink);
    padding-bottom: 14px;
}

.post-single-konten {
    font-size: 13px;
    color: var(--m-muted);
}

.post-single-konten i {
    color: var(--m-green);
}

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

.detail-body p {
    font-size: 16px;
    line-height: 1.8;
    color: #29352f;
    margin-bottom: 18px;
}

.detail-body h1, .detail-body h2, .detail-body h3, .detail-body h4 {
    font-family: var(--m-serif);
    margin-top: 26px;
    margin-bottom: 12px;
}

.detail-body a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.detail-body blockquote {
    border-left: 4px solid var(--m-green);
    background: var(--m-green-50);
    padding: 14px 18px;
    border-radius: 0 10px 10px 0;
    font-style: normal;
    color: #29352f;
}

.detail-body table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 18px;
    font-size: 14.5px;
}

.detail-body table th,
.detail-body table td {
    border: 1px solid var(--m-line);
    padding: 9px 12px;
    text-align: left;
}

.detail-body table th {
    background: var(--m-green-50);
    color: var(--m-green-800);
    font-weight: 600;
}

.tag-chip {
    display: inline-block;
    background: var(--m-green-50);
    color: var(--m-green-800);
    border: 1px solid var(--m-green-100);
    border-radius: 999px;
    padding: 5px 13px;
    font-size: 12.5px;
    font-weight: 600;
    margin: 0 6px 8px 0;
}

.tag-chip:hover {
    background: var(--m-green);
    border-color: var(--m-green);
    color: #fff;
}

.share-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    background: var(--m-green-50);
    border: 1px solid var(--m-green-100);
    border-radius: 12px;
    padding: 12px 14px;
}

.share-bar .btn {
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.related-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--m-line);
}

.related-item:last-child {
    border-bottom: none;
}

.related-item img {
    width: 92px;
    height: 66px;
    object-fit: cover;
    border-radius: 8px;
    flex: 0 0 92px;
}

.related-item .rel-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--m-ink);
}

.related-item:hover .rel-title {
    color: var(--m-green);
}

.breadcrumb-modern {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
    font-size: 13px;
    color: var(--m-muted);
}

.breadcrumb-modern li + li:before {
    content: "/";
    margin-right: 6px;
    color: #b3bdb7;
}

.breadcrumb-modern a {
    color: var(--m-muted);
    font-weight: 500;
}

.breadcrumb-modern a:hover {
    color: var(--m-green);
}

/* ------------------------------------------------------ FORM & TABLES ---- */
.form-control {
    border: 1px solid #dbe2dd;
    border-radius: 10px;
    padding: 9px 14px;
    font-size: 14.5px;
    background-color: #fff;
    color: var(--m-ink);
}

.form-control:focus {
    border-color: var(--m-green);
    box-shadow: 0 0 0 3px rgba(1, 113, 25, .14);
    background-color: #fff;
}

.form-control::placeholder {
    color: #98a29b;
}

.input-group-addon,
.input-group-text {
    border: 1px solid #dbe2dd;
    background: #fff;
    border-radius: 10px;
    color: var(--m-muted);
}

label {
    font-weight: 600;
    color: #35443c;
    font-size: 14px;
}

.table {
    color: var(--m-ink);
    font-size: 14.5px;
}

.table thead th {
    background: var(--m-green-50);
    color: var(--m-green-800);
    border-bottom: 2px solid var(--m-green-100);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.table td,
.table th {
    border-top: 1px solid var(--m-line);
    padding: 11px 14px;
    vertical-align: middle;
}

.table-striped tbody tr:nth-of-type(odd) {
    background: #fafcfb;
}

/* ---------------------------------------------------------- PAGINATION --- */
.pagination {
    gap: 6px;
}

.pagination .page-item {
    margin: 0 2px;
}

.pagination .page-link {
    border: 1px solid var(--m-line);
    border-radius: 10px;
    color: #35443c;
    font-size: 14px;
    font-weight: 600;
    padding: 7px 14px;
    background: #fff;
}

.pagination .page-link:hover {
    background: var(--m-green-50);
    border-color: var(--m-green-100);
    color: var(--m-green-800);
}

.pagination .page-item.active .page-link {
    background: var(--m-green);
    border-color: var(--m-green);
    color: #fff;
    box-shadow: 0 6px 14px -8px rgba(1, 113, 25, .6);
}

.pagination .page-item.disabled .page-link {
    background: #f4f6f5;
    color: #a8b2ac;
    border-color: var(--m-line);
}

/* ------------------------------------------------------------- ALERTS ---- */
.alert {
    border-radius: 12px;
    border: 1px solid transparent;
    font-size: 14.5px;
    padding: 14px 18px;
}

.alert-success {
    background: var(--m-green-50);
    border-color: var(--m-green-100);
    color: var(--m-green-800);
}

.alert-danger {
    background: #fef3f2;
    border-color: #fee4e2;
    color: #b42318;
}

.alert-warning {
    background: var(--m-gold-50);
    border-color: #f7e7a8;
    color: #7a5c00;
}

.alert-info {
    background: #eff8ff;
    border-color: #d1e9ff;
    color: #175cd3;
}

.badge {
    font-weight: 600;
    border-radius: 999px;
    padding: 4px 9px;
}

.badge-primary {
    background: var(--m-green) !important;
}

/* ------------------------------------------------------------- TICKER ---- */
.pengumuman {
    display: flex;
    align-items: stretch;
    background: #ffffff;
    border: 1px solid var(--m-line);
    border-radius: 12px;
    box-shadow: var(--m-shadow);
    overflow: hidden;
    height: auto;
    min-height: 44px;
    margin-top: 14px;
}

.pengumuman .info-dinas-header {
    position: static;
    display: flex;
    align-items: center;
    gap: 6px;
    height: auto;
    line-height: 1.3;
    padding: 11px 16px;
    background: var(--m-green) !important;
    color: #fff;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
    z-index: 2;
}

.pengumuman .dinas-info {
    flex: 1;
    min-width: 0;
    padding: 0;
    line-height: 44px;
    overflow: hidden;
}

.pengumuman .dinas-info .item,
.pengumuman marquee.item {
    font-size: 14px;
    font-style: normal;
    color: #2b3b33;
    white-space: nowrap;
}

.pengumuman .dinas-info span[style*="background:orange"],
.pengumuman .dinas-info span[style*="background: orange"] {
    background: var(--m-gold) !important;
    color: #1d1b12 !important;
    border-radius: 6px;
    padding: 2px 7px !important;
    font-size: 12px;
    font-weight: 600;
}

.ticker {
    display: flex;
    overflow: hidden;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.ticker-track {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 40px;
    padding: 0 20px;
    white-space: nowrap;
    animation: m-ticker 42s linear infinite;
    will-change: transform;
}

.ticker-track:hover {
    animation-play-state: paused;
}

@keyframes m-ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.tick-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #2b3b33;
    cursor: default;
}

.tick-date {
    background: var(--m-gold);
    color: #1d1b12;
    font-size: 12px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    white-space: nowrap;
}

.tick-item .pointer {
    color: var(--m-ink);
    font-weight: 500;
}

.tick-item .pointer:hover {
    color: var(--m-green);
    font-weight: 600;
}

.tick-empty {
    display: block;
    padding: 0 20px;
    line-height: 44px;
    color: var(--m-muted);
    font-size: 14px;
    font-style: italic;
}

/* -------------------------------------------------------------- HERO ----- */
.home-hero {
    border-radius: var(--m-radius);
    overflow: hidden;
    box-shadow: var(--m-shadow);
    border: 1px solid var(--m-line);
    background: #fff;
}

.home-hero .carousel-item img {
    width: 100%;
    display: block;
}

.home-hero .carousel-indicators {
    bottom: 10px;
    margin-bottom: 0;
}

.home-hero .carousel-indicators li {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, .75);
    border: none;
    margin: 0 4px;
}

.home-hero .carousel-indicators li.active {
    width: 24px;
    border-radius: 5px;
    background-color: var(--m-gold);
}

.home-hero .carousel-control-prev-icon,
.home-hero .carousel-control-next-icon {
    background-color: rgba(1, 80, 18, .55);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    background-size: 50% 50%;
    padding: 9px;
}

/* Berita utama (featured slider) */
.berita-utama {
    position: relative;
    border-radius: var(--m-radius);
    overflow: hidden;
    background: #0d1a13;
}

.berita-utama .carousel-item .image1 {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    opacity: .96;
}

.ketberita {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(6, 20, 12, .94) 12%, rgba(6, 20, 12, .72) 55%, rgba(6, 20, 12, 0)) !important;
    padding: 46px 26px 20px !important;
    text-align: left !important;
    z-index: 10;
}

.ketberita p {
    margin-bottom: 0;
}

.ketberita a {
    color: #fff !important;
    font-family: var(--m-serif);
    font-size: 21px !important;
    font-weight: 700;
    line-height: 1.35;
    display: inline-block;
    text-shadow: none;
}

.ketberita a:hover {
    color: var(--m-gold) !important;
}

.ketberita i {
    color: rgba(255, 255, 255, .82);
    margin-right: 4px;
}

.ketberita span {
    color: rgba(255, 255, 255, .85);
    font-size: 13px;
}

.image1 {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

/* ------------------------------------------------------ SHORT STAT / SEC -- */
.short-stat .count-box {
    background: #fff;
    border: 1px solid var(--m-line);
    border-radius: var(--m-radius);
    box-shadow: var(--m-shadow);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    min-height: 74px;
    display: flex;
    align-items: center;
}

.short-stat .count-box:hover {
    transform: translateY(-3px);
    box-shadow: var(--m-shadow-lg);
    border-color: var(--m-green-100);
}

.short-stat .count-box a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--m-ink);
    font-weight: 600;
    font-size: 15px;
}

.short-stat .count-box a:hover {
    color: var(--m-green);
}

.short-stat .count-box img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    flex: 0 0 44px;
}

/* ---------------------------------------------------------------- FOOTER - */
.footer-area {
    background: var(--m-green-800) !important;
    border-top: 4px solid var(--m-gold) !important;
    color: #dceee2;
    padding: 0 !important;
    margin-top: 40px;
}

.footer-area .footer-widget {
    width: 100%;
    margin-bottom: 0;
}

.site-footer {
    max-width: 1240px;
    margin: 0 auto;
    padding: 46px 16px 0;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 34px;
    text-align: left !important;
}

.site-footer h4 {
    font-family: var(--m-head);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.site-footer p,
.site-footer li,
.site-footer a,
.site-footer span {
    font-size: 14px;
    line-height: 1.75;
    color: #cfe6d6;
}

.site-footer a:hover {
    color: var(--m-gold);
}

.site-footer .footer-logo {
    max-height: 54px;
    width: auto;
    margin-bottom: 14px;
    filter: brightness(0) invert(1);
    opacity: .96;
}

.site-footer .footer-identity {
    font-weight: 700;
    font-size: 17px;
    color: #fff;
    font-family: var(--m-serif);
    display: block;
    margin-bottom: 6px;
    text-transform: none;
    letter-spacing: 0;
}

.site-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer ul li {
    margin-bottom: 8px;
}

.site-footer ul li a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.site-footer ul li a:before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--m-gold);
    flex: 0 0 5px;
}

.site-footer .social-row {
    display: flex;
    gap: 9px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.site-footer .social-row a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .16);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 15px;
    margin: 0;
}

.site-footer .social-row a:hover {
    background: var(--m-gold);
    border-color: var(--m-gold);
    color: #1d1b12;
}

.site-footer .social-row a:before {
    display: none;
}

.footer-bar {
    margin-top: 34px;
    border-top: 1px solid rgba(255, 255, 255, .14);
    padding: 16px;
    text-align: center;
    background: rgba(0, 0, 0, .16);
}

.footer-bar p,
.footer-bar a,
.footer-bar span {
    font-size: 13px;
    color: #b9d7c4;
    margin: 0;
}

.footer-bar a:hover {
    color: var(--m-gold);
}

/* ------------------------------------------------------------- GALLERY --- */
.gallery-box {
    background: #fff;
    border: 1px solid var(--m-line);
    border-radius: var(--m-radius);
    overflow: hidden;
    box-shadow: var(--m-shadow);
    transition: transform .2s ease, box-shadow .2s ease;
    display: block;
    height: 100%;
}

.gallery-box:hover {
    transform: translateY(-3px);
    box-shadow: var(--m-shadow-lg);
}

.gallery-box img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    display: block;
}

.gallery-overlay {
    padding: 12px 14px;
    background: #fff;
}

.gallery-overlay h5,
.gallery-overlay .g-title {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--m-ink);
    margin: 0;
    line-height: 1.4;
}

.gallery-box:hover .gallery-overlay h5 {
    color: var(--m-green);
}

/* --------------------------------------------------------------- MISC ---- */
#myBtn {
    display: none;
    position: fixed;
    bottom: 26px;
    right: 22px;
    z-index: 99;
    width: 46px;
    height: 46px;
    padding: 0;
    font-size: 9px;
    letter-spacing: .04em;
    border: none;
    outline: none;
    background: var(--m-green);
    color: #fff;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 8px 18px -6px rgba(1, 113, 25, .6);
    line-height: 1.15;
}

#myBtn:hover {
    background: var(--m-green-600);
    transform: translateY(-2px);
}

#myBtn i {
    font-size: 18px;
    display: block;
    line-height: 1;
}

.modal-content {
    border: none;
    border-radius: 16px;
    box-shadow: 0 24px 48px -12px rgba(16, 24, 40, .24);
    overflow: hidden;
}

.modal-header,
.modal-footer {
    border-color: var(--m-line);
}

.modal-header {
    background: var(--m-green);
    color: #fff;
}

.modal-header .close {
    color: #fff;
    opacity: .85;
    text-shadow: none;
}

.dropdown-menu {
    border: 1px solid var(--m-line);
    border-radius: 12px;
    box-shadow: var(--m-shadow-lg);
    padding: 8px;
}

.dropdown-item {
    border-radius: 8px;
    font-size: 14px;
    padding: 8px 12px;
}

.dropdown-item:hover {
    background: var(--m-green-50);
    color: var(--m-green-800);
}

.owl-carousel .owl-nav.disabled,
.carousel-indicators {
    z-index: 20;
}

.pointer {
    cursor: pointer;
}

.title-konten a {
    color: inherit;
}

hr {
    border-top: 1px solid var(--m-line);
}

.text-uppercase {
    letter-spacing: .01em;
}

.font-size-16, .font-size-18 {
    line-height: 1.35;
}

/* Widget "Lihat semua" */
.btn-see-all {
    background: #fff;
    border: 1px solid var(--m-line);
    color: var(--m-ink);
    font-weight: 600;
}

.btn-see-all:hover {
    background: var(--m-green);
    border-color: var(--m-green);
    color: #fff;
}

/* --------------------------------------------------------- RESPONSIVE ---- */
@media (min-width: 1400px) {
    .page-content-wrapper > .container-fluid {
        max-width: 1240px;
    }
}

@media (max-width: 1199.98px) {
    .menudge li a {
        padding: 25px 9px;
        font-size: 12.5px;
    }

    .site-footer {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 991.98px) {
    .navbar-header > .container-fluid {
        min-height: 62px;
        flex-wrap: wrap;
        gap: 8px;
    }

    .menudge li:not(.menu-sosmed) a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        min-height: 52px;
        padding: 13px 18px;
        border: none;
        border-left: 4px solid transparent;
        text-transform: none;
        font-size: 15.5px;
        font-weight: 500;
        letter-spacing: 0;
        color: #243b2b;
        background: #fff;
    }

    .menudge li:not(.menu-sosmed) a i:not(.caret) {
        display: none;
    }

    .menudge li a .caret {
        font-size: 18px !important;
        opacity: .45;
        margin-left: auto;
        flex: 0 0 auto;
    }

    .menudge li a:hover,
    .menudge li a:active,
    a.dgeaktif,
    .menudge li a.dgeaktif {
        background: var(--m-green-50) !important;
        color: var(--m-green-800);
        border-left-color: var(--m-green);
    }

    /* --- Drawer menu ala kemenag.go.id --- */
    .menudge {
        display: block !important;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: auto;
        width: min(88vw, 360px);
        background: #fff;
        border: none;
        border-left: 1px solid var(--m-line);
        box-shadow: -16px 0 40px rgba(16, 24, 40, .22);
        margin: 0 !important;
        padding: 0 0 max(28px, env(safe-area-inset-bottom)) !important;
        max-height: none;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 0;
        z-index: 1000;
        display: flex !important;
        flex-direction: column;
        flex-wrap: nowrap !important;
        align-items: stretch !important;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        padding-left: env(safe-area-inset-left);
        transform: translateX(100%);
        visibility: hidden;
        transition: transform .3s cubic-bezier(.4, 0, .2, 1), visibility .3s;
    }

    .menudge.is-open {
        transform: translateX(0);
        visibility: visible;
    }

    body.menu-open {
        overflow: hidden;
        position: relative;
    }

    .menu-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(9, 20, 14, .5);
        -webkit-backdrop-filter: blur(2px);
        backdrop-filter: blur(2px);
        opacity: 0;
        visibility: hidden;
        transition: opacity .3s ease, visibility .3s;
        z-index: 998;
        -webkit-tap-highlight-color: transparent;
    }

    .menu-backdrop.is-open {
        opacity: 1;
        visibility: visible;
    }

    /* kepala panel */
    .menu-panel-head {
        position: sticky;
        top: 0;
        z-index: 5;
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 14px 16px;
        background: var(--m-green);
        color: #fff;
        border-bottom: 1px solid var(--m-green-600);
    }

    .menu-panel-head .mph-brand {
        display: flex;
        align-items: center;
        gap: 10px;
        min-width: 0;
    }

    .menu-panel-head .mph-brand img {
        height: 30px;
        width: auto;
        background: #fff;
        border-radius: 6px;
        padding: 3px 5px;
    }

    .menu-panel-head .mph-title {
        font-size: 13.5px;
        font-weight: 700;
        line-height: 1.25;
        letter-spacing: -.01em;
        color: #fff;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .menu-panel-head .mph-close {
        flex: 0 0 auto;
        width: 40px;
        height: 40px;
        border: none;
        border-radius: 10px;
        background: rgba(255, 255, 255, .16);
        color: #fff;
        font-size: 20px;
        line-height: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .menu-panel-head .mph-close:hover,
    .menu-panel-head .mph-close:active {
        background: rgba(255, 255, 255, .3);
    }

    /* baris menu = target sentuh besar */
    .menudge li {
        width: 100%;
        border-bottom: 1px solid #eef2f0;
    }

    .menudge li:last-child {
        border-bottom: none;
    }

    .menudge ul {
        position: static;
        visibility: visible;
        opacity: 1;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: #f7faf8;
        padding: 4px 0 8px !important;
        min-width: 0;
        width: auto !important;
        display: none;
        overflow: hidden;
    }

    .menudge li.open > ul {
        display: block;
    }

    .menudge ul li {
        border-bottom: none;
    }

    .menudge ul li a {
        min-height: 46px;
        padding: 11px 18px 11px 30px;
        font-size: 14.5px;
        background: transparent;
        border-left: none;
        color: #475467;
        font-weight: 500;
    }

    .menudge ul li a:hover {
        background: var(--m-green-100);
        color: var(--m-green-800);
    }

    .menudge ul ul {
        background: transparent;
        padding-left: 14px !important;
        border-left: 2px solid var(--m-green-100);
        margin-left: 22px;
    }

    .menudge ul ul li a {
        padding-left: 16px;
        font-size: 14px;
    }

    .nav-actions {
        margin-left: auto;
    }

    .wraper-img-new {
        height: 200px;
    }

    .berita-utama .carousel-item .image1,
    .image1 {
        height: 300px;
    }

    .judul-single-konten {
        font-size: 22px;
    }

    .site-footer {
        grid-template-columns: 1fr;
        gap: 26px;
        padding-top: 34px;
    }
}

@media (max-width: 767.98px) {
    .page-content {
        padding: 84px 14px 44px !important;
    }

    .card-body {
        padding: 18px;
    }

    .title-konten {
        font-size: 17px !important;
        margin-bottom: 16px;
    }

    .col-sampul {
        padding: 0 0 14px;
    }

    .col-sampul > .row {
        margin: 0;
    }

    .small-box {
        min-height: 118px;
    }

    .small-box .inner h3 {
        font-size: 26px;
    }

    .berita-utama .carousel-item .image1,
    .image1 {
        height: 235px;
    }

    .ketberita {
        padding: 34px 16px 14px !important;
    }

    .ketberita a {
        font-size: 17px !important;
    }

    .judul-single-konten {
        font-size: 20px;
        line-height: 1.35;
    }

    .detail-body p {
        font-size: 15.5px;
    }

    .site-logo img,
    .navbar-brand-box .logo-lg img {
        max-height: 40px;
    }

    .nav-tabs .nav-link {
        font-size: 11.5px;
        padding: 8px 12px;
    }

    .pengumuman {
        flex-direction: column;
    }

    .pengumuman .dinas-info {
        line-height: 40px;
    }
}

@media (max-width: 575.98px) {
    .berita-utama .carousel-item .image1,
    .image1 {
        height: 210px;
    }

    .wraper-img-new {
        height: 190px;
    }
}

/* ===========================================================================
   NAV — elemen tambahan (markup v_menu.php baru)
   ========================================================================= */
.caret {
    font-size: 12px;
    opacity: .55;
    margin-left: 4px;
}

.menudge li.has-sub > a > .caret {
    transition: transform .2s ease;
}

.menudge li.has-sub:hover > a > .caret {
    transform: rotate(180deg);
}

/* pencarian di dalam menu mobile */
.nav-search-mobile {
    display: block;
    padding: 14px 16px;
    background: #f7faf8;
    border-bottom: 1px solid var(--m-line);
}

.nav-search-mobile .input-group {
    width: 100%;
}

/* baris sosmed di menu mobile */
    .menudge li.menu-sosmed {
        display: block;
        margin-top: auto !important;
        padding: 20px 16px 26px;
        border-top: 1px solid var(--m-line);
        text-align: center;
        background: #f7faf8;
    }

.menu-sosmed span {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--m-muted);
    margin-bottom: 9px;
}

.menudge li.menu-sosmed a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-height: 0;
    margin: 0 5px;
    padding: 0 !important;
    border: none !important;
    border-radius: 11px;
    background: var(--m-green-50);
    color: var(--m-green);
    font-size: 16px;
    text-transform: none;
    letter-spacing: 0;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
}

.menudge li.menu-sosmed a:hover,
.menudge li.menu-sosmed a:active {
    background: var(--m-green);
    color: #fff;
}

/* submenu terbuka (mobile) */
@media (max-width: 991.98px) {
    .menudge li.has-sub > ul {
        display: none;
    }

    .menudge li.has-sub.open > ul {
        display: block;
    }

    .menudge li.has-sub.open > a > .caret.mdi-chevron-down {
        transform: rotate(180deg);
    }

    .menudge li.has-sub > a > .caret {
        float: right;
        line-height: 1.6;
    }
}

@media (min-width: 992px) {
    .nav-search-mobile,
    .menu-sosmed {
        display: none !important;
    }
}


/* Ikon data pada menu disembunyikan di desktop agar bersih (caret tetap ada) */
@media (min-width: 992px) {
    .menudge li:not(.menu-sosmed) a i:not(.caret) {
        display: none;
    }
}

/* =========================================================
   MOBILE: tombol hamburger + drawer
   ========================================================= */
@media (max-width: 991.98px) {
    #resp-menudge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 46px;
        min-height: 46px;
        padding: 0;
        border: 1px solid var(--m-line);
        border-radius: 12px;
        background: #fff;
        color: var(--m-green-800);
        font-size: 22px;
        line-height: 1;
        box-shadow: 0 1px 2px rgba(16, 24, 40, .06);
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    #resp-menudge i {
        font-size: 21px;
    }

    #resp-menudge:active {
        background: var(--m-green-50);
        border-color: var(--m-green-300);
    }
}

/* Peta kantor (sidebar) */
.peta-kantor iframe {
    display: block;
    width: 100%;
    height: 220px;
    border: 0;
    border-radius: var(--m-radius);
    background: #f2f5f3;
}

/* =============================================================================
   HOMEPAGE ZONA INTEGRITAS — hero, akses cepat, area pengungkit, tab ZI
   ========================================================================== */

/* ------------------------------------------------------------- HERO ZI ---- */
.zi-hero {
    position: relative;
    margin-top: 18px;
    padding: 34px 34px 26px;
    border-radius: 20px;
    overflow: hidden;
    color: #fff;
    background: radial-gradient(130% 130% at 88% -10%, #02851f 0%, #017119 45%, #015012 100%);
    box-shadow: var(--m-shadow-lg);
}

.zi-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .07) 0 2px, transparent 2px 26px);
    pointer-events: none;
}

.zi-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 34px;
    align-items: center;
}

.zi-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(236, 189, 0, .16);
    border: 1px solid rgba(236, 189, 0, .55);
    color: #ffe98f;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 6px 13px;
    border-radius: 999px;
}

.zi-hero-title {
    margin: 16px 0 8px;
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.15;
    color: #fff;
}

.zi-hero-sub {
    margin: 0;
    max-width: 540px;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .85);
}

.zi-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.zi-hero-banner .home-hero {
    box-shadow: 0 18px 36px -18px rgba(0, 0, 0, .55);
}

/* -------------------------------------------------------------- TOMBOL ---- */
.zi-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    border: 1px solid transparent;
    border-radius: 11px;
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease;
}

.zi-btn:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.zi-btn-gold {
    background: var(--m-gold);
    color: #1d1b12;
}

.zi-btn-gold:hover {
    background: #f5c92c;
    color: #1d1b12;
    box-shadow: 0 10px 20px -10px rgba(236, 189, 0, .8);
}

.zi-btn-ghost {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .45);
    color: #fff;
}

.zi-btn-ghost:hover {
    background: rgba(255, 255, 255, .18);
    color: #fff;
}

.zi-btn-green {
    background: var(--m-green);
    color: #fff;
}

.zi-btn-green:hover {
    background: var(--m-green-600);
    color: #fff;
    box-shadow: 0 10px 20px -10px rgba(1, 113, 25, .75);
}

.zi-btn-line {
    background: #fff;
    border-color: rgba(1, 113, 25, .45);
    color: var(--m-green-600);
}

.zi-btn-line:hover {
    border-color: var(--m-green);
    background: var(--m-green-50);
    color: var(--m-green-800);
}

/* --------------------------------------------------------- STAT HERO ------ */
.zi-stats {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 26px;
    padding: 14px 10px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 15px;
    backdrop-filter: blur(6px);
}

.zi-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 7px 6px;
    border-radius: 11px;
    text-align: center;
    color: #fff;
}

.zi-stat:hover {
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

.zi-stat-num {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.02em;
    color: #fff;
}

.zi-stat-num .purecounter {
    color: #fff;
}

.zi-stat-label {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .85);
}

.zi-stat-label i {
    color: var(--m-gold);
    margin-right: 3px;
}

/* ------------------------------------------------------ JUDUL SEKSI ------ */
.zi-section {
    margin-top: 36px;
}

.zi-sec-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.zi-sec-kicker {
    display: inline-block;
    margin-bottom: 7px;
    padding: 4px 9px;
    border-radius: 7px;
    background: var(--m-green-50);
    border: 1px solid var(--m-green-100);
    color: var(--m-green-600);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.zi-sec-title {
    margin: 0;
    font-size: 1.32rem;
    font-weight: 800;
    letter-spacing: -.015em;
    color: var(--m-ink);
}

.zi-sec-more {
    font-size: 14px;
    font-weight: 700;
    color: var(--m-green-600);
}

.zi-sec-more:hover {
    color: var(--m-green-800);
}

/* ------------------------------------------------------- AKSES CEPAT ----- */
.zi-quick-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.zi-quick-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: var(--m-card);
    border: 1px solid var(--m-line);
    border-radius: var(--m-radius);
    box-shadow: var(--m-shadow);
    color: var(--m-ink);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.zi-quick-card:hover {
    transform: translateY(-2px);
    border-color: rgba(1, 113, 25, .45);
    box-shadow: var(--m-shadow-lg);
    color: var(--m-ink);
}

.zi-quick-ic {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--m-green-50);
    color: var(--m-green);
    font-size: 18px;
    transition: background-color .18s ease, color .18s ease;
}

.zi-quick-card:hover .zi-quick-ic {
    background: var(--m-green);
    color: #fff;
}

.zi-quick-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.zi-quick-body strong {
    font-size: 15px;
    font-weight: 700;
}

.zi-quick-body small {
    color: var(--m-muted);
    font-size: 12.5px;
    line-height: 1.5;
}

.zi-quick-arrow {
    color: var(--m-muted);
    font-size: 13px;
    transition: color .18s ease, transform .18s ease;
}

.zi-quick-card:hover .zi-quick-arrow {
    color: var(--m-green);
    transform: translateX(3px);
}

/* ------------------------------------------------------ BERITA TERKINI --- */
.zi-terkini-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    gap: 26px;
    align-items: start;
}

.zi-terkini-grid.is-single {
    grid-template-columns: minmax(0, 720px);
}

.zi-terkini-feat {
    display: flex;
    flex-direction: column;
    background: var(--m-card);
    border: 1px solid var(--m-line);
    border-radius: var(--m-radius);
    overflow: hidden;
    box-shadow: var(--m-shadow);
    color: var(--m-ink);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.zi-terkini-feat:hover {
    transform: translateY(-3px);
    border-color: rgba(1, 113, 25, .45);
    box-shadow: var(--m-shadow-lg);
    color: var(--m-ink);
}

.zi-terkini-feat-media {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, var(--m-green-50), #edf3ee);
}

.zi-terkini-feat-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.zi-terkini-feat:hover .zi-terkini-feat-media img {
    transform: scale(1.045);
}

.zi-terkini-feat-body {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 16px 18px 18px;
}

.zi-terkini-cat {
    color: var(--m-green-600);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.zi-terkini-feat-title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: -.01em;
    color: var(--m-ink);
    transition: color .18s ease;
}

.zi-terkini-feat:hover .zi-terkini-feat-title {
    color: var(--m-green-600);
}

.zi-terkini-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    color: var(--m-muted);
    font-size: 12.5px;
}

.zi-terkini-meta i {
    color: var(--m-green);
    font-size: 13px;
}

.zi-terkini-list {
    display: flex;
    flex-direction: column;
}

.zi-terkini-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 13px 0;
    border-bottom: 1px dashed var(--m-line);
    color: var(--m-ink);
}

.zi-terkini-list .zi-terkini-item:first-child {
    padding-top: 0;
}

.zi-terkini-list .zi-terkini-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.zi-terkini-item-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.zi-terkini-item-body strong {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
    color: var(--m-ink);
    transition: color .18s ease;
}

.zi-terkini-item:hover .zi-terkini-item-body strong {
    color: var(--m-green-600);
}

.zi-terkini-thumb {
    flex: 0 0 auto;
    width: 106px;
    height: 79px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--m-green-50);
    border: 1px solid var(--m-line);
}

.zi-terkini-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.zi-terkini-item:hover .zi-terkini-thumb img {
    transform: scale(1.06);
}

/* -------------------------------------------------------- AREA ZI -------- */
.zi-areas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.zi-area-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 22px 20px 18px;
    background: var(--m-card);
    border: 1px solid var(--m-line);
    border-radius: var(--m-radius);
    box-shadow: var(--m-shadow);
    color: var(--m-ink);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.zi-area-card:hover {
    transform: translateY(-3px);
    border-color: rgba(1, 113, 25, .45);
    box-shadow: var(--m-shadow-lg);
    color: var(--m-ink);
}

.zi-area-no {
    position: absolute;
    top: 6px;
    right: 16px;
    font-size: 2.7rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.05em;
    color: rgba(1, 113, 25, .08);
    pointer-events: none;
}

.zi-area-ic {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--m-green);
    color: #fff;
    font-size: 17px;
}

.zi-area-card strong {
    font-size: 15.5px;
    font-weight: 700;
    line-height: 1.35;
}

.zi-area-card small {
    font-size: 13px;
    line-height: 1.6;
    color: var(--m-muted);
}

.zi-area-tag {
    align-self: flex-start;
    margin-top: 8px;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--m-gold-50);
    border: 1px solid rgba(236, 189, 0, .55);
    color: #7a5f00;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.zi-areas-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

/* ------------------------------------------------------ TAB INFORMASI ---- */
.zi-news {
    margin-top: 36px;
    background: var(--m-card);
    border: 1px solid var(--m-line);
    border-radius: 16px;
    box-shadow: var(--m-shadow);
}

.zi-news > .card-body {
    padding: 24px;
}

.zi-tabs {
    margin-bottom: 6px;
    padding: 5px;
    background: var(--m-bg);
    border: 1px solid var(--m-line);
    border-radius: 12px;
    gap: 4px;
}

.zi-tabs .nav-item {
    margin-bottom: 0;
}

.zi-tabs .nav-link {
    padding: 9px 14px;
    border: none;
    border-radius: 9px;
    background: transparent;
    color: var(--m-ink);
    font-size: 13px;
    white-space: nowrap;
}

.zi-tabs .nav-link:hover {
    background: #fff;
    color: var(--m-green-600);
}

.zi-tabs .nav-link.active {
    background: var(--m-green);
    color: #fff;
    box-shadow: var(--m-shadow);
}

.zi-tabs .nav-link.active:hover {
    background: var(--m-green-600);
    color: #fff;
}

.zi-empty {
    padding: 34px 10px;
    text-align: center;
    color: var(--m-muted);
    font-style: italic;
}

/* ----------------------------------------------------- UNIT / GRID ------- */
.zi-unit-grid {
    margin: 0 -6px;
}

.zi-unit-grid > [class*="col-"] {
    padding-left: 6px;
    padding-right: 6px;
}

.zi-unit-grid .count-box {
    height: 100%;
    background: #fff;
    border: 1px solid var(--m-line);
    border-radius: var(--m-radius-sm);
    box-shadow: var(--m-shadow);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.zi-unit-grid .count-box:hover {
    transform: translateY(-2px);
    border-color: rgba(1, 113, 25, .45);
    box-shadow: var(--m-shadow-lg);
}

/* ------------------------------------------------------- SAMBUTAN -------- */
.zi-sambutan .card-body {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
}

.zi-sambutan-ic {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: var(--m-green-50);
    color: var(--m-green);
    font-size: 26px;
}

.zi-sambutan-body {
    flex: 1;
    min-width: 240px;
}

.zi-sambutan-text {
    margin: 4px 0 14px;
    color: var(--m-muted);
    font-weight: 600;
}

.zi-sambutan-photo img {
    width: 148px;
    border-radius: 14px;
    box-shadow: var(--m-shadow-lg);
}

/* ------------------------------------------------------ RESPONSIVE ------- */
@media (max-width: 1199.98px) {
    .zi-quick-grid,
    .zi-areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .zi-hero-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 991.98px) {
    .zi-hero {
        padding: 26px 22px 22px;
    }

    .zi-hero-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .zi-hero-sub {
        max-width: none;
    }

    .zi-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .zi-terkini-grid,
    .zi-terkini-grid.is-single {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

@media (max-width: 767.98px) {
    .zi-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .zi-tabs .nav-item {
        flex: 0 0 auto;
    }

    /* Hero HP: hijau hanya di kartu teks, banner & statistik jadi kartu putih */
    .zi-hero {
        margin-top: 12px;
        padding: 0;
        background: none;
        box-shadow: none;
        border-radius: 0;
        overflow: visible;
    }

    .zi-hero::before {
        display: none;
    }

    .zi-hero-grid {
        gap: 14px;
    }

    .zi-hero-text {
        position: relative;
        overflow: hidden;
        padding: 20px 16px 18px;
        border-radius: 16px;
        background: radial-gradient(130% 130% at 88% -10%, #02851f 0%, #017119 45%, #015012 100%);
        box-shadow: var(--m-shadow-lg);
    }

    .zi-hero-text::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .06) 0 2px, transparent 2px 26px);
        pointer-events: none;
    }

    .zi-hero-text > * {
        position: relative;
        z-index: 1;
    }

    .zi-chip {
        font-size: 10.5px;
        padding: 5px 11px;
    }

    .zi-hero-title {
        margin: 12px 0 6px;
        font-size: 1.3rem;
    }

    .zi-hero-sub {
        max-width: none;
        font-size: 13.5px;
        line-height: 1.6;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .zi-hero-cta {
        gap: 8px;
        margin-top: 14px;
    }

    .zi-hero-cta .zi-btn {
        flex: 1 1 0;
        width: auto;
        padding: 10px 8px;
        font-size: 13px;
        justify-content: center;
        gap: 6px;
    }

    .zi-hero-banner .home-hero {
        box-shadow: var(--m-shadow);
    }

    .zi-stats {
        grid-template-columns: repeat(4, 1fr);
        gap: 4px;
        margin-top: 14px;
        padding: 10px 6px;
        background: var(--m-card);
        border: 1px solid var(--m-line);
        box-shadow: var(--m-shadow);
        backdrop-filter: none;
    }

    .zi-stat {
        gap: 2px;
        padding: 5px 2px;
        color: var(--m-ink);
    }

    .zi-stat:hover {
        background: var(--m-green-50);
    }

    .zi-stat-num,
    .zi-stat-num .purecounter {
        color: var(--m-green);
        font-size: 1.4rem;
    }

    .zi-stat-label {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
        white-space: nowrap;
        color: var(--m-muted);
        font-size: 9.5px;
        letter-spacing: .03em;
    }

    .zi-stat-label i {
        color: var(--m-gold);
        margin-right: 0;
    }
}

@media (max-width: 575.98px) {
    .zi-quick-grid,
    .zi-areas-grid {
        grid-template-columns: 1fr;
    }

    .zi-sec-title {
        font-size: 1.15rem;
    }

    .zi-news > .card-body {
        padding: 16px;
    }

    .zi-section,
    .zi-news {
        margin-top: 26px;
    }

    .zi-areas-cta .zi-btn {
        width: 100%;
        justify-content: center;
    }

    .zi-stat-num,
    .zi-stat-num .purecounter {
        font-size: 1.28rem;
    }

    .zi-stat-label {
        font-size: 9px;
    }

    .zi-terkini-feat-body {
        padding: 14px 15px 16px;
    }

    .zi-terkini-feat-title {
        font-size: 1rem;
    }

    .zi-terkini-item {
        gap: 12px;
        padding: 11px 0;
    }

    .zi-terkini-item-body strong {
        font-size: 14.5px;
    }

    .zi-terkini-thumb {
        width: 88px;
        height: 66px;
    }

    .zi-terkini-meta {
        font-size: 11.5px;
    }
}

/* =============================================================================
   PILIHAN BAHASA (header) + WIDGET AKSESIBILITAS
   ========================================================================== */

/* ------------------------------------------------------ TOMBOL BAHASA ----- */
.nav-lang {
    margin-right: 0;
}

.nav-lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 9px;
    border: 1px solid var(--m-line);
    border-radius: 9px;
    background: #fff;
    color: var(--m-ink);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.nav-lang-btn:hover,
.nav-lang-btn[aria-expanded="true"] {
    background: var(--m-green-50);
    border-color: rgba(1, 113, 25, .4);
    color: var(--m-green-700, var(--m-green-600));
}

.nav-lang-btn i:first-child {
    font-size: 17px;
    color: var(--m-green);
}

.nav-lang-btn .caret {
    font-size: 14px;
    opacity: .7;
}

.nav-lang-menu {
    min-width: 158px;
    padding: 6px;
    border: 1px solid var(--m-line);
    border-radius: 11px;
    box-shadow: var(--m-shadow-lg);
    background: #fff;
}

.nav-lang-item {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 8px 11px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--m-ink);
    font-size: 14px;
    font-weight: 600;
    text-align: left;
}

.nav-lang-item:hover {
    background: var(--m-green-50);
    color: var(--m-green-600);
}

.nav-lang-item i {
    width: 16px;
    color: var(--m-green);
    visibility: hidden;
}

.nav-lang-item.active {
    background: var(--m-green-50);
    color: var(--m-green-600);
}

.nav-lang-item.active i {
    visibility: visible;
}

@media (max-width: 1439.98px) {
    .nav-lang-label {
        display: none;
    }
}

@media (min-width: 1200px) and (max-width: 1439.98px) {
    .menudge li a {
        padding: 25px 8px;
        font-size: 12.5px;
    }
}

@media (max-width: 767.98px) {
    .nav-lang-btn {
        padding: 9px 9px;
        border-radius: 10px;
    }
}


/* Sembunyikan banner/gadget Google Translate */
.goog-te-banner-frame,
iframe.skiptranslate {
    display: none !important;
}

body {
    top: 0 !important;
}

#google_translate_element,
.goog-te-gadget {
    display: none !important;
}

.goog-te-gadget-icon {
    display: none !important;
}

/* =============================================================================
   STATISTIK SITUS (visitor + konten + grafik 14 hari)
   ========================================================================== */
.zi-statistik {
    margin-bottom: 42px;
}

.zi-stat-online {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    border: 1px solid var(--m-green-100);
    border-radius: 999px;
    background: var(--m-green-50);
    color: var(--m-green-600);
    font-size: 12.5px;
    font-weight: 700;
}

.zi-stat-online i {
    font-size: 9px;
    color: #16a34a;
    animation: ziPulse 1.6s ease-in-out infinite;
}

@keyframes ziPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .3; }
}

.zi-stat-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin-bottom: 14px;
}

.zi-stat-grid-konten {
    grid-template-columns: repeat(3, 1fr);
}

.zi-stat-card {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 15px 16px;
    background: var(--m-card);
    border: 1px solid var(--m-line);
    border-radius: var(--m-radius);
    box-shadow: var(--m-shadow);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.zi-stat-card:hover {
    transform: translateY(-2px);
    border-color: rgba(1, 113, 25, .4);
    box-shadow: var(--m-shadow-lg);
}

.zi-stat-card-ic {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: var(--m-green-50);
    color: var(--m-green);
    font-size: 19px;
}

.zi-stat-card-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.zi-stat-angka {
    display: block;
    font-size: 1.32rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.02em;
    color: var(--m-ink);
    font-variant-numeric: tabular-nums;
}

.zi-stat-card-body b {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--m-ink);
}

.zi-stat-card-body em {
    font-style: normal;
    font-size: 11.5px;
    color: var(--m-muted);
}

/* Grafik batang 14 hari */
.zi-stat-chart {
    padding: 18px 18px 14px;
    background: var(--m-card);
    border: 1px solid var(--m-line);
    border-radius: var(--m-radius);
    box-shadow: var(--m-shadow);
}

.zi-stat-chart-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.zi-stat-chart-head strong {
    font-size: 15px;
    font-weight: 800;
    color: var(--m-ink);
}

.zi-stat-chart-head strong i {
    color: var(--m-green);
    margin-right: 5px;
}

.zi-stat-legend {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    color: var(--m-muted);
}

.zi-stat-legend-dot {
    width: 11px;
    height: 11px;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--m-green), var(--m-green-600));
}

.zi-stat-bars {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 195px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.zi-stat-bar {
    flex: 1 1 0;
    min-width: 36px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.zi-stat-bar-val {
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    color: var(--m-green-600);
    font-variant-numeric: tabular-nums;
}

.zi-stat-bar-track {
    flex: 1;
    display: flex;
    align-items: flex-end;
    width: 100%;
}

.zi-stat-bar-col {
    display: block;
    width: 100%;
    min-height: 4px;
    border-radius: 7px 7px 3px 3px;
    background: linear-gradient(180deg, var(--m-green) 0%, var(--m-green-600) 100%);
    transition: filter .18s ease;
}

.zi-stat-bar:hover .zi-stat-bar-col {
    filter: brightness(1.15);
}

.zi-stat-bar-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    font-size: 10px;
    line-height: 1.3;
    color: var(--m-muted);
}

.zi-stat-bar-day b {
    font-size: 10.5px;
    font-weight: 700;
    color: var(--m-ink);
}

@media (max-width: 1199.98px) {
    .zi-stat-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .zi-stat-grid-konten {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767.98px) {
    .zi-statistik {
        margin-top: 26px;
        margin-bottom: 30px;
    }

    .zi-stat-grid,
    .zi-stat-grid-konten {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .zi-stat-card {
        padding: 13px 12px;
        gap: 10px;
    }

    .zi-stat-card-ic {
        width: 36px;
        height: 36px;
        font-size: 17px;
    }

    .zi-stat-angka {
        font-size: 1.12rem;
    }

    .zi-stat-chart {
        padding: 15px 13px 12px;
    }

    .zi-stat-bars {
        gap: 6px;
        height: 170px;
    }

    .zi-stat-bar {
        flex: 0 0 42px;
        min-width: 42px;
    }
}
