/* Ewa's Childcare — TYLKO drobne poprawki na szablonie Kidza (wyglad, kolory i grafiki zostaja jak w szablonie). */
/* Logo klientki w miejscu logo szablonu: ten sam slot, proporcje logo klientki */
.header-logo .ewa-logo { height: 64px; width: auto; }
.offcanvas__logo .ewa-logo { height: 60px; width: auto; }
.ewa-logo-footer { height: 110px; width: auto; }
/* Formularze: pole-pulapka na boty niewidoczne, komunikat po wysylce */
.ewa-form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ewa-form .form-status .ok { color: #1f8a3b; font-weight: 600; margin: 12px 0 0; }
.ewa-form .form-status .fout { color: #d92d20; font-weight: 600; margin: 12px 0 0; }
.contact-section .ewa-form .form-status .ok, .contact-section .ewa-form .form-status .fout { background: #fff; display: inline-block; padding: 4px 10px; border-radius: 8px; }
.ewa-form .opvang-keuze label { margin-right: 18px; display: inline-flex; gap: 6px; align-items: center; }
.contact-section .ewa-form .opvang-keuze label { color: #fff; }
/* Brakujaca tresc od klientki (wersja robocza) */
.brak { display: inline-block; border: 2px dashed var(--theme-color-2); color: var(--theme-color-2); padding: 4px 10px; border-radius: 10px; font-weight: 600; }
.tijdelijk { position: absolute; left: 12px; bottom: 12px; z-index: 5; background: rgba(0,0,0,.7); color: #fff; font-size: 13px; padding: 3px 9px; border-radius: 8px; }
/* Teksty z Worda (dluzsze akapity NL) w ukladzie program-details */
.ewa-tekst h3 { margin: 26px 0 10px; }
.ewa-tekst ul.lijst { padding-left: 20px; list-style: disc; margin-bottom: 16px; }
.ewa-tekst .tijdlijn { list-style: none; padding: 0; }
.ewa-tekst .tijdlijn li { display: flex; gap: 14px; margin-bottom: 10px; }
.ewa-tekst .tijdlijn .tijd { font-weight: 700; color: var(--theme-color-2); min-width: 50px; }
.ewa-tekst .tijdlijn p { margin: 0; }
.ewa-tekst .nadruk { font-weight: 600; color: var(--header); }
.ewa-tekst .tekst-ondertitel { color: var(--theme-color-2); font-weight: 600; }
/* Akordeon „Waarom kiezen voor ons?” (faq szablonu w sekcji choose-us): klikalne naglowki w pomaranczu szablonu, jak chce klientka */
.ewa-waarom { margin-top: 24px; margin-bottom: 30px; }
.ewa-waarom .accordion-box .block .acc-btn .acc-titel { display: block; color: var(--theme-color-2); padding-right: 36px; line-height: 1.3; }
.ewa-waarom .accordion-box .block .acc-btn .acc-sub { display: block; color: var(--theme-color-2); font-size: 16px; font-weight: 600; padding-right: 36px; line-height: 1.35; margin-top: 4px; }
@media (max-width: 575px) { .ewa-waarom .accordion-box .block .acc-btn .acc-sub { font-size: 14px; padding-right: 28px; } .ewa-waarom .accordion-box .block .acc-btn .acc-titel { padding-right: 28px; } }
.ewa-waarom .accordion-box .block .acc-content p { margin-bottom: 8px; }
/* Zaslepki szablonu w tle (program-details: poprzednia/nastepna) -> zdjecia klientki, ten sam uklad */
.program-details-wrapper .programs-box .program { background-image: url(../img/ewa/strook-a.webp); }
.program-details-wrapper .programs-box .next-prog { background-image: url(../img/ewa/strook-b.webp); }
/* Telefon w karcie lokalizacji (miejsce na oceny w szablonie) w jednej linii */
.classes-box-item .classes-rate .rate p { white-space: nowrap; margin: 0; }
/* Tarieven: szablon ma 3 pakiety, klientka 2 stawki — wysrodkowane */
@media (min-width: 992px) { .pricing-wrapper { grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; } }
/* Szablon na telefonie chowa wszystkie <br> (main.css: @media max-width 575 br{display:none}) — w tresciach klientki (adresy, godziny) sa potrzebne */
@media (max-width: 575px) { .ewa-tekst br, .contact-info br, .contact-info-items br, .footer-section br, .program-details-wrapper br, .choose-us-content br { display: revert; } }
/* 404: naglowek h2 szablonu zamieniony na h1 (SEO) — ten sam wyglad co .error-items h2 */
.error-items h1 { font-size: 66px; color: var(--white); margin-top: 45px; margin-bottom: 10px; line-height: 141%; letter-spacing: -0.04em; }
@media (max-width: 991px) { .error-items h1 { font-size: 45px; } }
@media (max-width: 767px) { .error-items h1 { font-size: 35px; margin-top: 30px; } }
@media (max-width: 575px) { .error-items h1 { font-size: 28px; } }
/* Podpis „Tijdelijke foto” ma byc NA zdjeciu — kontenery zdjec szablonu nie maja position */
.program-details-wrapper .details-image { position: relative; }
/* Hero: zdjecie klientki w okraglej ramce (w szablonie w tym miejscu jest wycieta postac PNG bez tla — prostokat wygladal obco).
   Kolory i animacja z szablonu: biala obwodka, pierscien --theme-color-2, przerywany okrag --theme-color, zolta kropka. */
.hero-1 .hero-img.ewa-rond { margin: 0 auto; max-width: 600px; padding: 44px 0 70px; }
.ewa-hero-rond { position: relative; width: min(100%, 540px); aspect-ratio: 1; margin: 0 auto; }
.ewa-hero-rond img { position: relative; z-index: 2; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 12px solid var(--white); box-shadow: 0 0 0 10px var(--theme-color-2), 0 30px 60px rgba(103, 84, 233, .28); }
.ewa-hero-rond::before { content: ""; position: absolute; inset: -38px; z-index: 1; border: 3px dashed var(--theme-color); border-radius: 50%; animation: ewa-draai 60s linear infinite; }
.ewa-hero-rond::after { content: ""; position: absolute; z-index: 1; width: 24%; aspect-ratio: 1; right: -7%; bottom: 0; border-radius: 50%; background: var(--ratting); }
.ewa-hero-rond .tijdelijk { left: 50%; bottom: 9%; transform: translateX(-50%); white-space: nowrap; }
@keyframes ewa-draai { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ewa-hero-rond::before { animation: none; } }
@media (max-width: 991px) { .hero-1 .hero-img.ewa-rond { padding: 40px 30px 50px; } }
@media (max-width: 575px) { .ewa-hero-rond img { border-width: 8px; box-shadow: 0 0 0 7px var(--theme-color-2), 0 20px 40px rgba(103, 84, 233, .25); } .ewa-hero-rond::before { inset: -22px; } }
/* Galeria zdjec pod paskiem bocznym podstron (gallery-wrapper szablonu, siatka 2x2) */
.ewa-galerij { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.ewa-galerij .gallery-image { height: auto; aspect-ratio: 1; }
/* Adresy e-mail w waskich kolumnach stopki nie wychodza poza ekran */
.footer-section a[href^="mailto:"] { overflow-wrap: anywhere; }
/* Contact: statyczne mapy (obrazek z wlasnego serwera) w miejscu iframe szablonu — ta sama wysokosc co .googpemap iframe */
.ewa-kaart { position: relative; }
.ewa-kaart img { display: block; width: 100%; height: 600px; object-fit: cover; }
.ewa-kaart .theme-btn { position: absolute; left: 24px; top: 24px; }
@media (max-width: 575px) { .ewa-kaart img { height: 400px; } .ewa-kaart .theme-btn { left: 16px; right: 16px; top: 16px; font-size: 14px; padding: 14px 18px; justify-content: center; } }
/* Hero 1400–1799 px: balon szablonu wchodzil na naglowek (blad szablonu) — przeniesiony pod przycisk */
@media (min-width: 768px) and (max-width: 1799px) { .hero-1 .perasute-shape { left: 3%; top: auto; bottom: 3%; opacity: .7; } .hero-1 .perasute-shape img { width: 50px; } }
/* Stopki (footer.php + footer-4.php): jeden uklad tresci — marka | Snel naar | Informatie | Onze locaties (prosba Oskara 05.10).
   Ozdobniki szablonu dostaja wlasny pas POD trescia (wczesniej domki/kwiaty/jajko wchodzily na tekst). */
.ewa-stopka .nowrap { white-space: nowrap; }
.ewa-stopka .ewa-stopka-feit { margin-top: 14px; line-height: 1.8; }
.ewa-stopka .ewa-stopka-feit strong { font-weight: 600; }
.ewa-stopka .social-icon { margin-top: 18px; }
.footer-section .ewa-stopka .contact-info .content h3 { font-size: 20px; margin-bottom: 4px; }
.footer-section .ewa-stopka .contact-info .content h3 a:hover { color: var(--theme-color-2); }
.footer-section .ewa-stopka .contact-info:not(:last-child) { margin-bottom: 0; }
.footer-section .ewa-stopka .widget-content > .row { row-gap: 26px; }
.footer-widgets-four .ewa-stopka .widget-content-4 p { color: var(--white); }
.footer-widgets-four .ewa-stopka .ewa-stopka-feit strong { color: #FDF948; font-weight: 400; }
.footer-widgets-four .ewa-stopka .contact-list { row-gap: 26px; }
.footer-widgets-four .ewa-stopka .contact-list li:not(:last-child) { margin-bottom: 0; }
.footer-widgets-four .ewa-stopka .contact-list li .content h4 a { color: #FDF948; }
.footer-widgets-four .ewa-stopka .contact-list li .content h4 a:hover { color: var(--white); }
/* jasna stopka Home: jajko szablonu w trawie (lewy dol), nie na opisie */
.footer-section .ball-shape { bottom: 16%; left: 3%; }
/* fioletowa stopka: pas na domki/kwiaty/serce pod kolumnami */
@media (min-width: 768px) { .footer-section-four .footer-widgets-wrapper { padding-bottom: 220px; } }
@media (min-width: 1200px) { .footer-section-four .footer-widgets-wrapper { padding-bottom: 200px; } }
.footer-section-four .flower-shape-2 { left: 2%; }
.footer-section-four .flower-shape-2 img { height: 230px; width: auto; }
.footer-section-four .house-shape { right: 5%; }
.footer-section-four .house-shape img { width: 250px; height: auto; }
.footer-section-four .sky-shape { right: 1.5%; top: 18%; }
@media (max-width: 1199px) { .footer-section-four .sky-shape { display: none; } }
.footer-widgets-four .ewa-stopka .ewa-stopka-feit a, .footer-widgets-four .ewa-stopka .contact-list p a { color: var(--white); }
.footer-widgets-four .ewa-stopka .ewa-stopka-feit a:hover, .footer-widgets-four .ewa-stopka .contact-list p a:hover { color: #FDF948; }
/* Ozdobniki szablonu z animacja wind-blow (classes .border-shape, stopka .bottom-shape) wychodzily kilka px poza ekran (poziome „plywanie” na telefonie) */
.classes-section, .footer-section { overflow-x: clip; }
/* Podpis wykonawcy w stopce (WhatsApp ok4YOU) */
.ewa-maker { white-space: nowrap; }
.ewa-maker a { font-weight: 600; }
.footer-bottom-two .ewa-maker a:hover { color: #FDF948; }
@media (max-width: 767px) { .footer-bottom-two .ewa-sep { display: none; } .footer-bottom-two .ewa-maker { display: block; } }
/* Telefon (<768 px): ozdobniki szablonu, ktore laduja NA tekscie, sa chowane (wykryte automatycznie 09.10 na 360/390 px).
   Tla pod trescia (shape-bg pod licznikiem, bottom-shape z trawa) zostaja. */
@media (max-width: 767px) {
  .hero-1 .car-shape, .hero-1 .frame-shape, .hero-1 .perasute-shape,
  .about-section .sun-shape,
  .classes-section .perasute-shape, .classes-section .zikzak-shape, .classes-section .border-shape,
  .choose-us-section .butterfly-shape, .choose-us-section .zikzak-shape, .choose-us-section .perasute-shape,
  .contact-section .perasute-shape, .contact-section .star-shape,
  .pricing-section .snake-shape, .pricing-section .tubelight-shape,
  .newsletter-two .flower-shape, .pricing-section .flower-shape,
  .footer-section .ball-shape { display: none !important; }
}

/* Okienko „Kom kennismaken!” (partials/kennismaken-popup.php) — kolor i pola jak formularz kontaktowy na Home */
.ewa-popup { position: relative; max-width: 640px; margin: 20px auto; padding: 40px 40px 34px; background-color: var(--theme-color-2); border-radius: 14px; }
.ewa-popup h3 { text-align: left !important; }
.ewa-popup .ewa-form .form-status .ok, .ewa-popup .ewa-form .form-status .fout { background: #fff; display: inline-block; padding: 4px 10px; border-radius: 8px; }
.ewa-popup .mfp-close { color: #fff; opacity: 1; }
.ewa-mfp.mfp-bg { opacity: .75; z-index: 100000; }
.ewa-mfp.mfp-wrap { z-index: 100001; }
.ewa-popup .contact-from .contFrm textarea { height: 120px; }
@media (max-width: 575px) { .ewa-popup { padding: 30px 20px 24px; } }

/* Contact „Bel ons”: telefon i lokalizacja w osobnych wierszach; na telefonie nazwa lokalizacji pod numerem (Oskar 21.10) */
.ewa-tel { display: block; }
.ewa-tel + .ewa-tel { margin-top: 6px; }
@media (max-width: 767px) { .ewa-tel small { display: block; font-size: 14px; font-weight: 400; } }

/* Contact → Inschrijfformulier (Opvanguren): pola i przyciski w stylu szablonu. Markup i logika sa Opvanguren — tylko wyglad. */
.ewa-inschrijven { position: relative; }
.ewa-opvanguren { max-width: 920px; margin: 0 auto; background: #fff; border-radius: 14px; padding: 40px; box-shadow: 0 10px 40px rgba(13, 6, 67, .07); }
.ewa-opvanguren #pb-form fieldset { border: 0; border-bottom: 1px solid #ececf3; padding: 0 0 24px; margin: 0 0 28px; min-width: 0; }
.ewa-opvanguren #pb-form legend { float: none; width: auto; font-size: 26px; font-weight: 700; color: var(--header); margin-bottom: 14px; padding: 0; }
.ewa-opvanguren #pb-form .pb-field-group { display: flex; flex-wrap: wrap; gap: 0 20px; margin-bottom: 14px; align-items: flex-end; }
.ewa-opvanguren #pb-form .pb-field-group > span:not(.optgroup) { flex: 1 1 220px; min-width: 0; }
.ewa-opvanguren #pb-form .pb-field-group > label, .ewa-opvanguren #pb-form .pb-field-group > span:not(.optgroup) > label { display: block; width: 100%; font-weight: 600; color: var(--header); margin-bottom: 6px; float: none; }
.ewa-opvanguren #pb-form .pb-spacer { display: none; }
.ewa-opvanguren #pb-form input[type=text], .ewa-opvanguren #pb-form input[type=email], .ewa-opvanguren #pb-form select, .ewa-opvanguren #pb-form textarea {
  width: 100%; max-width: none; height: 50px; border: 1px solid #dedcef; border-radius: 6px; padding: 0 16px; font-size: 16px; color: var(--header); background: #faf9ff; box-shadow: none; }
.ewa-opvanguren #pb-form textarea { height: 130px; padding-top: 12px; }
.ewa-opvanguren #pb-form input[type=text]:focus, .ewa-opvanguren #pb-form select:focus, .ewa-opvanguren #pb-form textarea:focus { outline: none; border-color: var(--theme-color); background: #fff; }
.ewa-opvanguren #pb-form .optgroup { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; width: 100%; }
.ewa-opvanguren #pb-form .optgroup br { display: none; }
.ewa-opvanguren #pb-form .optgroup label { display: inline-flex; margin: 0 0 0 6px; font-weight: 400; color: var(--header); }
.ewa-opvanguren #pb-form .optgroup input { width: 18px; height: 18px; accent-color: var(--theme-color); margin: 0; }
.ewa-opvanguren #pb-form .pb-add-child, .ewa-opvanguren #pb-form .pb-remove-child { color: var(--theme-color); font-weight: 600; }
.ewa-opvanguren #pb-form input[type=submit], .ewa-opvanguren #pb-form button[type=submit] {
  background: var(--theme-color); color: #fff; border: 0; border-radius: 8px; padding: 18px 34px; font-size: 16px; font-weight: 600; cursor: pointer; transition: background .3s; height: auto; width: auto; }
.ewa-opvanguren #pb-form input[type=submit]:hover, .ewa-opvanguren #pb-form button[type=submit]:hover { background: var(--theme-color-2); }
@media (max-width: 767px) { .ewa-opvanguren { padding: 24px 16px; } .ewa-opvanguren #pb-form legend { font-size: 22px; } }

/* Home „Ons dagprogramma”: nazwa punktu w jednej linii (szablon daje h3 sztywne 200 px) i odstep zoltego bloku od nastepnej sekcji na telefonie (Oskar 21.10) */
.session-wrapper .session-box h3 { white-space: nowrap; }
@media (min-width: 1200px) { .session-wrapper .session-box h3 { width: 220px; } }
@media (max-width: 575px) { .session-wrapper .session-box h3 { font-size: 16px; } .session-wrapper .session-box p { margin-left: 12px; } }
@media (max-width: 991px) { .session-section { padding-bottom: 40px; } }

/* Home „Kom kennismaken!”: szablon centruje naglowek formularza < 992 px, a tekst i przycisk zostawaly z lewej (Oskar 21.10) */
@media (max-width: 991px) { .contact-section .contact-from > p, .contact-section .contact-from .contact-button, .contact-section .contact-from .form-status { text-align: center; } }

/* Karty lokalizacji (Home, Locaties): na telefonie „KDV & BSO” w osobnej linii pod nazwa (Oskar 21.10) */
@media (max-width: 575px) { .ewa-type { display: block; font-size: .8em; margin-top: 2px; } .ewa-sep { display: none; } }

/* Home hero na telefonie: korona szablonu wisiala w pustym pasie nad H1 — schowana, tresc wyzej (Oskar 21.10) */
@media (max-width: 767px) { .hero-1 { padding-top: 125px; } .hero-1 .crown-shape, .pricing-section .crown-shape { display: none; } }

/* Home „Over ons”: 4 punkty z ptaszkiem — rowne odstepy, gdy dwie listy laduja jedna pod druga (szablon: 16 px w liscie, 30 px miedzy listami) */
@media (max-width: 1199px) { .about-wrapper .about-content .content-bottom .about-list { gap: 16px 50px; } }

/* Karty lokalizacji na telefonie: adres i nazwa (z „KDV & BSO” pod spodem) wysrodkowane (Oskar 21.10) */
@media (max-width: 575px) { .classes-box-item .classes-content .location, .classes-box-item .classes-content h2, .classes-box-item .classes-content h3 { text-align: center; justify-content: center; } }

/* Naglowki bez pojedynczego slowa w ostatniej linii (przegladarka wywaza linie; tresc i kroj bez zmian) — Oskar 21.10 */
h1, h2, h3, h4, .acc-titel, .acc-sub, .section-title p { text-wrap: balance; }
p, li { text-wrap: pretty; }
/* Tarieven „Goed om te weten”: szablon centruje naglowek < 768 px, zdanie pod nim zostawalo z lewej */
@media (max-width: 767px) { .faq-tittle .section-title + p { text-align: center; } }
@media (max-width: 575px) { .classes-box-item .classes-content .classes-rate:has(> .rate:empty) { justify-content: center; } .classes-box-item .classes-content .classes-rate > .rate:empty { display: none; } }

/* ===== Przeglad Codex 21.10 (PRZEGLAD-CODEX-2026-10-21.md) — punkty 1–5, 7–12 ===== */
/* 1. Contact: przyciski map i PDF na Privacy — tekst nie ucinany, strzalka obok tekstu */
@media (max-width: 991px) {
  .ewa-kaart .theme-btn { display: flex; align-items: center; justify-content: center; gap: 8px; height: auto; min-height: 56px; line-height: 1.35; padding: 14px 18px; text-wrap: balance; text-align: center; }
  .ewa-kaart .theme-btn i { flex-shrink: 0; margin-left: 0; }
}
@media (min-width: 576px) and (max-width: 991px) { .ewa-kaart .theme-btn { right: 24px; } }
@media (max-width: 575px) {
  .program-details-items .ewa-tekst a.theme-btn[href$="privacyreglement.pdf"] { display: inline-flex; align-items: center; gap: 8px; height: auto; min-height: 56px; padding: 14px 20px; line-height: 1.35; }
  .program-details-items .ewa-tekst a.theme-btn[href$="privacyreglement.pdf"] i { flex-shrink: 0; margin-left: 0; }
}
/* 2. Home: ozdobniki na tekscie (tablet) */
@media (min-width: 768px) and (max-width: 991px) { .hero-1 .car-shape, .about-section .sun-shape { display: none; } }
@media (min-width: 992px) and (max-width: 1399px) { .about-section .love-shape { right: 3%; bottom: 5%; } }
/* 3. Tarieven: koszyk, tecza i gwiazdka na naglowku „Voorschool” */
@media (max-width: 1599px) { .pricing-section .busket-shape, .pricing-section .sky-shape, .pricing-section .star-shape { display: none; } }
@media (min-width: 768px) and (max-width: 991px) { .pricing-section .crown-shape { left: 4%; } }
/* 4. Home 1024 px: przerywana ramka zdjecia hero wchodzila w tekst */
@media (min-width: 992px) and (max-width: 1199px) { .hero-1 .hero-img.ewa-rond { padding-left: 40px; padding-right: 40px; } }
/* 5. Tarieven: FAQ przyklejone do stopki */
.pricing-section + .faq-section.pb-0 { padding-bottom: 80px !important; }
/* 7. Vacatures: motyl i zygzak na tekscie */
@media (min-width: 768px) and (max-width: 1399px) { .choose-us-section:has(a[href^="mailto:"]) .butterfly-shape, .choose-us-section:has(a[href^="mailto:"]) .zikzak-shape { display: none; } }
/* 8. Contact: etykiety BSO/KDV biale jak reszta formularza */
.contact-from-two .ewa-form .opvang-keuze label { color: var(--white); }
.contact-from-two .ewa-form .opvang-keuze > span { display: block; }
.contact-from-two .ewa-form .opvang-keuze { margin-bottom: 12px; }
/* 9. Home 1024 px: kafle programu 2×2 zamiast 3+1 */
@media (min-width: 992px) and (max-width: 1199px) { .program-section .row > .col-lg-4 { width: 50%; } }
/* 10. Home 768 px: liczniki 2×2 zamiast 3+1 */
@media (min-width: 768px) and (max-width: 991px) {
  .counter-section .row > .col-md-4 { width: 50%; }
  .counter-section .row > .col-md-4:nth-child(even) .counter-items { border-right: 0; }
}
/* 11. Lokalizacje: etykieta „E-mail:” nie lamana */
.details-list-area .details-list li:has(a[href^="mailto:"]) { flex-wrap: wrap; gap: 4px 12px; }
.details-list-area .details-list li:has(a[href^="mailto:"]) > span { white-space: nowrap; flex-shrink: 0; }
.details-list-area .details-list li:has(a[href^="mailto:"]) > a { min-width: 0; overflow-wrap: anywhere; }
/* 12. Dlugie artykuly: odstep miedzy akapitami i nad H2 */
.ewa-tekst > p + p { margin-top: 12px; }
.ewa-tekst > h2.tekst-titel:not(:first-child) { margin-top: 28px; }
/* H1 lokalizacji na najwezszych ekranach: bez samotnego „Van” */
@media (max-width: 390px) { .breadcrumb-wrapper:has(.breadcrumb-items a[href="/locaties/"]) .page-heading h1 { font-size: 30px; line-height: 1.2; } }
/* Contact: przycisk mapy na telefonie — adres w jednej linii, „Route plannen” pod nim */
@media (max-width: 575px) { .ewa-kaart .theme-btn .ewa-adres { display: block; } }
