/* Container voor de agenda */
.agenda-list { 
    display: flex; 
    flex-direction: column; 
    gap: 15px; 
    margin-top: 20px; 
}

/* De link-wrapper: verwijdert alle browser-defaults (underline/blauw) */
.event-card-link { 
    text-decoration: none !important; 
    color: inherit !important; 
    display: block; 
    transition: transform 0.2s ease;
}

.event-card-link:hover { 
    text-decoration: none !important; 
    transform: scale(1.01); 
}

/* Standaard balk */
.event-bar {
    display: flex;
    align-items: flex-start;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    flex-wrap: wrap;
    color: #333;
    background-color: #ffffff;
}

/* --- KLEUREN SYSTEEM --- */
.bg-audience-1 { background-color: #007bff !important; color: #ffffff !important; }
.bg-audience-2 { background-color: #007bff !important; color: #ffffff !important; }
.bg-audience-3 { background-color: #28a745 !important; color: #ffffff !important; }
.bg-audience-4 { background-color: #fd7e14 !important; color: #ffffff !important; }

/* Forceer witte tekst binnen gekleurde balken */
.bg-audience-1 h2, .bg-audience-1 .meta-line, .bg-audience-1 .event-bar-date,
.bg-audience-2 h2, .bg-audience-2 .meta-line, .bg-audience-2 .event-bar-date,
.bg-audience-3 h2, .bg-audience-3 .meta-line, .bg-audience-3 .event-bar-date,
.bg-audience-4 h2, .bg-audience-4 .meta-line, .bg-audience-4 .event-bar-date { 
    color: #ffffff !important; 
}

/* Thumbnail styling */
.event-bar-image { margin-right: 20px; flex-shrink: 0; }
.event-bar-image img { width: 150px; height: 100px; object-fit: cover; border-radius: 6px; display: block; }

/* Datum box */
.event-bar-date { background: rgba(0,0,0,0.05); padding: 10px; border-radius: 6px; text-align: center; min-width: 70px; margin-right: 20px; }
.event-bar-date .day { font-size: 1.5rem; font-weight: bold; display: block; line-height: 1.2; }
.event-bar-date .month { font-size: 0.8rem; text-transform: uppercase; }

/* Informatie gedeelte */
.event-bar-info { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 200px; }
.event-bar-info h2 { margin: 0 0 5px 0; font-size: 1.3rem; }

/* Metadata onder elkaar */
.event-meta { 
    display: flex; 
    flex-direction: column; 
    gap: 0px; 
    font-size: 0.95rem; 
}
.meta-line { display: flex; align-items: center; gap: 8px; }

/* Mobiele optimalisatie */
@media (max-width: 768px) {
    .event-bar { flex-direction: column; align-items: flex-start; }
    .event-bar-image, .event-bar-date { margin-right: 0; margin-bottom: 15px; width: 100%; }
    .event-bar-image img { width: 100%; height: 200px; }
    .event-bar-date { width: 100%; box-sizing: border-box; }
}
















.date-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    text-transform: capitalize;
}

.date-container .day-name {
    font-size: 0.8em;
}

.date-container .day {
    font-size: 1.5em;
    font-weight: bold;
}

.date-container .month {
    font-size: 0.9em;
}
