/* ============================================================
   DIREKTORI DESA INDONESIA — Main Stylesheet
   ============================================================ */

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

:root {
    --primary:      #1a6b3c;
    --primary-dark: #14522e;
    --primary-light:#e8f5ee;
    --secondary:    #f4a024;
    --accent:       #2196f3;
    --danger:       #e53e3e;
    --success:      #38a169;
    --warning:      #d69e2e;
    --text:         #1a202c;
    --text-muted:   #718096;
    --bg:           #f7fafc;
    --white:        #ffffff;
    --border:       #e2e8f0;
    --radius:       10px;
    --radius-lg:    16px;
    --shadow:       0 2px 12px rgba(0,0,0,.08);
    --shadow-md:    0 4px 24px rgba(0,0,0,.12);
    --font:         'Segoe UI', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.7; font-size: 16px; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
h1,h2,h3,h4 { line-height: 1.3; }

/* ── LAYOUT ──────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.site-main  { min-height: 60vh; }

/* ── NAVBAR ──────────────────────────────────────────────── */
.site-header { background: var(--white); border-bottom: 2px solid var(--primary); position: sticky; top: 0; z-index: 1000; box-shadow: var(--shadow); }
.navbar { padding: .75rem 0; }
.navbar .container { display: flex; align-items: center; gap: 1.5rem; }
.navbar-brand { display: flex; align-items: center; gap: .5rem; font-size: 1.4rem; font-weight: 800; color: var(--primary); text-decoration: none; }
.brand-icon { font-size: 1.6rem; }
.brand-text strong { color: var(--secondary); }

.navbar-menu { display: flex; list-style: none; gap: .25rem; }
.navbar-menu a { padding: .5rem .85rem; border-radius: var(--radius); color: var(--text); font-weight: 500; white-space: nowrap; transition: background .2s; }
.navbar-menu a:hover { background: var(--primary-light); color: var(--primary); text-decoration: none; }
.navbar-menu .has-dropdown { position: relative; }
.navbar-menu .has-dropdown:hover .dropdown { display: block; }
.dropdown { display: none; position: absolute; top: 100%; left: 0; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); min-width: 200px; box-shadow: var(--shadow-md); z-index: 100; padding: .5rem; }
.dropdown li { list-style: none; }
.dropdown a { display: block; padding: .4rem .75rem; border-radius: 6px; color: var(--text); font-weight: 400; }
.dropdown a:hover { background: var(--primary-light); text-decoration: none; }

.search-form-mini { display: flex; border: 1.5px solid var(--border); border-radius: 25px; overflow: hidden; margin-left: auto; }
.search-form-mini input { padding: .4rem .85rem; border: none; outline: none; font-size: .875rem; width: 200px; }
.search-form-mini button { background: var(--primary); color: white; border: none; padding: .4rem .85rem; cursor: pointer; }

.navbar-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; }

/* ── HERO ────────────────────────────────────────────────── */
.hero { background: linear-gradient(135deg, var(--primary) 0%, #0d4a2a 100%); color: white; padding: 5rem 0 4rem; }
.hero .container { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: center; }
.hero-title { font-size: 3rem; font-weight: 900; line-height: 1.15; margin-bottom: 1rem; }
.hero-title .highlight { color: var(--secondary); }
.hero-subtitle { font-size: 1.1rem; opacity: .9; margin-bottom: 2rem; }

.search-hero { display: flex; background: white; border-radius: 50px; overflow: hidden; box-shadow: var(--shadow-md); max-width: 560px; }
.search-hero input { flex: 1; padding: 1rem 1.5rem; border: none; outline: none; font-size: 1rem; color: var(--text); }
.search-hero button { background: var(--secondary); color: white; border: none; padding: 1rem 1.75rem; font-size: 1rem; font-weight: 700; cursor: pointer; white-space: nowrap; transition: background .2s; }
.search-hero button:hover { background: #d4880a; }

.hero-stats { display: flex; flex-direction: column; gap: 1rem; }
.stat-card { background: rgba(255,255,255,.15); backdrop-filter: blur(8px); border-radius: var(--radius); padding: 1.25rem 1.75rem; text-align: center; border: 1px solid rgba(255,255,255,.2); }
.stat-number { display: block; font-size: 2rem; font-weight: 900; color: var(--secondary); }
.stat-label  { font-size: .8rem; opacity: .85; text-transform: uppercase; letter-spacing: .5px; }

/* ── SECTIONS ────────────────────────────────────────────── */
.section { padding: 4rem 0; }
.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-header h2 { font-size: 2rem; color: var(--primary); margin-bottom: .5rem; }
.section-header p  { color: var(--text-muted); }

/* ── ARTIKEL CARDS ───────────────────────────────────────── */
.artikel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; }
.artikel-card { background: white; border-radius: var(--radius-lg); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; overflow: hidden; border: 1px solid var(--border); }
.artikel-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.artikel-card-body { padding: 1.5rem; }
.artikel-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: .75rem; flex-wrap: wrap; gap: .5rem; }
.badge-provinsi { background: var(--primary-light); color: var(--primary); font-size: .72rem; font-weight: 700; padding: .25rem .6rem; border-radius: 20px; text-transform: uppercase; letter-spacing: .5px; }
.artikel-date { font-size: .78rem; color: var(--text-muted); }
.artikel-title { font-size: 1.05rem; margin-bottom: .5rem; line-height: 1.4; }
.artikel-title a { color: var(--text); }
.artikel-title a:hover { color: var(--primary); text-decoration: none; }
.artikel-excerpt { font-size: .875rem; color: var(--text-muted); margin-bottom: 1rem; }
.artikel-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem; }
.btn-read { color: var(--primary); font-weight: 600; font-size: .875rem; }
.btn-read:hover { text-decoration: none; color: var(--primary-dark); }
.lokasi-tag { font-size: .8rem; color: var(--text-muted); }

