/* Kersenfeest Gendt: wat de oude Elementor-site anders deed dan de standaard Websitestijl. Kleuren en maten staan bij Websitestijl. */
@import url('/public/uploads/elementor/custom-icons/custom-icon/style.css'); /* eigen iconen (Lunapark, Feesttent, ...) uit de oude site */

/* Koppen: hoofdletters, iets gespatieerd; kleuren per niveau zoals in het oude ontwerp */
:where(h1, h2, h3, h4, h5, h6) { text-transform: uppercase; letter-spacing: 1px; line-height: 1; }
.yl-content :where(p) { line-height: 1.8; margin: 0 0 .9em; }
h1 { letter-spacing: 2px; }
:is(.yl-section[style*="--yl-img"], .yl-page-header) h1 { color: #fff; } /* witte titel alleen op een foto */
h3 { font-size: 13px; color: var(--c-primary); } /* kleiner dan Websitestijl toestaat: het rode kopje boven een titel */
h4 { color: var(--c-primary); line-height: 1.6; }
h6 { color: #e65f63; }
/* Raster zoals Elementor: sectie zonder zijmarge, kolommen tegen elkaar met elk 10px binnenruimte (een eigen kolomopvulling vervangt die) */
:is(.yl-content, .yl-footer) .yl-section { padding-left: 0; padding-right: 0; }
:is(.yl-content, .yl-footer) .yl-cols { gap: 0; }
:is(.yl-content, .yl-footer) .yl-col { padding: 10px; }
.yl-col { gap: 20px; }
.yl-content .yl-el[data-el="afbeelding"]:not(.yl-free) img { display: inline-block; vertical-align: middle; } /* zoals Elementor: afbeelding in een tekstregel */
.kf-genest > .yl-wrap { padding: 0 10px; } /* binnensectie in een kolom: 10px verder naar binnen, zoals in Elementor */

/* Knoppen */
.yl-btn:not(.is-omlijnd) { border: 0; }
.yl-btn { padding: 12px 50px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; line-height: 1; }
.yl-btn:hover { background: #da444e; border-color: #da444e; filter: none; }
@media (max-width: 1024px) { .yl-btn { padding: 10px 40px; } }

/* Kop en menu, zoals de oude site: inhoud 1300px breed met 20px marge, logo 70px, menu over de hele breedte uitgevuld */
.yl-header .yl-header-inner { max-width: var(--width); padding-left: 20px; padding-right: 20px; gap: 20px; }
.yl-menu a { letter-spacing: 1px; }
.yl-menu > li > a:hover, .yl-menu ul a:hover { color: var(--c-primary); }
.yl-menu ul { border-radius: 0; padding: 0; box-shadow: none; }
.yl-menu ul a { border-radius: 0; padding: 13px 20px; }
.yl-menu ul a:hover, .yl-menu ul [aria-current] { background: #fff; }
.yl-menu-toggle { width: 33px; height: 33px; padding: 5px; border-radius: 3px; background: var(--c-primary); color: #fff; } /* rode menuknop zoals de oude site */
@media (max-width: 767px) {
    .yl-header .yl-header-inner { min-height: 0; padding: 10px 15px; }
    .yl-header .yl-brand img { height: auto; width: 60px; }
}
@media (min-width: 1025px) {
    .yl-header .yl-nav { flex: 1; }
    .yl-header .yl-nav > .yl-menu { flex: 1; flex-wrap: nowrap; justify-content: space-around; } /* = Elementor 'uitvullen': gelijke extra ruimte per item */
    .yl-header .yl-nav > .yl-menu > li > a { padding: 13px 0; text-align: center; white-space: nowrap; }
    .yl-menu > .menu-item-has-children > a { display: flex; justify-content: center; align-items: center; }
    .yl-menu > .menu-item-has-children > a::before { float: none; order: 2; width: 0; height: 0; margin: 0 0 0 10px; border: 4px solid transparent; border-top-color: currentColor; border-bottom-width: 0; transform: none; } /* driehoekje zoals in de oude site */
}

/* Lagen van de oude site: overlay (kleur, verloop of afbeelding, met dekking en mengmodus) en de achtergrond van de enige kolom */
.yl-section[style*="--yl-laag"]::before, .yl-section[style*="--yl-kolom"]::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.yl-section[style*="--yl-laag"]::before { background: var(--yl-laag); opacity: var(--yl-laag-dekking, 1); mix-blend-mode: var(--yl-laag-mengen, normal); }
.yl-section[style*="--yl-kolom"]::after { background: var(--yl-kolom); }
html.a11y-hide-images .yl-section::after { display: none; }
.kf-onder > .yl-wrap { justify-content: flex-end !important; }
@container site (max-width: 1024px) {
    .kf-t-links { text-align: left !important; align-self: flex-start !important; }
    .kf-t-midden { text-align: center !important; align-self: center !important; }
    .kf-t-rechts { text-align: right !important; align-self: flex-end !important; }
}
@container site (max-width: 767px) {
    .kf-m-links { text-align: left !important; align-self: flex-start !important; }
    .kf-m-midden { text-align: center !important; align-self: center !important; }
    .kf-m-rechts { text-align: right !important; align-self: flex-end !important; }
}
@container site (max-width: 1024px) {
    .yl-section[style*="--yl-kolom-t"]::after { background: var(--yl-kolom-t); }
    .yl-section[style*="--yl-mh-t"] { min-height: var(--yl-mh-t) !important; }
}
@container site (max-width: 767px) {
    .yl-section[style*="--yl-kolom-m"]::after { background: var(--yl-kolom-m); }
    .yl-section[style*="--yl-mh-m"] { min-height: var(--yl-mh-m) !important; }
}

/* Paginatitel (pagina's zonder eigen banner, berichten): zelfde banner als de oude site */
.yl-page-header { display: flex; align-items: center; min-height: 200px; padding: 40px 0; text-align: center;
    background: linear-gradient(135deg, rgba(255, 190, 0, .55), rgba(160, 35, 127, .55)), url('/public/uploads/2025/03/slider-0.jpeg') center / cover; }
.yl-page-header .yl-container { width: 100%; }
.yl-page-header .yl-page-title { color: #fff; }

/* Decoratie (vlekken, stippen, cirkels): achter de inhoud, niet klikbaar; op een telefoon weg zoals de meeste in het oude ontwerp */
.kf-deco { pointer-events: none; }
.kf-deco img { display: block; width: 100%; border-radius: 0; }
@container site (max-width: 767px) { .kf-deco { display: none; } }

/* Zichtbaarheid per apparaat (zoals in Elementor). Niet in de bewerkmodus, anders zijn die onderdelen niet te bewerken.
   @container: dan klopt ook de telefoonweergave in de editor. */
@container site (min-width: 1025px) { body:not(.is-editing) .kf-verberg-desktop { display: none !important; } }
@container site (min-width: 768px) and (max-width: 1024px) { body:not(.is-editing) .kf-verberg-tablet { display: none !important; } }
@container site (max-width: 767px) {
    body:not(.is-editing) .kf-verberg-mobile { display: none !important; }
    .kf-omgekeerd > .yl-wrap > .yl-cols > .yl-col:first-child { order: 2; }
}
.is-editing :is(.kf-verberg-desktop, .kf-verberg-tablet, .kf-verberg-mobile) { outline: 2px dashed #ffbe00; outline-offset: -2px; } /* zichtbaar maar herkenbaar */

/* Aftelklok */
.kf-countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; text-align: center; color: #fff; }
.kf-countdown > div { padding: 20px 0; }
.kf-countdown-num { display: block; font-size: 50px; font-weight: 700; line-height: 1; }
.kf-countdown-label { display: block; font-size: 16px; font-weight: 700; line-height: 2; letter-spacing: 1px; text-transform: uppercase; }
@media (max-width: 1024px) { .kf-countdown-num { font-size: 40px; } }
@media (max-width: 767px) { .kf-countdown-num { font-size: 32px; } .kf-countdown-label { font-size: 11px; } }

/* Lijst met links (voettekst, contact) */
.kf-iconlist { margin: 0; padding: 0; list-style: none; font-size: 13px; }
.yl-footer .kf-iconlist { text-transform: uppercase; }
.kf-iconlist li { padding: 2px 0; }
.kf-iconlist li::before { content: "›"; display: inline-block; width: 14px; font-weight: 700; color: var(--c-primary); }
.kf-iconlist a { color: inherit; text-decoration: none; }
.kf-iconlist a:hover { color: var(--c-primary); }

/* Iconen bij Lunapark, Triathlon, ... */
.kf-icon { margin: 0 0 8px; font-size: 60px; line-height: 1; }
@media (max-width: 1024px) { .kf-icon { font-size: 40px; } }

/* Berichten als kaarten zonder schaduw, met ronde hoeken */
.yl-card { border-radius: 30px; box-shadow: none; }
.yl-card h3 { color: var(--c-primary); font-size: 18px; }
.yl-card-meta { font-size: 11px; text-transform: uppercase; color: #8c8c8c; }

/* Laatste berichten als lijst (homepage) */
.kf-posts { display: flex; flex-direction: column; gap: 12px; }
.kf-post { padding: 33px 33px 20px 20px; border: 10px solid #fff; border-radius: 90px; background: #fff; }
.kf-post h3 { margin: 0 0 9px; font-size: 18px; line-height: 1.2; }
.kf-post h3 a { color: var(--c-primary); text-decoration: none; }
.yl-content .kf-post p { margin: 0 0 10px; font-size: 14px; line-height: 1.5; }
.yl-content .kf-post .kf-post-meta { margin-bottom: 13px; font-size: 11px; line-height: 1.3; letter-spacing: .7px; text-transform: uppercase; color: #b1b1b1; }
.kf-post-more { display: block; font-size: 13px; font-weight: 700; line-height: 27px; letter-spacing: 1px; text-transform: uppercase; color: var(--c-primary); text-decoration: none; }
.kf-pager { font-size: 14px; font-weight: 700; line-height: 5.8em; letter-spacing: .5px; text-align: center; text-transform: uppercase; }
.kf-pager > * { margin: 0 5px; color: #000; text-decoration: none; }
.kf-pager a:hover, .kf-pager [aria-current] { color: #e65f63; }
@media (max-width: 767px) { .kf-post { border-radius: 40px; } }

/* Logo-carrousel (sponsoren): --n tegelijk, --gap ertussen; kersenfeest.js schuift en maakt de stippen */
.kf-carousel { --k: var(--n); overflow: hidden; }
.kf-track { display: flex; align-items: center; gap: var(--gap); transition: transform .8s ease; }
.kf-track img { flex: 0 0 calc((100% - (var(--k) - 1) * var(--gap)) / var(--k)); width: 0; aspect-ratio: 1; object-fit: contain; border-radius: 0; }
.kf-dots { display: flex; justify-content: center; gap: 12px; padding: 19px 0 10px; }
.kf-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: var(--dot); opacity: .2; cursor: pointer; }
.kf-dots button[aria-current] { opacity: 1; }
@media (max-width: 1024px) { .kf-carousel { --k: var(--n-t); } }
@media (max-width: 767px) { .kf-carousel { --k: var(--n-m); --gap: 20px; } }

/* Fotoalbums (Media) */
.kf-albums { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 24px; }
.kf-album { display: flex; flex-direction: column; overflow: hidden; border-radius: 30px; background: #fffbea; color: var(--c-primary); text-decoration: none; box-shadow: 0 10px 30px rgba(16, 24, 40, .08); }
.kf-album img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 0; }
.kf-album span { padding: 18px; font-size: 22px; font-weight: 800; text-align: center; text-transform: uppercase; }
.kf-albums.is-years .kf-album { justify-content: center; min-height: 140px;
    background: #fffbea url('/public/uploads/2025/03/hero-right-yellow.png') right top / 40% no-repeat; }
.kf-albums.is-years .kf-album span { font-size: 30px; }

/* Calamiteiten-updates */
.kf-update { margin-bottom: 32px; padding: 24px; border-radius: 20px; background: var(--c-surface); }

/* Grote cijfers (teller) */
.kf-counter { margin: 0; font-size: 52px; font-weight: 700; line-height: 1.1; color: var(--c-primary); }

/* Knoppen en velden in de HTML-blokken (programma, plattegrond, ...): zoals het WordPress-thema en de Elementor-huisstijl
   dat deden, met dezelfde voorrang, zodat de blokken er hetzelfde uitzien */
:where(.kf-blok) button { display: inline-block; padding: .5rem 1rem; border: 1px solid #c36; border-radius: 3px; font-family: inherit; font-size: 1rem; font-weight: 400; line-height: 1.5; text-align: center; white-space: nowrap; cursor: pointer; transition: .3s; }
:where(.kf-blok) button:is(:hover, :focus) { background-color: #c36; color: #fff; }
.kf-blok button { padding: 12px 50px; border-radius: 0; background-color: #c00b17; color: #fff; font-family: inherit; font-size: 14px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.kf-blok button:is(:hover, :focus) { background-color: #da444e; color: #fff; }
.kf-blok input:not([type="button"]):not([type="submit"]), .kf-blok textarea { padding: 10px; border: 1px solid #000; border-radius: 0; background-color: #fff; color: #000; font-size: 15px; line-height: 1em; }
/* Onderbalk van de voettekst: copyright links, ontwikkelaar rechts */
.kf-onderbalk { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; padding: 10px 0; border-top: 1px solid rgba(0, 0, 0, .1); text-align: left; }
.kf-onderbalk p { margin: 0; }
@media (max-width: 767px) { .kf-onderbalk { justify-content: center; text-align: center; } }
/* Submenu's even breed als de langste regel, zoals op de oude site */
@container site (min-width: 961px) { .yl-menu ul { min-width: max-content; } .yl-menu ul a { white-space: nowrap; } }
