:root {
    --kleur-tekst: #1f2933;
    --kleur-achtergrond: #f7f9fb;
    --kleur-accent: #2563eb;
    --kleur-rand: #d7dde3;
    --kleur-fout: #b91c1c;
    --kleur-fout-bg: #fdecea;
    --kleur-succes: #166534;
    --kleur-succes-bg: #eafaf0;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--kleur-tekst);
    background: var(--kleur-achtergrond);
    line-height: 1.5;
}

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: #ffffff;
    border-bottom: 1px solid var(--kleur-rand);
}

.site-title {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--kleur-tekst);
    text-decoration: none;
}

.site-header nav a {
    margin-left: 1.25rem;
    color: var(--kleur-accent);
    text-decoration: none;
}

.site-header nav a:hover {
    text-decoration: underline;
}

.user-info {
    margin-left: 1.25rem;
    color: #6b7280;
}

main {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

h1 {
    margin-top: 0;
}

section {
    margin-bottom: 2rem;
}

.artikel-lijst {
    list-style: none;
    padding: 0;
}

.artikel-lijst li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--kleur-rand);
}

.artikel-lijst a {
    color: var(--kleur-accent);
    text-decoration: none;
    font-weight: 600;
}

.artikel-lijst a:hover {
    text-decoration: underline;
}

.artikel-lijst .datum {
    color: #6b7280;
    font-size: 0.9rem;
    margin-left: 0.5rem;
}

.leeg {
    color: #6b7280;
    font-style: italic;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    max-width: 480px;
}

.form label {
    font-weight: 600;
    margin-top: 0.75rem;
}

.form .veld-hint {
    font-weight: 400;
    color: #6b7280;
    font-size: 0.85rem;
}

.form input,
.form textarea {
    padding: 0.5rem;
    border: 1px solid var(--kleur-rand);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.form button {
    margin-top: 1.25rem;
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 4px;
    background: var(--kleur-accent);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    align-self: flex-start;
}

.form button:hover {
    opacity: 0.9;
}

.scheiding {
    border: none;
    border-top: 1px solid var(--kleur-rand);
    margin: 2.5rem 0 1.5rem;
    max-width: 480px;
}

.form .knop-verwijderen {
    background: var(--kleur-fout);
}

.flashes {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.flash {
    padding: 0.75rem 1rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.flash-error {
    background: var(--kleur-fout-bg);
    color: var(--kleur-fout);
}

.flash-success {
    background: var(--kleur-succes-bg);
    color: var(--kleur-succes);
}

.artikel-meta {
    color: #6b7280;
    font-size: 0.95rem;
}

.artikel-illustratie {
    max-width: 100%;
    border-radius: 4px;
    margin: 1rem 0;
}

.illustratie-bron {
    margin: 0.4rem 0 0;
    color: #6b7280;
    font-size: 0.85rem;
    font-style: italic;
}

.artikel-tekst {
    white-space: normal;
}

/* ---------------------------------------------------------------------
   Kaart-stijl voor overzicht.html en artikel_detail.html, gebaseerd op de
   meegeleverde Lumen "one-column" pagina (mint accentkleur, afgeronde kaart
   met schaduw, brede typografie). Herschreven als losstaande CSS in plaats
   van de Tailwind-CDN uit dat sjabloon over te nemen: die laadt een
   pagina-brede reset die ook login/verify/nieuw-artikel/404 zou raken
   (Tailwind's eigen documentatie raadt de CDN-versie sowieso af voor
   productie). Enkel deze twee templates gebruiken onderstaande klassen.
   --------------------------------------------------------------------- */
:root {
    --kleur-mint-tekst: #0b8a72;
    --kleur-mint-tekst-licht: #0fb99a;
}

.artikel-kaart {
    background: #ffffff;
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
    border: 1px solid var(--kleur-rand);
}

@media (min-width: 640px) {
    .artikel-kaart {
        padding: 2.5rem;
    }
}

.artikel-kaart .eyebrow {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--kleur-mint-tekst-licht);
}

.artikel-kaart h1 {
    margin: 0.5rem 0 0;
    font-size: 2.25rem;
    font-weight: 600;
}

.artikel-kaart h1.welkomsttekst {
    /* Vervangt de eyebrow+h1-combinatie op overzicht.html: dit is een volle
       zin (geen korte titel), dus geen uppercase/letter-spacing zoals
       .eyebrow (dat zou onleesbaar worden) - wel de mint-accentkleur
       behouden voor visuele continuïteit, en geen margin-top omdat dit nu
       het eerste element in de kaart is. */
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.6;
    font-weight: 500;
    color: var(--kleur-mint-tekst);
}

.artikel-kaart h2 {
    margin: 2.5rem 0 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.artikel-kaart .artikel-meta {
    margin: 1rem 0 0;
}

.artikel-lijst-kaart {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.artikel-lijst-kaart li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
    border-top: 1px solid var(--kleur-rand);
}

.artikel-lijst-kaart li:first-child {
    border-top: none;
}

.artikel-lijst-kaart a {
    font-weight: 600;
    color: var(--kleur-mint-tekst);
    text-decoration: none;
}

.artikel-lijst-kaart a:hover {
    text-decoration: underline;
}

.artikel-lijst-kaart .datum {
    color: #6b7280;
    font-size: 0.85rem;
    white-space: nowrap;
}

.artikel-kaart .artikel-illustratie {
    width: 100%;
    border-radius: 1rem;
    margin: 2rem 0 0;
}

.artikel-kaart .artikel-tekst {
    margin-top: 2rem;
    color: #475569;
}

.artikel-kaart .terug-link {
    display: inline-block;
    margin-top: 2.5rem;
    font-weight: 600;
    color: var(--kleur-mint-tekst);
    text-decoration: none;
}

.artikel-kaart .terug-link:hover {
    text-decoration: underline;
}