/* ── PROVINSI GRID ───────────────────────────────────────── */
.provinsi-grid { display: flex; flex-wrap: wrap; gap: .75rem; }
.provinsi-card { background: white; border: 1.5px solid var(--border); border-radius: 25px; padding: .5rem 1.25rem; font-size: .9rem; font-weight: 500; color: var(--text); transition: all .2s; }
.provinsi-card:hover { background: var(--primary); color: white; border-color: var(--primary); text-decoration: none; }

/* ── FEATURES ────────────────────────────────────────────── */
.section-features { background: var(--primary-light); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.feature-card { background: white; border-radius: var(--radius-lg); padding: 1.75rem; text-align: center; box-shadow: var(--shadow); }
.feature-icon { font-size: 2.5rem; display: block; margin-bottom: .75rem; }
.feature-card h3 { font-size: 1.1rem; margin-bottom: .5rem; color: var(--primary); }
.feature-card p  { font-size: .875rem; color: var(--text-muted); }

/* ── DESA DETAIL PAGE ────────────────────────────────────── */
.desa-container { padding-top: 1.5rem; padding-bottom: 3rem; }
.desa-header { margin-bottom: 2rem; }
.desa-title  { font-size: 2rem; color: var(--primary); margin-bottom: .75rem; }
.desa-meta-info { display: flex; flex-wrap: wrap; gap: .5rem; }
.desa-badge { background: var(--primary-light); color: var(--primary); padding: .3rem .75rem; border-radius: 20px; font-size: .8rem; font-weight: 600; }
.desa-badge-prov { background: #fff3cd; color: #7d5a00; }

.desa-layout { display: grid; grid-template-columns: 1fr 320px; gap: 2.5rem; align-items: start; }
.desa-content { min-width: 0; }
.desa-sidebar { position: sticky; top: 5rem; }

/* Artikel body */
.artikel-body { background: white; border-radius: var(--radius-lg); padding: 2.25rem; box-shadow: var(--shadow); margin-bottom: 2rem; line-height: 1.85; }
.artikel-body h2 { font-size: 1.4rem; color: var(--primary); margin: 1.75rem 0 .75rem; padding-bottom: .4rem; border-bottom: 2px solid var(--primary-light); }
.artikel-body h3 { font-size: 1.15rem; color: var(--primary-dark); margin: 1.25rem 0 .5rem; }
.artikel-body p  { margin-bottom: 1rem; }

/* Map */
.desa-section { background: white; border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow); margin-bottom: 2rem; }
.desa-section h2 { font-size: 1.25rem; color: var(--primary); margin-bottom: 1rem; }
.map-container { height: 350px; border-radius: var(--radius); overflow: hidden; border: 2px solid var(--border); }
.map-caption { font-size: .8rem; color: var(--text-muted); margin-top: .5rem; }
.map-marker { font-size: 1.75rem; line-height: 1; }

/* Wisata */
.wisata-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.wisata-card { display: flex; gap: .75rem; padding: 1rem; background: var(--bg); border-radius: var(--radius); border: 1px solid var(--border); }
.wisata-icon { font-size: 1.75rem; flex-shrink: 0; }
.wisata-info h4 { font-size: .9rem; margin-bottom: .25rem; }
.wisata-distance { font-size: .78rem; color: var(--text-muted); }
.wisata-type { font-size: .72rem; background: var(--primary-light); color: var(--primary); padding: .15rem .5rem; border-radius: 10px; }

/* Produk */
.produk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.produk-card { padding: 1.1rem; background: #fffbf0; border: 1px solid #f4a024; border-radius: var(--radius); }
.produk-card h4 { font-size: .95rem; margin-bottom: .4rem; color: var(--primary-dark); }
.produk-card p  { font-size: .8rem; color: var(--text-muted); margin-bottom: .5rem; }
.produk-kategori { font-size: .72rem; background: var(--secondary); color: white; padding: .15rem .5rem; border-radius: 10px; }

/* Sidebar cards */
.sidebar-card { background: white; border-radius: var(--radius-lg); padding: 1.25rem; box-shadow: var(--shadow); margin-bottom: 1.5rem; border: 1px solid var(--border); }
.sidebar-card h3 { font-size: 1rem; color: var(--primary); margin-bottom: .85rem; padding-bottom: .5rem; border-bottom: 1px solid var(--border); }
.info-table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.info-table td { padding: .4rem .25rem; border-bottom: 1px solid var(--bg); }
.info-table td:first-child { color: var(--text-muted); width: 40%; }
.desa-list { list-style: none; }
.desa-list li { padding: .35rem 0; border-bottom: 1px solid var(--bg); font-size: .875rem; }
.coming-soon { color: var(--text-muted); }
.coming-soon small { font-size: .75rem; }

/* ── BREADCRUMB ──────────────────────────────────────────── */
.breadcrumb-nav { margin-bottom: 1.25rem; }
.breadcrumb { display: flex; flex-wrap: wrap; list-style: none; gap: .25rem; font-size: .83rem; }
.breadcrumb-item + .breadcrumb-item::before { content: '›'; margin-right: .25rem; color: var(--text-muted); }
.breadcrumb-item a { color: var(--primary); }
.breadcrumb-item.active { color: var(--text-muted); }

/* ── WILAYAH LISTING ─────────────────────────────────────── */
.wilayah-header { margin: 1.5rem 0 2rem; }
.wilayah-header h1 { font-size: 1.9rem; color: var(--primary); }
.wilayah-sub { color: var(--text-muted); margin: .25rem 0; }
.wilayah-count { font-size: .875rem; color: var(--text-muted); margin-top: .25rem; }
.children-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .85rem; margin-bottom: 3rem; }
.child-card { display: flex; justify-content: space-between; align-items: center; background: white; border: 1.5px solid var(--border); border-radius: var(--radius); padding: .85rem 1.1rem; transition: all .2s; }
.child-card:hover { border-color: var(--primary); background: var(--primary-light); text-decoration: none; }
.child-card.has-artikel { border-color: var(--success); }
.child-name { font-weight: 500; color: var(--text); font-size: .95rem; }
.child-badge { font-size: .72rem; color: var(--success); font-weight: 700; }
.child-badge-soon { font-size: .72rem; color: var(--text-muted); }

/* ── SEARCH PAGE ─────────────────────────────────────────── */
.search-page-header { text-align: center; padding: 3rem 0 2rem; }
.search-page-header h1 { font-size: 2rem; margin-bottom: 1.25rem; color: var(--primary); }
.search-form-big { display: flex; border: 2px solid var(--primary); border-radius: 50px; overflow: hidden; max-width: 600px; margin: 0 auto; }
.search-form-big input { flex: 1; padding: .9rem 1.5rem; border: none; outline: none; font-size: 1rem; }
.search-form-big button { background: var(--primary); color: white; border: none; padding: .9rem 1.75rem; font-weight: 700; cursor: pointer; }
.search-results-info { margin-bottom: 1.5rem; color: var(--text-muted); }
.search-tips { background: white; border-radius: var(--radius-lg); padding: 2rem; max-width: 500px; margin: 2rem auto; }
.search-tips h3 { margin-bottom: 1rem; color: var(--primary); }
.search-tips ul { padding-left: 1.5rem; color: var(--text-muted); }
.search-tips li { margin-bottom: .5rem; }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn-primary   { display: inline-block; background: var(--primary); color: white; padding: .75rem 1.75rem; border-radius: 50px; font-weight: 700; border: none; cursor: pointer; transition: background .2s; text-decoration: none; }
.btn-primary:hover { background: var(--primary-dark); text-decoration: none; color: white; }
.btn-secondary { display: inline-block; background: white; color: var(--primary); border: 2px solid var(--primary); padding: .7rem 1.75rem; border-radius: 50px; font-weight: 700; cursor: pointer; transition: all .2s; text-decoration: none; }
.btn-secondary:hover { background: var(--primary-light); text-decoration: none; }
.btn-full { width: 100%; text-align: center; }

/* ── PAGINATION ──────────────────────────────────────────── */
.pagination { display: flex; gap: .5rem; justify-content: center; margin-top: 2rem; flex-wrap: wrap; }
.page-btn { padding: .4rem .85rem; border: 1.5px solid var(--border); border-radius: 6px; color: var(--text); font-size: .875rem; }
.page-btn:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }
.page-btn.active { background: var(--primary); color: white; border-color: var(--primary); }

