﻿/* ============================================
   Sliedrecht25 - Stijlblad
   Gebaseerd op kleurenschema van sliedrecht24.nl
   ============================================ */

/* ---- Reset & Base ---- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #3e3e3e;
    background-color: #f0f0f0;
}

a {
    color: #0105bf;
    text-decoration: none;
}

a:hover {
    color: #ff6600;
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* ---- Topbar ---- */
.topbar {
    background-color: #636363;
    color: #ffffff;
    font-size: 12px;
    padding: 5px 0;
}

.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar .datum {
    color: #ffffff;
}

.topbar .social-links {
    display: flex;
    gap: 12px;
}

.topbar .social-links a {
    color: #ffffff;
    font-size: 14px;
    transition: color 0.2s;
}

.topbar .social-links a:hover {
    color: #303030;
    text-decoration: none;
}

/* ---- Header / Logo ---- */
.site-header {
    background-color: #ffffff;
    border-bottom: 3px solid #0105bf;
    padding: 12px 0;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.site-logo a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.site-logo .logo-badge {
    background-color: #0105bf;
    color: #ffffff;
    font-size: 28px;
    font-weight: 900;
    padding: 4px 10px;
    border-radius: 3px;
    letter-spacing: -1px;
    line-height: 1.1;
}

.site-logo .logo-text {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}

.site-logo .logo-tagline {
    font-size: 12px;
    color: #777777;
    display: block;
    margin-top: 2px;
    font-weight: normal;
}

/* Zoekbalk in header */
.header-search {
    display: flex;
    align-items: center;
}

.header-search form {
    display: flex;
    border: 1px solid #dddddd;
    border-radius: 3px;
    overflow: hidden;
}

.header-search input[type="search"] {
    padding: 7px 10px;
    font-size: 13px;
    border: none;
    outline: none;
    width: 200px;
    color: #333;
}

.header-search button {
    background-color: #0105bf;
    color: #ffffff;
    border: none;
    padding: 7px 12px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s;
}

.header-search button:hover {
    background-color: #ff6600;
}

/* ---- Navigatie ---- */
.main-nav {
    background-color: #0105bf;
}

.main-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.main-nav ul {
    display: flex;
    flex-wrap: wrap;
}

.main-nav ul li a {
    display: block;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    padding: 11px 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.2s;
}

.main-nav ul li a:hover,
.main-nav ul li.active a {
    background-color: #ff6600;
    text-decoration: none;
}

.nav-toggle {
    display: none;
    color: #ffffff;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 10px 14px;
}

/* ---- Container / Layout ---- */
.container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}

.site-content {
    padding: 25px 0 40px;
}

.content-area {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    align-items: start;
}

/* ---- Breadcrumb ---- */
.breadcrumb {
    font-size: 12px;
    color: #888888;
    margin-bottom: 18px;
    padding: 6px 0;
    border-bottom: 1px solid #eeeeee;
}

.breadcrumb a {
    color: #888888;
}

.breadcrumb a:hover {
    color: #0105bf;
}

.breadcrumb span {
    margin: 0 5px;
}

/* ---- Artikelen / Berichten ---- */
.artikel-card {
    background-color: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 3px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.artikel-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.artikel-card .card-image {
    overflow: hidden;
    max-height: 220px;
}

.artikel-card .card-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s;
}

.artikel-card:hover .card-image img {
    transform: scale(1.03);
}

.artikel-card .card-body {
    padding: 16px;
}

