/* ===== Bodemkaartnederland.nl — Stylesheet ===== */

:root {
    /* Brand — aardetinten (bodem/grond) */
    --primary: #8A5A2B;          /* CTA backgrounds — warm aarde-bruin */
    --primary-dark: #6B4423;     /* headings, dark accents (AA on white) */
    --primary-light: #B8895A;    /* highlights on dark bg */
    --accent: #3E5C3A;           /* mosgroen accent */
    --accent-dark: #2C4429;
    --link: #7A4A1E;             /* body-text links — AA on white/cream */
    --danger: #B71C1C;
    --success: #2C5E1A;
    /* Surfaces */
    --bg: #FBF6EE;               /* page background — warm zand-creme */
    --bg-white: #ffffff;
    --bg-card: #ffffff;
    --bg-soft: #F3EADD;          /* slightly deeper for grouping */
    /* Text — all AA-compliant */
    --text: #1a1a2e;             /* primary text */
    --text-light: #404656;       /* secondary text */
    --text-muted: #5b6472;       /* tertiary / meta */
    /* Borders */
    --border: #ddd2c2;
    --border-light: #ece4d7;
    --border-strong: #b9a98f;
    /* Geometry */
    --radius: 8px;
    --radius-lg: 12px;
    --shadow: 0 2px 8px rgba(74,53,23,0.08);
    --shadow-lg: 0 6px 24px rgba(74,53,23,0.14);
    --shadow-inset: inset 0 -1px 0 rgba(0,0,0,0.04);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

a { color: var(--link); text-decoration: none; }
a:hover { color: var(--primary-dark); text-decoration: underline; text-underline-offset: 2px; }

/* Keyboard accessibility */
*:focus-visible {
    outline: 3px solid var(--primary-light);
    outline-offset: 2px;
    border-radius: 4px;
}
input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: none;
}

img { max-width: 100%; height: auto; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border: none;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); color: #fff; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #c1121f; color: #fff; }
.btn-outline { background: transparent; border: 2px solid var(--link); color: var(--link); }
.btn-outline:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-primary, .btn-accent, .btn-danger { box-shadow: 0 1px 2px rgba(0,0,0,0.08); }
.btn-primary:hover, .btn-accent:hover, .btn-danger:hover { transform: translateY(-1px); box-shadow: 0 4px 10px rgba(0,0,0,0.12); }
.btn-sm { padding: 6px 14px; font-size: 0.85rem; }
.btn-lg { padding: 14px 28px; font-size: 1.1rem; }

/* ===== Header ===== */
.site-header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 1px 0 rgba(0,0,0,0.03), 0 4px 16px -10px rgba(91,72,15,0.18);
    position: sticky;
    top: 0;
    z-index: 1100;
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.3rem;
    color: var(--text);
}
.logo:hover { color: var(--primary); }
.logo-icon { font-size: 1.6rem; }
.logo-text { letter-spacing: -0.5px; }

.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav a:not(.btn) { color: var(--text); font-weight: 500; font-size: 0.95rem; }
.main-nav a:not(.btn):hover { color: var(--primary-dark); text-decoration: none; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: 0.2s;
}

/* ===== Flash Messages ===== */
.flash {
    padding: 12px 20px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.95rem;
    font-weight: 500;
}
.flash-success { background: #d4edda; color: #155724; }
.flash-error { background: #f8d7da; color: #721c24; }
.flash-close {
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: inherit;
    opacity: 0.7;
}

/* ===== Main Content ===== */
.main-content {
    min-height: calc(100vh - 64px - 200px);
    padding: 40px 0;
}
.main-content .container { max-width: 800px; }

/* ===== MAP PAGE ===== */
/* On map page, the body scrolls so the SEO content & footer below the map are reachable */
body.map-page {
    /* keep default: scroll allowed */
}
.main-map {
    display: block;
    width: 100%;
}
.map-flex {
    display: flex;
    height: calc(100vh - 64px); /* viewport minus sticky header */
    width: 100%;
}

/* Sidebar */
.map-sidebar {
    width: 340px;
    min-width: 340px;
    background: var(--bg-white);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    z-index: 50;
    overflow-y: auto;
}
.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-light);
}
.sidebar-header .logo { margin-bottom: 4px; }
.sidebar-header p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}
.sidebar-actions {
    padding: 12px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-bottom: 1px solid var(--border-light);
}
.sidebar-actions .btn { justify-content: center; width: 100%; }

.sidebar-section {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-light);
}
.sidebar-section h3 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

/* Filters */
.filter-group { display: flex; flex-direction: column; gap: 6px; }
.filter-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    cursor: pointer;
}
.filter-item input[type="checkbox"] { accent-color: var(--primary); }
.filter-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.date-filters {
    display: flex;
    gap: 6px;
    margin-top: 10px;
}
.date-filters input {
    flex: 1;
    min-width: 0;
    padding: 6px 6px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.8rem;
    max-width: 50%;
}

/* Recent sightings in sidebar */
.recent-list { display: flex; flex-direction: column; gap: 8px; }
.recent-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px;
    border-radius: var(--radius);
    transition: background 0.15s;
    cursor: pointer;
    text-decoration: none;
    color: var(--text);
}
.recent-item:hover { background: var(--bg); color: var(--text); }
.recent-icon { font-size: 1.3rem; line-height: 1; }
.recent-info { flex: 1; }
.recent-info strong { font-size: 0.85rem; display: block; }
.recent-info span { font-size: 0.75rem; color: var(--text-muted); }

/* Map container */
.map-container {
    flex: 1;
    position: relative;
}
#map { width: 100%; height: 100%; }

/* Custom Leaflet popup */
.hornet-popup { min-width: 220px; }
.hornet-popup .popup-category {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 20px;
    margin-bottom: 6px;
}
.hornet-popup .popup-location {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 2px;
}
.hornet-popup .popup-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}
.hornet-popup .popup-desc {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 8px;
    line-height: 1.4;
}
.hornet-popup .popup-thumb {
    width: 100%;
    border-radius: var(--radius);
    margin-bottom: 8px;
}
.hornet-popup .popup-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--link);
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

/* Sidebar stats */
.sidebar-stats {
    display: flex;
    gap: 12px;
}
.sidebar-stat {
    flex: 1;
    text-align: center;
    padding: 8px;
    background: var(--bg);
    border-radius: var(--radius);
}
.sidebar-stat strong {
    display: block;
    font-size: 1.3rem;
    color: var(--primary-dark);
}
.sidebar-stat span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Sidebar close button */
.sidebar-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
    padding: 0 4px;
    line-height: 1;
}
.sidebar-close:hover { color: var(--text); }

/* Sidebar toggle button (visible when sidebar is collapsed) */
.sidebar-toggle {
    display: none;
    position: fixed;
    top: 80px;
    left: 12px;
    z-index: 1000;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    padding: 10px 14px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    line-height: 1;
}
.sidebar-toggle:hover { background: var(--primary-dark); }

/* Sidebar collapsed state (desktop + mobile) */
.map-sidebar.collapsed {
    display: none;
}
.map-sidebar {
    transition: margin-left 0.2s;
}

/* ===== FORMS ===== */
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 6px;
    color: var(--text);
}
.form-group .hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
}
input[type="text"],
input[type="email"],
input[type="date"],
input[type="time"],
input[type="number"],
input[type="password"],
select,
textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-family: inherit;
    background: var(--bg-white);
    transition: border-color 0.2s;
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(245,127,23,0.1);
}
textarea { min-height: 100px; resize: vertical; }

.form-errors {
    background: #f8d7da;
    color: #721c24;
    padding: 12px 16px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 0.9rem;
}
.form-errors ul { margin: 6px 0 0 20px; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Map picker in form */
#location-map {
    width: 100%;
    height: 300px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin-top: 8px;
}
.location-search {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}
.location-search input { flex: 1; }

