/* ============================================
   Desa Jarum — Home Page CSS
   Layout terinspirasi Home 6
   ============================================ */

/* ── Reset & Base ─────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}



.dj-container {
    max-width: var(--dj-container, 1200px);
    margin: 0 auto;
    padding: 0 16px;
}

/* ── Loader ───────────────────────────────────────── */
.dj-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--dj-white, #fff);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .4s, visibility .4s;
}

.dj-loader.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.dj-loader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--dj-line, #e8ecef);
    border-top-color: var(--dj-primary, #72ab02);
    border-radius: 50%;
    animation: dj-spin .8s linear infinite;
}

@keyframes dj-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ── Topbar ───────────────────────────────────────── */
.dj-topbar {
    background: var(--dj-dark, #1a1a2e);
    color: rgba(255, 255, 255, .8);
    font-size: 12px;
    padding: 6px 0;
}

.dj-topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.dj-topbar-left {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.dj-topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.dj-topbar-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, .1);
    padding: 2px 10px;
    border-radius: 20px;
    font-weight: 600;
    color: var(--dj-accent-light, #f98a00);
}

/* ── Header ───────────────────────────────────────── */
.dj-header {
    background-color: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-style: solid;
    border-width: 0;
    border-color: rgba(255, 255, 255, 0.7);
    border-top-width: 1px;
    border-bottom-width: 1px;
    box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, 0.05);
    padding: 10px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: box-shadow var(--dj-transition, .3s), background-color var(--dj-transition, .3s);
}

.dj-header.scrolled {
    box-shadow: 0 4px 16px rgba(0, 0, 0, .12);
    background-color: rgba(255, 255, 255, 0.9);
}

.dj-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.dj-hamburger {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--dj-text, #2c3e50);
    padding: 8px;
    display: flex;
    align-items: center;
}

.dj-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--dj-text, #2c3e50);
}

.dj-brand-logo {
    display: flex;
    flex-shrink: 0;
}

.dj-brand-logo img {
    width: 48px;
    height: 48px;
    border-radius: 0;
    object-fit: contain;
}

.dj-initials {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dj-primary, #72ab02);
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
}

.dj-brand-text {
    display: flex;
    flex-direction: column;
}

.dj-brand-name {
    font-weight: 700;
    font-size: 16px;
    line-height: 1.2;
}

