/* Stijl van het spel op tickets.php (ticketverkoopGesloten.php), voor andere pagina's: lineup.php, fotos.php.
   Geel, roze en donkerblauw, schuine hoofdletters, witte kaarten met diepe schaduw, ronde knoppen met harde schaduw.
   (helperslijst.php heeft dezelfde stijl met eigen klassen.) */

.cs { --cs-geel: #ffde00; --cs-geel-rand: #c9a800; --cs-roze: #e7447b; --cs-blauw: #120f3a; --cs-tekst: #1f2433; --cs-zacht: #5d6475;
    max-width: 1240px; margin: 0 auto; padding: 50px 15px 80px; color: #fff; }

/* Kop van de pagina: gele, schuine badge met een korte tekst */
.cs-kop { text-align: center; max-width: 780px; margin: 0 auto 40px; }
.cs-badge { display: inline-block; background: var(--cs-geel); color: #111; font-size: 30px; line-height: 1.1; font-weight: 900; font-style: italic;
    text-transform: uppercase; padding: 12px 28px; border-radius: 16px; transform: rotate(-2deg); box-shadow: 0 8px 0 var(--cs-geel-rand), 0 18px 40px rgba(18,15,58,.3); }
.cs-kop p { color: #fff; font-size: 18px; margin: 26px 0 0; }

/* Kaarten */
.cs-kaart { background: #fff; color: var(--cs-tekst); border-radius: 18px; padding: 24px; box-shadow: 0 14px 40px rgba(18,15,58,.25); }
.cs-dagnaam { display: inline-block; background: var(--cs-blauw); color: #fff; font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: .5px;
    font-size: 14px; padding: 6px 16px; border-radius: 999px; }
.cs-titel { font-size: 30px; line-height: 1.15; font-weight: 900; font-style: italic; text-transform: uppercase; color: #fff; margin: 10px 0 0; }
.cs-binnenkort { background: #fff8c2; border: 2px dashed var(--cs-geel); border-radius: 16px; padding: 22px; color: #3b4252; font-size: 17px; font-weight: 700; text-align: center; }

/* Knoppen */
.cs-knop { display: inline-block; border: 0; border-radius: 999px; padding: 13px 30px; font-size: 18px; font-weight: 900; font-style: italic; text-transform: uppercase;
    background: var(--cs-geel); color: #111 !important; cursor: pointer; box-shadow: 0 6px 0 var(--cs-geel-rand); text-decoration: none; transition: transform .05s, box-shadow .05s; }
.cs-knop:hover { color: #111; transform: translateY(-1px); }
.cs-knop:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--cs-geel-rand); }
.cs-knop-roze { background: var(--cs-roze); color: #fff !important; box-shadow: 0 6px 0 #b8325f; }

/* Oproep onderaan een pagina */
.cs-oproep { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 50px; }
.cs-oproep h3 { margin: 0; font-size: 24px; font-weight: 900; font-style: italic; text-transform: uppercase; color: var(--cs-blauw); }
.cs-oproep p { margin: 4px 0 0; color: var(--cs-zacht); }

/* ---------- Bouwstenen voor tekstpagina's (overCC.php, reglement.php, kamping.php, ...) ---------- */
.cs-sectie { margin-top: 46px; scroll-margin-top: 120px; }
.cs-sectie:first-child { margin-top: 0; }
.cs-sectie-kop { margin-bottom: 20px; }

/* Opgemaakte tekst in een witte kaart */
.cs-inhoud { font-size: 16.5px; line-height: 1.65; color: var(--cs-tekst); }
.cs-inhoud > :first-child { margin-top: 0; }
.cs-inhoud > :last-child { margin-bottom: 0; }
.cs-inhoud h2, .cs-inhoud h3, .cs-inhoud h4 { color: var(--cs-blauw); font-weight: 900; font-style: italic; text-transform: uppercase; line-height: 1.15; margin: 28px 0 12px; }
.cs-inhoud h2 { font-size: 26px; }
.cs-inhoud h3 { font-size: 21px; }
.cs-inhoud h4 { font-size: 17px; }
.cs-inhoud p { color: var(--cs-tekst); font-size: inherit; line-height: inherit; margin: 0 0 14px; }
.cs-inhoud a { color: var(--cs-roze); font-weight: 700; text-decoration: underline; }
.cs-inhoud strong, .cs-inhoud b { color: var(--cs-blauw); }
.cs-inhoud ul, .cs-inhoud ol { margin: 0 0 16px; padding-left: 0; }
.cs-inhoud ul { list-style: none; }
.cs-inhoud ul li { position: relative; padding-left: 26px; margin: 0 0 8px; color: var(--cs-tekst); }
.cs-inhoud ul li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 10px; height: 10px; border-radius: 50%; background: var(--cs-roze); }
.cs-inhoud ol { padding-left: 22px; }
.cs-inhoud ol li { margin: 0 0 8px; color: var(--cs-tekst); }
.cs-inhoud img { max-width: 100%; height: auto; border-radius: 14px; }
.cs-inhoud hr { border: 0; border-top: 2px dashed #e3e6ee; margin: 24px 0; opacity: 1; }

/* Foto naast tekst (wisselt van kant met .cs-split-om) */
.cs-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; padding: 0; overflow: hidden; }
.cs-split-tekst { padding: 36px 40px; display: flex; flex-direction: column; justify-content: center; }
.cs-split-foto { min-height: 320px; background: var(--cs-blauw); }
.cs-split-foto img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0; }
.cs-split-om .cs-split-foto { order: 2; }
.cs-split + .cs-split { margin-top: 26px; }

/* Raster van kaarten */
.cs-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.cs-raster > .cs-kaart { height: 100%; }
.cs-kaart-titel { font-size: 20px; line-height: 1.15; font-weight: 900; font-style: italic; text-transform: uppercase; color: var(--cs-blauw); margin: 0 0 10px; }

/* Afbeelding in een kader (bv. plannetje, schema) */
.cs-figuur { background: #fff; border-radius: 18px; padding: 12px; box-shadow: 0 14px 40px rgba(18,15,58,.25); margin: 0; }
.cs-figuur img { width: 100%; height: auto; display: block; border-radius: 10px; }
.cs-figuur figcaption { color: var(--cs-zacht); font-size: 14px; padding: 10px 6px 2px; }

/* Tabel */
.cs-tabel-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cs-tabel { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; color: var(--cs-tekst); }
.cs-tabel th { background: var(--cs-blauw); color: #fff; font-weight: 800; text-transform: uppercase; font-size: 13px; letter-spacing: .5px; padding: 11px 14px; text-align: left; white-space: nowrap; }
.cs-tabel th:first-child { border-radius: 10px 0 0 0; }
.cs-tabel th:last-child { border-radius: 0 10px 0 0; }
.cs-tabel td { padding: 10px 14px; border-bottom: 1px solid #f0f1f5; vertical-align: top; }
.cs-tabel tbody tr:nth-child(even) td { background: #fafbfd; }
.cs-tabel tbody tr:hover td { background: #fff0f5; }

/* Video (aftermovie): foto met roze afspeelknop, opent in een popup via class popup-video (assets/js/main.js) */
.cs-video { position: relative; display: block; border-radius: 18px; overflow: hidden; aspect-ratio: 21 / 9; box-shadow: 0 14px 40px rgba(18,15,58,.3); background: var(--cs-blauw); }
.cs-video img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.cs-video:hover img { transform: scale(1.03); }
.cs-video::after { content: ""; position: absolute; inset: 0; background: rgba(18,15,58,.35); }
.cs-video-knop { position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -50%); width: 90px; height: 90px; border-radius: 50%;
    background: var(--cs-roze); color: #fff; display: grid; place-items: center; font-size: 36px; box-shadow: 0 8px 0 #b8325f, 0 18px 40px rgba(0,0,0,.35); }
.cs-video-knop i { margin-left: 6px; }
@media (max-width: 767px) { .cs-video { aspect-ratio: 16 / 10; } .cs-video-knop { width: 70px; height: 70px; font-size: 28px; } }

/* Melding / tip in een kaart */
.cs-melding { background: #fff0f5; border-left: 5px solid var(--cs-roze); border-radius: 12px; padding: 14px 18px; color: var(--cs-tekst); font-weight: 600; }

@media (max-width: 991px) {
    .cs-split { grid-template-columns: minmax(0, 1fr); }
    .cs-split-foto { min-height: 0; aspect-ratio: 16 / 10; order: -1 !important; }
    .cs-split-tekst { padding: 26px; }
}

@media (max-width: 767px) {
    .cs { padding-top: 34px; }
    .cs-inhoud { font-size: 15.5px; }
    .cs-inhoud h2 { font-size: 22px; }
    .cs-inhoud h3 { font-size: 19px; }
    .cs-badge { font-size: 22px; padding: 9px 18px; }
    .cs-kop p { font-size: 16px; }
    .cs-titel { font-size: 22px; }
    .cs-kaart { padding: 18px; }
    .cs-oproep .cs-knop { width: 100%; text-align: center; }
}
