/* =========================================
   1. VARIABELEN & BASIS
   ========================================= */
:root {
    /* Content width */
    --content-width: 900px;
    
    /* Huisstijl kleuren */
    --kleur-paars: #8B1E4F;
    --kleur-oranje: #F2A900;
    --kleur-donker: #1a1a1a;
    
    /* NIEUW: Warme achtergrondkleur (Crème/Eierschaal) */
    --kleur-achtergrond-warm: #fffbf2; 
    
    --kleur-groen-zacht: #dff0d8;
    --kleur-groen-tekst: #2d5a2d;
    --gradient-contact: linear-gradient(90deg, #E87C86 0%, #F4A868 100%);
    --wit: #ffffff;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: var(--kleur-donker);
    
    /* HIER GEBRUIKEN WE DE NIEUWE WARME KLEUR */
    background-color: var(--kleur-achtergrond-warm);
    
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Zorg dat de HEADER wel fris wit blijft voor het contrast */
header {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background-color: var(--wit); /* Blijft wit */
    border-bottom: 1px solid #eadbc8; /* Lijntje iets warmer gemaakt */
    padding: 15px 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    box-sizing: border-box;
}


.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 0 2rem;
    box-sizing: border-box;
}

/* Linkerkant: Logo + Merknaam */
.brand-area {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--kleur-donker);
}

.brand-logo-img {
    height: 50px;
    width: auto;
}

.brand-text {
    font-weight: 800;
    font-size: 1.1rem;
    line-height: 1.2;
    color: #1a1a1a;
    text-transform: uppercase;
}

/* Midden: Navigatie Menu */
nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

nav a.nav-link {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    font-size: 1rem;
}

nav a.nav-link:hover {
    color: var(--kleur-paars);

}
nav a.nav-link.active {
    color: var(--kleur-paars);
    font-weight: 700;
}


/* Rechterkant: Actie Knoppen */
.nav-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* Knop: Doneren (Lichtgroen) */
.btn-nav-doneren {
    background-color: var(--kleur-groen-zacht);
    color: var(--kleur-donker);
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
}

.btn-nav-doneren:hover {
    background-color: #cbeac2;
}