.artikel-card .card-meta {
    font-size: 11px;
    color: #999999;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.artikel-card .card-categorie {
    background-color: #0105bf;
    color: #ffffff;
    padding: 2px 7px;
    border-radius: 2px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.artikel-card .card-categorie a {
    color: #ffffff;
}

.artikel-card .card-datum {
    color: #999999;
}

.artikel-card .card-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.artikel-card .card-title a {
    color: #1a1a1a;
}

.artikel-card .card-title a:hover {
    color: #0105bf;
    text-decoration: none;
}

.artikel-card .card-excerpt {
    font-size: 14px;
    color: #555555;
    line-height: 1.6;
    margin-bottom: 12px;
}

.artikel-card .lees-meer {
    font-size: 13px;
    font-weight: 600;
    color: #0105bf;
    border: 1px solid #0105bf;
    padding: 5px 12px;
    border-radius: 2px;
    display: inline-block;
    transition: all 0.2s;
}

.artikel-card .lees-meer:hover {
    background-color: #0105bf;
    color: #ffffff;
    text-decoration: none;
}

/* Statistieken per artikel-kaart (reacties + wijzigingen) */
.artikel-card .card-statistieken {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 11px;
    color: #999999;
}

.artikel-card .stat-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.artikel-card .stat-item i {
    font-size: 11px;
}

.artikel-card .stat-goed {
    color: #44aa44;
    font-weight: 600;
}

.artikel-card .stat-wacht {
    color: #cc8800;
    font-weight: 600;
}

.artikel-card .stat-wijzigingen {
    color: #888888;
}

.artikel-card .stat-kwaliteit {
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 3px;
    font-size: 11px;
}

.artikel-card .stat-kwaliteit-hoog   { background: #d4edda; color: #1a6e2e; }
.artikel-card .stat-kwaliteit-midden { background: #fff3cd; color: #856404; }
.artikel-card .stat-kwaliteit-laag   { background: #f8d7da; color: #721c24; }

.artikel-card .stat-verwant {
    color: #0105bf;
    font-weight: 600;
}

/* Uitgelicht / featured artikel */
.artikel-featured {
    border-left: 4px solid #0105bf;
}

/* ---- Paginering ---- */
.paginering {
    display: flex;
    gap: 5px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.paginering a,
.paginering span {
    padding: 7px 12px;
    border: 1px solid #dddddd;
    border-radius: 2px;
    font-size: 13px;
    color: #555555;
    background-color: #ffffff;
    transition: all 0.2s;
}

.paginering a:hover {
    background-color: #0105bf;
    border-color: #0105bf;
    color: #ffffff;
    text-decoration: none;
}

.paginering .actief {
    background-color: #0105bf;
    border-color: #0105bf;
    color: #ffffff;
}

/* ---- Enkele artikel pagina ---- */
.artikel-single {
    background-color: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 3px;
    padding: 24px;
}

.artikel-single .artikel-header {
    margin-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 16px;
}

.artikel-single .artikel-title {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.25;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.artikel-single .artikel-meta {
    font-size: 12px;
    color: #999999;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}

.artikel-single .artikel-meta .auteur {
    color: #0105bf;
    font-weight: 600;
}

.artikel-single .artikel-afbeelding {
    margin-bottom: 20px;
    border-radius: 3px;
    overflow: hidden;
}

.artikel-single .artikel-afbeelding img {
    width: 100%;
}

.artikel-single .artikel-fotocredit {
    font-size: 11px;
    color: #aaaaaa;
    margin-top: 4px;
    font-style: italic;
}

.artikel-single .artikel-inhoud {
    font-size: 15px;
    line-height: 1.8;
    color: #333333;
}

.artikel-single .artikel-inhoud p {
    margin-bottom: 16px;
}

.artikel-single .artikel-inhoud h2,
.artikel-single .artikel-inhoud h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 24px 0 10px;
}

.artikel-single .artikel-tags {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #eeeeee;
    font-size: 12px;
    color: #888888;
}

.artikel-single .artikel-tags a {
    background-color: #f5f5f5;
    border: 1px solid #dddddd;
    padding: 3px 8px;
    border-radius: 2px;
    margin: 2px;
    display: inline-block;
    color: #555555;
    font-size: 12px;
}

.artikel-single .artikel-tags a:hover {
    background-color: #0105bf;
    border-color: #0105bf;
    color: #ffffff;
}

.artikel-single .bronvermelding {
    margin-top: 20px;
    padding: 12px 16px;
    background-color: #f8f8f8;
    border-left: 3px solid #0105bf;
    font-size: 13px;
    color: #555555;
}

.artikel-single .bronvermelding a {
    color: #0105bf;
    font-weight: 600;
}

.artikel-single .bronvermelding a:hover {
    text-decoration: underline;
}

/* ---- Verwante artikelen (Gemeente Sliedrecht / Het Kompas) ---- */
.artikel-single .verwante-urls {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.artikel-single .verwante-urls-label {
    color: #555555;
    font-weight: 600;
    white-space: nowrap;
}

.artikel-single .verwante-url-knop {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 2px;
    border: 1px solid #0105bf;
    color: #0105bf;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s;
    white-space: nowrap;
}

.artikel-single .verwante-url-knop:hover {
    background-color: #0105bf;
    color: #ffffff;
    text-decoration: none;
}

/* ---- Wijzigingsgeschiedenis ---- */
.artikel-single .wijzigingsgeschiedenis {
    margin-top: 24px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    font-size: 13px;
}

.artikel-single .wijzigingen-titel {
    margin: 0;
    padding: 10px 16px;
    background-color: #f0f0f0;
    font-size: 13px;
    font-weight: 600;
    color: #444444;
    border-bottom: 1px solid #e0e0e0;
}

.artikel-single .wijzigingen-titel i {
    margin-right: 6px;
    color: #888888;
}

.artikel-single .wijziging-item {
    padding: 14px 16px;
    border-bottom: 1px solid #f0f0f0;
}

.artikel-single .wijziging-item:last-child {
    border-bottom: none;
}

.artikel-single .wijziging-meta {
    font-size: 12px;
    color: #888888;
    margin-bottom: 10px;
}

/* Twee-kolommen (oud | nieuw) */
.artikel-single .wijziging-kolommen {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 8px;
}

.artikel-single .wijziging-kolom {
    padding: 10px 12px;
    border-radius: 3px;
}

.artikel-single .wijziging-kolom-oud {
    background-color: #fff5f5;
    border-left: 3px solid #cc4444;
}

.artikel-single .wijziging-kolom-nieuw {
    background-color: #f5fff5;
    border-left: 3px solid #44aa44;
}

.artikel-single .wijziging-kolom-header {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #888888;
    margin-bottom: 6px;
}

.artikel-single .wijziging-kolom p {
    margin: 0;
    color: #333333;
    line-height: 1.6;
}

.artikel-single .wijziging-kolom-oud del {
    background-color: #ffd7d7;
    color: #8b0000;
    text-decoration: line-through;
    border-radius: 2px;
    padding: 0 2px;
}

.artikel-single .wijziging-kolom-nieuw ins {
    background-color: #d4f5d4;
    color: #1a5c1a;
    text-decoration: none;
    border-radius: 2px;
    padding: 0 2px;
}

@media (max-width: 600px) {
    .artikel-single .wijziging-kolommen {
        grid-template-columns: 1fr;
    }
}

/* Enkel blok: alinea volledig verwijderd of toegevoegd */
.artikel-single .wijziging-enkel {
    padding: 10px 12px;
    border-radius: 3px;
    margin-bottom: 8px;
}

.artikel-single .wijziging-verwijderd {
    background-color: #fff5f5;
    border-left: 3px solid #cc4444;
}

.artikel-single .wijziging-toegevoegd {
    background-color: #f5fff5;
    border-left: 3px solid #44aa44;
}

.artikel-single .wijziging-enkel p {
    margin: 0;
    color: #333333;
    line-height: 1.6;
}

.artikel-single .wijziging-enkel del {
    background-color: #ffd7d7;
    color: #8b0000;
    text-decoration: line-through;
    border-radius: 2px;
    padding: 0 2px;
}

.artikel-single .wijziging-enkel ins {
    background-color: #d4f5d4;
    color: #1a5c1a;
    text-decoration: none;
    border-radius: 2px;
    padding: 0 2px;
}

/* Enkel blok (alleen oud of alleen nieuw beschikbaar) */
.artikel-single .wijziging-blok {
    padding: 10px 12px;
    border-radius: 3px;
    margin-bottom: 8px;
}

.artikel-single .wijziging-blok:last-child {
    margin-bottom: 0;
}

.artikel-single .wijziging-oud {
    background-color: #fff5f5;
    border-left: 3px solid #cc4444;
}

.artikel-single .wijziging-nieuw {
    background-color: #f5fff5;
    border-left: 3px solid #44aa44;
}

.artikel-single .wijziging-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #888888;
    margin-bottom: 5px;
}

.artikel-single .wijziging-blok p {
    margin: 0;
    color: #333333;
    line-height: 1.5;
}

.artikel-single .wijziging-onzichtbaar {
    padding: 8px 12px;
    border-radius: 3px;
    background-color: #f5f5f5;
    border-left: 3px solid #cccccc;
    font-size: 12px;
    color: #888888;
}

.artikel-single .wijziging-onzichtbaar i {
    margin-right: 5px;
}

/* ---- Redactionele kwaliteitsanalyse (rubric-model) ---- */
.artikel-single .artikel-analyse {
    margin-top: 24px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    font-size: 13px;
}

.artikel-single .analyse-titel {
    margin: 0;
    padding: 10px 16px;
    background-color: #f0f0f0;
    font-size: 13px;
    font-weight: 600;
    color: #444444;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.artikel-single .analyse-titel i {
    color: #888888;
}

.artikel-single .analyse-datum {
    font-size: 11px;
    font-weight: 400;
    color: #aaaaaa;
    margin-left: auto;
}

.artikel-single .rubric-totaal {
    font-size: 12px;
    font-weight: 700;
    padding: 2px 9px;
    border-radius: 12px;
    color: #ffffff;
}

.artikel-single .rubric-tabel {
    padding: 0;
}

.artikel-single .rubric-rij {
    padding: 10px 16px;
    border-bottom: 1px solid #f4f4f4;
}

.artikel-single .rubric-rij:last-child {
    border-bottom: none;
}

.artikel-single .rubric-hoofd {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.artikel-single .rubric-naam {
    font-size: 12px;
    font-weight: 600;
    color: #444444;
}

.artikel-single .rubric-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    color: #ffffff;
    min-width: 32px;
    text-align: center;
}

.artikel-single .rubric-subscores {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.artikel-single .rubric-sub {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background-color: #f7f7f7;
    border: 1px solid #eeeeee;
    border-radius: 10px;
    padding: 2px 7px 2px 6px;
    font-size: 11px;
}

.artikel-single .rubric-sub-naam {
    color: #666666;
}

.artikel-single .rubric-sub-badge {
    font-weight: 700;
    border-radius: 8px;
    padding: 0 4px;
    color: #ffffff;
    font-size: 10px;
}

/* Kleurcodering: rood (1–2), oranje (3), groen (4–5) */
.artikel-single .rubric-laag   { background-color: #cc3333; }
.artikel-single .rubric-midden { background-color: #cc8800; }
.artikel-single .rubric-hoog   { background-color: #44aa44; }

.artikel-single .analyse-disclaimer {
    margin: 0;
    padding: 8px 16px;
    background-color: #fafafa;
    border-top: 1px solid #f0f0f0;
    font-size: 11px;
    color: #aaaaaa;
    font-style: italic;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* Kwaliteitsdashboard                                                         */
/* ═══════════════════════════════════════════════════════════════════════════ */

.main-column.full-width {
    width: 100%;
    max-width: 100%;
}

.content-area.dashboard-layout {
    grid-template-columns: 1fr;
}

.content-area.dashboard-layout .main-column.full-width {
    max-width: 840px;
    margin: 0 auto;
}

.dashboard-header {
    margin-bottom: 20px;
}

.dashboard-header h1 {
    font-size: 22px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.dashboard-header h1 i {
    color: #888888;
    margin-right: 6px;
}

.dashboard-intro {
    font-size: 13px;
    color: #777777;
    margin: 0;
}

/* Filters */
.dashboard-filters {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    background: #f7f7f7;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    padding: 12px 16px;
}

.dashboard-filters-sticky {
    position: sticky;
    top: 8px;
    z-index: 15;
    background: #f7f7f7;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.filter-groep {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.filter-groep label {
    font-size: 11px;
    font-weight: 600;
    color: #888888;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.filter-groep select {
    font-size: 13px;
    padding: 5px 10px;
    border: 1px solid #dddddd;
    border-radius: 3px;
    background: #ffffff;
    color: #333333;
}

.filter-quick {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-left: auto;
}

.filter-quick-label {
    font-size: 11px;
    color: #666;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.filter-pill {
    border: 1px solid #d2d2d2;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 11px;
    color: #445;
    background: #fff;
    text-decoration: none;
    transition: all 0.2s ease;
}

.filter-pill.is-active,
.filter-pill:hover {
    background: #0b3f91;
    color: #fff;
    border-color: #0b3f91;
    text-decoration: none;
}

.filter-pill.filter-pill-reset {
    background: #f3f3f3;
    color: #444;
}

.dash-hero-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

.dash-hero-card {
    background: linear-gradient(160deg, #ffffff, #f6f8fa);
    border: 1px solid #e1e4e8;
    border-radius: 10px;
    padding: 14px;
    min-height: 132px;
}

.dash-hero-main {
    color: #fff;
    border: none;
    grid-column: span 2;
}

.dash-hero-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 700;
    opacity: 0.9;
}

.dash-hero-score-wrap {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 8px 0 4px;
}

.dash-hero-score {
    font-size: 44px;
    font-weight: 800;
    line-height: 1;
}

.dash-hero-max {
    font-size: 14px;
    opacity: 0.85;
}

.dash-hero-trend {
    font-size: 12px;
    font-weight: 600;
}

.dash-hero-trend.is-up {
    color: #d9ffe6;
}

.dash-hero-trend.is-down {
    color: #ffe5e5;
}

.dash-hero-trend.is-neutral {
    color: #f0f0f0;
}

.dash-hero-small-score {
    font-size: 30px;
    font-weight: 800;
    color: #1d2939;
    margin: 6px 0;
}

.dash-hero-small-score.is-ok {
    color: #1f8f3f;
}

.dash-hero-small-score.is-warning {
    color: #b94e19;
}

.dash-hero-note {
    font-size: 11px;
    color: #526071;
}

.dash-insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
}

.dash-insight-card {
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 10px;
    padding: 14px;
    min-height: 220px;
}

.dash-insight-card h3 {
    font-size: 13px;
    margin-bottom: 10px;
    color: #334;
}

.dash-trend-track {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(32px, 1fr));
    gap: 6px;
    align-items: end;
    min-height: 170px;
    padding-top: 10px;
}

.dash-trend-point {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.dash-trend-bar {
    width: 100%;
    border-radius: 6px 6px 0 0;
    min-height: 8px;
}

.dash-trend-point span {
    font-size: 9px;
    color: #666;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
}

.dash-rubric-bars {
    display: grid;
    gap: 8px;
}

.dash-rubric-bars li {
    display: grid;
    grid-template-columns: 1fr 140px 34px;
    align-items: center;
    gap: 8px;
    font-size: 11px;
}

.dash-rubric-name {
    color: #333;
}

.dash-rubric-track {
    height: 8px;
    background: #eceff2;
    border-radius: 999px;
    overflow: hidden;
}

.dash-rubric-fill {
    height: 100%;
}

.dash-rubric-score {
    font-weight: 700;
    color: #333;
    text-align: right;
}

.dash-mini-ranking {
    display: grid;
    gap: 8px;
}

.dash-mini-ranking li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 8px;
    background: #f8f9fb;
    border-radius: 6px;
}

.dash-subtitel {
    font-size: 13px;
    margin: 0 0 10px 0;
    color: #334;
}

.dash-focus-tip {
    font-size: 10px;
    color: #4b5565;
}

.dash-focus-link {
    font-size: 11px;
    color: #0b4d8e;
    font-weight: 600;
}

.dash-mini-ranking a {
    color: #0b3f91;
    font-weight: 600;
}

.dash-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.dash-tab {
    border: 1px solid #d3d7dd;
    background: #f6f7f8;
    color: #334;
    font-size: 12px;
    font-weight: 700;
    border-radius: 8px;
    padding: 7px 12px;
    cursor: pointer;
}

.dash-tab.is-active {
    background: #0b3f91;
    border-color: #0b3f91;
    color: #fff;
}

.dash-tabpanel {
    display: none;
}

.dash-tabpanel.is-active {
    display: block;
}

.dash-tabel thead th {
    position: sticky;
    top: 0;
    z-index: 2;
}

.dash-artikel-cards {
    display: none;
    margin-top: 10px;
    gap: 10px;
}

.dash-artikel-card {
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    background: #fff;
    padding: 12px;
}

.dash-artikel-card h4 {
    font-size: 13px;
    margin-bottom: 6px;
    line-height: 1.4;
}

.dash-artikel-meta {
    font-size: 11px;
    color: #777;
    margin-bottom: 6px;
}

.dash-artikel-totaal {
    font-size: 12px;
    color: #333;
    margin-bottom: 8px;
}

.dash-artikel-rubrics {
    display: grid;
    gap: 6px;
}

.dash-artikel-rubrics li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    font-size: 11px;
}

/* Leeg-melding */
.dashboard-leeg {
    padding: 24px 20px;
    background: #f9f9f9;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    color: #888888;
    font-size: 13px;
}

.dashboard-leeg i {
    margin-right: 6px;
}

.dashboard-notice {
    padding: 12px 16px;
    background: #fff8e1;
    border-left: 4px solid #f39c12;
    border-radius: 4px;
    margin-bottom: 16px;
    font-size: 13px;
    color: #555;
}

.dashboard-notice-fout {
    background: #fdf0ef;
    border-left-color: #e74c3c;
}

.dashboard-notice i {
    margin-right: 6px;
}

.dashboard-notice small {
    display: block;
    margin-top: 4px;
    color: #888;
}

/* ─── Groq API-status panel ─────────────────────────────────────────────── */
.groq-status-panel {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 14px 16px;
    margin-bottom: 16px;
    font-size: 13px;
}

.groq-status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-weight: 600;
    color: #444;
}

.groq-status-tijd {
    font-size: 11px;
    font-weight: 400;
    color: #888;
}

.groq-status-meters {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.groq-meter {
    flex: 1 1 220px;
}

.groq-meter-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
    color: #555;
    font-size: 12px;
}

.groq-meter-waarde {
    font-weight: 600;
    color: #333;
}

.groq-meter-track {
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.groq-meter-bar {
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.groq-bar-ok      { background: #28a745; }
.groq-bar-laag    { background: #fd7e14; }
.groq-bar-kritiek { background: #dc3545; }

.groq-meter-reset {
    margin-top: 3px;
    font-size: 11px;
    color: #888;
}

.groq-meter-reset i {
    margin-right: 3px;
}

.groq-geen-data {
    color: #888;
    font-size: 12px;
    margin: 0;
}

/* Secties */
.dash-sectie {
    margin-bottom: 28px;
}

.dash-sectie-titel {
    font-size: 15px;
    font-weight: 700;
    color: #333333;
    margin: 0 0 12px 0;
    padding-bottom: 6px;
    border-bottom: 2px solid #e8e8e8;
}

.dash-sectie-titel i {
    color: #aaaaaa;
    margin-right: 6px;
    font-size: 13px;
}

/* Kaartjes (totaalgemiddelden) */
.dash-kaarten {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
}

.dash-kaart {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 6px;
    min-height: 94px;
    text-align: center;
    color: #ffffff;
}

.dash-kaart-totaal {
    min-height: 100px;
    border: 2px solid rgba(0,0,0,0.15);
}

.dash-kaart-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.85;
    margin-bottom: 4px;
    line-height: 1.3;
}

.dash-kaart-score {
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
}

.dash-kaart-max {
    font-size: 11px;
    opacity: 0.7;
}

/* Kleurcodering dashboard (rood=laag, oranje=midden, groen=hoog) */
.kleur-laag   { background-color: #b42318; }
.kleur-midden { background-color: #b45309; }
.kleur-hoog   { background-color: #166534; }

/* Badges in tabellen */
.dash-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
}

.dash-badge-sm {
    display: inline-block;
    padding: 1px 5px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
}

/* Tabellen */
.dash-tabel-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.dash-tabel {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    white-space: nowrap;
}

.dash-tabel th {
    background-color: #f4f4f4;
    border-bottom: 2px solid #e0e0e0;
    padding: 7px 10px;
    text-align: left;
    font-weight: 600;
    color: #555555;
    font-size: 11px;
}

.dash-tabel td {
    padding: 7px 10px;
    border-bottom: 1px solid #f0f0f0;
    color: #333333;
    vertical-align: middle;
}

.dash-tabel tbody tr:hover td {
    background-color: #fafafa;
}

.dash-tabel td.num {
    text-align: center;
}

.dash-tabel a {
    color: #0b4d8e;
    text-decoration: none;
}

.dash-tabel a:hover {
    text-decoration: underline;
}

.dash-tabel-artikelen td:first-child {
    white-space: normal;
    min-width: 200px;
    max-width: 320px;
}

/* Twee kolommen (top/flop) */
.dash-twee-kolommen {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 28px;
}

@media (max-width: 700px) {
    .dash-twee-kolommen {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 960px) {
    .dash-hero-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dash-hero-main {
        grid-column: span 2;
    }

    .dash-insights-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .filter-quick {
        margin-left: 0;
    }
}

@media (max-width: 760px) {
    .dashboard-filters-sticky {
        position: static;
        box-shadow: none;
    }

    .dash-hero-grid {
        grid-template-columns: 1fr;
    }

    .dash-hero-main {
        grid-column: auto;
    }

    .dash-insights-grid {
        grid-template-columns: 1fr;
    }

    .dash-tabel-wrap {
        display: none;
    }

    #tab-categorie .dash-tabel-wrap,
    #tab-periode .dash-tabel-wrap {
        display: block;
    }

    #tab-artikelen .dash-tabel-wrap {
        display: none;
    }

    .dash-artikel-cards {
        display: grid;
    }
}

@media (max-width: 900px) {
    .content-area.dashboard-layout .main-column.full-width {
        max-width: 100%;
    }
}

/* Ranking lijsten */
.dash-ranking {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: ranking;
}

.dash-ranking-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 14px;
    margin-bottom: 6px;
    border-radius: 4px;
    border-left: 4px solid rgba(0,0,0,0.15);
    background-color: rgba(0,0,0,0.04);
}

.dash-ranking-item.kleur-hoog { border-left-color: #166534; background-color: #edf8f1; }
.dash-ranking-item.kleur-laag { border-left-color: #b42318; background-color: #fff3f2; }

.dash-ranking-titel {
    font-size: 12px;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
    line-height: 1.4;
}

.dash-ranking-titel:hover {
    text-decoration: underline;
    color: #0b4d8e;
}

.dash-ranking-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dash-ranking-cat {
    font-size: 10px;
    color: #5f6c7b;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* ─── einde kwaliteitsdashboard ─── */

/* ---- Reacties sectie ---- */
.reacties-sectie {
    background-color: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 3px;
    padding: 20px;
    margin-top: 20px;
}

.reacties-sectie h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1a1a1a;
    border-bottom: 2px solid #0105bf;
    padding-bottom: 8px;
}

.reactie-form input,
.reactie-form textarea {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #dddddd;
    border-radius: 3px;
    font-size: 14px;
    color: #333;
    margin-bottom: 12px;
    font-family: inherit;
}

.reactie-form input:focus,
.reactie-form textarea:focus {
    outline: none;
    border-color: #0105bf;
}

.reactie-form textarea {
    min-height: 100px;
    resize: vertical;
}

.reactie-form button {
    background-color: #0105bf;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.reactie-form button:hover {
    background-color: #ff6600;
}

/* ---- S24-reacties sectie ---- */
.reacties-s24 h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #1a1a1a;
    border-bottom: 2px solid #e8a000;
    padding-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.reacties-s24-teller {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #e8a000;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 10px;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
}

.reacties-s24-toelichting {
    font-size: 13px;
    color: #777777;
    margin-bottom: 14px;
}

.reacties-s24-toelichting a {
    color: #e8a000;
    text-decoration: none;
}

.reacties-s24-toelichting a:hover {
    text-decoration: underline;
}

.reactie-item-s24 {
    background-color: #fffdf5;
    border-left: 3px solid #e8a000;
    padding-left: 12px;
}

.reactie-bron-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background-color: #e8a000;
    color: #ffffff;
    border-radius: 3px;
    padding: 1px 5px;
    margin-left: 6px;
    vertical-align: middle;
}

/* ---- Sidebar ---- */
.sidebar {
    position: sticky;
    top: 20px;
}

.widget {
    background-color: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 3px;
    margin-bottom: 20px;
    overflow: hidden;
}

.widget-title {
    background-color: #0105bf;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 9px 14px;
}

.widget-content {
    padding: 12px 14px;
}

/* Recente berichten widget */
.widget-recente-berichten ul li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
    line-height: 1.4;
}

.widget-recente-berichten ul li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.widget-recente-berichten ul li a {
    color: #333333;
    font-weight: 600;
}

.widget-recente-berichten ul li a:hover {
    color: #0105bf;
}

.widget-recente-berichten .bericht-datum {
    font-size: 11px;
    color: #aaaaaa;
    display: block;
    margin-top: 2px;
}

/* Categorieën widget (niet langer in gebruik, stijl bewaard voor eventueel hergebruik) */
.widget-categorieen ul li {
    padding: 4px 0;
    border-bottom: 1px solid #f8f8f8;
    font-size: 13px;
}

.widget-categorieen ul li a {
    color: #555555;
    display: flex;
    justify-content: space-between;
}

.widget-categorieen ul li a:hover {
    color: #0105bf;
}

.widget-categorieen .aantal {
    color: #bbbbbb;
    font-size: 11px;
}

/* Recente reacties widget */
.widget-recente-reacties .reactie-item {
    padding: 8px 0;
    border-bottom: 1px solid #f4f4f4;
    font-size: 12px;
}

.widget-recente-reacties .reactie-item:last-child {
    border-bottom: none;
}

.widget-recente-reacties .reactie-naam {
    font-weight: 600;
    color: #333333;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
}

.widget-recente-reacties .reactie-status {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 1px 5px;
    border-radius: 2px;
}

.widget-recente-reacties .status-goed {
    background-color: #e6f4e6;
    color: #44aa44;
}

.widget-recente-reacties .status-wacht {
    background-color: #fff4e0;
    color: #cc8800;
}

.widget-recente-reacties .reactie-tekst {
    color: #666666;
    line-height: 1.4;
    margin-bottom: 3px;
}

.widget-recente-reacties .reactie-meta {
    color: #aaaaaa;
    font-size: 11px;
}

.widget-recente-reacties .reactie-meta a {
    color: #888888;
}

.widget-recente-reacties .reactie-meta a:hover {
    color: #0105bf;
}

/* Recente wijzigingen widget */
/* ─── Pagina: Recent toegevoegd ──────────────────────────────────────────── */

.pagina-kop {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #1a1a2e;
}

.recent-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .recent-grid {
        grid-template-columns: 1fr;
    }
}

.recent-sectie {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    padding: 16px 18px;
}

.recent-sectie h2 {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: #1a1a2e;
    border-bottom: 2px solid #0105bf;
    padding-bottom: 7px;
}

.recent-sectie h2 i {
    color: #0105bf;
    margin-right: 5px;
}

.recent-lijst {
    list-style: none;
    margin: 0;
    padding: 0;
}

.recent-lijst > li {
    padding: 6px 0;
    border-bottom: 1px solid #f2f2f2;
    font-size: 13px;
    line-height: 1.4;
}

.recent-lijst > li:last-child {
    border-bottom: none;
}

.recent-lijst a {
    color: #1a1a2e;
    text-decoration: none;
    font-weight: 600;
}

.recent-lijst a:hover {
    color: #0105bf;
    text-decoration: underline;
}

.recent-meta {
    display: block;
    font-size: 11px;
    color: #999;
    margin-top: 2px;
}

.recent-meta a {
    color: #999;
    font-weight: 400;
}

.recent-meta a:hover {
    color: #0105bf;
}

.recent-cat {
    font-style: italic;
}

.recent-reactienaam {
    font-weight: 600;
    font-size: 12px;
    color: #444;
}

.reactie-snippet {
    display: block;
    color: #777;
    font-size: 12px;
    margin-top: 1px;
}

.score-badge {
    font-weight: 700;
    font-size: 14px;
}

.badge {
    display: inline-block;
    padding: 1px 5px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 700;
    vertical-align: middle;
    margin-left: 2px;
}

.badge-groen {
    background: #eafaf1;
    color: #27ae60;
}

.badge-oranje {
    background: #fef9e7;
    color: #d35400;
}

.bronnen-lijst {
    list-style: none;
    margin: 4px 0 0 0;
    padding: 0;
}

.bronnen-lijst li {
    font-size: 11px;
    padding: 1px 0;
}

.bronnen-lijst li::before {
    content: '↗ ';
    color: #aaa;
}

.bronnen-lijst li a {
    color: #0105bf;
    font-weight: 400;
    text-decoration: none;
}

.bronnen-lijst li a:hover {
    text-decoration: underline;
}

.leeg-melding {
    color: #bbb;
    font-size: 13px;
    margin: 0;
}

/* ─── Recente wijzigingen widget ───────────────────────────────────────────── */
.widget-recente-wijzigingen ul li {
    padding: 6px 0;
    border-bottom: 1px solid #f4f4f4;
    font-size: 12px;
}

.widget-recente-wijzigingen ul li:last-child {
    border-bottom: none;
}

.widget-recente-wijzigingen ul li a {
    display: block;
    color: #333333;
    font-weight: 600;
    margin-bottom: 2px;
}

.widget-recente-wijzigingen ul li a:hover {
    color: #0105bf;
}

/* Leeg-state in widgets */
.widget-leeg {
    font-size: 12px;
    color: #aaaaaa;
    font-style: italic;
    margin: 0;
}

/* Advertentie widget (niet langer in gebruik) */
.widget-advertentie {
    text-align: center;
}

.widget-advertentie img {
    width: 100%;
}

.widget-advertentie .advertentie-placeholder {
    background-color: #f5f5f5;
    color: #bbbbbb;
    font-size: 12px;
    padding: 40px 20px;
    text-align: center;
    border: 2px dashed #dddddd;
}

/* ---- Categorie / Archive pagina ---- */
.categorie-header {
    background-color: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 3px;
    padding: 16px 20px;
    margin-bottom: 20px;
    border-left: 4px solid #0105bf;
}

.categorie-header h1 {
    font-size: 22px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.categorie-header .beschrijving {
    font-size: 13px;
    color: #888888;
}

/* ---- Footer ---- */
.site-footer {
    background-color: #1a1a1a;
    color: #aaaaaa;
    padding: 30px 0 0;
    margin-top: 20px;
    font-size: 13px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 24px;
}

.footer-widget h4 {
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid #0105bf;
}

.footer-widget ul li {
    padding: 4px 0;
}

.footer-widget ul li a {
    color: #aaaaaa;
    font-size: 13px;
}

.footer-widget ul li a:hover {
    color: #ffffff;
    text-decoration: none;
}

.footer-widget p {
    line-height: 1.7;
    font-size: 13px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.footer-social a {
    background-color: #333333;
    color: #aaaaaa;
    width: 34px;
    height: 34px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: all 0.2s;
}

.footer-social a:hover {
    background-color: #0105bf;
    color: #ffffff;
    text-decoration: none;
}

.footer-bottom {
    background-color: #111111;
    padding: 12px 0;
    font-size: 12px;
    color: #666666;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-bottom a {
    color: #666666;
}

.footer-bottom a:hover {
    color: #0105bf;
}

/* ---- Breaking News balk ---- */
.breaking-news {
    background-color: #0105bf;
    color: #ffffff;
    padding: 7px 0;
    font-size: 13px;
    overflow: hidden;
}

.breaking-news .container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.breaking-label {
    background-color: #ffffff;
    color: #0105bf;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 2px;
    font-size: 11px;
    text-transform: uppercase;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.breaking-tekst {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.breaking-tekst a {
    color: #ffffff;
    font-weight: 600;
}

.breaking-tekst a:hover {
    text-decoration: underline;
}

/* ---- Section title ---- */
.sectie-titel {
    font-size: 18px;
    font-weight: 800;
    color: #1a1a1a;
    border-bottom: 3px solid #0105bf;
    padding-bottom: 8px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sectie-titel::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 20px;
    background-color: #0105bf;
    border-radius: 2px;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .content-area {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }

    .footer-widgets {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .site-header .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-toggle {
        display: block;
    }

    .main-nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    .main-nav ul.open {
        display: flex;
    }

    .main-nav ul li a {
        padding: 10px 14px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .footer-widgets {
        grid-template-columns: 1fr;
    }

    .topbar .datum {
        display: none;
    }

    .artikel-single .artikel-title {
        font-size: 20px;
    }
}


/* ─── Pagina: Statistieken ────────────────────────────────────────────────── */

.stat-totalen {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.stat-totaal-item {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-top: 3px solid #0105bf;
    border-radius: 6px;
    padding: 16px 24px;
    min-width: 140px;
    text-align: center;
    flex: 1;
}

.stat-totaal-item .stat-getal {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: #0105bf;
    line-height: 1;
}

.stat-totaal-item .stat-label {
    display: block;
    font-size: 12px;
    color: #888;
    margin-top: 4px;
}

.stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.stat-grid .reacties-kolom {
    grid-column: 1 / -1;
}

.vaste-hoogte-sectie {
    height: 560px;
    display: flex;
    flex-direction: column;
}

.vaste-hoogte-sectie .vaste-hoogte-lijst {
    flex: 1;
    overflow-y: auto;
    padding-right: 6px;
}

@media (max-width: 768px) {
    .stat-grid { grid-template-columns: 1fr; }
    .stat-totalen { flex-direction: column; }
    .vaste-hoogte-sectie { height: 440px; }
}

.stat-lijst {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: stat-teller;
}

.stat-lijst li {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px solid #f2f2f2;
    font-size: 13px;
    counter-increment: stat-teller;
}

.stat-lijst li:last-child { border-bottom: none; }

.stat-lijst li::before {
    content: counter(stat-teller);
    min-width: 18px;
    font-size: 11px;
    font-weight: 700;
    color: #aaa;
    flex-shrink: 0;
}

.stat-lijst a {
    color: #1a1a2e;
    text-decoration: none;
    font-weight: 600;
    flex: 1;
}

.stat-lijst a:hover { color: #0105bf; text-decoration: underline; }

.stat-getal-klein {
    font-size: 12px;
    font-weight: 700;
    color: #0105bf;
    white-space: nowrap;
    margin-left: auto;
}

/* Verkeersbronnen met balkjes */
.stat-bron-lijst {
    list-style: none;
    margin: 0;
    padding: 0;
}

.stat-bron-lijst li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    border-bottom: 1px solid #f2f2f2;
    font-size: 12px;
}

.stat-bron-lijst li:last-child { border-bottom: none; }

.stat-bron-naam {
    min-width: 120px;
    color: #444;
    font-weight: 600;
    flex-shrink: 0;
}

.stat-balk-wrap {
    flex: 1;
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
}

.stat-balk {
    display: block;
    height: 100%;
    background: #0105bf;
    border-radius: 4px;
    transition: width .3s;
}

/* Staafgrafiek: bezoeken per dag */
.stat-grafiek {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 110px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.stat-staaf-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    flex: 1;
    min-width: 20px;
    cursor: default;
}

.stat-staaf-getal {
    font-size: 9px;
    color: #999;
    min-height: 12px;
}

.stat-staaf {
    width: 100%;
    background: #0105bf;
    border-radius: 2px 2px 0 0;
    min-height: 2px;
}

.stat-staaf-dag {
    font-size: 9px;
    color: #bbb;
    white-space: nowrap;
    transform: rotate(-45deg);
    transform-origin: top center;
    margin-top: 4px;
}

/* ─── Pagina: Reacties ────────────────────────────────────────────────────── */

/* Rangcijfer in de top-reageerders lijst */
.stat-rang {
    min-width: 20px;
    font-size: 11px;
    font-weight: 700;
    color: #aaa;
    flex-shrink: 0;
    text-align: right;
}

/* Actief gefilterde rij in de top-lijst */
.stat-bron-lijst li.actief-filter {
    background: #f0f2ff;
    border-radius: 4px;
    padding-left: 6px;
    padding-right: 6px;
}

.stat-bron-lijst li.actief-filter .stat-bron-naam {
    color: #0105bf;
}

/* Reacties-kolom: volle breedte */
.reacties-kolom {
    grid-column: 1 / -1;
}

/* Zoekformulier */
.reacties-zoek-form {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.reacties-zoek-form input[type="text"] {
    padding: 7px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    width: 240px;
}

.reacties-zoek-form button {
    background: #0105bf;
    color: #fff;
    border: none;
    padding: 7px 14px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.reacties-zoek-form button:hover { background: #0003a0; }

.btn-wis-filter {
    font-size: 12px;
    color: #888;
    text-decoration: underline;
    cursor: pointer;
}

/* Filter-wissen knop naast de h2 */
.filter-wissen {
    font-size: 16px;
    color: #bbb;
    margin-left: 8px;
    vertical-align: middle;
}

.filter-wissen:hover { color: #e00; }

/* Bron-badge S24 */
.reactie-bron {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 3px;
    vertical-align: middle;
    margin-left: 4px;
}

.reactie-bron.s24 {
    background: #e8f0fe;
    color: #0105bf;
}

/* Lijst met reacties */
.reacties-lijst {
    list-style: none;
    margin: 0;
    padding: 0;
}

.reactie-item {
    padding: 14px 0;
    border-bottom: 1px solid #f2f2f2;
}

.reactie-item:last-child { border-bottom: none; }

.politieke-duiding-lijst {
    list-style: none;
    margin: 0;
    padding: 0;
}

.politieke-duiding-item {
    padding: 12px 0;
    border-bottom: 1px solid #f2f2f2;
}

.politieke-duiding-item:last-child { border-bottom: none; }

.duiding-badges-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.duiding-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    line-height: 1.2;
    border-radius: 999px;
    padding: 4px 9px;
    border: 1px solid transparent;
}

/* ─── Ontbrekende reactie-ID's ─── */
.ontbrekende-ids-sectie {
    background: #fff8f0;
    border-left: 4px solid #ff9900;
}

.ontbrekende-ids-sectie h2 {
    color: #ff6600;
}

.ontbrekende-ids-lijst {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ontbrekende-id-item {
    display: flex;
    flex-direction: column;
    padding: 10px 0;
    border-bottom: 1px solid #ffe6cc;
    font-size: 13px;
}

.ontbrekende-id-item:last-child {
    border-bottom: none;
}

.ontbrekende-id-nummer {
    font-weight: 600;
    color: #ff6600;
    margin-bottom: 3px;
}

.ontbrekende-id-timestamp {
    font-size: 12px;
    color: #666666;
    font-family: inherit;
}

/* ─── Statistiek ontbrekende ID's (7 dagen) ─── */
.ontbrekende-stats-sectie {
    background: #f0f8ff;
    border-left: 4px solid #0105bf;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.ontbrekende-stats-sectie h2 {
    color: #0105bf;
    width: 100%;
}

.ontbrekende-stats-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.stat-grote-getal {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.stat-grote-getal .percentage {
    font-size: 56px;
    font-weight: 700;
    color: #0105bf;
    line-height: 1;
}

.stat-grote-getal .percentage-teken {
    font-size: 32px;
    color: #0105bf;
    margin-top: 8px;
}

.stat-beschrijving {
    font-size: 13px;
    color: #666666;
    margin: 0;
    line-height: 1.4;
}

.duiding-badge strong {
    font-weight: 700;
}

.duiding-badge.sentiment-zeer-negatief {
    background: #fbe9e9;
    color: #8c1d1d;
    border-color: #efc0c0;
}

.duiding-badge.sentiment-negatief {
    background: #fff0ec;
    color: #a73712;
    border-color: #f7cabd;
}

.duiding-badge.sentiment-neutraal {
    background: #f1f3f5;
    color: #5b6168;
    border-color: #d6dbe0;
}

.duiding-badge.sentiment-positief {
    background: #ecf8ee;
    color: #1c7a33;
    border-color: #c4e8cb;
}

.duiding-badge.sentiment-zeer-positief {
    background: #e4f7ea;
    color: #136229;
    border-color: #b5dfbf;
}

/* ─── Pagina: Analyse ─────────────────────────────────────────────────────── */

.analyse-layout {
    display: grid;
    grid-template-columns: 330px 1fr;
    gap: 20px;
    align-items: start;
    margin-bottom: 24px;
}

.analyse-filters {
    position: sticky;
    top: 12px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}

.analyse-intro {
    margin: 8px 0 14px;
    color: #555;
    font-size: 14px;
}

.analyse-filter-hint {
    margin: 6px 0 12px;
    color: #666;
    font-size: 12px;
}

.analyse-filter-groep {
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    background: #fff;
    margin-bottom: 10px;
    overflow: hidden;
}

.analyse-filter-groep summary {
    cursor: pointer;
    list-style: none;
    font-size: 12px;
    font-weight: 700;
    color: #1f2c4c;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 10px 12px;
    background: #f7f9ff;
    border-bottom: 1px solid #e7ebff;
}

.analyse-filter-groep summary::-webkit-details-marker {
    display: none;
}

.analyse-filter-groep-inhoud {
    padding: 10px;
}

.analyse-filterblok {
    margin-bottom: 12px;
}

.analyse-filterblok label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
    font-weight: 600;
}

.analyse-filterblok input,
.analyse-filterblok select {
    width: 100%;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    padding: 8px 9px;
    font-size: 13px;
    background: #fff;
}

.analyse-filter-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.analyse-filter-grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
}

.analyse-subkop {
    font-size: 13px;
    text-transform: uppercase;
    color: #0105bf;
    margin: 16px 0 8px;
    letter-spacing: 0.4px;
}

.analyse-filter-acties {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
}

.analyse-filter-acties button {
    background: #0105bf;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 8px 14px;
    cursor: pointer;
    font-size: 13px;
}

.analyse-filter-acties button:hover {
    background: #0003a0;
}

.analyse-export-knop {
    background: #0c6a53;
}

.analyse-export-knop:hover {
    background: #09523f;
}

.analyse-reset-link {
    color: #888;
    text-decoration: underline;
    font-size: 12px;
}

.analyse-shareblok {
    margin-bottom: 12px;
    padding: 10px;
    border: 1px solid #e9e9e9;
    border-radius: 6px;
    background: #fafafa;
}

.analyse-preset-koppen {
    font-size: 12px;
    font-weight: 700;
    color: #444;
    margin-bottom: 6px;
}

.analyse-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.analyse-presets a {
    display: inline-block;
    border: 1px solid #ddd;
    border-radius: 999px;
    font-size: 11px;
    color: #555;
    text-decoration: none;
    padding: 4px 8px;
    background: #fff;
}

.analyse-presets a:hover {
    border-color: #0105bf;
    color: #0105bf;
}

.analyse-share-rij {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5px;
}

.analyse-share-rij label {
    font-size: 12px;
    color: #666;
    font-weight: 600;
}

.analyse-share-rij input {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 12px;
    padding: 7px 9px;
    color: #444;
}

.analyse-copy-knop {
    width: fit-content;
    border: 1px solid #d5d5d5;
    background: #fff;
    border-radius: 4px;
    font-size: 12px;
    color: #444;
    padding: 6px 9px;
    cursor: pointer;
}

.analyse-copy-knop:hover {
    border-color: #0105bf;
    color: #0105bf;
}

.analyse-stats {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.analyse-stat-item {
    background: #f6f7ff;
    border: 1px solid #e4e7ff;
    border-radius: 5px;
    min-width: 110px;
    padding: 8px 10px;
}

.analyse-stat-getal {
    display: block;
    font-size: 18px;
    line-height: 1;
    font-weight: 800;
    color: #0105bf;
}

.analyse-stat-label {
    font-size: 11px;
    color: #666;
}

.analyse-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}

.analyse-tabs a {
    display: inline-block;
    border: 1px solid #ddd;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    color: #555;
    text-decoration: none;
}

.analyse-tabs a.actief {
    background: #0105bf;
    color: #fff;
    border-color: #0105bf;
}

.analyse-sectie-kop {
    font-size: 17px;
    margin: 14px 0 10px;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.analyse-sectie-aantal {
    display: inline-block;
    min-width: 24px;
    padding: 1px 8px;
    border-radius: 999px;
    background: #e9eeff;
    color: #0105bf;
    font-size: 11px;
    font-weight: 700;
}

.analyse-overzicht-regel {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 12px;
    color: #555;
}

.analyse-overzicht-regel span {
    background: #f8f8f8;
    border: 1px solid #ececec;
    border-radius: 999px;
    padding: 4px 10px;
}

.analyse-snelnav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 12px;
}

.analyse-snelnav a {
    display: inline-block;
    border: 1px solid #ddd;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    color: #555;
    text-decoration: none;
    background: #fff;
}

.analyse-snelnav a:hover {
    border-color: #0105bf;
    color: #0105bf;
}

.analyse-lijst {
    list-style: none;
    margin: 0;
    padding: 0;
}

.analyse-item {
    border: 1px solid #ececec;
    background: #fff;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 10px;
}

.analyse-item-kop {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.analyse-item-titel,
.analyse-item-titel-link {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
}

.analyse-item-titel-link:hover {
    color: #0105bf;
    text-decoration: underline;
}

.analyse-badge {
    display: inline-block;
    font-size: 11px;
    color: #555;
    background: #f1f1f1;
    border-radius: 999px;
    padding: 2px 8px;
}

.analyse-meta {
    font-size: 11px;
    color: #999;
}

.analyse-meta-lijn {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 12px;
    color: #555;
    margin-bottom: 6px;
}

.analyse-inhoud-reactie,
.analyse-inhoud-pagina {
    font-size: 13px;
    line-height: 1.55;
    color: #333;
    margin: 8px 0;
    white-space: pre-wrap;
}

.analyse-details {
    margin-top: 8px;
}

.analyse-details summary {
    cursor: pointer;
    font-size: 12px;
    color: #0105bf;
    font-weight: 600;
}

.analyse-details-grid {
    margin-top: 8px;
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 4px 10px;
    font-size: 12px;
}

.analyse-details-grid span:nth-child(odd) {
    color: #666;
    font-weight: 600;
}

.analyse-details-grid span:nth-child(even) {
    color: #222;
    word-break: break-word;
}

@media (max-width: 1024px) {
    .analyse-layout {
        grid-template-columns: 1fr;
    }

    .analyse-filters {
        position: static;
        max-height: none;
        overflow: visible;
    }
}

@media (max-width: 768px) {
    .analyse-filter-grid-2,
    .analyse-filter-grid-3 {
        grid-template-columns: 1fr;
    }

    .analyse-details-grid {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .analyse-filter-acties {
        flex-wrap: wrap;
    }
}

.reactie-meta {
    font-size: 12px;
    color: #888;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

.reactie-naam {
    font-weight: 700;
    color: #0105bf;
    font-size: 13px;
    text-decoration: none;
}

.reactie-naam:hover { text-decoration: underline; }

.reactie-id {
    font-size: 11px;
    font-weight: 700;
    color: #666;
    background: #f3f3f3;
    border: 1px solid #e1e1e1;
    border-radius: 3px;
    padding: 0 5px;
    line-height: 1.5;
}

.reactie-datum { color: #aaa; }

.reactie-sep { color: #ddd; }

.reactie-artikel-link {
    color: #555;
    text-decoration: none;
    font-style: italic;
}

.reactie-artikel-link:hover {
    color: #0105bf;
    text-decoration: underline;
}

.reactie-inhoud {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .reacties-lijst .reactie-meta,
    .politieke-duiding-lijst .reactie-meta,
    .reacties-sectie .reactie-meta {
        gap: 6px;
        line-height: 1.45;
    }

    .reacties-lijst .reactie-sep,
    .politieke-duiding-lijst .reactie-sep,
    .reacties-sectie .reactie-sep {
        display: none;
    }

    .reacties-lijst .reactie-artikel-link,
    .politieke-duiding-lijst .reactie-artikel-link,
    .reacties-sectie .reactie-artikel-link {
        flex-basis: 100%;
        margin-top: 1px;
    }

    .reacties-lijst .reactie-id,
    .politieke-duiding-lijst .reactie-id,
    .reacties-sectie .reactie-id {
        font-size: 10px;
    }
}
