/* Voor Muli Regular */
@import url('https://fonts.googleapis.com/css2?family=Muli:wght@300;400;600;700&display=swap');

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    background: #fff;
    min-width: 375px;
    display: flex;
    justify-content: center;
    font-family: 'Muli', sans-serif;
    font-size: 16px;
    line-height: 18px;
    font-weight: 400;
}

li.bulletitem {
    list-style: none; /* standaard bolletjes uit */
    position: relative;
    padding-left: 1.5em;
}

li.bulletitem::before {
    content: "•";           /* het bolletje */
    position: absolute;
    left: 0;                 /* positie vanaf de linkerrand */
    color: #000;
}

li.rssitem {
    padding-left: 0.2em;
    /* ruimte voor bolletje + witruimte */
    text-indent: -0.05em;
    /* trek eerste regel iets terug */
    margin-bottom: -0.8em;
        /* ← regelt verticale afstand */
    line-height: 1.2;
        /* ← optioneel, iets meer regelhoogte */
}

.rubriekinhoud ul {
    margin: 0;
    padding-left: 15px;
}

small {
    font-size: 0.6em;
    color: #4d4d4d;        /* 75% grijs op schaal van zwart (0%) tot wit (100%) */
}

iframe {
    border: none; /* Verbergt de rand van het iframe */
}

.error, i a:hover, .kolom a:hover {
	color:       red;
}

a:link, a:visited, a:active  {
   color: #000033;
   text-decoration: none;
   font-weight: normal;
}