/* Knop: Contact (Gradient) */
.btn-nav-contact {
    background: var(--gradient-contact);
    color: var(--kleur-donker);
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.btn-nav-contact:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* =========================================
   3. HERO SECTIE (SPLIT SCREEN)
   ========================================= */
.split-hero {
    display: flex;
    flex-wrap: wrap; /* Zorgt dat het breekt op mobiel */
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    /* We halen de min-height iets omlaag zodat het op laptops mooier past */
    min-height: 75vh; 
}

.hero-part {
    flex: 1; /* Beide delen even groot */
    min-width: 320px; /* Niet smaller dan dit op mobiel */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4rem 2rem;
    text-align: center;
    color: var(--wit);
    position: relative;
}

/* De Radio Kant (Links) - Paars/Rood verloop */
.hero-radio {
    background: linear-gradient(135deg, var(--kleur-paars) 0%, #5e1435 100%);
}

/* De Bellijn Kant (Rechts) - Oranje/Geel verloop */
.hero-bel {
    background: linear-gradient(135deg, var(--kleur-oranje) 0%, #d49500 100%);
}

/* Typografie in Hero */
.hero-part h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.hero-part p {
    font-size: 1.2rem;
    max-width: 450px;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.hero-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

/* =========================================
   4. RADIO PLAYER STYLING
   ========================================= */
.custom-player {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 100%;
    max-width: 350px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
}

.play-btn {
    background-color: var(--wit);
    color: var(--kleur-paars);
    border: none;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    font-size: 2.5rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
    padding-left: 8px; /* Optisch centreren van play icoon */
}

/* Als hij pauzeert (twee streepjes), geen padding nodig */
.play-btn.playing {
    padding-left: 0;
}

.play-btn:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.live-indicator {
    display: inline-block;
    background-color: #ff3b30;
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 15px;
    box-shadow: 0 0 10px rgba(255, 59, 48, 0.5);
}

#statusText {
    font-weight: 600;
    font-size: 1.1rem;
}

/* =========================================
   5. BELLIJN KNOP
   ========================================= */
.bel-btn-large {
    background-color: var(--wit);
    color: #d49500; /* Donker oranje tekst */
    font-size: 1.8rem;
    font-weight: 800;
    padding: 20px 50px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    display: inline-block;
}

.bel-btn-large:hover {
    background-color: #fffaf0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* =========================================
   6. ALGEMENE CONTENT & PAGINA'S
   ========================================= */
.container {
    max-width: var(--content-width);
    margin: 3rem auto;
    padding: 0 2rem;
    flex: 1;
    width: 100%;
    box-sizing: border-box;
}

/* Sectie met volledige breedte achtergrond */
.section-header {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 3rem 2rem;
    background-color: var(--wit);
    border-bottom: 1px solid #eee;
    box-sizing: border-box;
}

.section-header .container {
    margin-top: 0;
    margin-bottom: 0;
    padding: 0 2rem;
}

.page-title {
    color: var(--kleur-paars);
    border-bottom: 4px solid var(--kleur-oranje);
    display: inline-block;
    margin-bottom: 2rem;
    font-size: 2rem;
}

/* Grid voor kaarten (Podcasts, Contact blokken) */
.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--wit);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #eaeaea;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.card:hover {
    box-shadow: 0 8px 15px rgba(0,0,0,0.05);
    border-color: var(--kleur-oranje);
}

/* Formulieren */
input, textarea {
    font-family: inherit;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

button[type="submit"] {
    background-color: var(--kleur-paars);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
}

/* =========================================
   7. FOOTER
   ========================================= */
footer {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background-color: #540072;
    color: #ccc;
    text-align: center;
    padding: 3rem 2rem;
    margin-top: auto;
    border-top: 5px solid var(--kleur-oranje);
    box-sizing: border-box;
}

footer a {
    color: var(--kleur-oranje);
    text-decoration: none;
}

.footer-content {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 2rem;
    box-sizing: border-box;
}

/* =========================================
   8. RESPONSIVE AANPASSINGEN (Mobiel/Tablet)
   ========================================= */
@media (max-width: 992px) {
    /* Navbar op tablet/mobiel */
    .nav-container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .nav-buttons {
        width: 100%;
        justify-content: center;
    }

    .brand-area {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    /* Hero sectie onder elkaar op mobiel */
    .split-hero {
        flex-direction: column;
    }
    
    .hero-part {
        min-height: auto; /* Geen vaste hoogte, laat inhoud bepalen */
        padding: 3rem 1.5rem;
    }
}



/* =========================================
   9. PODCAST SPECIFIEKE STIJLEN
   ========================================= */

/* De layout met zijbalk (Grid) */
.page-grid {
    display: grid;
    grid-template-columns: 1fr 350px; /* Links content, rechts vaste zijbalk */
    gap: 30px;
    align-items: start;
}

/* De Podcast Kaarten */
.podcast-item {
    background: var(--wit);
    border: 1px solid #eaeaea;
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.podcast-item:hover {
    box-shadow: 0 8px 15px rgba(0,0,0,0.05);
    border-color: var(--kleur-oranje);
}

.podcast-body {
    padding: 20px;
}

.podcast-meta {
    display: flex;
    gap: 10px;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
    align-items: center;
}

.tag {
    background: var(--kleur-lichtgrijs);
    padding: 2px 10px;
    border-radius: 12px;
    font-weight: bold;
    font-size: 0.8rem;
    color: var(--kleur-paars);
    border: 1px solid #ddd;
}

.podcast-body h3 {
    margin: 0 0 10px 0;
    color: var(--kleur-paars);
    font-size: 1.4rem;
}

.podcast-excerpt {
    color: var(--kleur-donker);
    font-size: 1rem;
    margin-bottom: 0;
}

/* SoundCloud Wrapper (voor de player) */
.embed-wrap {
    background: #f9f9f9;
    padding: 15px;
    border-top: 1px solid #eee;
}

.embed-wrap iframe {
    width: 100%;
    height: 166px;
    border: none;
    border-radius: 8px;
    display: block;
}

/* De Zijbalk (Sidebar) */
.sidebar-card {
    background: linear-gradient(180deg, #fffbf2 0%, #ffffff 100%); /* Zacht oranje gloed */
    border: 1px solid #ffeeba;
    padding: 25px;
    border-radius: 12px;
    position: sticky;
    top: 100px; /* Blijft hangen als je scrolt */
}

.sidebar-card h3 {
    color: var(--kleur-oranje);
    margin-top: 0;
    font-size: 1.5rem;
}

.sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-sidebar {
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    border: 1px solid transparent;
}

.btn-sidebar.primary {
    background-color: var(--kleur-paars);
    color: white;
}

.btn-sidebar.secondary {
    background-color: white;
    border: 1px solid var(--kleur-paars);
    color: var(--kleur-paars);
}

.btn-sidebar:hover {
    opacity: 0.9;
}

/* Mobiele aanpassing voor de Grid */
@media (max-width: 900px) {
    .page-grid {
        grid-template-columns: 1fr; /* Alles onder elkaar */
    }
    
    .sidebar-card {
        position: static; /* Niet meer sticky op mobiel */
        margin-top: 2rem;
    }
}







/* Zorg dat KAARTEN (zoals podcasts) ook wit zijn, zodat ze 'oppoppen' */
.card, .podcast-item, .sidebar-card {
    background-color: var(--wit);
    /* Rest van de styling blijft hetzelfde... */
}







/* =========================================
   10. INTRO / MISSIE BANNER (NIEUW)
   ========================================= */
.intro-banner {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background-color: var(--wit);
    text-align: center;
    padding: 3rem 2rem;
    border-bottom: 1px solid #eee;
    box-sizing: border-box;
}

.intro-content {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 2rem;
    box-sizing: border-box;
}

.intro-title {
    color: var(--kleur-paars);
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.intro-text {
    font-size: 1.25rem; /* Lekker groot leesbaar */
    color: var(--kleur-donker);
    line-height: 1.6;
}

/* Highlight de plaatsnamen even subtiel */
.intro-text strong {
    color: var(--kleur-oranje); 
}

/* Aanpassing Hero: iets minder padding aan de bovenkant 
   zodat het geheel op één scherm past indien mogelijk */
.split-hero {
    min-height: 60vh; 
}



/* =========================================
   11. COMPACT HERO (250px hoog)
   ========================================= */
.split-hero-compact {
    display: flex;
    flex-wrap: wrap;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    /* De gevraagde hoogte */
    height: 200px; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.hero-part-compact {
    flex: 1;
    min-width: 0;
    height: 100%; /* Vult de volledige 250px */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 2rem;
    color: var(--wit);
    text-align: left;
}

/* Content in hero limited to 450px per section */
.player-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 15px;
    width: 100%;
    max-width: 450px;
}

.praatje-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    max-width: 450px;
}

/* Radio Kant */
.hero-radio {
    background: linear-gradient(135deg, var(--kleur-paars) 0%, #5e1435 100%);
    align-items: flex-end;
}

/* Bellijn Kant */
.hero-bel {
    background: linear-gradient(135deg, var(--kleur-oranje) 0%, #d49500 100%);
    align-items: flex-start;
}

.hero-part-compact h2 {
    font-size: 1.8rem;
    margin: 0;
    line-height: 1.2;
}

.hero-subtext {
    font-size: 1rem;
    opacity: 0.9;
    margin-top: 5px;
    display: block;
}

/* Aangepaste knoppen voor de compacte balk */
.play-btn-compact {
    width: 60px;
    height: 60px;
    background-color: var(--wit);
    color: var(--kleur-paars);
    border-radius: 50%;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 5px; /* Optisch centreren */
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.bel-btn-compact {
    background-color: var(--wit);
    color: #d49500;
    font-weight: 800;
    font-size: 1.4rem;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.bel-btn-compact:hover { background-color: #fffbf0; }

/* Mobiel: Op mobiel moet de hoogte wel flexibel zijn, anders past het niet */
@media (max-width: 768px) {
    .split-hero-compact {
        height: auto; /* Laat hoogte los op mobiel */
        flex-direction: column;
    }
    .hero-part-compact {
        padding: 2rem;
        flex-direction: column; /* Onder elkaar op mobiel */
        text-align: center;
        gap: 15px;
    }
}

/* =========================================
   12. NIEUWS SECTIE
   ========================================= */
.news-section {
    width: 100%;
    padding: 3rem 2rem;
    background-color: var(--wit); /* Wit blok op de crème achtergrond */
    margin-top: 2rem;
    border-top: 1px solid #eee;
    box-sizing: border-box;
}

.news-section .container {
    margin-top: 0;
    margin-bottom: 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.news-card {
    background: var(--kleur-achtergrond-warm); /* Crème kleurige kaartjes */
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #eaeaea;
}

.news-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.news-image {
    width: 100%;
    height: 180px;
    background-color: #ddd; /* Placeholder grijs */
    object-fit: cover;
}

.news-content { padding: 1.5rem; }
.news-date { font-size: 0.85rem; color: #666; margin-bottom: 0.5rem; display: block; }
.news-title { font-size: 1.25rem; color: var(--kleur-paars); margin: 0 0 10px 0; font-weight: 700; }

.news-title::first-letter {
    text-transform: uppercase;
}
.news-link { color: var(--kleur-oranje); text-decoration: none; font-weight: bold; }


/* =========================================
   13. GEAVANCEERDE SPELER (Binnen compacte hero)
   ========================================= */

/* De container van de speler zelf */
.player-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 0 10px 15px;
    width: 100%;
    justify-content: space-between;
}

/* Album Art Vierkantje */
.album-art {
    width: 120px;
    height: 120px;
    background-color: #333;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0; /* Zorg dat hij niet geplet wordt */
    position: relative;
    overflow: hidden;
    margin-right: 15px;
    margin-left: auto;
    order: 3;
    transition: background-image 0.5s ease-in-out;
}

/* Play button wrapper */
.player-button-wrapper {
    order: 1;
    flex-shrink: 0;
}

/* Een overlay op de album art als de radio uit staat */
.album-art::after {
    content: '♪';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: rgba(255,255,255,0.3);
    background: rgba(0,0,0,0.2);
}

/* Tekstgedeelte (Midden) */
.track-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0; /* Belangrijk voor afkappen lange tekst */
    text-align: left;
    order: 2;
}

.song-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--wit);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* ... als tekst te lang is */
    margin-bottom: 2px;
}

.artist-name {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.status-badge {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #ff5555;
    font-weight: bold;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* De Play/Pauze knop (Rechts) */
.mini-play-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--wit);
    color: var(--kleur-paars);
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 4px; /* Optisch centreren */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    flex-shrink: 0;
}

.mini-play-btn:hover {
    background-color: #fff;
}

/* Aanpassing bestaande hero-radio voor betere uitlijning */
.hero-radio {
    /* Zorg dat de inhoud gecentreerd staat */
    justify-content: center; 
    padding: 0 1rem;
}



/* =========================================
   14. ARTIKEL DETAIL PAGINA (article.php)
   ========================================= */

/* We maken de container iets smaller voor de leesbaarheid */
.article-container {
    max-width: var(--content-width); /* Leest prettiger dan heel breed */
    background-color: var(--wit);
    padding: 40px;
    margin-top: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.back-link {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--kleur-oranje);
    text-decoration: none;
    font-weight: bold;
}

.article-title {
    font-size: 2.5rem;
    color: var(--kleur-paars);
    margin-bottom: 10px;
    line-height: 1.2;
}

.article-title::first-letter {
    text-transform: uppercase;
}

.article-meta {
    color: #888;
    margin-bottom: 30px;
    font-size: 0.9rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.article-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 30px;
}

/* De styling voor de tekst die uit WordPress komt */
.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--kleur-donker);
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content a {
    color: var(--kleur-paars);
    text-decoration: underline;
}

.article-content ul, .article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 20px;
}

.article-content h2, .article-content h3 {
    color: var(--kleur-paars);
    margin-top: 2rem;
}

/* Mobiel */
@media (max-width: 768px) {
    .article-container {
        padding: 20px;
        margin-top: 0;
    }
    .article-title {
        font-size: 2rem;
    }
}



/* =========================================
   14. ARTIKEL DETAIL PAGINA (article.php) - UPDATE
   ========================================= */

/* --- DE NIEUWE HERO HEADER (Volledige breedte) --- */
.article-hero-header {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    height: 450px; /* Vaste hoogte voor de banner */
    position: relative;
    overflow: hidden;
    background-color: var(--kleur-paars); /* Fallback kleur */
}

/* De afbeelding zelf */
.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Zorgt dat de foto de hele box vult zonder vervorming */
    object-position: center center; /* Centreer de foto */
    display: block;
}

/* Optioneel: een subtiel donker laagje over de foto zodat witte tekst beter leest */
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.4));
}

/* --- DE TEKST CONTAINER --- */
.article-container {
    max-width: var(--content-width);
    background-color: var(--wit);
    padding: 50px;
    margin-bottom: 50px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    position: relative; /* Nodig voor z-index */
    z-index: 10;
}

/* Als er een hero image is, trekken we de container een stukje naar boven
   zodat hij overlapt met de foto voor een modern effect */
.article-container.has-hero {
    margin-top: -100px; 
}

/* Als er GEEN hero image is, voegen we gewoon margin toe vanaf de header */
.article-container:not(.has-hero) {
    margin-top: 50px;
}

/* --- TITELS & META --- */
.back-link {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--kleur-oranje);
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.article-title {
    font-size: 3rem;
    color: var(--kleur-paars);
    margin-bottom: 15px;
    line-height: 1.1;
    font-weight: 900;
}

.article-meta {
    color: #888;
    margin-bottom: 40px;
    font-size: 1rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    font-style: italic;
}

/* --- DE CONTENT & OVERIGE AFBEELDINGEN --- */
.article-content {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--kleur-donker);
}

.article-content p {
    margin-bottom: 1.5rem;
}

/* ALLE AFBEELDINGEN IN DE TEKST */
.article-content img {
    max-width: 100%;     /* Nooit breder dan de container */
    height: auto;        /* Hoogte schaalt mee */
    display: block;
    margin: 30px auto;   /* Ruimte boven/onder en centreren */
    border-radius: 8px;  /* Nette afgeronde hoeken */
    box-shadow: 0 3px 10px rgba(0,0,0,0.1); /* Subtiele schaduw */
}

/* WordPress specifieke uitlijning (indien aanwezig in de JSON data) */
.article-content .aligncenter { margin: 30px auto; display: block; }
.article-content .alignleft { float: left; margin: 10px 25px 10px 0; }
.article-content .alignright { float: right; margin: 10px 0 10px 25px; }

/* --- MOBIELE AANPASSINGEN --- */
@media (max-width: 768px) {
    .article-hero-header {
        height: 250px; /* Banner minder hoog op mobiel */
    }
    .article-container.has-hero {
        margin-top: -50px; /* Minder overlap op mobiel */
        padding: 25px; /* Minder padding */
        border-radius: 12px 12px 0 0; /* Onderkant recht op mobiel */
    }
    .article-title {
        font-size: 2rem;
    }
}




/* =========================================
   15. HEADLINES LIJST (Index pagina)
   ========================================= */

.headlines-container {
    max-width: var(--content-width);
    margin: 3rem auto 0 auto; /* Ruimte boven de lijst */
    background-color: var(--wit);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #eaeaea;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.headlines-container h3 {
    margin-top: 0;
    color: var(--kleur-paars);
    border-bottom: 2px solid var(--kleur-oranje);
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 1.5rem;
}

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

.headline-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}


.headline-item a::first-letter {
    text-transform: uppercase;
}

.headline-item:last-child {
    border-bottom: none;
}

.headline-item:hover {
    background-color: #fafafa;
}

.headline-date {
    font-size: 0.85rem;
    color: #999;
    min-width: 100px; /* Zorgt dat titels netjes uitlijnen */
}

.headline-link {
    text-decoration: none;
    color: var(--kleur-donker);
    font-weight: 500;
    font-size: 1.05rem;
    flex: 1; /* Neemt de rest van de ruimte in */
}

.headline-link:hover {
    color: var(--kleur-paars);
    text-decoration: underline;
}

/* Knop naar archief */
.btn-archive {
    display: inline-block;
    margin-top: 1rem;
    padding: 10px 20px;
    background-color: var(--kleur-lichtgrijs);
    color: var(--kleur-donker);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.2s;
}

.btn-archive:hover {
    background-color: var(--kleur-paars);
    color: var(--wit);
}

/* Mobiele aanpassing voor headlines */
@media (max-width: 600px) {
    .headline-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    .headline-date {
        font-size: 0.75rem;
    }
}