.file-upload {
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s;
    position: relative;
}
.file-upload:hover { border-color: var(--primary); }
.file-upload input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}
.file-upload-label { color: var(--text-muted); font-size: 0.9rem; }
.file-upload-preview {
    max-width: 200px;
    margin-top: 12px;
    border-radius: var(--radius);
    display: none;
}

/* Honeypot */
.hp-field { position: absolute; left: -9999px; }

/* ===== SIGHTING DETAIL ===== */
.sighting-detail { max-width: 700px; margin: 0 auto; }
.sighting-detail .detail-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}
.detail-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #fff;
}
.detail-meta { color: var(--text-muted); font-size: 0.9rem; margin-top: 4px; }
.sighting-photo {
    width: 100%;
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
    box-shadow: var(--shadow);
}
.sighting-info {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    margin-bottom: 24px;
}
.sighting-info dt { font-weight: 600; color: var(--text-muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.3px; margin-bottom: 2px; }
.sighting-info dd { margin-bottom: 16px; font-size: 1rem; }
.sighting-info dd:last-child { margin-bottom: 0; }
#detail-map { width: 100%; height: 250px; border-radius: var(--radius); margin-bottom: 24px; }
.detail-status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}
.status-pending { background: #fff3cd; color: #856404; }
.status-approved { background: #d4edda; color: #155724; }

/* ===== ADMIN ===== */
.admin-wrap { max-width: 1100px; margin: 0 auto; }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}
.stat-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow);
}
.stat-card .stat-number { font-size: 2rem; font-weight: 700; color: var(--primary); }
.stat-card .stat-label { font-size: 0.85rem; color: var(--text-muted); }

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.admin-table th {
    background: var(--primary-dark);
    color: #fff;
    padding: 12px 16px;
    text-align: left;
    font-size: 0.85rem;
    font-weight: 600;
}
.admin-table td {
    padding: 10px 16px;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.9rem;
    vertical-align: top;
}
.admin-table tr:hover td { background: var(--bg); }
.admin-table .actions { display: flex; gap: 6px; }

.pagination {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 20px;
}
.pagination a, .pagination span {
    padding: 6px 12px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    border: 1px solid var(--border);
}
.pagination a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.pagination .current { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Login form */
.login-box {
    max-width: 400px;
    margin: 80px auto;
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.login-box h1 { text-align: center; margin-bottom: 24px; }

/* ===== STATIC PAGES ===== */
.page-content h1 { font-size: 2rem; margin-bottom: 8px; color: var(--primary-dark); }
.page-content h2 { font-size: 1.4rem; margin: 32px 0 12px; color: var(--primary-dark); }
.page-content p { margin-bottom: 16px; line-height: 1.8; color: var(--text-light); }
.page-content ul { margin: 0 0 16px 24px; line-height: 1.8; color: var(--text-light); }

.hero-banner {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
    padding: 60px 20px;
    text-align: center;
    border-radius: var(--radius-lg);
    margin-bottom: 32px;
}
.hero-banner {
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}
.hero-banner::after {
    content: "";
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 70% 110%, rgba(255,255,255,0.18), transparent 60%);
    pointer-events: none;
}
.hero-banner > * { position: relative; z-index: 1; }
.hero-banner h1 { color: #fff; font-size: 2.2rem; text-shadow: 0 1px 2px rgba(0,0,0,0.18); }
.hero-banner p { color: rgba(255,255,255,0.95); font-size: 1.1rem; margin-top: 8px; }

/* ===== SIGHTING LIST ===== */
.sighting-list { display: flex; flex-direction: column; gap: 8px; }
.sighting-list-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-decoration: none;
    color: var(--text);
    transition: box-shadow 0.15s;
}
.sighting-list-item:hover { box-shadow: var(--shadow-lg); color: var(--text); }
.list-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #fff;
}
.list-content { flex: 1; }
.list-content strong { font-size: 1rem; display: block; margin-bottom: 2px; }
.list-meta { font-size: 0.8rem; color: var(--text-muted); }
.list-desc { font-size: 0.85rem; color: var(--text-light); margin-top: 6px; line-height: 1.5; }

