﻿/* ============================================
   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%;
}

.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;
}

.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;
}

/* 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: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.dash-kaart {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 6px;
    min-width: 90px;
    text-align: center;
    color: #ffffff;
}

.dash-kaart-totaal {
    min-width: 110px;
    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: #cc3333; }
.kleur-midden { background-color: #cc8800; }
.kleur-hoog   { background-color: #44aa44; }

/* 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;
}

.dash-badge-sm {
    display: inline-block;
    padding: 1px 5px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 700;
    color: #ffffff;
}

/* 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: #1a6496;
    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;
    }
}

/* 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: #44aa44; background-color: #f0faf0; }
.dash-ranking-item.kleur-laag { border-left-color: #cc3333; background-color: #fff4f4; }

.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: #1a6496;
}

.dash-ranking-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dash-ranking-cat {
    font-size: 10px;
    color: #999999;
    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;
    }
}