/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer { background: #1a202c; color: #cbd5e0; padding: 3rem 0 0; margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2rem; }
.footer-col h4 { color: white; margin-bottom: 1rem; font-size: 1rem; }
.footer-col p  { font-size: .875rem; line-height: 1.7; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: .4rem; }
.footer-col a  { color: #a0aec0; font-size: .875rem; }
.footer-col a:hover { color: white; text-decoration: none; }
.footer-bottom { border-top: 1px solid #2d3748; padding: 1.25rem 0; text-align: center; font-size: .8rem; color: #718096; }
.empty-state { text-align: center; padding: 3rem; color: var(--text-muted); background: white; border-radius: var(--radius-lg); }

/* ── ADMIN STYLES ────────────────────────────────────────── */
.admin-body { background: #f1f5f9; }
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar { width: 240px; background: var(--primary-dark); color: white; padding: 1.5rem 1rem; flex-shrink: 0; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.admin-logo-wrap { font-size: 1.1rem; font-weight: 800; padding: .75rem .5rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,.15); margin-bottom: 1rem; }
.admin-nav a { display: block; padding: .6rem .85rem; border-radius: 8px; color: rgba(255,255,255,.75); font-size: .9rem; margin-bottom: .2rem; transition: all .2s; }
.admin-nav a:hover, .admin-nav a.active { background: rgba(255,255,255,.15); color: white; text-decoration: none; }
.admin-nav hr { border: none; border-top: 1px solid rgba(255,255,255,.15); margin: .75rem 0; }
.admin-nav .logout { color: #fc8181 !important; }
.admin-main { flex: 1; padding: 2rem; overflow-x: auto; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.75rem; flex-wrap: wrap; gap: .75rem; }
.admin-header h1 { font-size: 1.6rem; color: var(--primary-dark); }

.admin-card { background: white; border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow); margin-bottom: 1.5rem; }
.admin-card h3 { font-size: 1.1rem; margin-bottom: 1.1rem; color: var(--primary-dark); }
.card-header-flex { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }

.stat-grid-admin { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.stat-card-admin { background: white; border-radius: var(--radius); padding: 1.25rem; display: flex; gap: 1rem; align-items: center; box-shadow: var(--shadow); border-left: 4px solid var(--border); }
.stat-card-admin.green  { border-color: var(--success); }
.stat-card-admin.yellow { border-color: var(--warning); }
.stat-card-admin.blue   { border-color: var(--accent); }
.stat-card-admin.orange { border-color: var(--secondary); }
.stat-icon { font-size: 1.75rem; }
.stat-val  { font-size: 1.6rem; font-weight: 800; line-height: 1; color: var(--primary-dark); }
.stat-lbl  { font-size: .78rem; color: var(--text-muted); }

.progress-wrap { height: 16px; background: var(--bg); border-radius: 10px; overflow: hidden; margin-bottom: .5rem; }
.progress-bar  { height: 100%; background: linear-gradient(90deg, var(--primary), var(--secondary)); border-radius: 10px; transition: width .5s; }

.admin-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.admin-table th { background: var(--bg); padding: .65rem .85rem; text-align: left; font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .5px; color: var(--text-muted); }
.admin-table td { padding: .65rem .85rem; border-bottom: 1px solid var(--bg); }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: #f8fafc; }

.badge { display: inline-block; padding: .2rem .6rem; border-radius: 20px; font-size: .72rem; font-weight: 700; text-transform: uppercase; }
.badge-published { background: #c6f6d5; color: #276749; }
.badge-draft     { background: #fefcbf; color: #7d5a00; }
.badge-rejected  { background: #fed7d7; color: #c53030; }

.action-btns { display: flex; gap: .4rem; flex-wrap: wrap; }
.btn-sm       { padding: .3rem .7rem; border-radius: 6px; font-size: .78rem; font-weight: 600; background: var(--bg); color: var(--text); border: 1px solid var(--border); cursor: pointer; }
.btn-sm:hover { background: var(--border); text-decoration: none; }
.btn-sm.btn-green { background: #c6f6d5; color: #276749; border-color: #9ae6b4; }
.btn-sm.btn-red   { background: #fed7d7; color: #c53030; border-color: #feb2b2; }

.filter-tabs { display: flex; gap: .5rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.filter-tabs a { padding: .4rem .9rem; border-radius: 20px; font-size: .85rem; background: white; border: 1.5px solid var(--border); color: var(--text); }
.filter-tabs a:hover, .filter-tabs a.active { background: var(--primary); color: white; border-color: var(--primary); text-decoration: none; }

.admin-login-wrap { display: flex; align-items: center; justify-content: center; min-height: 100vh; }
.admin-login-card { background: white; padding: 2.5rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; max-width: 380px; text-align: center; }
.admin-logo { font-size: 3.5rem; margin-bottom: .5rem; }
.admin-login-card h1 { font-size: 1.5rem; color: var(--primary); }
.admin-subtitle { color: var(--text-muted); margin-bottom: 1.75rem; }
.login-form { text-align: left; margin-top: 1.5rem; }

.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: .875rem; font-weight: 600; margin-bottom: .4rem; color: var(--text); }
.form-group input { width: 100%; padding: .65rem .9rem; border: 1.5px solid var(--border); border-radius: 8px; font-size: .95rem; outline: none; transition: border .2s; }
.form-group input:focus { border-color: var(--primary); }
.form-group small { font-size: .78rem; color: var(--text-muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.alert { padding: .9rem 1.1rem; border-radius: var(--radius); margin-bottom: 1.25rem; font-size: .9rem; }
.alert-success { background: #c6f6d5; color: #276749; border: 1px solid #9ae6b4; }
.alert-error   { background: #fed7d7; color: #c53030; border: 1px solid #feb2b2; }

.log-box { background: #1a202c; color: #68d391; border-radius: var(--radius); padding: 1rem 1.25rem; font-family: monospace; font-size: .82rem; margin-bottom: 1rem; max-height: 200px; overflow-y: auto; }
.log-box p { margin-bottom: .25rem; }

.code-box { background: #1a202c; color: #a0aec0; border-radius: var(--radius); padding: .9rem 1.1rem; font-family: monospace; font-size: .85rem; overflow-x: auto; margin: .75rem 0; }
.quick-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.text-muted { color: var(--text-muted); font-size: .875rem; }
.text-muted a { color: var(--accent); }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 900px) {
    .hero .container { grid-template-columns: 1fr; }
    .hero-stats { flex-direction: row; flex-wrap: wrap; }
    .stat-card { flex: 1; min-width: 120px; }
    .desa-layout { grid-template-columns: 1fr; }
    .desa-sidebar { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .admin-layout { flex-direction: column; }
    .admin-sidebar { width: 100%; height: auto; position: static; }
    .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 0.95rem; }
    
    .search-hero { flex-direction: column; border-radius: 16px; background: transparent; box-shadow: none; gap: 10px; width: 100%; }
    .search-hero input { border-radius: 50px; padding: 1rem 1.2rem; width: 100%; box-shadow: var(--shadow); min-width: 0; font-size: 0.9rem; }
    .search-hero button { border-radius: 50px; padding: 1rem 1.2rem; width: 100%; box-shadow: var(--shadow); font-size: 1rem; }
    
    .hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
    .stat-card { padding: 0.8rem 0.2rem; min-width: 0; }
    .stat-number { font-size: 1.2rem; }
    .stat-label { font-size: 0.6rem; letter-spacing: 0; word-break: break-word; }

    .navbar-menu { display: none; }
    .navbar-menu.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: white; padding: 1rem; box-shadow: var(--shadow-md); z-index: 999; }
    .navbar-toggle { display: block; }
    .search-form-mini { display: none; }
    .footer-grid { grid-template-columns: 1fr; }
    .stat-grid-admin { grid-template-columns: 1fr 1fr; }
    .artikel-grid { grid-template-columns: 1fr; }
    .children-grid { grid-template-columns: 1fr 1fr; }
}

 / *   L O K E R   S P E C I F I C   * / 
 . a r t i k e l - b o d y   u l   {   p a d d i n g - l e f t :   1 . 5 r e m ;   m a r g i n - b o t t o m :   1 r e m ;   } 
 . a r t i k e l - b o d y   l i   {   m a r g i n - b o t t o m :   0 . 5 r e m ;   } 
  
 