body {
    font-family: Arial, sans-serif;
    margin: 2em;
    background-color: #f0f8ff;
    color: #333;
}
h1, h2 { color: #0c2f4f }

small { color: grey; }

.flex-container {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  margin: 2rem 0;
  flex-wrap: nowrap;  /* Voorkom dat de kolommen naar beneden vallen */
  max-width: 1200px;  /* Limiteer de breedte van de container */
  width: 100%;
  margin: 0 auto;  /* Centreer de container */
}

.agenda-column {
  flex: 2; /* Neem 2/3 van de ruimte */
  max-width: 100%; /* Zorg dat de agenda-kolom zich aanpast binnen zijn flexwaarde */
}

.player-column {
  flex: 1; /* Neem 1/3 van de ruimte */
  max-width: 300px; /* Maximaliseer de breedte van de player-kolom, maar laat het niet breder worden */
}

/* Responsieve aanpassing: bij smalle schermen zetten we de kolommen onder elkaar */
@media (max-width: 768px) {
    .flex-container {
        flex-direction: column; /* Zet de kolommen onder elkaar */
        gap: 1rem; /* Kleinere gap tussen de kolommen */
    }

    .agenda-column,
    .player-column {
        max-width: 100%; /* Laat beide kolommen zich volledig uitbreiden */
    }

    .player-column {
        margin-top: 1rem; /* Eventueel wat ruimte boven de player */
    }
}

/* ============
   AGENDA LIST
   ============= */
.agenda {
    list-style: none;
    padding: 0;
    margin: 1em 0;
}
.agenda li {
    display: flex;
    align-items: flex-start;
    gap: 0.5em;
    padding: 0.6em 0.8em;
    margin: 0.5em 0;
    background: rgba(200,200,200,0.4);
    border-radius: 8px;
    transition: background 0.3s;
}
.agenda li .time {
    flex: 0 0 4em;
    font-family: "Segoe UI Mono", "Roboto Mono", "Courier New", monospace;
    font-weight: 900;
    font-size: clamp(6px, 2.2vw, 12px);
    letter-spacing: 0.02em;
    background: rgba(0,0,0,0.6);
    color: #e6f7ff;
    padding: 6px 10px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.06);
    line-height: 1;
    text-align: right;
}
.agenda li > span.time + * {
    flex: 1;
}
.agenda li a {
    display: block;
    width: 100%;
    color: inherit;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s, color 0.3s;
}
.agenda li a:hover {
    background: #0f2e48;
    color: #fff;
    cursor: pointer;
}
.agenda li.future {
    background: rgba(200,200,200,0.2);
    color: #666;
    opacity: 0.6;
}

/* —============================
   OTHER BLOCKS
   ============================== */
.thuisblijvers {
    margin-top: 2em;
    padding: 1em;
    background: #f2e6d9;
    border-radius: 8px;
}
.thuisblijvers li {
    margin: 0.3em 0;
}
.future { opacity: 0.9; }
.RaagiWeg { background: #fca000; }

.top-buttons-container {
    display: flex;
    gap: 8px;
    margin-bottom: 1em;
}
.top-button {
    flex: 1;
    text-align: center;
    padding: 0.5em 0;
    background: #2a4d69;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background 0.3s;
}
.top-button:hover {
    background: #1b3a57;
}

.icoon { margin-right: 0.5em; }

/* ----------------------------
   GALLERY AND PLAYER
   ---------------------------- */
#gallery {
    margin: 0.2em auto;
    padding: 0.1em;
    background: rgba(255,255,255,0.4);
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    max-width: 900px;
}
.thumb {
    display: block;
    width: 54px;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}
.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.thumb.youtube::after {
    content: "▶";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5em;
    color: rgba(255,255,255,0.8);
    text-shadow: 0 0 6px #000;
    pointer-events: none;
}

#player { 
    margin: 2em auto; 
    width: 560px; 
    aspect-ratio: 9 / 16; 
    position: relative; 
    background: #000; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    transition: transform 0.3s ease-in-out; 
}
 





#player img, #player iframe {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#nav-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 1em;
}
#nav-buttons button {
    padding: 0.5em 1em;
    border: none;
    background: #2a4d69;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}
#nav-buttons button:hover {
    background: #1b3a57;
}