/* ===== BLOG ===== */
.blog-list { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.blog-card {
    display: block;
    padding: 20px 24px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-decoration: none;
    color: var(--text);
    transition: box-shadow 0.15s;
}
.blog-card:hover { box-shadow: var(--shadow-lg); color: var(--text); }
.blog-card h2 { font-size: 1.2rem; margin-bottom: 4px; color: var(--primary-dark); }
.blog-date { font-size: 0.8rem; color: var(--text-muted); }
.blog-card p { font-size: 0.9rem; color: var(--text-light); margin-top: 8px; line-height: 1.5; }

/* Table of contents */
.toc {
    background: var(--bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 16px 20px 16px 24px;
    margin-bottom: 28px;
}
.toc strong { font-size: 0.9rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.toc ol { margin: 8px 0 0 20px; padding: 0; }
.toc li { font-size: 0.9rem; margin-bottom: 4px; line-height: 1.5; }
.toc a { color: var(--primary); text-decoration: none; }
.toc a:hover { text-decoration: underline; }

.blog-article { max-width: 750px; margin: 0 auto; }
.blog-content { line-height: 1.9; color: var(--text-light); }
.blog-content h2 { font-size: 1.4rem; color: var(--primary-dark); margin: 32px 0 12px; }
.blog-content h3 { font-size: 1.15rem; color: var(--primary-dark); margin: 24px 0 8px; }
.blog-content p { margin-bottom: 16px; }
.blog-content ul, .blog-content ol { margin: 0 0 16px 24px; }
.blog-content li { margin-bottom: 6px; }
.blog-content a { color: var(--primary); text-decoration: underline; }
.blog-content blockquote {
    border-left: 4px solid var(--primary-light);
    padding: 12px 20px;
    margin: 16px 0;
    background: var(--bg);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
}

/* ===== FOOTER ===== */
.site-footer {
    background: #2a1f0c;
    color: rgba(255,255,255,0.92);
    padding: 48px 0 24px;
    border-top: 4px solid var(--primary);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 36px;
    margin-bottom: 30px;
}
.footer-about .logo-icon,
.footer-about .logo-text { color: #fff; }
.footer-about p { font-size: 0.9rem; margin-top: 8px; line-height: 1.6; }
.footer-links h4 { color: #fff; margin-bottom: 12px; font-size: 0.95rem; }
.footer-links a {
    display: block;
    color: rgba(255,255,255,0.88);
    font-size: 0.9rem;
    padding: 3px 0;
}
.footer-links a:hover { color: var(--primary-light); text-decoration: underline; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
}

/* ===== 404 ===== */
.not-found {
    text-align: center;
    padding: 80px 20px;
}
.not-found h1 { font-size: 5rem; color: var(--primary-dark); margin-bottom: 4px; }
.not-found p { font-size: 1.2rem; color: var(--text-light); margin: 16px 0 24px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .main-nav {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
    }
    .main-nav.open { display: flex; }

    /* Mobile map layout: fixed heights instead of flex:1, so iOS Safari URL-bar
       resizing can't collapse the map to 0px. */
    .map-flex { flex-direction: column; height: auto; }
    .map-container {
        order: 1;
        flex: 0 0 55vh;
        height: 55vh;
        min-height: 320px;
    }
    .map-sidebar {
        width: 100%;
        min-width: 100%;
        order: 3;
        flex: 0 0 auto;
        max-height: none;
        border-right: none;
        border-top: 1px solid var(--border);
    }
    .sidebar-toggle { display: block; }
    .map-sidebar.collapsed { display: none; }

    .form-row { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }

    .admin-table { font-size: 0.8rem; }
    .admin-table th, .admin-table td { padding: 8px 10px; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .hero-banner { padding: 40px 16px; }
    .hero-banner h1 { font-size: 1.6rem; }
}

/* ===== Bundesland / Hotspot cards ===== */
.bundesland-grid a,
.hotspot-grid a {
    border: 1px solid var(--border) !important;
    transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
    box-shadow: 0 1px 2px rgba(91,72,15,0.06);
}
.bundesland-grid a:hover,
.hotspot-grid a:hover {
    transform: translateY(-2px);
    border-color: var(--primary) !important;
    box-shadow: var(--shadow-lg);
    text-decoration: none !important;
}

/* ===== Page content links readability ===== */
.page-content a:not(.btn):not(.blog-card):not(.bundesland-card):not(.hotspot-card):not(.sighting-list-item),
.sighting-info a:not(.btn) { color: var(--link); text-decoration: underline; text-underline-offset: 2px; }
.page-content a:not(.btn):hover { color: var(--primary-dark); }

/* ===== Article body links ===== */
.blog-content a:not(.btn) { color: var(--link); }
.blog-content a:not(.btn):hover { color: var(--primary-dark); }

/* ===== TOC links ===== */
.toc a { color: var(--link); }
.toc a:hover { color: var(--primary-dark); }

/* ===== Sighting list items ===== */
.sighting-list li a:not(.btn) { color: var(--link); }
.sighting-list li a:not(.btn):hover { color: var(--primary-dark); }

/* Card-block links should NOT carry inline link styling */
.blog-card, .bundesland-grid a, .hotspot-grid a, .sighting-list-item, .recent-item {
    text-decoration: none !important;
    color: var(--text) !important;
}
.blog-card h2 { color: var(--primary-dark); }
.blog-card:hover h2 { color: var(--link); }
.blog-card .blog-date { color: var(--text-muted) !important; text-decoration: none !important; }

/* ===== Subtle section headings ===== */
.sidebar-section h3 { color: var(--text-light); font-weight: 700; }

/* ===== Detail meta improvements ===== */
.detail-meta { color: var(--text-light); }
.detail-status { letter-spacing: 0.2px; }
.status-pending { background: #fff3cd; color: #6b4f00; border: 1px solid #f0d878; }
.status-approved { background: #d4edda; color: #0f4419; border: 1px solid #a3d3b1; }

/* ===== Mobile scroll affordance between map and SEO =====
   Mobile-first: visible by default, hidden on desktop via min-width query. */
.mobile-scroll-hint {
    display: flex;
    order: 2;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 -2px 6px rgba(0,0,0,0.08);
}
.mobile-scroll-hint:hover,
.mobile-scroll-hint:focus { background: var(--primary-dark); color: #fff; }
.mobile-scroll-hint::after { content: "↓"; font-size: 1.1rem; }
@media (min-width: 769px) {
    .mobile-scroll-hint { display: none; }
}

/* ===== Map page intro (SEO content under the map) ===== */
.map-page-intro {
    padding: 60px 0 70px;
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
}
.map-page-intro .container { max-width: 1100px; }
.map-page-intro h2 {
    font-size: 1.9rem;
    margin-bottom: 14px;
    color: var(--primary-dark);
}
.map-page-intro .lead {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--text-light);
    max-width: 800px;
    margin-bottom: 36px;
}
.intro-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 40px;
}
.intro-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px 22px 24px;
    box-shadow: var(--shadow);
}
.intro-card h3 {
    font-size: 1.1rem;
    margin: 0 0 10px;
    color: var(--primary-dark);
}
.intro-card p {
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--text-light);
    margin: 0 0 16px;
}
.intro-card .btn { margin-top: 4px; }
.intro-sources {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px 24px;
}
.intro-sources h3 {
    font-size: 1.1rem;
    margin: 0 0 10px;
    color: var(--text);
}
.intro-sources p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-light);
    margin: 0;
}
.intro-sources a { color: var(--link); }
.intro-sources a:hover { color: var(--primary-dark); }

@media (max-width: 800px) {
    .intro-grid { grid-template-columns: 1fr; }
    .map-page-intro { padding: 40px 0 50px; }
    .map-page-intro h2 { font-size: 1.5rem; }
}

/* Sidebar header tightened (logo now lives in main site header) */
body.map-page .sidebar-header { padding: 14px 20px 12px; position: relative; }
body.map-page .sidebar-header > strong { line-height: 1.2; }
body.map-page .sidebar-close {
    position: absolute; top: 12px; right: 12px;
    font-size: 0.8rem; color: var(--text-muted);
    background: none; border: none; cursor: pointer; padding: 4px;
}
body.map-page .sidebar-close:hover { color: var(--text); }

/* ===== Smoother focus + skip link ===== */
.skip-link {
    position: absolute; left: -9999px; top: 0;
    background: var(--accent); color: #fff;
    padding: 10px 16px; border-radius: var(--radius);
    z-index: 9999;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ===== Cookie consent banner ===== */
.cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: #1f2937; color: #f9fafb;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.25);
    z-index: 9999; padding: 16px 20px;
    animation: cookieSlideUp 280ms ease-out;
}
@keyframes cookieSlideUp {
    from { transform: translateY(100%); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}
.cookie-banner__inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; flex-wrap: wrap; gap: 20px;
    align-items: center; justify-content: space-between;
}
.cookie-banner__text { flex: 1 1 420px; font-size: 0.92rem; line-height: 1.45; }
.cookie-banner__text a { color: #93c5fd; text-decoration: underline; }
.cookie-banner__buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner__btn {
    border: 0; border-radius: 6px; padding: 10px 18px;
    font-size: 0.9rem; font-weight: 600; cursor: pointer;
    transition: background 140ms ease;
}
.cookie-banner__btn--primary { background: var(--accent, #16a34a); color: #fff; }
.cookie-banner__btn--primary:hover { filter: brightness(0.92); }
.cookie-banner__btn--secondary { background: #4b5563; color: #fff; }
.cookie-banner__btn--secondary:hover { background: #374151; }

/* ===== Blog dropdown in main nav ===== */
.main-nav .has-dropdown { position: relative; }
.main-nav .dropdown-menu {
    position: absolute; top: 100%; left: 0;
    min-width: 240px;
    background: #fff;
    border: 1px solid var(--border, #e5e7eb);
    border-radius: var(--radius, 6px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    padding: 6px 0;
    display: none;
    z-index: 500;
}
.main-nav .has-dropdown:hover > .dropdown-menu,
.main-nav .has-dropdown:focus-within > .dropdown-menu,
.main-nav .has-dropdown.open > .dropdown-menu { display: block; }
.main-nav .dropdown-menu a {
    display: flex; justify-content: space-between; align-items: center;
    gap: 12px;
    padding: 8px 14px;
    font-size: 0.92rem;
    color: var(--text, #1f2937);
    white-space: nowrap;
}
.main-nav .dropdown-menu a:hover { background: #f3f4f6; }
.main-nav .dropdown-menu .count {
    background: #f3f4f6;
    color: #6b7280;
    border-radius: 10px;
    padding: 1px 8px;
    font-size: 0.78rem;
    font-weight: 600;
}
.main-nav .dropdown-menu .dropdown-divider {
    height: 1px; background: var(--border, #e5e7eb); margin: 6px 0;
}
.main-nav .has-dropdown > a::after {
    content: " \25BE";
    font-size: 0.75em;
    opacity: 0.7;
}


/* ===== Blog: category pills ===== */
.category-pills {
    margin: 20px 0 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.category-pills .pill,
.page-content a.pill {
    display: inline-block;
    padding: 7px 16px;
    border-radius: 999px;
    border: 1.5px solid var(--border, #d7ccc8);
    background: #fff;
    color: var(--text, #3e2723) !important;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none !important;
    transition: all 0.15s;
    line-height: 1.2;
}
.category-pills .pill:hover {
    border-color: var(--accent, #f57c00);
    background: #fff3e0;
    color: var(--accent-dark, #bf360c) !important;
}
.category-pills .pill-active {
    background: var(--accent, #f57c00);
    color: #fff !important;
    border-color: var(--accent, #f57c00);
    font-weight: 600;
}
.category-pills .pill-active:hover {
    background: var(--accent-dark, #bf360c);
    color: #fff !important;
}

/* ===== Blog list: image-left cards ===== */
.blog-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 16px;
}
.blog-card {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 0;
    padding: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    text-decoration: none !important;
    color: var(--text, #1f2937) !important;
    transition: box-shadow 0.18s, transform 0.18s;
}
.blog-card:hover {
    box-shadow: 0 8px 22px rgba(0,0,0,0.10);
    transform: translateY(-2px);
}
.blog-card__image {
    width: 100%;
    height: 100%;
    min-height: 170px;
    object-fit: cover;
    display: block;
    background: #e3f2fd;
}
.blog-card__body {
    padding: 18px 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.blog-card h2 {
    font-size: 1.15rem;
    margin: 0 0 6px;
    color: var(--text, #1f2937);
    line-height: 1.3;
}
.blog-card:hover h2 {
    color: var(--accent, #f57c00);
}
.blog-card .blog-date {
    font-size: 0.78rem;
    color: var(--text-muted, #888);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 8px;
}
.blog-card p {
    font-size: 0.92rem;
    color: var(--text-muted, #555);
    margin: 0;
    line-height: 1.5;
}
.blog-card:not(:has(.blog-card__image)) {
    grid-template-columns: 1fr;
}
.blog-card:not(:has(.blog-card__image)) .blog-card__body {
    padding: 22px 26px;
}
@media (max-width: 640px) {
    .blog-card { grid-template-columns: 1fr; }
    .blog-card__image { aspect-ratio: 16/9; min-height: 0; height: auto; }
    .blog-card__body { padding: 16px 20px; }
}

/* =====================================================================
   Bodemkaartnederland.nl — water-blauw thema + componenten (override)
   ===================================================================== */
:root {
    --primary: #0277BD;
    --primary-dark: #015E96;
    --primary-light: #4FC3F7;
    --link: #0367A6;
    --bg: #F4FAFE;
    --bg-soft: #E8F4FB;
    --border: #cfe0ea;
    --border-light: #e1edf5;
    --border-strong: #aac6d8;
    --shadow: 0 2px 8px rgba(2,119,189,0.08);
    --shadow-lg: 0 6px 24px rgba(2,119,189,0.14);
}
a:hover { color: var(--primary-dark); }

/* ---- Hero + zoek ---- */
.hero-map { background: linear-gradient(135deg, #0277BD, #4FC3F7); color: #fff; padding: 36px 0 28px; }
.hero-map__intro h1, .hero-map h1 { color: #fff; font-size: 2rem; margin-bottom: 8px; }
.hero-map .hero-sub { color: #ffffff; font-size: 1.1rem; max-width: 720px; text-shadow: 0 1px 2px rgba(0,0,0,0.18); }
.country-search { position: relative; max-width: 520px; margin-top: 18px; }
.country-search input { width: 100%; padding: 13px 16px; border-radius: 999px; border: none; font-size: 1rem; box-shadow: var(--shadow-lg); }
.country-search__results { position: absolute; z-index: 600; left: 0; right: 0; margin-top: 6px; background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg); list-style: none; overflow: hidden; }
.country-search__results li a { display: flex; align-items: center; gap: 10px; padding: 10px 16px; color: var(--text); }
.country-search__results li a:hover { background: var(--bg-soft); text-decoration: none; }
.country-search__results .muted { margin-left: auto; font-size: .85rem; }

/* ---- Wereldkaart ---- */
.world-map { width: 100%; height: 520px; background: #cfe8f3; }
@media (max-width: 700px) { .world-map { height: 380px; } }
.map-info { background: rgba(255,255,255,.95); padding: 8px 12px; border-radius: 8px; box-shadow: var(--shadow); font-size: .9rem; line-height: 1.4; max-width: 220px; }
.leaflet-container { font: inherit; }

/* ---- Legenda + status ---- */
.map-legend { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; padding: 16px 0; margin: 8px 0; border-bottom: 1px solid var(--border-light); }
.legend-item { display: inline-flex; align-items: center; gap: 7px; font-size: .95rem; }
.status-dot { width: 13px; height: 13px; border-radius: 50%; display: inline-block; flex: none; }
.status-badge { display: inline-block; color: #fff; font-size: .8rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }

/* ---- Country grid + cards ---- */
.section { margin: 36px 0; }
.section--split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .section--split { grid-template-columns: 1fr; } }
.country-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.country-card { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; background: #fff; border: 1px solid var(--border-light); border-radius: 12px; padding: 14px 16px; box-shadow: var(--shadow); transition: transform .12s, box-shadow .12s; }
.country-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); text-decoration: none; }
.country-card__flag { font-size: 1.8rem; line-height: 1; }
.country-card__name { font-weight: 600; color: var(--text); }
.country-card--continent { align-items: center; text-align: center; justify-content: center; min-height: 84px; }

/* ---- Quick links ---- */
.quick-links { display: flex; flex-direction: column; gap: 10px; }
.quick-link { background: #fff; border: 1px solid var(--border-light); border-left: 4px solid var(--primary); border-radius: 8px; padding: 12px 16px; font-weight: 600; box-shadow: var(--shadow); }
.quick-link--safe { border-left-color: #2E7D32; }
.quick-link--unsafe { border-left-color: #C62828; }
.status-explainer { list-style: none; margin: 12px 0; }
.status-explainer li { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.recent-blog { margin: 10px 0 10px 20px; }

/* ---- Country page ---- */
.breadcrumbs { font-size: .9rem; color: var(--text-muted); margin-bottom: 14px; }
.country-header h1 { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.country-flag { font-size: 2.2rem; }
.status-banner { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin: 14px 0; padding: 14px 18px; border-radius: 10px; background: var(--status-color); color: #fff; }
.status-banner__label { font-size: 1.2rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.status-banner__heading { font-size: 1.05rem; opacity: .95; }
.answer-box { background: var(--bg-soft); border-left: 4px solid var(--primary); padding: 14px 18px; border-radius: 8px; font-size: 1.1rem; margin-bottom: 20px; }
.country-hero { margin: 0 0 20px; }
.country-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); gap: 12px; margin: 18px 0; }
.country-facts > div { background: #fff; border: 1px solid var(--border-light); border-radius: 8px; padding: 10px 14px; }
.country-facts span { display: block; font-size: .8rem; color: var(--text-muted); }
.country-facts strong { font-size: 1.05rem; }
.jmp-bar { position: relative; background: #e6eef3; border-radius: 999px; height: 26px; overflow: hidden; margin: 14px 0 24px; }
.jmp-bar__fill { height: 100%; border-radius: 999px; }
.jmp-bar__text { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: .85rem; font-weight: 600; color: #15303d; }
.country-content h2 { font-size: 1.4rem; margin: 30px 0 12px; color: var(--primary-dark); }
.country-content ul { margin: 0 0 16px 24px; }
.toc { background: var(--bg-soft); border: 1px solid var(--border-light); border-radius: 10px; padding: 14px 18px; margin: 20px 0; }
.toc ol { margin: 8px 0 0 20px; }

/* ---- FAQ ---- */
.faq { margin: 28px 0; }
.faq h2 { color: var(--primary-dark); }
.faq-item { background: #fff; border: 1px solid var(--border-light); border-radius: 8px; margin-bottom: 10px; padding: 4px 16px; }
.faq-item summary { cursor: pointer; font-weight: 600; padding: 12px 0; }
.faq-answer { padding-bottom: 12px; color: var(--text-light); }

/* ---- Tabel ---- */
.country-table { width: 100%; border-collapse: collapse; margin: 18px 0; background: #fff; box-shadow: var(--shadow); border-radius: 8px; overflow: hidden; }
.country-table th, .country-table td { padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--border-light); }
.country-table th { background: var(--bg-soft); font-size: .9rem; }
.country-table th.num, .country-table td.num { text-align: right; }
.country-table tbody tr:hover { background: var(--bg-soft); }
.flag-sm { font-size: 1.2rem; }

/* ---- Filter pills ---- */
.filter-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.filter-pills .pill { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 6px 14px; cursor: pointer; font-size: .9rem; }
.filter-pills .pill-active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ---- Admin ---- */
.admin-stats { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0; }
.admin-stats .stat { background: #fff; border: 1px solid var(--border-light); border-top: 3px solid var(--c, var(--primary)); border-radius: 8px; padding: 12px 18px; min-width: 90px; text-align: center; }
.admin-stats .stat span { display: block; font-size: 1.6rem; font-weight: 700; color: var(--c, var(--primary-dark)); }
.admin-filter { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0; }
.admin-filter input, .admin-filter select { padding: 8px 12px; border: 1px solid var(--border); border-radius: 6px; }
.muted { color: var(--text-muted); }

/* ===== Bodemkaart-specifieke componenten ===== */
.bodem-map { height: 460px; width: 100%; background: #e8eef2; }
.bodem-map--full { height: 600px; }
.bodem-map--embed { height: 340px; border-radius: var(--radius); margin: 0 0 20px; box-shadow: var(--shadow); }
.map-opacity { background: #fff; padding: 6px 8px; border-radius: 6px; box-shadow: var(--shadow); font-size: .78rem; }
.map-opacity input { width: 90px; display: block; }
.map-popup { font-size: .9rem; }
.map-popup .soil-swatch { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: middle; }

/* Adres-zoeker */
.address-search { position: relative; max-width: 560px; margin: 16px auto 0; }
.address-search--inline, .address-search--big { margin-left: 0; }
.address-search--big { max-width: 100%; }
.address-search input {
    width: 100%; padding: 14px 18px; font-size: 1.05rem; border: 2px solid var(--border-strong);
    border-radius: 999px; background: #fff; box-shadow: var(--shadow);
}
.address-search input:focus { outline: none; border-color: var(--primary); }
.address-search__results {
    color: var(--text, #222);
    position: absolute; z-index: 600; left: 0; right: 0; top: calc(100% + 6px);
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg);
    list-style: none; overflow: hidden;
}
.address-search__results li { padding: 11px 16px; cursor: pointer; border-bottom: 1px solid var(--border-light); }
.address-search__results li:last-child { border-bottom: 0; }
.address-search__results li:hover { background: var(--bg-soft); }

/* Grondsoort-resultaat */
.soil-result { max-width: 560px; margin: 14px auto 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 18px; text-align: left; }
.soil-result--big { max-width: 100%; }
.soil-result__loading, .soil-result__empty { color: var(--text-muted); }
.soil-result__head { display: flex; align-items: center; gap: 12px; border-left: 5px solid; padding-left: 12px; }
.soil-result__group { font-size: 1.3rem; font-weight: 700; display: block; }
.soil-result__addr { color: var(--text-muted); font-size: .9rem; }
.soil-result__type { margin-top: 10px; }
.soil-result__note { margin-top: 10px; color: var(--text-light); font-size: .92rem; }
.soil-swatch { display: inline-block; width: 18px; height: 18px; border-radius: 4px; }
.btn-soil { background: var(--primary); color: #fff; }
.btn-soil:hover { background: var(--primary-dark); color: #fff; }

/* Grondsoort-tegels */
.soil-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-top: 16px; }
.soil-grid--wide { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.soil-card {
    display: block; background: #fff; border: 1px solid var(--border); border-left: 5px solid var(--soil-color, var(--primary));
    border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); color: var(--text); text-decoration: none;
    transition: transform .12s, box-shadow .12s;
}
.soil-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); text-decoration: none; color: var(--text); }
.soil-card__swatch { display: inline-block; width: 22px; height: 22px; border-radius: 5px; vertical-align: middle; }
.soil-card__name { font-weight: 700; font-size: 1.1rem; margin-left: 6px; }
.soil-card__desc { display: block; color: var(--text-light); font-size: .92rem; margin-top: 8px; }
.soil-card__where { display: block; color: var(--text-muted); font-size: .82rem; margin-top: 8px; }

/* Grondsoort-hero */
.soil-hero { background: linear-gradient(135deg, var(--soil-color, var(--primary)) 0%, rgba(0,0,0,.35) 220%); color: #fff; padding: 40px 0 28px; }
.soil-hero .breadcrumb, .soil-hero .breadcrumb a { color: rgba(255,255,255,.85); }
.soil-hero__head { display: flex; align-items: center; gap: 14px; }
.soil-hero__swatch { width: 34px; height: 34px; border-radius: 7px; border: 2px solid rgba(255,255,255,.7); }
.soil-hero h1 { color: #fff; margin: 6px 0; }
.soil-hero .hero-sub { color: rgba(255,255,255,.92); }
.soil-hero__where { color: rgba(255,255,255,.9); margin-top: 6px; }

/* Legenda */
.map-legend { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; padding: 14px 0; }
.legend-item { display: inline-flex; align-items: center; gap: 7px; font-size: .92rem; }
.legend-source { color: var(--text-muted); font-size: .82rem; margin-left: auto; }
.status-dot { display: inline-block; width: 13px; height: 13px; border-radius: 50%; flex: none; }

/* Content layout met sidebar */
.content-layout { display: grid; grid-template-columns: 1fr 300px; gap: 36px; padding-top: 28px; }
.content-layout .sidebar-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; margin-bottom: 18px; box-shadow: var(--shadow); }
.sidebar-box h3 { font-size: 1rem; margin-bottom: 10px; color: var(--primary-dark); }
.sidebar-soils, .sidebar-gemeenten { list-style: none; }
.sidebar-soils li, .sidebar-gemeenten li { padding: 4px 0; }
.sidebar-gemeenten { columns: 2; font-size: .9rem; }

/* Breakdown-balk */
.breakdown { margin: 8px 0 24px; }
.breakdown-bar { display: flex; height: 26px; border-radius: 6px; overflow: hidden; box-shadow: var(--shadow-inset); border: 1px solid var(--border); }
.breakdown-seg { height: 100%; }
.breakdown-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; }
.breakdown-legend li { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; }

/* Gemeente-chips + grid */
.gemeente-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin-top: 14px; }
.gemeente-chip { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 9px 12px; text-decoration: none; color: var(--text); }
.gemeente-chip:hover { border-color: var(--primary); text-decoration: none; color: var(--text); box-shadow: var(--shadow); }
.gemeente-chip__name { font-weight: 600; flex: 1; }
.gemeente-chip__soil { color: var(--text-muted); font-size: .8rem; }
.gemeente-prov { margin: 28px 0; }
.gemeente-prov h2 { border-bottom: 2px solid var(--border); padding-bottom: 6px; }
.gemeente-hero { background: linear-gradient(135deg, var(--soil-color, var(--primary)) 0%, rgba(0,0,0,.4) 240%); color: #fff; padding: 36px 0 26px; }
.gemeente-hero h1 { color: #fff; }
.gemeente-hero .hero-sub, .gemeente-hero .breadcrumb, .gemeente-hero .breadcrumb a { color: rgba(255,255,255,.9); }

/* Provincie-kaarten */
.prov-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin-top: 16px; }
.prov-card { display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid var(--border); border-top: 4px solid var(--soil-color, var(--primary)); border-radius: var(--radius); padding: 18px; text-decoration: none; color: var(--text); box-shadow: var(--shadow); }
.prov-card:hover { transform: translateY(-2px); text-decoration: none; color: var(--text); box-shadow: var(--shadow-lg); }
.prov-card__name { font-weight: 700; font-size: 1.15rem; }
.prov-card__soil { color: var(--text-muted); font-size: .88rem; display: inline-flex; align-items: center; gap: 6px; }
.prov-links { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 8px; }
.prov-links a { font-size: .9rem; }

/* Feeder-CTA (funderingskaart) */
.feeder-cta { background: var(--bg-soft); border: 1px solid var(--border-strong); border-radius: var(--radius); padding: 18px 20px; margin: 24px 0; }
.feeder-cta .btn { background: var(--accent); color: #fff; margin-top: 8px; }
.feeder-cta .btn:hover { background: var(--accent-dark); color: #fff; }

/* FAQ */
.faq { margin-top: 28px; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 4px 16px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 10px 0; }
.faq details[open] summary { border-bottom: 1px solid var(--border-light); margin-bottom: 8px; }
.faq details > div { padding-bottom: 12px; }

/* Gids-kaarten */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-top: 14px; }
.guide-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; text-decoration: none; color: var(--text); box-shadow: var(--shadow); }
.guide-card:hover { transform: translateY(-2px); text-decoration: none; color: var(--text); box-shadow: var(--shadow-lg); }
.guide-card h3 { color: var(--primary-dark); font-size: 1.1rem; margin-bottom: 6px; }
.guide-card p { color: var(--text-light); font-size: .9rem; }

/* Lookup-pagina layout */
.lookup-layout { display: grid; grid-template-columns: 1fr 320px; gap: 32px; padding-top: 22px; }
.aside-soils { list-style: none; margin-top: 10px; }
.aside-soils li { padding: 8px 0; border-bottom: 1px solid var(--border-light); }
.aside-soils li a { display: inline-flex; align-items: center; gap: 8px; }

/* Filterbar + diversen */
.filterbar input { width: 100%; max-width: 420px; padding: 11px 16px; border: 2px solid var(--border-strong); border-radius: 999px; }
.page-head { padding: 28px 0 8px; }
.article-hero { width: 100%; border-radius: var(--radius); margin: 12px 0 20px; }
.prose h2 { color: var(--primary-dark); margin: 28px 0 12px; }
.prose h3 { color: var(--primary-dark); margin: 20px 0 8px; }
.prose p { margin-bottom: 14px; }
.prose ul, .prose ol { margin: 0 0 16px 22px; }

/* Admin */
.admin-wrap { padding-top: 24px; }
.admin-head { display: flex; justify-content: space-between; align-items: center; }
.admin-nav a { margin-left: 14px; }
.admin-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; margin: 20px 0; }
.admin-stats .stat-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; text-align: center; box-shadow: var(--shadow); }
.admin-stats .stat-num { font-size: 1.8rem; font-weight: 700; color: var(--primary); display: block; }
.admin-stats .stat-label { color: var(--text-muted); font-size: .85rem; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { text-align: left; padding: 8px 12px; border-bottom: 1px solid var(--border-light); }

@media (max-width: 860px) {
    .content-layout, .lookup-layout { grid-template-columns: 1fr; }
    .bodem-map { height: 380px; }
}

/* ===================== Netcongestie-componenten ===================== */
.leaflet-map { width:100%; border-radius:12px; overflow:hidden; box-shadow:0 2px 14px rgba(0,0,0,.08); }
.map-section, .map-fullbleed { margin:1.5rem 0; }
.map-controls { display:flex; flex-wrap:wrap; gap:1rem; align-items:center; justify-content:space-between; margin:.8rem 0; }
.map-toggle { display:inline-flex; border:1px solid #d7dce3; border-radius:999px; overflow:hidden; }
.map-toggle button { border:0; background:#fff; padding:.5rem 1rem; cursor:pointer; font-size:.9rem; color:#445; }
.map-toggle button.active { background:#1f6feb; color:#fff; }
.map-legend { display:flex; flex-wrap:wrap; gap:.6rem 1rem; font-size:.82rem; color:#445; }
.map-legend.inline { margin:.6rem 0 1rem; }
.legend-item { display:inline-flex; align-items:center; gap:.35rem; }
.legend-item i { width:14px; height:14px; border-radius:3px; display:inline-block; }
.map-note { font-size:.8rem; color:#778; margin:.3rem 0 0; }

.status-badge { display:inline-block; padding:.25rem .6rem; border-radius:999px; color:#fff; font-size:.85rem; font-weight:600; }
.status-overview { display:flex; flex-wrap:wrap; gap:1.2rem; margin:1rem 0 1.4rem; }
.status-block { background:#f6f8fa; border:1px solid #e7ebf0; border-radius:10px; padding:.8rem 1rem; min-width:210px; }
.status-cap { display:block; font-size:.78rem; text-transform:uppercase; letter-spacing:.04em; color:#778; margin-bottom:.4rem; }
.status-meta { display:block; margin-top:.4rem; font-size:.85rem; color:#556; }

.stat-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); gap:1rem; }
.stat-card { background:#fff; border:1px solid #e7ebf0; border-radius:10px; padding:1rem; text-align:center; }
.stat-card strong { display:block; font-size:1.5rem; color:#1f2a37; }
.stat-card span { font-size:.82rem; color:#667; }
.stat-card.stat-red strong { color:#E14B3B; } .stat-card.stat-orange strong { color:#F09A3E; }

.tile-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(180px,1fr)); gap:.8rem; }
.region-tile { display:flex; flex-direction:column; gap:.25rem; background:#fff; border:1px solid #e7ebf0; border-radius:10px; padding:.8rem .9rem; text-decoration:none; color:#223; transition:box-shadow .15s; }
.region-tile:hover { box-shadow:0 3px 12px rgba(0,0,0,.1); }
.region-tile.lg { padding:1rem; }
.tile-dot { width:14px; height:14px; border-radius:50%; display:inline-block; }
.tile-name { font-weight:600; }
.tile-sub { font-size:.8rem; color:#667; }

.chip-row { display:flex; flex-wrap:wrap; gap:.5rem; margin:.6rem 0 1.4rem; }
.chip { display:inline-flex; align-items:center; gap:.4rem; background:#fff; border:1px solid #dde3ea; border-radius:999px; padding:.35rem .8rem; font-size:.88rem; text-decoration:none; color:#334; }
.chip:hover { border-color:#1f6feb; color:#1f6feb; }
.dot { width:11px; height:11px; border-radius:50%; display:inline-block; }

.table-wrap { overflow-x:auto; margin:1rem 0 1.4rem; }
.vg-table { width:100%; border-collapse:collapse; font-size:.9rem; }
.vg-table th, .vg-table td { text-align:left; padding:.55rem .6rem; border-bottom:1px solid #eceff3; }
.vg-table th { background:#f6f8fa; color:#556; font-weight:600; }
.vg-table td .dot { margin-right:.4rem; }

.breadcrumb { font-size:.85rem; color:#778; margin:.4rem 0 1rem; }
.breadcrumb a { color:#1f6feb; text-decoration:none; }
.faq details { background:#f6f8fa; border:1px solid #e7ebf0; border-radius:8px; padding:.7rem 1rem; margin-bottom:.6rem; }
.faq summary { font-weight:600; cursor:pointer; }
.faq details div { margin-top:.5rem; color:#445; }

.address-search { position:relative; max-width:560px; margin:1rem 0; }
.address-search.big { max-width:680px; }
.address-search input { width:100%; padding:.85rem 1rem; border:1px solid #cdd5df; border-radius:10px; font-size:1rem; }
.suggestions { position:absolute; z-index:1000; left:0; right:0; background:#fff; color:#1a2330; border:1px solid #dde3ea; border-radius:0 0 10px 10px; box-shadow:0 6px 18px rgba(0,0,0,.12); }
.suggestion { padding:.6rem 1rem; cursor:pointer; }
.suggestion:hover { background:#f1f5fb; }
.lookup-result { max-width:680px; margin:.6rem 0 1.4rem; }
.lookup-card { background:#fff; border:1px solid #e7ebf0; border-radius:12px; padding:1.1rem 1.2rem; }
.lookup-row { display:flex; align-items:center; justify-content:space-between; padding:.4rem 0; border-bottom:1px solid #f0f2f5; }
.lookup-cap { color:#556; }
.lookup-addr { font-weight:600; margin:0 0 .6rem; }
.lookup-meta { font-size:.9rem; color:#556; margin:.5rem 0 0; }
.lookup-loading, .lookup-empty { padding:.9rem 1.1rem; background:#f6f8fa; border-radius:10px; color:#556; }
.filter-input { width:100%; max-width:420px; padding:.6rem .9rem; border:1px solid #cdd5df; border-radius:8px; margin:.6rem 0 1rem; }

.card-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:1rem; }
.card { display:flex; flex-direction:column; gap:.4rem; background:#fff; border:1px solid #e7ebf0; border-radius:10px; padding:1rem; text-decoration:none; color:#223; }
.card:hover { box-shadow:0 3px 12px rgba(0,0,0,.1); }
.card-title { font-weight:600; } .card-date { font-size:.8rem; color:#778; }
.center { text-align:center; } .lead { color:#556; font-size:1.05rem; max-width:760px; }
.region-cta { margin:1.6rem 0; }
.info-box { background:#f6f8fa; border:1px solid #e7ebf0; border-radius:12px; padding:1.1rem 1.3rem; margin:1.4rem 0; }
.hero-map { padding:2rem 0 1rem; } .hero-sub { color:#556; font-size:1.05rem; max-width:720px; }

/* Responsive tabellen in blog/gids-content (mobiel horizontaal scrollen i.p.v. paginabreedte) */
.blog-content table, .prose table { width:100%; border-collapse:collapse; font-size:.92rem; margin:1rem 0; }
.blog-content th, .blog-content td, .prose th, .prose td { border:1px solid #e7ebf0; padding:.5rem .6rem; text-align:left; vertical-align:top; }
.blog-content thead th, .prose thead th { background:#f6f8fa; }
.blog-content img, .prose img { max-width:100%; height:auto; }
.blog-content, .prose { overflow-wrap:break-word; }

/* ===== Waterhardheidkaart.nl — water-thema overrides ===== */
:root {
    --primary: #0b6ea8;          /* water-blauw CTA */
    --primary-dark: #0a557f;     /* headings */
    --primary-light: #2bb3d6;    /* accent licht */
    --accent: #1a9850;           /* groen (zacht water) */
    --accent-dark: #137a3f;
    --link: #0a557f;
    --bg: #f4f9fb;               /* lichtblauw-wit */
    --bg-soft: #e7f2f7;
    --border: #cfe1e9;
    --border-light: #e2eef3;
    --border-strong: #a9cad9;
    --shadow: 0 2px 8px rgba(11,110,168,0.08);
    --shadow-lg: 0 6px 24px rgba(11,110,168,0.14);
}

/* Hardheid-badges/pills/dots */
.hardness-badge { display:inline-block; padding:.25rem .7rem; border-radius:999px; color:#fff;
    font-weight:700; font-size:.85rem; line-height:1.4; text-shadow:0 1px 1px rgba(0,0,0,.2); }
.hardness-badge--lg { font-size:1rem; padding:.4rem 1rem; margin-bottom:.6rem; }
.hardness-pill { display:inline-block; padding:.12rem .55rem; border-radius:999px; color:#fff;
    font-weight:600; font-size:.8rem; text-shadow:0 1px 1px rgba(0,0,0,.18); white-space:nowrap; }
.hardness-dot { display:inline-block; width:12px; height:12px; border-radius:50%; margin-right:.4rem; vertical-align:middle; }

/* Fact table */
.fact-table { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:.6rem;
    margin:1.2rem 0; }
.fact { background:var(--bg-white); border:1px solid var(--border); border-radius:var(--radius);
    padding:.7rem .9rem; min-width:0; }
.fact span { display:block; font-size:.78rem; color:var(--text-muted); }
.fact strong { font-size:1.1rem; color:var(--primary-dark); }

/* Advice card */
.advice-card { border:1px solid var(--border); border-radius:var(--radius-lg); overflow:hidden; margin:1rem 0 1.5rem; }
.advice-row { display:flex; gap:.8rem; padding:.9rem 1rem; border-bottom:1px solid var(--border-light); align-items:flex-start; }
.advice-row:last-child { border-bottom:0; }
.advice-ico { font-size:1.4rem; flex:0 0 auto; }
.advice-row strong { display:block; color:var(--primary-dark); }
.advice-row p { margin:.1rem 0 0; font-size:.95rem; color:var(--text-light); }
.advice-hard { background:#fff5f0; }
.advice-mid { background:#fffdf0; }
.advice-soft { background:#f1fbf3; }

/* Ranking */
.ranking-cols { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:2rem; }
.ranking-list { list-style:none; margin:0 0 1rem; padding:0; counter-reset:rk; }
.ranking-list li { display:flex; justify-content:space-between; align-items:center; gap:.5rem;
    padding:.45rem 0; border-bottom:1px solid var(--border-light); }
.ranking-list li a { font-weight:600; }
.ranking-table td:first-child { color:var(--text-muted); font-weight:700; width:2.5rem; }

/* Data table */
.data-table { width:100%; border-collapse:collapse; margin:1rem 0; background:var(--bg-white);
    border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; }
.data-table th, .data-table td { padding:.6rem .8rem; text-align:left; border-bottom:1px solid var(--border-light); }
.data-table th { background:var(--bg-soft); color:var(--primary-dark); font-size:.85rem; }
.data-table tr:last-child td { border-bottom:0; }
.data-table tbody tr:nth-child(even) { background:rgba(11,110,168,.025); }
.data-table tbody tr:hover { background:var(--bg-soft); }
/* Op desktop: volle breedte tabel. Alleen op smal scherm horizontaal scrollen. */
@media (max-width:720px){
  .table-wrap, .data-table { display:block; overflow-x:auto; white-space:nowrap; }
}

/* Page head / detail hero */
.page-head { background:var(--bg-soft); padding:2rem 0 1.4rem; }
.page-head h1 { color:var(--primary-dark); }
.detail-hero { background:var(--bg-soft); padding:1.6rem 0; }
.detail-hero h1 { color:var(--primary-dark); }

/* Aside boxes / link lists */
.aside-box { background:var(--bg-white); border:1px solid var(--border); border-radius:var(--radius-lg);
    padding:1rem 1.1rem; margin-bottom:1.2rem; }
.aside-box h3 { color:var(--primary-dark); font-size:1rem; margin-bottom:.5rem; }
.link-list { list-style:none; margin:0; padding:0; }
.link-list li { padding:.3rem 0; border-bottom:1px solid var(--border-light); }
.link-list li:last-child { border-bottom:0; }

/* Lookup result */
.lookup-head { display:flex; align-items:center; gap:.8rem; margin-bottom:.4rem; }
.lookup-val { font-size:1.5rem; font-weight:800; color:var(--primary-dark); line-height:1.1; }
.lookup-val small { display:block; font-size:.85rem; font-weight:500; color:var(--text-muted); }
.lookup-advice { font-style:italic; color:var(--text-light); }

/* Compare */
.compare-form { display:flex; flex-wrap:wrap; gap:.6rem; margin-bottom:1.5rem; }
.compare-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:1.2rem; }
.compare-col { background:var(--bg-white); border:1px solid var(--border); border-radius:var(--radius-lg); padding:1.1rem; min-width:0; }

/* Affiliate box */
.affiliate-box { border:1px solid var(--border-strong); border-radius:var(--radius-lg);
    background:var(--bg-white); padding:1.1rem 1.2rem; margin:1.5rem 0; }
.aff-title { color:var(--primary-dark); font-size:1.05rem; margin-bottom:.8rem; }
.aff-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:.8rem; }
.aff-card { display:flex; flex-direction:column; align-items:center; text-align:center; gap:.3rem;
    border:1px solid var(--border); border-radius:var(--radius); padding:.8rem; text-decoration:none; color:var(--text); min-width:0; }
.aff-card img { max-width:100%; height:90px; object-fit:contain; }
.aff-name { font-size:.85rem; font-weight:600; }
.aff-price { color:var(--primary-dark); font-weight:800; }
.aff-cta { font-size:.78rem; background:var(--primary); color:#fff; border-radius:999px; padding:.2rem .7rem; }
.aff-disclaimer { font-size:.72rem; color:var(--text-muted); margin-top:.7rem; }

.intro-prose { max-width:760px; }
.muted { color:var(--text-muted); }

@media (max-width:640px){
  .ranking-cols { gap:1.2rem; }
  .lookup-val { font-size:1.25rem; }
}

/* Hero/thumb images voor thema's en blog */
.theme-hero { margin:0 0 1.2rem; border-radius:var(--radius-lg); overflow:hidden; }
.theme-hero img { width:100%; height:auto; display:block; }
.card--img { padding:0; overflow:hidden; }
.card--img .card-thumb { width:100%; height:140px; object-fit:cover; display:block; }
.card--img .card-title { display:block; padding:.7rem .9rem 0; }
.card--img small { display:block; padding:0 .9rem .9rem; color:var(--text-muted); }

/* Responsive tabellen in content (voorkomt horizontale overflow op mobiel) */
.prose table, .blog-content table { display:block; width:100%; max-width:100%; overflow-x:auto; -webkit-overflow-scrolling:touch; border-collapse:collapse; }
.prose table th, .prose table td, .blog-content table th, .blog-content table td { white-space:normal; }

/* Grid-kinderen mogen krimpen zodat brede tabellen niet de layout opblazen */
.content-layout > * { min-width: 0; }

/* Postcode-suggesties dropdown (postcode-lookup.js) - boven de kaart */
.address-search { position: relative; z-index: 3000; }
#address-suggestions.suggestions {
  position: absolute; top: 100%; left: 0; right: 0;
  background: #fff; border: 1px solid var(--border); border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-lg);
  z-index: 3001; max-height: 340px; overflow-y: auto;
}
#address-suggestions .suggestion {
  padding: 11px 16px; cursor: pointer; color: var(--text);
  border-bottom: 1px solid var(--border-light); font-size: .98rem;
}
#address-suggestions .suggestion:last-child { border-bottom: 0; }
#address-suggestions .suggestion:hover { background: var(--bg-soft); }
#lookup-result { position: relative; z-index: 3000; }

/* ========================================================================
   DESIGN v2 — typografie, gemeente-hero met grote waarde + hardheidsmeter,
   SVG-advies-iconen, kaart-tegel, provincie-kleurbalken, stat-iconen
   ======================================================================== */
@font-face { font-family:'Inter'; src:url('../fonts/inter.woff2') format('woff2'); font-weight:100 900; font-style:normal; font-display:swap; }
@font-face { font-family:'Fraunces'; src:url('../fonts/fraunces.woff2') format('woff2'); font-weight:100 900; font-style:normal; font-display:swap; }

body { font-family:'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }
h1, h2, h3, h4, .card-title, .logo-text, .aff-title, .bignum, .stat-card strong {
  font-family:'Fraunces', Georgia, 'Times New Roman', serif; letter-spacing:-0.015em; font-weight:600;
}
h1 { letter-spacing:-0.025em; }
.hero h1 { font-size:2.6rem; }

/* Section eyebrow + nettere sectiekoppen */
.eyebrow { display:block; text-transform:uppercase; letter-spacing:.12em; font-size:.72rem;
  font-weight:700; font-family:'Inter',sans-serif; color:var(--primary); margin-bottom:.25rem; }
.section h2 { font-size:1.7rem; }

/* Kaart als verzorgde tegel */
.leaflet-map { border-radius:16px; box-shadow:0 8px 30px rgba(11,110,168,.16); overflow:hidden; border:1px solid var(--border); }
.map-section { padding-top:0; }
.map-section .container { margin-top:-32px; position:relative; z-index:5; }

/* ---- Gemeente-hero: grote waarde + hardheidsmeter ---- */
.gem-hero { padding:2rem 0 2.2rem; background:linear-gradient(180deg,var(--bg-soft),#fff); border-bottom:1px solid var(--border-light); }
.gem-hero-grid { display:grid; grid-template-columns:auto 1fr; gap:2.4rem; align-items:center; }
.gem-bignum-card { text-align:center; background:#fff; border:1px solid var(--border); border-radius:20px;
  padding:1.4rem 1.8rem; box-shadow:var(--shadow); min-width:210px; }
.gem-bignum-card .hardness-badge { margin-bottom:.5rem; }
.bignum { font-size:4.2rem; line-height:1; color:var(--primary-dark); }
.bignum span { font-size:1.4rem; color:var(--text-muted); font-family:'Inter',sans-serif; font-weight:600; margin-left:.15rem; }
.bignum-sub { font-size:.9rem; color:var(--text-muted); margin-top:.4rem; }
.gem-hero-meta h1 { margin-bottom:.4rem; color:var(--primary-dark); }
.gem-hero-meta .hero-sub { color:var(--text-light); }

.hscale { margin-top:1.2rem; max-width:520px; }
.hscale-track { position:relative; height:12px; border-radius:7px;
  background:linear-gradient(90deg,#1a9850 0%,#91cf60 25%,#fee08b 50%,#fc8d59 72%,#d73027 100%); }
.hscale-marker { position:absolute; top:-5px; width:6px; height:22px; background:#16181d;
  border:2px solid #fff; border-radius:4px; transform:translateX(-50%); box-shadow:0 1px 4px rgba(0,0,0,.45); }
.hscale-labels { display:flex; justify-content:space-between; font-size:.72rem; color:var(--text-muted); margin-top:.45rem; text-transform:uppercase; letter-spacing:.06em; }

/* ---- Advies-card met SVG-iconen ---- */
.advice-ico svg { width:26px; height:26px; stroke:var(--primary); fill:none; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.advice-hard .advice-ico svg { stroke:#c0432f; }
.advice-mid .advice-ico svg { stroke:#c98a1a; }
.advice-soft .advice-ico svg { stroke:var(--accent-dark); }

/* ---- Provincie-tegel met kleurbalk ---- */
.prov-card { border-top-width:5px; border-top-style:solid; }

/* ---- Stat-card met icoon ---- */
.stat-card { display:flex; flex-direction:column; align-items:center; gap:.2rem; }
.stat-ico { width:30px; height:30px; margin-bottom:.3rem; color:var(--primary); }
.stat-ico svg { width:100%; height:100%; stroke:currentColor; fill:none; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }

@media (max-width:640px){
  .gem-hero-grid { grid-template-columns:1fr; gap:1.2rem; }
  .gem-bignum-card { min-width:0; }
  .hero h1 { font-size:2rem; }
  .map-section .container { margin-top:0; }
}

/* Provinciepagina v2 */
.hscale-track { position:relative; }
.hscale-band { position:absolute; top:0; height:12px; border-radius:7px;
  border:2px solid rgba(255,255,255,.92); background:rgba(255,255,255,.20);
  box-shadow:0 0 0 1px rgba(0,0,0,.06); }
.prov-summary { grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); }
.prov-summary .fact strong { font-size:1rem; font-family:'Inter',sans-serif; font-weight:600; }
.prov-summary .fact strong a { color:var(--primary-dark); }
.prov-links { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:2rem; }

/* Contrast-fix: --accent (#1a9850) op wit geeft slechts 3,7:1 (onder WCAG AA 4,5:1)
   voor de betaalde-rapport-knop. Gebruik de bestaande --accent-dark (5,4:1) i.p.v. --accent. */
.report-cta-box .btn-accent, .report-cta .btn-accent {
    background: var(--accent-dark);
}
.report-cta-box .btn-accent:hover, .report-cta .btn-accent:hover {
    background: var(--accent);
}

/* Inline bestelformulier-variant (2026-08-25). */
.report-cta__form { margin-top: 12px; }
.report-cta__form .form-group { margin-bottom: 12px; }
.adsense-auto-ads-ignore { google-auto-ads: ignore; }
.report-cta-box.adsense-auto-ads-ignore .adsbygoogle,
.report-cta-box.adsense-auto-ads-ignore .google-auto-placed,
.report-cta-box.adsense-auto-ads-ignore ins[id^="aswift"] { display: none !important; }