.dj-brand-sub {
    font-size: 11px;
    color: var(--dj-muted, #7f8c8d);
}

.dj-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dj-search-toggle {
    cursor: pointer;
    color: var(--dj-muted, #7f8c8d);
    padding: 6px;
    display: flex;
}

.dj-header-icon {
    color: var(--dj-muted, #7f8c8d);
    padding: 6px;
    display: flex;
    text-decoration: none;
}

.dj-header-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--dj-primary, #72ab02);
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: background var(--dj-transition, .3s);
}

.dj-header-btn:hover {
    background: var(--dj-primary-light, #8bc34a);
    color: #fff;
}

/* Search bar */
.dj-search-bar {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
}

.dj-search-bar.open {
    max-height: 60px;
    margin-top: 10px;
}

.dj-search-bar form {
    display: flex;
    gap: 0;
}

.dj-search-bar input {
    flex: 1;
    border: 1px solid var(--dj-line, #e8ecef);
    border-right: none;
    padding: 10px 14px;
    border-radius: 8px 0 0 8px;
    font-size: 14px;
    outline: none;
}

.dj-search-bar input:focus {
    border-color: var(--dj-primary, #72ab02);
}

.dj-search-bar button {
    background: var(--dj-primary, #72ab02);
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
}

/* ── Info Bar (Row 2) — Kop desa berpanorama ──────── */
.dj-kop {
    position: relative;
    z-index: 20;
}

.dj-info-bar {
    position: relative;
    background: var(--dj-primary-dark, #5a8a00);
    padding: 92px 0 34px 0;
    overflow: hidden;
    display: none;
}

.dj-info-bar-bg {
    position: absolute;
    inset: 0;
    background: var(--dj-info-bg, var(--dj-primary-dark, #5a8a00));
    background-size: cover;
    background-position: center;
    z-index: 0;
}

/* Overlay dibuat lebih tipis agar panorama tetap terlihat,
   lalu ditimpa gradien warna tema (transparan) di atasnya. */
.dj-info-bar-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(12, 26, 40, .62) 0%, rgba(12, 26, 40, .34) 100%);
    z-index: 1;
}

.dj-info-bar-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--dj-kop-gradient,
            linear-gradient(90deg, color-mix(in srgb, var(--dj-primary, #72ab02) 48%, transparent) 0%,
                color-mix(in srgb, var(--dj-primary-dark, #5a8a00) 52%, transparent) 100%));
}

.dj-info-bar .dj-container {
    position: relative;
    z-index: 2;
}

.dj-info-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.dj-info-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.dj-info-logo {
    display: flex;
    flex-shrink: 0;
}

.dj-info-logo img {
    width: 64px;
    height: 64px;
    border-radius: 0;
    object-fit: contain;
    border: none;
}

.dj-info-text {
    display: flex;
    flex-direction: column;
}

.dj-info-name {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.dj-info-address {
    color: rgba(255, 255, 255, .8);
    font-size: 14px;
    margin: 4px 0 0;
}

.dj-info-event {
    text-align: center;
    color: #fff;
}

.dj-event-label {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, .8);
}

.dj-event-name {
    margin: 4px 0;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.dj-event-date {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, .8);
}

/* ── Desktop Nav ──────────────────────────────────── */
.dj-nav-desktop {
    background: var(--dj-primary, #72ab02);
    display: none;
}

/* Navbar menempel langsung di bawah kop (tanpa jarak) */
.dj-kop+.dj-nav-desktop,
.dj-nav-desktop {
    margin-top: 0;
}

.dj-nav-desktop .dj-nav-list,
.dj-nav-desktop ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin: 0;
    padding: 0;
    justify-content: flex-start;
    align-items: center;
}

/* Item pertama (Home) dibuat segmen tebal seperti referensi */
.dj-nav-desktop>.dj-container>.dj-nav-list>li:first-child>a {
    font-weight: 700;
    background: rgba(255, 255, 255, .15);
}

.dj-nav-desktop .dj-nav-list li,
.dj-nav-desktop ul li {
    position: relative;
    margin: 0;
    padding: 0;
}

.dj-nav-desktop .dj-nav-list li a,
.dj-nav-desktop ul li a {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    color: rgba(255, 255, 255, .9);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    transition: background var(--dj-transition, .3s), color var(--dj-transition, .3s);
}

.dj-nav-desktop .dj-nav-list li a:hover,
.dj-nav-desktop ul li a:hover,
.dj-nav-desktop .dj-nav-list .current-menu-item>a,
.dj-nav-desktop ul .current-menu-item>a {
    background: rgba(255, 255, 255, .15);
    color: #fff;
}

/* Sub-menu dropdown */
.dj-nav-desktop .dj-nav-list .sub-menu,
.dj-nav-desktop ul .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--dj-white, #fff);
    box-shadow: 0 4px 16px rgba(0, 0, 0, .12);
    border-radius: 0 0 var(--dj-radius-sm, 8px) var(--dj-radius-sm, 8px);
    z-index: 900;
    flex-direction: column;
    padding: 6px 0;
}

.dj-nav-desktop .dj-nav-list .menu-item-has-children:hover>.sub-menu,
.dj-nav-desktop ul .menu-item-has-children:hover>.sub-menu {
    display: flex;
}

.dj-nav-desktop .dj-nav-list .sub-menu li,
.dj-nav-desktop ul .sub-menu li {
    width: 100%;
}

.dj-nav-desktop .dj-nav-list .sub-menu li a,
.dj-nav-desktop ul .sub-menu li a {
    color: var(--dj-text, #2c3e50);
    padding: 10px 20px;
    font-size: 13px;
}

.dj-nav-desktop .dj-nav-list .sub-menu li a:hover,
.dj-nav-desktop ul .sub-menu li a:hover {
    background: var(--dj-bg, #f8f9fa);
    color: var(--dj-primary, #72ab02);
}

/* ── Theme Color Switcher ─────────────────────────── */
.dj-theme-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.dj-theme-arrow {
    background: var(--dj-bg, #f8f9fa);
    border: 1px solid var(--dj-line, #e8ecef);
    color: var(--dj-text, #2c3e50);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s, border-color .2s;
}

.dj-theme-arrow:hover {
    background: var(--dj-primary, #72ab02);
    border-color: var(--dj-primary, #72ab02);
    color: #fff;
}

.dj-theme-dots {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dj-theme-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform .2s, border-color .2s;
    position: relative;
}

.dj-theme-dot:hover {
    transform: scale(1.2);
}

.dj-theme-dot.active {
    border-color: var(--dj-text, #2c3e50);
    transform: scale(1.2);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, .15);
}

/* ── Mobile Drawer ────────────────────────────────── */
.dj-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
}

.dj-drawer-backdrop.show {
    opacity: 1;
    visibility: visible;
}

.dj-drawer {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100%;
    background: var(--dj-white, #fff);
    z-index: 201;
    transition: left .3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 20px rgba(0, 0, 0, .15);
}

.dj-drawer.open {
    left: 0;
}

.dj-drawer-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px;
    border-bottom: 1px solid var(--dj-line, #e8ecef);
}

.dj-drawer-title {
    flex: 1;
    font-weight: 600;
    font-size: 14px;
}

.dj-drawer-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--dj-muted, #7f8c8d);
    padding: 4px;
}

.dj-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 12px 0;
}

.dj-drawer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dj-drawer-menu li a {
    display: block;
    padding: 12px 20px;
    color: var(--dj-text, #2c3e50);
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid var(--dj-line, #e8ecef);
    transition: background .2s;
}

.dj-drawer-menu li a:hover {
    background: var(--dj-bg, #f8f9fa);
}

/* Submenu di drawer: tertutup default, dibuka lewat tombol chevron */
.dj-drawer-menu .sub-menu {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
    background: var(--dj-bg, #f8f9fa);
}

.dj-drawer-menu .menu-item-open > .sub-menu {
    display: block;
}

.dj-drawer-menu .menu-item-has-children {
    position: relative;
}

.dj-drawer-menu .menu-item-has-children > a {
    padding-right: 56px;
}

.dj-drawer-toggle {
    position: absolute;
    top: 0;
    right: 0;
    width: 52px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: var(--dj-muted, #7f8c8d);
}

.dj-drawer-toggle .dj-icon {
    transition: transform .2s ease;
}

.dj-drawer-toggle[aria-expanded="true"] .dj-icon {
    transform: rotate(180deg);
}

.dj-drawer-menu .sub-menu li a {
    padding-left: 36px;
    font-size: 13px;
    background: transparent;
}

.dj-drawer-footer {
    padding: 16px;
    border-top: 1px solid var(--dj-line, #e8ecef);
}

.dj-drawer-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    background: var(--dj-primary, #72ab02);
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

/* ── Hero 2-Column Layout ─────────────────────────── */
.dj-hero {
    position: relative;
    background: var(--dj-hero-gradient, linear-gradient(90deg, #72ab02 0%, #f98a00 100%));
    padding: 0;
    overflow: hidden;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 12px;
}

.dj-hero-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 16px 16px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    /* height: 460px; */
}

/* Kolom Kiri: Featured Carousel */
.dj-hero-col-main {
    position: relative;
    border-radius: var(--dj-radius, 12px);
    overflow: hidden;
    height: 420px;
}

.dj-hero-featured-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.dj-hero-featured-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: #2a3a1a;
    opacity: 0;
    transition: opacity .6s ease;
    z-index: 0;
    border-radius: var(--dj-radius, 12px);
}

.dj-hero-featured-slide.active {
    opacity: 1;
    z-index: 1;
}

.dj-hero-featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, .75) 0%, rgba(0, 0, 0, .2) 50%, rgba(0, 0, 0, .1) 100%);
    border-radius: var(--dj-radius, 12px);
}

.dj-hero-featured-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px 28px;
    z-index: 2;
    color: #fff;
}

.dj-hero-featured-cat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--dj-primary, #72ab02);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.dj-hero-featured-title {
    font-family: 'Manrope', sans-serif;
    font-size: 1.7rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.3;
}

.dj-hero-featured-title a {
    color: #fff;
    text-decoration: none;
}

.dj-hero-featured-title a:hover {
    text-decoration: underline;
}

.dj-hero-featured-excerpt {
    font-size: 14px;
    color: rgba(255, 255, 255, .85);
    margin-bottom: 14px;
    line-height: 1.5;
}

.dj-hero-featured-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: rgba(255, 255, 255, .7);
    flex-wrap: wrap;
}

.dj-hero-featured-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Carousel Dots */
.dj-hero-carousel-dots {
    position: absolute;
    bottom: 16px;
    right: 16px;
    display: flex;
    gap: 6px;
    z-index: 3;
}

.dj-hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, .4);
    cursor: pointer;
    padding: 0;
    transition: background .3s, transform .3s;
}

.dj-hero-dot.active {
    background: var(--dj-primary, #72ab02);
    transform: scale(1.2);
}

.dj-hero-dot:hover {
    background: rgba(255, 255, 255, .7);
}

/* Kolom Kanan: Post List */
.dj-hero-col-side {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, .05);
    border-radius: var(--dj-radius, 12px);
    border: 1px solid rgba(255, 255, 255, .1);
    overflow: hidden;
}

.dj-hero-side-header {
    padding: 16px 18px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.dj-hero-side-header h3 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dj-hero-post-list {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.dj-hero-post-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    text-decoration: none;
    color: rgba(255, 255, 255, .85);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    transition: background .2s;
    cursor: pointer;
}

.dj-hero-post-item:last-child {
    border-bottom: none;
}

.dj-hero-post-item:hover,
.dj-hero-post-item.active {
    background: rgba(255, 255, 255, .08);
}

.dj-hero-post-thumb {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.dj-hero-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dj-hero-post-info {
    flex: 1;
    min-width: 0;
}

.dj-hero-post-info h4 {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 4px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dj-hero-post-date {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: rgba(255, 255, 255, .5);
}

/* ── Buttons ──────────────────────────────────────── */
.dj-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--dj-transition, .3s);
    cursor: pointer;
    border: none;
}

.dj-btn-hero {
    background: rgba(255, 255, 255, .15);
    color: #fff;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, .2);
}

.dj-btn-hero:hover {
    background: rgba(255, 255, 255, .25);
    color: #fff;
}

.dj-btn-primary {
    background: var(--dj-primary, #72ab02);
    color: #fff;
}

.dj-btn-primary:hover {
    background: var(--dj-primary-light, #8bc34a);
    color: #fff;
}

.dj-btn-whatsapp {
    background: #25d366;
    color: #fff;
}

.dj-btn-whatsapp:hover {
    background: #1da851;
    color: #fff;
}

.dj-btn-sm {
    padding: 6px 14px;
    font-size: 12px;
}

/* ── Marquee ──────────────────────────────────────── */
.dj-marquee.dj-marquee,
.dj-marquee {
    background: color-mix(in srgb, var(--dj-primary-dark, #5a8a00) 82%, #000);
    padding: 8px 16px;
    max-width: 1200px;
    margin: 16px auto;
    overflow: hidden;
    white-space: nowrap;
    border-radius: 8px;
}

.dj-marquee .dj-marquee-label {
    background: rgba(0, 0, 0, .15);
}

.dj-marquee-inner {
    display: flex;
    align-items: center;
}

.dj-marquee-label {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    padding: 10px 16px;
    color: rgba(255, 255, 255, .9);
    font-size: 14px;
    font-weight: 600;
    background: rgba(0, 0, 0, .15);
}

.dj-marquee-track {
    flex: 1;
    overflow: hidden;
    padding: 10px 0;
}

.dj-marquee-track .dj-marquee-text {
    display: inline-block;
    padding-left: 100%;
    animation: dj-marquee 45s linear infinite;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, .9);
}

.dj-marquee-track .dj-marquee-text a {
    color: rgba(255, 255, 255, .9);
    text-decoration: none;
}

.dj-marquee-track .dj-marquee-text a:hover {
    color: #fff;
    text-decoration: underline;
}

.dj-marquee-track .dj-marquee-text a strong {
    color: #fff;
}

@keyframes dj-marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.dj-marquee-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 2px;
    padding: 0 8px;
}

.dj-marquee-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, .15);
    border-radius: 6px;
    color: rgba(255, 255, 255, .85);
    text-decoration: none;
    transition: background .2s, color .2s;
}

.dj-marquee-btn:hover {
    background: rgba(0, 0, 0, .3);
    color: #fff;
}

/* ── Quick Info Section (Icon + Label) ───────────── */
.dj-quick-info-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

.dj-quick-info-head {
    text-align: center;
    margin-bottom: 20px;
}

.dj-quick-info-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 4px;
    color: var(--dj-heading, #1a2a3a);
}

.dj-quick-info-sub {
    margin: 0;
    font-size: 14px;
    color: var(--dj-muted, #6b7c8d);
}

.dj-quick-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 64px;
    text-decoration: none;
    color: var(--dj-text, #2c3e50);
    background: var(--dj-white, #fff);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
    padding: 12px 16px;
    transition: transform .25s, box-shadow .25s, color .25s;
}

.dj-quick-info-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--dj-shadow-lg, 0 8px 32px rgba(0, 0, 0, .12));
    color: var(--dj-primary, #72ab02);
}

.dj-quick-info-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--dj-primary, #72ab02), var(--dj-primary-light, #8bc34a));
    color: #fff;
    box-shadow: 0 3px 10px rgba(114, 171, 2, .3);
}

.dj-quick-info-label {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
}

/* Responsive quick-info */
@media (max-width: 1200px) {
    .dj-quick-info-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 992px) {
    .dj-quick-info-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .dj-quick-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .dj-quick-info-item {
        padding: 10px 12px;
        gap: 10px;
    }

    .dj-quick-info-circle {
        width: 38px;
        height: 38px;
        min-width: 38px;
    }

    .dj-quick-info-label {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .dj-quick-info-grid { grid-template-columns: 1fr; }
}

/* ── Quick Menu ───────────────────────────────────── */
.dj-quick-menu {
    padding: 40px 0;
    background: var(--dj-bg, #f8f9fa);
}

.dj-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.dj-quick-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 12px;
    background: var(--dj-white, #fff);
    border-radius: var(--dj-radius, 12px);
    text-decoration: none;
    color: var(--dj-text, #2c3e50);
    box-shadow: var(--dj-shadow, 0 2px 12px rgba(0, 0, 0, .08));
    transition: all var(--dj-transition, .3s);
    text-align: center;
}

.dj-quick-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--dj-shadow-lg, 0 8px 32px rgba(0, 0, 0, .12));
    color: var(--dj-primary, #72ab02);
}

.dj-quick-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dj-primary, #72ab02), var(--dj-primary-light, #8bc34a));
    color: #fff;
    border-radius: 14px;
}

.dj-quick-label {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
}

/* ── Section Common ───────────────────────────────── */
.dj-section {
    padding: 50px 0;
}

.dj-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 8px;
}

.dj-section-title {
    font-family: 'Manrope', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dj-text, #2c3e50);
    display: flex;
    align-items: center;
    gap: 8px;
}

.dj-section-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--dj-primary, #72ab02);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.dj-section-link:hover {
    text-decoration: underline;
}

/* ── Berita Carousel ──────────────────────────────── */
.dj-berita-carousel-section {
    background: var(--dj-bg, #f8f9fa);
}

.dj-berita-carousel .dj-berita-slide {
    padding: 0 8px;
}

.dj-berita-card {
    background: var(--dj-white, #fff);
    border-radius: var(--dj-radius, 12px);
    overflow: hidden;
    box-shadow: var(--dj-shadow, 0 2px 12px rgba(0, 0, 0, .08));
    transition: transform var(--dj-transition, .3s);
}

.dj-berita-card:hover {
    transform: translateY(-4px);
}

.dj-berita-img {
    overflow: hidden;
    aspect-ratio: 16/9;
}

.dj-berita-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

.dj-berita-card:hover .dj-berita-img img {
    transform: scale(1.05);
}

.dj-berita-body {
    padding: 16px;
}

.dj-berita-date {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--dj-muted, #7f8c8d);
    margin-bottom: 6px;
}

.dj-berita-body h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}

.dj-berita-body h3 a {
    color: var(--dj-text, #2c3e50);
    text-decoration: none;
}

.dj-berita-body h3 a:hover {
    color: var(--dj-primary, #72ab02);
}

.dj-berita-body p {
    font-size: 13px;
    color: var(--dj-muted, #7f8c8d);
    line-height: 1.5;
    margin-bottom: 10px;
}

.dj-read-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--dj-primary, #72ab02);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.dj-read-more:hover {
    text-decoration: underline;
}

/* ── Slick Arrow Overrides ────────────────────────── */
.dj-slick-prev,
.dj-slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: var(--dj-white, #fff);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s, box-shadow .2s;
    color: var(--dj-primary, #72ab02);
}

.dj-slick-prev:hover,
.dj-slick-next:hover {
    background: var(--dj-primary, #72ab02);
    color: #fff;
}

.dj-slick-prev {
    left: -8px;
}

.dj-slick-next {
    right: -8px;
}

.dj-slick-prev svg,
.dj-slick-next svg {
    display: block;
}

.dj-berita-carousel .slick-list {
    margin: 0 -8px;
}

.dj-galeri-carousel .slick-list {
    margin: 0 -6px;
}

.dj-video-carousel .slick-list {
    margin: 0 -8px;
}

/* ── Berita Grid ──────────────────────────────────── */
.dj-berita-grid-section {
    background: var(--dj-hero-gradient, linear-gradient(90deg, #72ab02 0%, #f98a00 100%));
    max-width: 1200px;
    margin: 24px auto;
    padding: 40px 24px;
    border-radius: 12px;
    overflow: hidden;
}

.dj-berita-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

/* ── Pagination Berita Grid (Home) ────────────────── */
.dj-berita-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.dj-berita-page-btn {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--dj-white, #fff);
    border-radius: 8px;
    color: var(--dj-text, #2c3e50);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
    transition: background .2s, color .2s;
}

.dj-berita-page-btn:hover,
.dj-berita-page-btn.active {
    background: var(--dj-primary, #72ab02);
    color: #fff;
}

.dj-berita-grid-item {
    background: var(--dj-white, #fff);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--dj-shadow, 0 2px 12px rgba(0, 0, 0, .08));
    transition: transform .3s ease, box-shadow .3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.dj-berita-grid-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .14);
}

.dj-berita-grid-img img {
    display: block;
    width: 100%;
    aspect-ratio: 6/4;
    object-fit: cover;
    background: var(--dj-line, #e8ecef);
    transition: transform .4s ease;
}

.dj-berita-grid-item:hover .dj-berita-grid-img img {
    transform: scale(1.05);
}

.dj-berita-grid-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.dj-berita-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 12px;
    color: var(--dj-muted, #7f8c8d);
}

.dj-berita-date,
.dj-berita-views {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.dj-berita-date svg,
.dj-berita-views svg {
    color: var(--dj-primary, #72ab02);
    flex-shrink: 0;
}

.dj-berita-grid-body h4 {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dj-berita-grid-body h4 a {
    color: var(--dj-text, #2c3e50);
    text-decoration: none;
}

.dj-berita-grid-body h4 a:hover {
    color: var(--dj-primary, #72ab02);
}

.dj-berita-readmore {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--dj-primary, #72ab02);
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s ease;
}

.dj-berita-readmore:hover {
    background: var(--dj-primary-dark, #5a8a00);
    color: #fff;
}

/* ── Statistik 3 Kolom ────────────────────────────── */
/* Geometri disamakan dgn referensi 1280x233 (demo39):
   kolom 124-376 judul | 404-725 kartu kaca | 891-1234 chip
   latar #edf4fc, angka 30px, ikon 50px, chip 44px, kartu putih 120x100 */
.dj-stats-section {
    background: var(--dj-stats-bg, #edf4fc);
    transition: background .3s;
}

.dj-stats-wrap {
    display: grid;
    grid-template-columns: repeat(3, 33.3333%);
    gap: 0;
    align-items: center;
}

/* Statistik Desa — angka polos di atas latar, tanpa kaca/kotak. */
.dj-stat-glass {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

/* Pasangan figure Laki-Laki/Perempuan — 2 kolom */
.dj-stat-pair {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 44px;
}

.dj-stats-title-col {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.dj-stats-title {
    font-family: 'Bebas Neue', 'Manrope', sans-serif;
    font-size: clamp(44px, 4.6vw, 72px);
    line-height: .92;
    letter-spacing: .02em;
    color: #0f172a;
    margin: 0;
    text-transform: uppercase;
    text-align: center;
}

.dj-stats-title span {
    display: block;
}

.dj-stats-title span:last-child {
    font-size: .5em;
    line-height: 1.1;
    letter-spacing: .18em;
}

.dj-stats-nums-col {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Figure angka: ikon bulat 44px di kiri angka & label; grup center */
.dj-stat-figure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

/* Total Penduduk — di bawah pasangan figure, pemisah tipis */
.dj-stat-total-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid #d8e4f0;
    width: 100%;
}

.dj-stat-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
}

.dj-stat-male .dj-stat-icon,
.dj-stat-icon.is-total {
    background: linear-gradient(140deg, var(--dj-primary, #1a5276), var(--dj-primary-dark, #123a55));
}

.dj-stat-female .dj-stat-icon {
    background: linear-gradient(140deg, #ff9a9e, #f06292);
}

.dj-stat-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.dj-stat-total-row .dj-stat-body {
    align-items: center;
    text-align: center;
}

.dj-stat-value {
    display: flex;
    align-items: baseline;
    gap: 6px;
    line-height: 1;
}

.dj-stat-number {
    font-family: 'Manrope', sans-serif;
    font-size: 30px;
    font-weight: 800;
    color: #0f172a;
}

.dj-stat-unit {
    font-size: 14px;
    color: #64748b;
}

.dj-stat-label {
    font-size: 12px;
    color: #64748b;
}

.dj-stats-links-col {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    gap: 14px 10px;
    align-self: center;
    justify-content: center;
}

.dj-stat-link {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 4px 12px 4px 6px;
    background: #fff;
    border: 1px solid #e6edf5;
    border-radius: 999px;
    color: #0f172a;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .05);
    transition: transform .25s, box-shadow .25s;
}

.dj-stat-link > span:not(.dj-stat-link-icon) {
    display: inline;
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    white-space: nowrap;
}

.dj-stat-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(16, 24, 40, .10);
}

.dj-stat-link-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--dj-stats-chip, #e8f3d8);
    color: var(--dj-primary-dark, #4d7c0f);
}

/* ── Smart Insight ────────────────────────────────── */
.dj-insight-section {
    background: var(--dj-white, #fff);
}

.dj-insight-tabs {
    margin-top: 16px;
}

.dj-insight-tab-nav {
    display: flex;
    gap: 4px;
    border-bottom: 2px solid var(--dj-line, #e8ecef);
    margin-bottom: 20px;
    overflow-x: auto;
}

.dj-insight-tab {
    padding: 10px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: var(--dj-muted, #7f8c8d);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all .2s;
    white-space: nowrap;
}

.dj-insight-tab.active {
    color: var(--dj-primary, #72ab02);
    border-bottom-color: var(--dj-primary, #72ab02);
}

.dj-insight-tab:hover {
    color: var(--dj-primary, #72ab02);
}

.dj-insight-pane {
    display: none;
}

.dj-insight-pane.active {
    display: block;
}

.dj-insight-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.dj-insight-card {
    background: var(--dj-bg, #f8f9fa);
    border-radius: var(--dj-radius, 12px);
    padding: 20px;
    text-align: center;
}

.dj-insight-card-icon {
    color: var(--dj-primary, #72ab02);
    margin-bottom: 8px;
}

.dj-insight-card-value {
    font-family: 'Manrope', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--dj-text, #2c3e50);
}

.dj-insight-card-label {
    font-size: 12px;
    color: var(--dj-muted, #7f8c8d);
    margin-top: 4px;
}

.dj-insight-placeholder {
    text-align: center;
    padding: 40px;
    color: var(--dj-muted, #7f8c8d);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

/* ── Insight Bar Lists ─────────────────────────── */
.dj-insight-bar-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dj-insight-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dj-insight-bar-label {
    min-width: 110px;
    font-size: 13px;
    font-weight: 500;
    color: var(--dj-text, #2c3e50);
    text-align: right;
}

.dj-insight-bar-track {
    flex: 1;
    height: 22px;
    background: var(--dj-bg, #e9ecef);
    border-radius: 6px;
    overflow: hidden;
}

.dj-insight-bar-fill {
    height: 100%;
    border-radius: 6px;
    background: var(--dj-primary, #72ab02);
    transition: width .6s ease;
    min-width: 2px;
}

.dj-insight-bar-male {
    background: var(--dj-primary, #72ab02);
}

.dj-insight-bar-female {
    background: var(--dj-accent, #f98a00);
}

.dj-insight-bar-job {
    background: var(--dj-primary-light, #8bc34a);
}

.dj-insight-bar-letter {
    background: var(--dj-accent, #f98a00);
}

.dj-insight-bar-value {
    min-width: 40px;
    font-size: 13px;
    font-weight: 700;
    color: var(--dj-text, #2c3e50);
    text-align: right;
}

/* ── Insight Table ──────────────────────────────── */
.dj-insight-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.dj-insight-table thead {
    background: var(--dj-primary, #72ab02);
    color: #fff;
}

.dj-insight-table th {
    padding: 10px 14px;
    text-align: left;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.dj-insight-table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--dj-line, #e8ecef);
    color: var(--dj-text, #2c3e50);
}

.dj-insight-table tbody tr:nth-child(even) {
    background: var(--dj-bg, #f8f9fa);
}

.dj-insight-table tbody tr:hover {
    background: #eef7e8;
}

/* ── Insight Program List ───────────────────────── */
.dj-insight-program-list {
    overflow-x: auto;
}

/* ── Insight Chart Block ────────────────────────── */
.dj-insight-charts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dj-insight-chart-block {
    background: var(--dj-bg, #f8f9fa);
    border-radius: var(--dj-radius, 12px);
    padding: 20px;
}

.dj-insight-chart-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--dj-text, #2c3e50);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ── Insight Summary Stats ──────────────────────── */
.dj-insight-summary-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.dj-insight-stat-item {
    background: var(--dj-bg, #f8f9fa);
    border-radius: var(--dj-radius, 12px);
    padding: 20px;
    text-align: center;
}

.dj-insight-stat-icon {
    color: var(--dj-primary, #72ab02);
    margin-bottom: 8px;
}

.dj-insight-stat-value {
    font-family: 'Manrope', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dj-text, #2c3e50);
}

.dj-insight-stat-label {
    font-size: 12px;
    color: var(--dj-muted, #7f8c8d);
    margin-top: 4px;
}

/* ── Insight Doughnut Chart ──────────────────────── */
.dj-insight-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.dj-insight-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dj-insight-doughnut-wrapper,
.dj-insight-bar-chart-wrapper {
    display: flex;
    align-items: center;
    gap: 24px;
}

.dj-insight-doughnut-wrapper {
    flex-direction: column;
    align-items: center;
}

.dj-insight-doughnut,
.dj-insight-bar {
    max-width: 220px;
    max-height: 220px;
    width: 100%;
    height: auto;
}

.dj-insight-bar-chart-wrapper .dj-insight-bar {
    max-width: 320px;
    max-height: 280px;
}

.dj-insight-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    font-size: 13px;
}

.dj-insight-legend span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.dj-insight-legend i {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

@media (max-width: 768px) {
    .dj-insight-summary-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ── UMKM / Lapak Desa ───────────────────────────── */
.dj-umkm-section {
    background: var(--dj-bg, #f8f9fa);
}

.dj-umkm-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.dj-umkm-carousel .dj-umkm-slide {
    padding: 0 8px;
}

.dj-umkm-carousel .slick-list {
    margin: 0 -8px;
}

.dj-umkm-card {
    background: var(--dj-white, #fff);
    border-radius: var(--dj-radius, 12px);
    overflow: hidden;
    box-shadow: var(--dj-shadow, 0 2px 12px rgba(0, 0, 0, .08));
    transition: transform var(--dj-transition, .3s);
}

.dj-umkm-card:hover {
    transform: translateY(-4px);
}

.dj-umkm-img {
    display: block;
}

.dj-umkm-img img {
    width: 100%;
    aspect-ratio: 6/4;
    object-fit: cover;
}

.dj-umkm-body {
    padding: 16px;
}

.dj-umkm-badge {
    display: inline-block;
    background: var(--dj-accent, #f98a00);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 20px;
    margin-bottom: 8px;
}

.dj-umkm-body h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
}

.dj-umkm-body h4 a {
    color: var(--dj-text, #2c3e50);
    text-decoration: none;
}

.dj-umkm-body h4 a:hover {
    color: var(--dj-primary, #72ab02);
}

.dj-umkm-body p {
    font-size: 13px;
    color: var(--dj-muted, #7f8c8d);
    margin-bottom: 12px;
}

.dj-umkm-actions {
    display: flex;
    gap: 8px;
}

/* ── Aparatur ─────────────────────────────────────── */
.dj-officials-carousel .dj-official-slide {
    padding: 0 8px;
}

.dj-officials-carousel .slick-list {
    margin: 0 -8px;
}

.dj-official-card {
    text-align: center;
    padding: 20px;
    background: var(--dj-white, #fff);
    border-radius: var(--dj-radius, 12px);
    box-shadow: var(--dj-shadow, 0 2px 12px rgba(0, 0, 0, .08));
    transition: transform var(--dj-transition, .3s);
}

.dj-official-card:hover {
    transform: translateY(-4px);
}

.dj-official-photo {
    width: 100px;
    height: 100px;
    margin: 0 auto 12px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--dj-bg, #f8f9fa);
}

.dj-official-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dj-official-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dj-muted, #7f8c8d);
}

.dj-official-name {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.dj-official-position {
    font-size: 12px;
    color: var(--dj-muted, #7f8c8d);
}

/* ── Galeri Foto ──────────────────────────────────── */
.dj-galeri-section {
    background: var(--dj-bg, #f8f9fa);
}

.dj-galeri-carousel .dj-galeri-item {
    padding: 0 6px;
}

.dj-galeri-link {
    display: block;
    position: relative;
    border-radius: var(--dj-radius-sm, 8px);
    overflow: hidden;
    aspect-ratio: 4/3;
}

.dj-galeri-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

.dj-galeri-link:hover img {
    transform: scale(1.08);
}

.dj-galeri-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px 12px;
    background: linear-gradient(transparent, rgba(0, 0, 0, .7));
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    opacity: 0;
    transition: opacity .3s;
}

.dj-galeri-link:hover .dj-galeri-caption {
    opacity: 1;
}

/* ── Lightbox Galeri ──────────────────────────────── */
.dj-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, .88);
}

.dj-lightbox.open {
    display: flex;
}

.dj-lightbox-figure {
    margin: 0;
    max-width: min(1100px, 92vw);
    text-align: center;
}

.dj-lightbox-figure img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 12px;
    object-fit: contain;
}

.dj-lightbox-figure figcaption {
    margin-top: 12px;
    color: #fff;
    font-size: 14px;
}

.dj-lightbox-close {
    position: absolute;
    top: 18px;
    right: 22px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .16);
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.dj-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .16);
    color: #fff;
    cursor: pointer;
    transition: background .2s;
}

.dj-lightbox-close:hover,
.dj-lightbox-nav:hover {
    background: var(--dj-primary);
}

.dj-lightbox-prev {
    left: 20px;
}

.dj-lightbox-next {
    right: 20px;
}

body.dj-lightbox-open {
    overflow: hidden;
}

@media (max-width: 600px) {
    .dj-lightbox-nav {
        width: 40px;
        height: 40px;
    }

    .dj-lightbox-prev {
        left: 8px;
    }

    .dj-lightbox-next {
        right: 8px;
    }
}

/* ── Galeri Video ─────────────────────────────────── */
.dj-video-carousel .dj-video-item {
    padding: 0 8px;
}

.dj-video-embed {
    position: relative;
    padding-bottom: 56.25%;
    border-radius: var(--dj-radius-sm, 8px);
    overflow: hidden;
    background: #000;
}

.dj-video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.dj-video-title {
    margin-top: 8px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

/* ── Transparansi ─────────────────────────────────── */
.dj-transparansi-section {
    background: var(--dj-bg, #f8f9fa);
}

.dj-transparansi-card {
    text-align: center;
    padding: 48px 24px;
    background: linear-gradient(135deg, var(--dj-primary, #72ab02), var(--dj-primary-light, #8bc34a));
    border-radius: var(--dj-radius, 12px);
    color: #fff;
}

.dj-transparansi-icon {
    margin-bottom: 16px;
    opacity: .8;
}

.dj-transparansi-card h2 {
    font-family: 'Manrope', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.dj-transparansi-card p {
    margin-bottom: 20px;
    opacity: .85;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.dj-transparansi-card .dj-btn {
    background: #fff;
    color: var(--dj-primary, #72ab02);
}

.dj-transparansi-card .dj-btn:hover {
    background: rgba(255, 255, 255, .9);
}

/* ── Agenda ───────────────────────────────────────── */
.dj-agenda-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dj-agenda-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: var(--dj-white, #fff);
    border-radius: var(--dj-radius-sm, 8px);
    box-shadow: var(--dj-shadow, 0 2px 12px rgba(0, 0, 0, .08));
    align-items: center;
}

.dj-agenda-date {
    text-align: center;
    min-width: 56px;
    padding: 8px;
    background: var(--dj-primary, #72ab02);
    color: #fff;
    border-radius: 8px;
}

.dj-agenda-day {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1;
}

.dj-agenda-month {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.dj-agenda-body h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.dj-agenda-body h4 a {
    color: var(--dj-text, #2c3e50);
    text-decoration: none;
}

.dj-agenda-body h4 a:hover {
    color: var(--dj-primary, #72ab02);
}

.dj-agenda-meta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--dj-muted, #7f8c8d);
    margin-right: 12px;
}

/* ── CTA ──────────────────────────────────────────── */
.dj-cta-section {
    background: var(--dj-bg, #f8f9fa);
    padding-bottom: 80px;
}

.dj-cta-card {
    text-align: center;
    padding: 48px 24px;
    background: var(--dj-white, #fff);
    border-radius: var(--dj-radius, 12px);
    box-shadow: var(--dj-shadow-lg, 0 8px 32px rgba(0, 0, 0, .12));
}

.dj-cta-card h2 {
    font-family: 'Manrope', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.dj-cta-card p {
    color: var(--dj-muted, #7f8c8d);
    margin-bottom: 20px;
}

.dj-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* ── Footer ───────────────────────────────────────── */
.dj-footer {
    background: #ffffff;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 40%, rgba(0, 0, 0, 1) 40%);
    color: rgba(255, 255, 255, .9);
    padding: 64px 0 0;
}

.dj-footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    background: linear-gradient(180deg, var(--dj-primary-dark, #5a8a00) 0%, var(--dj-primary, #72ab02) 100%);
    padding: 48px 32px;
}

/* Kolom footer rata tengah */
.dj-footer-col-center {
    text-align: center;
}

.dj-footer-col-center .dj-footer-title,
.dj-footer-col-center .dj-footer-brand,
.dj-footer-col-center .dj-footer-contact li,
.dj-footer-col-center .dj-footer-social {
    justify-content: center;
}

.dj-footer-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dj-footer-map {
    margin-bottom: 12px;
}

.dj-footer-map-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 160px;
    background: rgba(255, 255, 255, .05);
    border-radius: 8px;
    color: rgba(255, 255, 255, .3);
    gap: 8px;
}

.dj-footer-address {
    font-size: 13px;
    line-height: 1.5;
}

.dj-footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.dj-footer-brand .dj-brand-logo img {
    width: 48px;
    height: 48px;
}

.dj-footer-brand strong {
    color: #fff;
}

.dj-footer-contact {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}

.dj-footer-contact li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    font-size: 13px;
}

.dj-footer-contact a {
    color: rgba(255, 255, 255, .8);
    text-decoration: none;
}

.dj-footer-contact a:hover {
    color: #fff;
}

.dj-footer-social {
    display: flex;
    gap: 8px;
}

.dj-social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .1);
    border-radius: 50%;
    color: rgba(255, 255, 255, .8);
    text-decoration: none;
    transition: background .2s;
}

.dj-social-link:hover {
    background: var(--dj-primary, #72ab02);
    color: #fff;
}

.dj-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dj-footer-links li {
    padding: 4px 0;
}

.dj-footer-links a {
    color: rgba(255, 255, 255, .8);
    text-decoration: none;
    font-size: 13px;
}

.dj-footer-links a:hover {
    color: #fff;
    text-decoration: underline;
}

.dj-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding: 16px 0;
    margin-top: 32px;
    text-align: center;
    font-size: 13px;
}

/* ── Mobile Bottom Nav (hanya tampil di mobile) ───── */
.dj-mobile-nav {
    display: none;
}

@media (max-width: 768px) {
    .dj-mobile-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: var(--dj-white, #fff);
        justify-content: space-around;
        padding: 6px 0 env(safe-area-inset-bottom, 8px);
        box-shadow: 0 -2px 12px rgba(0, 0, 0, .08);
        z-index: 100;
    }
}

.dj-mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 6px 12px;
    text-decoration: none;
    color: var(--dj-muted, #7f8c8d);
    font-size: 10px;
    font-weight: 600;
    transition: color .2s;
}

.dj-mobile-nav-item.active,
.dj-mobile-nav-item:hover {
    color: var(--dj-primary, #72ab02);
}

/* ── Reveal Animation ─────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Icon ─────────────────────────────────────────── */
.dj-icon {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

/* ── Responsive ───────────────────────────────────── */
@media (min-width: 768px) {
    .dj-nav-desktop {
        display: block;
    }

    .dj-info-bar {
        display: block;
    }

    .dj-hamburger {
        display: none;
    }

    /* .dj-hero-container {
        height: 500px;
    } */

    .dj-hero-col-main {
        height: 460px;
    }

    .dj-hero-featured-title {
        font-size: 2rem;
    }
}

@media (max-width: 1000px) {
    .dj-quick-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .dj-stats-wrap {
        grid-template-columns: repeat(3, 33.3333%);
        gap: 0;
    }

    .dj-stats-links-col {
        grid-column: auto;
        justify-content: center;
        grid-template-columns: max-content;
    }

    .dj-stat-link {
        font-size: 11px;
        padding: 3px 10px 3px 5px;
        gap: 6px;
    }

    .dj-stat-link-icon {
        width: 36px;
        height: 36px;
    }

    .dj-stats-title {
        font-size: 48px;
    }

    .dj-insight-cards {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

@media (max-width: 700px) {
    .dj-topbar-left {
        display: none;
    }

    .dj-hero-container {
        grid-template-columns: 1fr;
        height: auto;
        padding: 16px 12px;
    }

    .dj-hero-col-main {
        height: 320px;
    }

    .dj-hero-featured-title {
        font-size: 1.3rem;
    }

    .dj-hero-featured-excerpt {
        font-size: 13px;
    }

    .dj-quick-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .dj-stats-wrap {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .dj-stats-title-col {
        justify-content: flex-start;
        text-align: left;
    }

    .dj-stats-title {
        text-align: left;
    }

    .dj-stat-glass {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 14px;
    }

    .dj-stats-figures {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .dj-stat-figure,
    .dj-stat-total-row {
        width: 100%;
        height: auto;
        min-height: 68px;
        justify-content: center;
    }

    .dj-stats-links-col {
        max-width: none;
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
        gap: 10px 8px;
        justify-content: stretch;
    }

    .dj-stat-link {
        justify-content: flex-start;
        padding: 3px 8px 3px 5px;
        gap: 6px;
        font-size: 11px;
        min-width: 0;
    }

    .dj-stat-link > span:not(.dj-stat-link-icon) {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .dj-stat-link-icon {
        width: 32px;
        height: 32px;
    }

    .dj-stats-title {
        font-size: 48px;
    }

    .dj-insight-cards {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .dj-umkm-grid {
        grid-template-columns: 1fr;
    }

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

    /* Ponsel: alamat + sosmed tampil lebih dulu */
    .dj-footer-col-center {
        order: -1;
    }

    .dj-header-btn {
        display: none;
    }
}

@media (max-width: 420px) {
    .dj-theme-arrow {
        display: none;
    }

    .dj-theme-dot {
        width: 16px;
        height: 16px;
    }

    .dj-theme-dots {
        gap: 4px;
    }

    .dj-quick-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .dj-quick-item {
        padding: 14px 8px;
    }

    .dj-quick-icon {
        width: 44px;
        height: 44px;
    }

    .dj-quick-label {
        font-size: 11px;
    }

    .dj-stat-number {
        font-size: 1.5rem;
    }
}