.wrapper {
    max-width: 1025px;
    min-width: 375px;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
    background: #E6E6E6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}


@media (max-width: 768px) {
    .wrapper {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

/* Header */
.header-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    background: #E6E6E6;
}

.header-inner {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    background: #E6E6E6;
    margin-top: 10px;
    gap: 20px;
}

.left-column {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-width: 0;
        /* ← SUPER belangrijk in flexbox */
}

.logo {
    width: 100%;
    height: auto;
    display: block;
}

.right-column {
    flex-shrink: 0;
    width: auto;
}

.ad-banner {
    width: 180px;
    height: 150px;
    display: block;
}

@media (max-width: 900px) {
    .right-column {
        display: none;
    }
}

.zoekblok {
    margin-top: 10px;
    width: 100%;
    overflow-x: auto;
}

.zoek-select,
.zoek-input,
.zoek-knop {
    border: 1px solid #000066;
}

.zoekformulier-container {
    max-width: 100%;
    overflow-x: hidden;
    display: flex;
    flex-wrap: nowrap;
    gap: 5px;
    align-items: center;
}

.zoek-select {
    flex: 0 0 auto;
    width: 140px;
    background: #dddddd;     /* lichtgrijze achtergrond */
    color: #000066;          /* donkerblauwe tekst */
    height: 28px;
    font-size: 14px;
    /* border: none; */
}

.zoek-input {
    flex-shrink: 1;
    min-width: 0;
    flex: 1 1 auto;
    background: #dddddd;     /* lichtgrijze achtergrond */
    color: #000066;          /* donkerblauwe tekst */
    font-size: 14px;
    /* border: none; */
    height: 28px;
    box-sizing: border-box;
}

.zoek-knop {
    flex: 0 0 auto;
    width: 70px;
    background: #dddddd;     /* lichtgrijze achtergrond */
    color: #000066;          /* donkerblauwe tekst */
    height: 28px;
    font-size: 14px;
    /* border: none; */
    padding: 0 12px;
    cursor: pointer;
}


/* === Contentstructuur === */
.body-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    background: #E6E6E6;
    margin-top: 10px;
}

@media (max-width: 775px) {
    .body-inner {
        flex-direction: column;
    }
}

/* === Menu === */
.zijmenu {
    width: 160px;
    margin-right: 15px;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.2em;
    margin-bottom: 0.5em;
    cursor: pointer;
}

.menu-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-links li {
    margin: 0;
    padding: 0;
}

.menukop,
.menubg,
.menubg a:link,
.menubg a:visited,
.menuselect,
.menuselect a:link,
.menuselect a:visited,
.menubottom,
.menubottom a:link,
.menubottom a:visited {
    display: block;
    padding: 2px 10px;
    margin: 0;
    background-clip: padding-box;
    text-decoration: none;
}

.menukop,
.menukop a:link,
.menukop a:visited,
.menukop a:active {
    font-size: 15px;
    font-family: 'Source Sans 3', sans-serif;
    font-variant: small-caps;
    background-color: #000066;
    color: white;
    text-align: left;
    padding: 2px 10px;
    line-height: 13px;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.menuspacer {
    height: 8px;
    /* of een andere hoogte zoals 10px */
}

.menukop {
    padding: 4px 6px !important;
    /* boven/onder: 4px, links/rechts: 6px */
}

.menubg,
.menubg a:link,
.menubg a:visited {
    background-color: #A4A4A4;
    color: white;
    text-align: left;
    font-family: 'Muli', sans-serif;
    font-size: 12px;
    line-height: 14px;
}

.menubg a:hover {
    background-color: #A4A4A4;
    color: #FFFF00;
}

.menubg a:active {
    color: white;
}

.menuselect,
.menuselect a:link,
.menuselect a:visited {
    background-color: #FF0000;
    color: white;
    text-align: left;
    font-family: 'Muli', sans-serif;
    font-size: 12px;
    line-height: 14px;
}

.menuselect a:hover {
    background-color: #FF0000;
    color: #FFFF00;
}

.menuselect a:active {
    color: white;
}

.menubottom,
.menubottom a:link,
.menubottom a:visited {
    background-color: #000066;
    color: white;
    text-align: left;
    font-family: 'Muli', sans-serif;
    font-size: 10px;
    line-height: 12px;
    font-weight: 600;
}

.menubottom a:hover {
    color: #FFFF00;
}

@media (max-width: 775px) {
    .zijmenu {
        width: 100%;
    }

    .menu-links {
        display: none;
    }

    .menu-links.open {
        display: block;
    }

    .hamburger {
        display: block;
    }

    .menu-links.open~.menukop {
        display: block;
    }
}

.content-grid {
    display: grid;
    gap: 15px;
    width: 100%;
}

/* Normale layout: 1-3 kolommen responsief */
.content-grid:not(.twee-kolommen) {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Als dossier == ja: 2 kolommen waarbij de tweede dubbel zo breed is */
.content-grid.twee-kolommen {
    grid-template-columns: 1fr 2fr;
}

.kolommen-wrapper {
    overflow-x: auto;
    width: 100%;
}

.kolommen-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* of 3 als je dat wilt */
    gap: 0.5rem;

    max-width: none;
    /* mag zo breed zijn als nodig */
    margin-left: 0;
    margin-right: 0;
}

.kolommen-grid-dossier {
    display: grid;
    grid-template-columns: 2fr 1fr;
    /* grid-template-columns: repeat(2, 1fr); */
    /* of 3 als je dat wilt */
    gap: 0.5rem;

    max-width: none;
    /* mag zo breed zijn als nodig */
    margin-left: 0;
    margin-right: 0;
}


@container kolomgrid (max-width: 600px) {
    .blokken {
    grid-template-columns: 1fr;
    }
}

@container kolomgrid (min-width: 601px) and (max-width: 900px) {
    .blokken {
    grid-template-columns: 1fr 1fr;
    }
}

.kolom {
    display: flex;
    padding: 0;
    flex-direction: column;
    background-color: #fff;
    /* optioneel */
    border: 1px solid #ddd;
}

.kolomkop {
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 0.6rem;   /* witruimte onder de rode kolomtitel: de helft van 1.2rem */
    text-align: center;
    font-family: 'Muli', sans-serif;
    font-weight: 700;
    line-height: 26px;
    font-variant: small-caps;
    color: white;
    background-color: #FF0000;
}

.blokken {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: 1fr;
}

.feeds {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: 2fr;
}

.blok {
    padding: 0;
    border: 0;
}

@media (max-width: 900px) {
    .kolommen-grid {
        grid-template-columns: 2fr;
    }

    .blokken {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .kolommen-grid-dossier {
        grid-template-columns: 2fr;
    }

    .blokken {
        grid-template-columns: 1fr 1fr;
    }
}

/* Alleen van toepassing op iframe-weergave */
body.iframe-feed {
    margin: 0;
    padding: 0;
    background: white;
    /* background: #E6E6E6; */
    font-family: 'Muli', sans-serif;
    font-size: 16px;
    line-height: 18px;
    font-weight: 400;
}

body.iframe-feed .blokken {
    display: block;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

body.iframe-feed .rubriek {
    background: white;
    border: 0;
    /* border: 1px solid #ddd; */
    /* padding: 0.5rem 0.8rem; */
    margin: 1rem auto;
    width: 100%;
    box-sizing: border-box;
}

body.iframe-feed .rubriekkop {
    margin-top: 0;
    margin-bottom: 5pt;
    padding: 0;
    font-size: 16px;
    line-height: 22px;
    font-weight: 600;
    font-family: 'Muli', sans-serif;
    text-align: center;
    background-color: #000066;
    color: white;
}

body.iframe-feed .rubriek ul {
    margin: 0;
    padding-left: 15px;
    /* list-style-type: disc; */
}

body.iframe-feed li.rssitem {
    padding-left: 0.2em;
    /* ruimte voor bolletje + witruimte */
    text-indent: -0.05em;
    /* trek eerste regel iets terug */
    margin-bottom: 0.2em;
    /* ← regelt verticale afstand */
    line-height: 1.2;
    /* ← optioneel, iets meer regelhoogte */
}

body.iframe-feed small {
    font-size: 0.6em;
    color: #4d4d4d;
}

.rubriekkop {
    margin-top: 0;
    margin-bottom: 5pt;
    padding: 0;
    font-size: 16px;
    line-height: 22px;
    font-weight: 600;
    font-family: 'Muli', sans-serif;
    text-align: center;
    background-color: #000066;
    color: white;
}

.rubriekkop a {
    color: white;
    text-decoration: none;
}

.rubriekkop a:hover {
    text-decoration: underline;
}

.rubriekkoprood {
    background-color: #FF0000;
    color: white;
    font-size: 16px;
    line-height: 21px;
    font-weight: 600;
    font-family: 'Muli', sans-serif;
    text-align: center;
    margin-bottom: 5pt;
}

.rubriekkoprood a {
    color: white;
    text-decoration: none;
}

.rubriekkoprood a:hover {
    text-decoration: underline;
}

.rubriekinhoud {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    padding: 0 0.6em;
    font-size: 0.95rem;
}

i {
    display: inline-block;
    margin-top: 0.5em;
    /* of bijv. 8px */
}

/* === Footer === */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.footer {
    clear: both;
    width: 100%;
    text-align: center;
    font-size: 12px;
    color: #666;
}
/* ===== Mobiele correcties (style6) ===== */
body {
    margin: 0;          /* standaard 8px browsermarge weg: geen witte rand */
    min-width: 0;       /* niet langer minimaal 375px breed */
}

.wrapper {
    min-width: 0;
    width: 100%;
}

img, iframe, select, input {
    max-width: 100%;
}

.kolommen-grid > *,
.kolommen-grid-dossier > *,
.blokken > *,
.content-grid > * {
    min-width: 0;       /* kolommen mogen smaller worden dan hun inhoud */
}

.content-grid:not(.twee-kolommen) {
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
}

@media (max-width: 600px) {
    .wrapper {
        padding-left: 0.25rem;
        padding-right: 0.25rem;
    }
    .blokken {
        grid-template-columns: 1fr;   /* één kolom op een telefoon */
    }
    .content-grid.twee-kolommen {
        grid-template-columns: 1fr;
    }
    .header-inner {
        gap: 8px;
    }
    .zoek-select { width: 100px; }
    .zoek-knop  { width: 56px; padding: 0 6px; }
}

@media (max-width: 360px) {
    .logo {
        max-width: 100%;
    }
    .zoek-select { width: 80px; font-size: 12px; }
    .zoek-input, .zoek-knop { font-size: 12px; }
}

/* ===== Menu: lange titel netjes laten overlopen (style8) =====
   Een lange menutitel die naar de volgende regel valt, begint nu onder
   de tekst van de eerste regel, niet onder het bolletje (·).          */
.menubg a:not(:has(.menuspacer)),
.menuselect a:not(:has(.menuspacer)) {
    padding-left: calc(10px + 0.5em);  /* ruimte voor het bolletje */
    text-indent: -0.5em;               /* eerste regel schuift terug */
}
