@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --green: #034AA6;
    --green-dark: #023675;
    --mint: #034AA6;
    --soft: #f4f5f5;
    --text: #071b34;
    --muted: #4b5563;
    --line: #dde6e1;
    --pink: #f3a1b0;
    --white: #ffffff;
    --container: 1168px;
    --header: 90px;
    --shadow: 0 8px 24px rgba(15, 23, 42, .09);
    --shadow-hover: 0 16px 36px rgba(15, 23, 42, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--soft);
    font-family: 'Outfit', Arial, sans-serif;
    color: var(--text);
    font-size: 16px;
    line-height: 1.55;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font-family: inherit; }

.container {
    max-width: var(--container);
    width: calc(100% - 44px);
    margin: 0 auto;
}

/* HEADER */
.site-header {
    height: var(--header);
    background: var(--green);
    position: sticky;
    top: 0;
    z-index: 9999;
    transition: background .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}
.site-header.home-transparent {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    background: rgba(3, 74, 166, .60);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: none;
}
.site-header.home-transparent.scrolled {
    background: rgba(3, 74, 166, .96);
    box-shadow: 0 5px 20px rgba(0,0,0,.13);
}
.site-header .container {
    max-width: none;
    width: calc(100% - 60px);
}
.header-inner {
    height: var(--header);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    min-width: 245px;
    flex-shrink: 0;
}
.brand-logo {
    width: 46px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
    overflow: visible;
}
.brand-logo img {
    width: 46px;
    height: 58px;
    object-fit: contain;
    background: transparent !important;
}
.brand-text strong {
    display: block;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.16;
    color: #fff;
}
.brand-text span {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    color: #fff;
}
.nav-menu {
    display: flex;
    align-items: center;
    gap: 14px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.nav-item { position: relative; }
.nav-link,
.nav-toggle,
.logout-btn {
    height: var(--header);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 0;
    background: transparent;
    color: #fff;
    font: inherit;
    font-size: 12.8px;
    font-weight: 800;
    cursor: pointer;
    padding: 0 3px;
    white-space: nowrap;
    position: relative;
}
.nav-toggle i { font-size: 9px; }
.nav-link::after,
.nav-toggle::after,
.logout-btn::after {
    content: "";
    position: absolute;
    left: 3px;
    right: 3px;
    bottom: 17px;
    height: 3px;
    background: #fff;
    border-radius: 20px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .18s ease;
}
.nav-item.active > .nav-link::after,
.nav-item.active > .nav-toggle::after,
.nav-link:hover::after,
.nav-toggle:hover::after,
.logout-btn:hover::after { transform: scaleX(1); }
.dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 220px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-hover);
    border-radius: 10px;
    padding: 8px 0;
    z-index: 10010;
}
.dropdown a {
    display: block;
    color: var(--text);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
    padding: 10px 18px;
    border-radius: 0;
    white-space: nowrap;
}
.dropdown a:hover { background: #eef5ff; color: var(--green-dark); }
.nav-item.has-dropdown:hover > .dropdown { display: block; }
.logout-form { margin: 0; }
.mobile-toggle { display: none; background: transparent; border: 0; color: #fff; font-size: 24px; cursor: pointer; }

main { min-height: calc(100vh - var(--header)); padding-bottom: 40px; }
.home-page main { padding-bottom: 0; }

/* HERO BERANDA */
.home-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #023675;
    padding-top: var(--header);
}
.home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(2, 15, 40, .47), rgba(2, 15, 40, .58)), url('../images/bg-matobe-beach.jpg') center/cover no-repeat;
    transform: scale(1.02);
}
.hero-inner,
.home-hero .content {
    position: relative;
    z-index: 2;
}
.home-hero .content {
    text-align: center;
    color: #fff;
    width: min(930px, calc(100% - 32px));
    margin: 0 auto;
    padding: 70px 0 82px;
}
.home-hero h1 {
    font-size: clamp(36px, 4.7vw, 60px);
    line-height: 1.1;
    margin: 0 0 16px;
    font-weight: 800;
    letter-spacing: -.6px;
    text-shadow: 0 4px 2px rgba(0,0,0,.32);
}
.home-hero p {
    font-size: clamp(15px, 1.7vw, 20px);
    line-height: 1.55;
    font-weight: 700;
    max-width: 820px;
    margin: 0 auto 26px;
    text-shadow: 0 2px 1px rgba(0,0,0,.25);
}
.hero-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.btn {
    min-height: 46px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    font-weight: 800;
    border: 1px solid transparent;
    transition: transform .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--green-dark); }
.btn-outline { color: #fff; border-color: rgba(255,255,255,.68); background: transparent; }
.btn-green { background: var(--green); color: #fff; }

/* QUICK ICON DI BAWAH HERO */
.quick-section {
    margin-top: 0 !important;
    position: relative;
    z-index: 3;
    background: var(--soft);
    padding: 44px 0 64px;
}
.quick-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; }
.quick-card {
    background: #fff;
    min-height: 106px;
    border-radius: 9px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 800;
    font-size: 12.5px;
    color: #3d4852;
    transition: transform .18s ease, box-shadow .18s ease;
}
.quick-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.quick-card i { font-size: 31px; color: var(--green); }
.quick-card span { display: block; text-align: center; font-size: 12.5px; font-weight: 800; }

/* SECTION */
.section { padding: 60px 0; }
.section-sm { padding: 42px 0; }
.section-title {
    font-size: 34px;
    line-height: 1.15;
    color: var(--mint);
    font-weight: 800;
    margin: 0 0 12px;
    text-transform: uppercase;
}
.section-sub { font-size: 15px; margin: 0 0 22px; color: #000; }
.page-head { padding: 54px 0 28px; text-align: center; }
.page-head h1 { margin: 0 0 8px; color: #52749a; font-size: 42px; font-weight: 600; line-height: 1.2; }
.page-head p { margin: 0; color: #53677e; }
.breadcrumb { font-size: 13px; margin-top: 10px; color: #8b98a8; }
.breadcrumb a { color: var(--green-dark); font-weight: 800; }
.plain-head { padding: 48px 0 18px; }
.plain-head h1 { margin: 0 0 8px; font-size: 30px; color: #000; font-weight: 800; text-transform: uppercase; }
.plain-head p { margin: 0; color: #000; }
.card, .content-card, .empty, .chart-card, .article-card, .sidebar-card, .contact-box, .form-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}
.content-card, .article-card, .form-card { padding: 28px; }
.empty { padding: 24px; text-align: center; color: var(--muted); }
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* BERANDA CONTENT */
.explore { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.explore-grid { display: grid; grid-template-columns: repeat(2, 200px); gap: 28px; justify-content: center; }
.explore-card {
    height: 128px;
    background: #fff;
    border-radius: 6px;
    box-shadow: var(--shadow);
    display: grid;
    place-items: center;
    text-align: center;
    font-weight: 800;
    color: #4b5563;
    transition: transform .18s ease, box-shadow .18s ease;
}
.explore-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.explore-card i { display: block; font-size: 54px; margin: 0 auto 8px; color: var(--green); }
.welcome-row { display: grid; grid-template-columns: 290px 1fr; gap: 58px; align-items: center; }
.welcome-photo { width: 240px; max-height: 300px; object-fit: contain; margin: 0 auto; filter: drop-shadow(0 12px 24px rgba(0,0,0,.10)); }
.welcome-name { margin: 0 0 4px; font-size: 21px; color: var(--text); }
.welcome-role { font-weight: 700; margin: 0 0 14px; color: var(--muted); }

/* SOTK */
.staff-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.staff-card { border-radius: 6px; overflow: hidden; background: #fff; box-shadow: var(--shadow); transition: transform .18s ease; }
.staff-card:hover { transform: translateY(-5px); }
.staff-photo { height: 240px; background: #dbeee8; display: grid; place-items: center; color: var(--green); font-weight: 800; }
.staff-photo img { width: 100%; height: 100%; object-fit: cover; }
.staff-initial { font-size: 54px; font-weight: 800; color: var(--green); }
.staff-info { background: #78c2ae; color: #fff; text-align: center; padding: 10px; }
.staff-info h3 { margin: 0; font-size: 16px; font-weight: 800; }
.staff-info p { margin: 0; font-size: 12px; font-weight: 600; }
.more-link { display: inline-flex; gap: 8px; align-items: center; font-weight: 800; margin-top: 18px; float: right; }

/* MAP, LISTING */
.map-frame { height: 380px; border-radius: 8px; overflow: hidden; background: #e4eee9; box-shadow: var(--shadow); }
.map-frame iframe { width: 100%; height: 100%; border: 0; }
.listing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.listing-card { overflow: hidden; background: #fff; border-radius: 8px; box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease; }
.listing-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.listing-thumb { height: 215px; background: #d9efe8; display: grid; place-items: center; color: var(--green); font-weight: 800; }
.listing-thumb img { width: 100%; height: 100%; object-fit: cover; }
.listing-body { padding: 18px; }
.listing-body h3 { font-size: 18px; line-height: 1.35; margin: 0 0 8px; }
.listing-body p { margin: 0 0 12px; color: var(--muted); }
.read-link { font-weight: 800; color: var(--green); }

/* INFOGRAFIS */
.infografis-top { display: grid; grid-template-columns: 1fr 1.45fr; gap: 36px; align-items: end; margin-bottom: 42px; }
.infografis-title h1 { font-size: 36px; line-height: 1.28; color: var(--mint); font-weight: 800; text-transform: uppercase; margin: 0; }
.info-tabs, .infographic-menu { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; border-bottom: 1px solid #cbd8d2; }
.info-tab, .infographic-tab { height: 88px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; color: #4b5563; font-weight: 800; font-size: 12px; position: relative; }
.info-tab i, .infographic-tab i { font-size: 31px; color: currentColor; }
.info-tab svg, .infographic-tab svg { width: 36px; height: 36px; stroke: currentColor; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.info-tab.active, .infographic-tab.active { color: var(--green-dark); }
.info-tab.active::after, .infographic-tab.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--mint); border-radius: 20px; }
.intro-info { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin: 34px 0 52px; }
.intro-info h2 { font-size: 38px; color: var(--mint); text-transform: uppercase; margin: 0 0 10px; line-height: 1.18; }
.intro-info p { font-size: 15px; color: #000; max-width: 560px; }
.intro-info img { max-width: 360px; margin: auto; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-box { background: #fff; border-radius: 8px; box-shadow: var(--shadow); padding: 20px; display: flex; align-items: center; gap: 18px; min-height: 120px; }
.stat-icon { width: 70px; height: 70px; border-radius: 50%; background: #c7f2d3; display: grid; place-items: center; color: #075f78; font-size: 28px; flex: none; }
.stat-box h3 { margin: 0 0 4px; color: #555f6d; font-weight: 500; font-size: 19px; text-transform: uppercase; }
.stat-box strong { color: var(--mint); font-size: 25px; font-weight: 600; }
.chart-card { padding: 22px; }
.bar-list { display: grid; gap: 14px; }
.bar-hover { display: grid; grid-template-columns: 220px 1fr 70px; gap: 14px; align-items: center; position: relative; }
.bar-label { font-weight: 700; color: #3f4852; }
.bar-track { height: 20px; background: #e7ece9; border-radius: 4px; overflow: hidden; }
.bar-fill { height: 100%; background: #78bda7; border-radius: 4px; transition: .18s; }
.bar-hover:hover .bar-fill { background: #f7b49f; }
.bar-tip { display: none; position: absolute; right: 84px; top: -34px; background: #fff; border: 1px solid #d6ded9; box-shadow: var(--shadow); border-radius: 4px; padding: 7px 9px; font-size: 12px; font-weight: 700; z-index: 3; }
.bar-hover:hover .bar-tip { display: block; }
.note { background: #fff; border-radius: 8px; box-shadow: var(--shadow); padding: 16px 18px; margin-top: 12px; border-bottom: 3px solid var(--mint); }
.note.orange { border-bottom-color: #ffb098; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.pill-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pill-card { background: #fff; border-radius: 8px; box-shadow: var(--shadow); min-height: 116px; padding: 18px; display: flex; align-items: center; gap: 18px; position: relative; transition: .18s; }
.pill-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.pill-card .pill-icon { font-size: 38px; width: 58px; text-align: center; }
.pill-card h3 { font-size: 17px; font-weight: 500; margin: 0 0 4px; color: #555f6d; }
.pill-card strong { font-size: 24px; color: var(--mint); font-weight: 600; }
.pill-tip { display: none; position: absolute; right: 12px; top: 12px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 4px; padding: 5px 8px; font-size: 12px; font-weight: 700; }
.pill-card:hover .pill-tip { display: block; }
.apb-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.apb-box { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 6px; padding: 18px; }
.apb-box h3 { margin: 0 0 6px; font-size: 15px; color: #4b5563; }
.apb-box strong { font-size: 22px; color: #15a149; }
.apb-box.red strong { color: #e33434; }
.table-wrap { overflow: auto; background: #fff; border-radius: 8px; box-shadow: var(--shadow); }
.data-table { width: 100%; border-collapse: collapse; min-width: 760px; }
.data-table th { background: #9ccfc4; color: #fff; text-align: left; padding: 12px; font-weight: 800; }
.data-table td { border-top: 1px solid var(--line); padding: 12px; }

/* ARTIKEL/FORMS */
.article-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 34px; align-items: start; }
.article-card h1 { font-size: 31px; line-height: 1.3; margin: 0 0 10px; }
.article-meta { color: #6b7280; font-size: 13px; margin-bottom: 18px; }
.article-body { font-size: 15px; line-height: 1.9; }
.sidebar-card { padding: 18px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.contact-box { text-align: center; padding: 30px; }
.form-card { padding: 26px; max-width: 760px; margin: 0 auto; }
.form-row { margin-bottom: 14px; }
.form-row label { display: block; font-weight: 700; margin-bottom: 6px; }
.input, textarea, select { width: 100%; border: 1px solid #cfd9d4; border-radius: 6px; padding: 10px 12px; font: inherit; background: #fff; }

/* FLOATING */
.floating-visit { position: fixed; left: 16px; bottom: 16px; z-index: 950; background: rgba(185,230,219,.94); color: #fff; border-radius: 8px; box-shadow: var(--shadow); min-width: 150px; cursor: pointer; backdrop-filter: blur(5px); }
.visit-main { min-height: 58px; display: grid; grid-template-columns: 18px auto 1fr 12px; align-items: center; gap: 8px; padding: 9px 12px; }
.visit-main strong { font-size: 22px; line-height: 1; }
.visit-main small { font-size: 11px; line-height: 1.12; font-weight: 800; }
.visit-arrow { font-size: 11px; }
.visit-details { display: none; background: rgba(15,23,42,.72); border-radius: 8px; margin: 0 0 8px; padding: 10px 12px; width: 205px; }
.floating-visit:hover .visit-details, .floating-visit.open .visit-details { display: block; }
.visit-details div { display: flex; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.32); padding: 4px 0; font-size: 12px; }
.visit-details div:last-child { border-bottom: 0; }
.floating-pengaduan { position: fixed; right: 18px; bottom: 16px; z-index: 950; background: var(--pink); color: #fff; border-radius: 8px; min-height: 54px; padding: 0 24px; font-weight: 800; box-shadow: var(--shadow); display: inline-flex; align-items: center; gap: 9px; }

/* FOOTER */
.site-footer { background: linear-gradient(rgba(2, 15, 40, .92), rgba(2, 15, 40, .95)), url('../images/bg-matobe-beach.jpg') center/cover no-repeat; color: #fff; margin-top: 64px; padding: 54px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 28px; }
.site-footer h3 { margin: 0 0 10px; font-size: 18px; }
.site-footer p, .site-footer a { font-size: 13px; margin: 0 0 6px; color: #fff; }
.footer-bottom { text-align: center; margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.18); }

/* SDGs DISEMBUNYIKAN TOTAL */
[href*="sdgs"], .sdgs-card, .menu-sdgs, .infografis-sdgs { display: none !important; }

/* RESPONSIVE */
@media (max-width: 1150px) {
    .site-header .container { width: calc(100% - 36px); }
    .brand { min-width: 220px; }
    .nav-menu { gap: 10px; }
    .nav-link, .nav-toggle, .logout-btn { font-size: 12.3px; padding-left: 2px; padding-right: 2px; }
}
@media (max-width: 991px) {
    .mobile-toggle { display: block; }
    .nav-menu {
        display: none;
        position: fixed;
        top: var(--header);
        left: 0;
        right: 0;
        width: 100%;
        background: var(--green);
        padding: 12px 24px 22px;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        box-shadow: 0 18px 30px rgba(15,23,42,.16);
    }
    .nav-menu.show { display: flex; }
    .nav-link, .nav-toggle, .logout-btn { height: auto; width: 100%; padding: 12px 0; font-size: 14px; justify-content: space-between; }
    .nav-link::after, .nav-toggle::after, .logout-btn::after { bottom: 5px; }
    .dropdown { position: static; display: none; width: 100%; min-width: 0; margin: 2px 0 10px; background: rgba(255,255,255,.08); border: 0; border-radius: 8px; box-shadow: none; }
    .nav-item.open > .dropdown { display: block; }
    .nav-item.has-dropdown:hover > .dropdown { display: none; }
    .dropdown a { color: #fff; padding: 10px 14px; }
    .dropdown a:hover { background: rgba(255,255,255,.12); color: #fff; }
    .quick-grid { grid-template-columns: repeat(4,1fr); }
    .staff-grid, .stats-grid { grid-template-columns: repeat(2,1fr); }
    .infografis-top, .intro-info, .split, .article-layout, .contact-grid, .welcome-row, .explore { grid-template-columns: 1fr; }
    .explore-grid { grid-template-columns: repeat(2,1fr); }
    .listing-grid, .grid-3, .pill-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 700px) {
    :root { --header: 76px; }
    .container, .site-header .container { width: calc(100% - 28px); }
    .brand { min-width: 0; gap: 10px; }
    .brand-logo, .brand-logo img { width: 40px; height: 50px; }
    .brand-text strong { font-size: 12.5px; }
    .brand-text span { font-size: 10.5px; }
    .home-hero h1 { font-size: 34px; }
    .home-hero p { font-size: 14px; }
    .quick-grid, .listing-grid, .grid-2, .grid-3, .grid-4, .staff-grid, .stats-grid, .pill-grid, .apb-summary { grid-template-columns: 1fr; }
    .info-tabs, .infographic-menu { grid-template-columns: repeat(2,1fr); }
    .bar-hover { grid-template-columns: 1fr; gap: 8px; }
    .bar-tip { position: static; display: block; width: fit-content; margin-top: 4px; }
    .section-title { font-size: 28px; }
    .page-head h1 { font-size: 34px; }
    .infografis-title h1, .intro-info h2 { font-size: 31px; }
    .floating-visit { display: none; }
    .floating-pengaduan { right: 10px; bottom: 10px; min-height: 46px; padding: 0 15px; font-size: 13px; }
    .floating-pengaduan span { display: none; }
    .site-footer { background: linear-gradient(rgba(2, 15, 40, .92), rgba(2, 15, 40, .95)), url('../images/bg-matobe-beach.jpg') center/cover no-repeat; color: #fff; margin-top: 64px; padding: 54px 0 26px; }
    .footer-grid { grid-template-columns: 1fr; }
}

/* REVISI LANJUTAN DESA MATOBE */
.listing-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.listing-thumb-icon,
.listing-thumb-image {
    background: linear-gradient(180deg, #e6f3ef 0%, #d6ebe5 100%);
}
.info-card-equal .listing-thumb {
    height: 220px;
}
.listing-thumb-icon img,
.listing-thumb-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.listing-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.read-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.card-chip {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 6px 12px;
    border-radius: 999px;
    background: #eaf7f2;
    color: var(--green-dark);
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 12px;
}
.card-meta {
    font-size: 13px;
    color: #6b7280;
}
.article-hero-illustration {
    margin: 18px 0 20px;
    border-radius: 18px;
    background: linear-gradient(135deg, #effaf6 0%, #e2f1ec 100%);
    min-height: 250px;
    display: grid;
    place-items: center;
    overflow: hidden;
}
.article-hero-illustration img {
    width: 100%;
    max-width: 380px;
    height: auto;
}
.side-list {
    display: grid;
    gap: 10px;
    margin: 16px 0 18px;
}
.side-list a,
.empty-mini {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
    background: #f6faf8;
    border: 1px solid #e1ece7;
    color: var(--text);
    font-weight: 600;
}
.side-list a:hover {
    color: var(--green-dark);
    background: #eef8f4;
}
.sidebar-stack {
    display: grid;
    gap: 22px;
}
.detail-box {
    margin-top: 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 22px 24px;
    box-shadow: var(--shadow);
}
.detail-box h3 {
    margin: 0 0 10px;
    font-size: 20px;
}
.detail-box-soft {
    background: linear-gradient(180deg, #f8fcfa 0%, #eef5ff 100%);
}
.detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) 340px;
    gap: 26px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: 28px;
    margin-bottom: 24px;
    overflow: hidden;
}
.detail-hero-stunting {
    background: linear-gradient(135deg, #ffffff 0%, #f2fbf7 100%);
}
.detail-hero-bansos {
    background: linear-gradient(135deg, #ffffff 0%, #fff6f7 100%);
}
.detail-hero-idm {
    background: linear-gradient(135deg, #ffffff 0%, #fffbea 100%);
}
.detail-hero h1 {
    margin: 0 0 10px;
    font-size: 42px;
    line-height: 1.18;
}
.detail-lead {
    margin: 0;
    font-size: 15px;
    color: var(--muted);
}
.detail-illustration {
    display: grid;
    place-items: center;
}
.detail-illustration img {
    width: 100%;
    max-width: 310px;
    height: auto;
}
.metric-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}
.metric-card {
    background: rgba(255,255,255,.82);
    border: 1px solid #e4ede8;
    border-radius: 16px;
    padding: 16px;
}
.metric-card small {
    display: block;
    color: #6b7280;
    font-weight: 700;
    margin-bottom: 6px;
}
.metric-card strong {
    font-size: 22px;
    color: var(--green-dark);
}
.detail-stats-grid {
    margin-bottom: 24px;
}
.detail-stats-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}
.progress-box h3 {
    margin-bottom: 14px;
}
.progress-wrap {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
    align-items: center;
    margin-bottom: 12px;
}
.progress-bar {
    width: 100%;
    height: 18px;
    border-radius: 999px;
    background: #e6f1ed;
    overflow: hidden;
}
.progress-bar span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #40b585 0%, #7ad0ad 100%);
}
.progress-bar-gold span {
    background: linear-gradient(90deg, #f0bd39 0%, #ffd86d 100%);
}
.auth-links-row {
    display: flex;
    justify-content: flex-end;
    margin: -2px 0 16px;
}
.auth-links-row a {
    color: var(--green-dark);
    font-weight: 700;
}
.auth-action-row {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 10px;
    padding: 0 18px;
    font-weight: 800;
    border: 1px solid transparent;
}
.btn-green {
    background: var(--green);
    color: #fff;
}
.btn-green:hover {
    background: var(--green-dark);
}
.btn-outline-dark {
    background: #fff;
    border-color: #cad7d2;
    color: var(--text);
}
.floating-animate {
    animation: floatSoft 3.2s ease-in-out infinite;
}
@keyframes floatSoft {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@media (max-width: 991px) {
    .detail-hero,
    .detail-stats-grid-3,
    .metric-row {
        grid-template-columns: 1fr;
    }
    .detail-hero h1 {
        font-size: 34px;
    }
}
@media (max-width: 700px) {
    .article-hero-illustration {
        min-height: 210px;
    }
    .auth-action-row {
        flex-direction: column;
        align-items: stretch;
    }
    .btn {
        width: 100%;
    }
}

/* REVISI: PENCARIAN, OTP PASSWORD, DAN WIDGET KUNJUNGAN */
.search-card {
    max-width: 760px;
    margin: 0 auto;
}
.search-card .btn {
    gap: 8px;
}
.search-summary {
    max-width: 920px;
    margin: 28px auto 18px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    color: var(--text);
}
.search-summary span {
    color: var(--muted);
    font-weight: 600;
}
.search-results {
    max-width: 920px;
    margin: 0 auto;
    display: grid;
    gap: 16px;
}
.search-result-card {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 18px;
    transition: transform .18s ease, box-shadow .18s ease;
}
.search-result-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}
.search-result-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: #eaf7f2;
    color: var(--green-dark);
    font-size: 22px;
}
.search-result-card h3 {
    margin: 0 0 6px;
    font-size: 20px;
    line-height: 1.35;
}
.search-result-card p {
    margin: 0 0 10px;
    color: var(--muted);
}
.auth-reset-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    align-items: start;
    max-width: 1040px;
}
.otp-input {
    letter-spacing: 6px;
    text-align: center;
    font-weight: 800;
    font-size: 19px;
}
.auth-card .note {
    margin-bottom: 16px;
}
.auth-action-row {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.btn-outline-dark {
    background: #fff;
    border-color: #cad7d2;
    color: var(--text);
}
@media (max-width: 900px) {
    .auth-reset-grid {
        grid-template-columns: 1fr;
    }
    .search-summary {
        flex-direction: column;
        align-items: flex-start;
    }
    .search-result-card {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   KKN MATOBE 2026 FINAL FORCE OVERRIDE
   Semua hijau dipaksa menjadi #034AA6 dan background pantai.
   ========================================================= */
:root {
    --green: #034AA6 !important;
    --green-dark: #023675 !important;
    --mint: #034AA6 !important;
    --primary: #034AA6 !important;
    --primary-dark: #023675 !important;
    --primary-soft: #eef5ff !important;
}
.site-header,
.navbar,
.nav-menu.show,
.mobile-menu,
.btn-primary,
.btn-green,
.staff-info,
.bar-fill,
.data-table th,
.floating-pengaduan,
.mobile-toggle {
    background: #034AA6 !important;
}
.site-header.home-transparent,
.navbar.scrolled {
    background: rgba(3, 74, 166, .74) !important;
}
.site-header.home-transparent.scrolled {
    background: rgba(3, 74, 166, .98) !important;
}
.home-hero,
.hero,
.hero-section {
    background: #023675 !important;
}
.home-hero::before,
.hero::before,
.hero-section::before {
    background: linear-gradient(rgba(2, 15, 40, .47), rgba(2, 15, 40, .58)), url('../images/bg-matobe-beach.jpg') center/cover no-repeat !important;
}
.btn-light,
.quick-card i,
.explore-card i,
.read-link,
.breadcrumb a,
.section-title,
.apb-box strong,
.stat-box strong,
.pill-card strong,
.nav-link:hover,
.nav-toggle:hover,
a:hover {
    color: #034AA6 !important;
}
.dropdown a:hover,
.quick-card:hover {
    background: #eef5ff !important;
    color: #034AA6 !important;
}
.site-footer.kkn-footer,
.kkn-footer {
    background: linear-gradient(135deg, rgba(1, 10, 31, .96), rgba(3, 35, 80, .92)), url('../images/bg-matobe-beach.jpg') center/cover no-repeat !important;
    color: #fff !important;
    margin-top: 64px !important;
    padding: 58px 0 24px !important;
}
.kkn-footer .container { max-width: 1180px !important; }
.kkn-footer-grid {
    display: grid !important;
    grid-template-columns: 1.35fr .95fr .95fr 1.15fr !important;
    gap: 42px !important;
    align-items: start !important;
}
.kkn-footer-logo {
    width: 132px !important;
    height: auto !important;
    margin: 0 0 16px 0 !important;
    object-fit: contain !important;
}
.kkn-footer h3,
.kkn-footer h4 {
    color: #fff !important;
    margin: 0 0 16px !important;
    font-weight: 800 !important;
}
.kkn-footer h3 { font-size: 30px !important; line-height: 1.15 !important; }
.kkn-footer h4 { font-size: 18px !important; }
.kkn-footer p,
.kkn-footer a,
.kkn-footer li {
    color: rgba(255, 255, 255, .86) !important;
    font-size: 14px !important;
    line-height: 1.75 !important;
    text-decoration: none !important;
}
.kkn-footer a:hover { color: #ffffff !important; }
.kkn-footer-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.kkn-footer-list li { margin: 0 0 11px !important; }
.kkn-footer-list i,
.kkn-contact-item i,
.kkn-footer-bottom b {
    color: #034AA6 !important;
}
.kkn-footer-list i {
    width: 24px !important;
    margin-right: 8px !important;
}
.kkn-mentawai-card {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    margin-top: 22px !important;
    padding-top: 18px !important;
    border-top: 1px solid rgba(255,255,255,.14) !important;
}
.kkn-mentawai-card img {
    width: 70px !important;
    height: auto !important;
    flex: none !important;
}
.kkn-mentawai-card strong { color: #fff !important; display:block !important; margin-bottom: 4px !important; }
.kkn-contact-item {
    display: flex !important;
    gap: 14px !important;
    align-items: flex-start !important;
    margin-bottom: 17px !important;
}
.kkn-contact-item i {
    width: 42px !important;
    height: 42px !important;
    border-radius: 12px !important;
    background: rgba(3, 74, 166, .22) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: none !important;
    font-size: 18px !important;
}
.kkn-footer-bottom {
    text-align: center !important;
    margin-top: 38px !important;
    padding-top: 20px !important;
    border-top: 1px solid rgba(255,255,255,.17) !important;
    color: rgba(255,255,255,.88) !important;
}
@media (max-width: 991px) {
    .kkn-footer-grid { grid-template-columns: 1fr 1fr !important; gap: 28px !important; }
}
@media (max-width: 640px) {
    .kkn-footer-grid { grid-template-columns: 1fr !important; }
    .kkn-footer h3 { font-size: 25px !important; }
}


/* =========================================================
   V5: KKN MATOBE UNP 2026 + HEADER DASHBOARD TRANSPARAN
   ========================================================= */
:root {
    --green: #034AA6 !important;
    --green-dark: #023675 !important;
    --mint: #034AA6 !important;
    --primary: #034AA6 !important;
    --primary-dark: #023675 !important;
    --primary-soft: #eef5ff !important;
}

.site-header .brand-logo,
.navbar .brand-logo {
    background: rgba(255,255,255,.95) !important;
    border-radius: 14px !important;
    width: 54px !important;
    height: 54px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    box-shadow: 0 8px 22px rgba(0,0,0,.15) !important;
}
.site-header .brand-logo img,
.navbar .brand-logo img {
    width: 46px !important;
    height: 46px !important;
    object-fit: contain !important;
    display: block !important;
}
.site-header .brand-text strong,
.navbar .brand-text strong {
    letter-spacing: .3px !important;
}

/* Header dashboard transparan agar background pantai terlihat */
body.admin-dashboard-page {
    background: linear-gradient(rgba(2, 15, 40, .70), rgba(2, 15, 40, .78)), url('../images/bg-matobe-beach.jpg') center/cover fixed no-repeat !important;
    min-height: 100vh !important;
}
body.admin-dashboard-page main {
    padding-top: 92px !important;
}
body.admin-dashboard-page .section {
    background: transparent !important;
}
.site-header.dashboard-transparent,
body.admin-dashboard-page .site-header,
body.admin-dashboard-page .navbar {
    background: rgba(2, 15, 40, .18) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    box-shadow: none !important;
    border-bottom: 1px solid rgba(255,255,255,.16) !important;
}
.site-header.dashboard-transparent.scrolled,
body.admin-dashboard-page .site-header.scrolled,
body.admin-dashboard-page .navbar.scrolled {
    background: rgba(3, 74, 166, .72) !important;
    box-shadow: 0 14px 34px rgba(0,0,0,.18) !important;
}
body.admin-dashboard-page .section-title,
body.admin-dashboard-page .section-subtitle,
body.admin-dashboard-page .dashboard-heading {
    color: #fff !important;
    text-shadow: 0 2px 12px rgba(0,0,0,.28) !important;
}
body.admin-dashboard-page .dashboard-hero,
body.admin-dashboard-page .dashboard-card,
body.admin-dashboard-page .finance-card,
body.admin-dashboard-page .quick-admin-card {
    background: rgba(255,255,255,.92) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
}

/* Logo KKN hanya ditampilkan di area footer/about, bukan header */
.kkn-logo-card {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    margin-top: 22px !important;
    padding-top: 18px !important;
    border-top: 1px solid rgba(255,255,255,.14) !important;
}
.kkn-logo-card img.kkn-footer-logo {
    width: 86px !important;
    max-width: 86px !important;
    height: auto !important;
    object-fit: contain !important;
    flex: none !important;
    margin: 0 !important;
}
.kkn-logo-card strong,
.kkn-mentawai-card strong {
    color: #fff !important;
    display: block !important;
    margin-bottom: 4px !important;
}
.kkn-footer h3 {
    font-size: 28px !important;
    line-height: 1.2 !important;
}
.kkn-footer-bottom b,
.kkn-footer-list i,
.kkn-contact-item i {
    color: #034AA6 !important;
}

/* ===== V6 KKN MATOBE UNP FIXES ===== */
.site-header .brand-logo,
.navbar .brand-logo {
    background: transparent !important;
    border-radius: 0 !important;
    width: 62px !important;
    height: 62px !important;
    box-shadow: none !important;
    overflow: visible !important;
    padding: 0 !important;
}
.site-header .brand-logo img,
.navbar .brand-logo img {
    width: 62px !important;
    height: 62px !important;
    object-fit: contain !important;
    display: block !important;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,.18));
}

/* Header dashboard sangat transparan, lalu biru saat discroll */
.site-header.dashboard-transparent,
body.admin-dashboard-page .site-header,
body.admin-dashboard-page .navbar {
    background: rgba(2, 15, 40, .03) !important;
    backdrop-filter: blur(2px) !important;
    -webkit-backdrop-filter: blur(2px) !important;
    box-shadow: none !important;
    border-bottom: 1px solid rgba(255,255,255,.08) !important;
}
.site-header.dashboard-transparent.scrolled,
body.admin-dashboard-page .site-header.scrolled,
body.admin-dashboard-page .navbar.scrolled {
    background: rgba(3, 74, 166, .94) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    box-shadow: 0 14px 34px rgba(0,0,0,.18) !important;
}

/* Dropdown/touch lebih stabil dan mudah ditekan */
.nav-toggle,
.mobile-toggle {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
.nav-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    min-height: 44px !important;
    padding: 0 10px !important;
}
.nav-toggle i,
.mobile-toggle i {
    pointer-events: none;
}
@media (max-width: 991px) {
    .nav-item {
        width: 100%;
    }
    .nav-item.has-dropdown > .nav-toggle,
    .nav-link,
    .logout-btn {
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        min-height: 48px !important;
        padding: 14px 4px !important;
    }
    .nav-item.has-dropdown > .nav-toggle i {
        font-size: 13px !important;
    }
    .dropdown {
        margin-top: 4px !important;
    }
    .dropdown a {
        padding: 12px 14px !important;
        min-height: 42px !important;
        display: flex !important;
        align-items: center !important;
    }
}


/* ===== V7 FOOTER & HEADER TEXT FIX ===== */
/* Header sudah menggunakan logo Kabupaten Mentawai, teks brand diganti via Blade */

.kkn-footer-list i,
.kkn-contact-item i {
    color: #ffffff !important;
}

/* Ikon kontak tetap berbentuk tombol, tetapi icon-nya putih seperti referensi */
.kkn-contact-item i {
    background: rgba(255,255,255,.12) !important;
    border: 1px solid rgba(255,255,255,.18) !important;
}

/* Rapikan area label logo KKN pada footer */
.kkn-logo-card strong {
    color: #ffffff !important;
    font-weight: 900 !important;
    letter-spacing: .1px !important;
}
.kkn-logo-card p {
    margin: 0 !important;
}

/* Footer bawah lebih rapi dan sejajar */
.kkn-footer-bottom {
    width: 100% !important;
    margin-top: 34px !important;
    padding: 20px 0 2px !important;
    border-top: 1px solid rgba(255,255,255,.22) !important;
    color: rgba(255,255,255,.94) !important;
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
}
.kkn-footer-bottom span,
.kkn-footer-bottom b {
    color: #ffffff !important;
}
.kkn-footer-bottom b {
    font-weight: 900 !important;
}

/* Agar footer tetap proporsional di layar kecil */
@media (max-width: 991px) {
    .kkn-footer-bottom {
        margin-top: 28px !important;
        padding-top: 18px !important;
    }
}
