/* Earth Portals — ep-plus (11 november 2026): menu op de telefoon, hulp-assistent, melden,
   veelgestelde vragen en een lichtere vlinder. Staat na ep-extra.css op elke pagina. */

/* De regenboogvlinder als WebP (44 kB in plaats van 923 kB). */
.vl-vleugel.vl-vleugel.vl-vleugel{background-image:url("assets/vlinder-regenboog.webp")}

.ep-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ---------- menu op de telefoon ---------- */
.ep-menuknop{display:none;align-items:center;justify-content:center;width:44px;height:44px;flex:0 0 auto;border:1px solid var(--line,#dbe3de);border-radius:50%;background:#fff;color:var(--ink,#173d32);cursor:pointer;padding:0;margin-left:4px}
.ep-menuknop i{display:block;width:18px;height:2px;background:currentColor;border-radius:2px;box-shadow:0 6px 0 currentColor,0 -6px 0 currentColor;transition:.2s}
.ep-menuknop[aria-expanded=true] i{box-shadow:none;transform:rotate(45deg)}
.ep-menuknop[aria-expanded=true] i::after{content:"";display:block;width:18px;height:2px;background:currentColor;border-radius:2px;transform:rotate(90deg)}
.ep-menu{display:none}
@media(max-width:900px){
  .header nav[aria-label]{display:none!important}
  .header .ep-menuknop{display:inline-flex}
  .header .nav-inlog{display:none}
  .header{flex-wrap:nowrap}
  .ep-menu:not([hidden]){display:grid;gap:2px;position:absolute;top:calc(100% + 8px);left:8px;right:8px;z-index:80;background:#fff;border:1px solid var(--line,#dbe3de);border-radius:20px;padding:10px;box-shadow:0 18px 50px rgba(23,61,50,.22);max-height:calc(100vh - 110px);max-height:calc(100dvh - 110px);overflow:auto}
  .ep-menu a,.ep-menu button{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:46px;padding:10px 14px;border-radius:14px;font:inherit;font-size:16px;font-weight:600;color:var(--ink,#173d32);text-decoration:none;background:none;border:0;text-align:left;cursor:pointer;width:100%}
  .ep-menu a:hover,.ep-menu button:hover,.ep-menu a[aria-current]{background:#f1f6f2}
  .ep-menu a.sub{font-weight:500;font-size:15px;min-height:40px;padding-left:28px;color:#3d5a4f}
  .ep-menu hr{border:0;border-top:1px solid var(--line,#dbe3de);margin:6px 4px;width:auto}
  .ep-menu .ep-menu-cta{background:var(--ink,#173d32);color:#fff;justify-content:center;margin-top:4px}
  .ep-menu .ep-menu-cta:hover{background:#0f2b23}
}
/* Smalle telefoon: op de vervolgpagina's past de knop uit de kopregel er niet naast; hij staat onderaan in het menu. */
@media(max-width:560px){.header:not(.ep-app-kop) .nav-cta{display:none}}
@media(max-width:440px){.header.ep-app-kop .nav-cta{display:none}}

/* ---------- hulp-assistent ---------- */
.ep-hulp{position:fixed;right:16px;bottom:16px;z-index:70;font:15px/1.45 "DM Sans",system-ui,sans-serif;color:#173d32}
.ep-hulp-knop{display:inline-flex;align-items:center;gap:8px;border:0;border-radius:999px;background:#173d32;color:#fff;font:inherit;font-weight:700;padding:11px 18px 11px 13px;cursor:pointer;box-shadow:0 8px 24px rgba(23,61,50,.3)}
.ep-hulp-knop span{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;background:rgba(255,255,255,.2);font-size:14px}
.ep-hulp.open .ep-hulp-knop{display:none}
.ep-hulp-venster{display:flex;flex-direction:column;width:min(380px,calc(100vw - 24px));height:min(540px,calc(100vh - 110px));height:min(540px,calc(100dvh - 110px));background:#fff;border:1px solid #dbe3de;border-radius:22px;box-shadow:0 18px 50px rgba(23,61,50,.3);overflow:hidden}
.ep-hulp-venster[hidden]{display:none}
.ep-hulp-venster header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px 12px 18px;color:#fff;background:#173d32;position:relative}
.ep-hulp-venster header::after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:linear-gradient(90deg,#f0a9b1,#f2c98f,#f4ec9e,#aee3a6,#9ad6f0,#bba6dd,#eeaad5)}
.ep-hulp-venster header b{display:block;font-size:16px}.ep-hulp-venster header small{display:block;color:#dbe6e0;font-size:12.5px}
.ep-hulp-dicht{border:0;background:rgba(255,255,255,.16);color:#fff;width:32px;height:32px;border-radius:50%;font-size:20px;line-height:1;cursor:pointer;padding:0}
.ep-hulp-log{flex:1;overflow-y:auto;padding:14px;display:flex;flex-direction:column;gap:10px;background:#f7faf8}
.ep-hulp-log p{margin:0;padding:10px 13px;border-radius:16px;max-width:92%;white-space:pre-line;overflow-wrap:anywhere}
.ep-hulp-a{background:#e9f2ec;align-self:flex-start;border-bottom-left-radius:5px}
.ep-hulp-u{background:#173d32;color:#fff;align-self:flex-end;border-bottom-right-radius:5px}
.ep-hulp-wacht{opacity:.7;font-style:italic}
.ep-hulp-links{display:flex;flex-direction:column;gap:6px;align-self:flex-start;max-width:92%}
.ep-hulp-links a{display:block;padding:8px 12px;border:1px solid #dbe3de;border-radius:12px;background:#fff;color:#173d32;font-weight:600;text-decoration:none;font-size:14px}
.ep-hulp-links a:hover{border-color:#173d32}.ep-hulp-links a.door{background:#fff8e8;border-color:#e9c877;color:#5b4208}
.ep-hulp-noot{align-self:flex-start;font-size:12px;color:#65736c;margin:-4px 2px 0}
.ep-hulp-tips{display:flex;flex-direction:column;gap:6px;align-items:flex-start}
.ep-hulp-tips button{border:1px solid #cfd8d2;background:#fff;color:#173d32;border-radius:999px;padding:7px 13px;font:inherit;font-size:14px;font-weight:600;cursor:pointer;text-align:left}
.ep-hulp-form{display:flex;gap:8px;padding:10px 12px;border-top:1px solid #e3e8e5;background:#fff}
.ep-hulp-form input{flex:1;min-width:0;border:1px solid #c9d2cc;border-radius:12px;padding:10px 12px;font:inherit;font-size:16px;margin:0;background:#fff;color:#173d32}
.ep-hulp-form button{border:0;border-radius:12px;background:#173d32;color:#fff;font:inherit;font-weight:700;padding:0 15px;cursor:pointer}
.ep-hulp-form button[disabled]{opacity:.55}
.ep-hulp-voet{margin:0;padding:0 14px 10px;background:#fff;font-size:12px;color:#65736c}.ep-hulp-voet a{color:inherit}
.ep-hulp button:focus-visible,.ep-hulp input:focus-visible,.ep-menuknop:focus-visible,.ep-menu a:focus-visible{outline:3px solid #f2b63d;outline-offset:2px}
@media(max-width:520px){.ep-hulp{right:10px;bottom:12px}.ep-hulp.open{left:10px}.ep-hulp.open .ep-hulp-venster{width:auto}}
@media print{.ep-hulp,.ep-menuknop,.ep-menu{display:none!important}}

/* ---------- "klopt er iets niet?" (melden) ---------- */
.ep-meld-link{display:inline-block;margin-top:10px;font-size:13px;color:#65736c;background:none;border:0;padding:0;text-decoration:underline;cursor:pointer;font-family:inherit}
.ep-meld-venster{position:fixed;inset:0;z-index:90;display:grid;place-items:center;background:rgba(23,61,50,.45);padding:16px}
.ep-meld-venster[hidden]{display:none}
.ep-meld-venster form{width:min(460px,100%);background:#fff;border-radius:22px;padding:22px;box-shadow:0 18px 50px rgba(0,0,0,.3);font:15px/1.5 "DM Sans",system-ui,sans-serif;color:#173d32}
.ep-meld-venster h2{font-size:22px;margin:0 0 6px}.ep-meld-venster p{margin:0 0 10px;color:#65736c}
.ep-meld-venster label{display:block;font-weight:600;font-size:14px;margin:10px 0 4px}
.ep-meld-venster textarea,.ep-meld-venster input[type=email]{width:100%;font:inherit;padding:10px 12px;border:1px solid #c9d2cc;border-radius:12px;box-sizing:border-box}
.ep-meld-venster textarea{min-height:110px;resize:vertical}
.ep-meld-venster .rij{display:flex;gap:8px;justify-content:flex-end;margin-top:14px}
.ep-meld-venster button{font:inherit;font-weight:700;border:0;border-radius:999px;padding:10px 18px;cursor:pointer;background:#173d32;color:#fff}
.ep-meld-venster button.licht{background:#eef3ef;color:#173d32}
.ep-meld-venster .val{position:absolute;left:-9999px}
.ep-meld-venster .uit{margin-top:10px;font-weight:600}

/* ---------- veelgestelde vragen en voorwaarden ---------- */
.ep-faq h2{margin:38px 0 10px;font-size:24px}
.ep-faq details{border:1px solid var(--line,#dbe3de);border-radius:16px;background:#fff;margin:8px 0;padding:0 18px}
.ep-faq summary{cursor:pointer;font-weight:600;padding:14px 0;list-style-position:outside}
.ep-faq details p{margin:0 0 14px;color:#3d5a4f}
.ep-faq details a{color:inherit}
.ep-faq-zoek{width:100%;max-width:460px;font:inherit;padding:12px 14px;border:1px solid #c9d2cc;border-radius:14px;margin:6px 0 4px}
.ep-vw h2{margin:34px 0 8px;font-size:22px}.ep-vw p,.ep-vw li{color:#3d5a4f}.ep-vw .ep-vw-kader{border:1px solid var(--line,#dbe3de);border-radius:16px;padding:14px 18px;background:#fff}

/* De homepage heeft nog maar één hoofdkop (h1); de kop van de reisplanner is een h2 die er hetzelfde uitziet. */
.ep-planner h2.ep-h1{font-size:30px;line-height:1.1;margin:6px 0 14px;font-weight:500;letter-spacing:inherit}
.ep-planner h2.ep-h1 em{color:var(--ep-ink);font-style:italic}
@media (max-width:900px){.ep-planner h2.ep-h1{font-size:22px;margin:4px 0 10px}}
.ep-vw .ep-klein{font-size:14px;color:#65736c;margin-top:10px}
.ep-vw p a,.ep-faq p a{text-decoration:underline;text-underline-offset:3px}
.ep-vw .ep-vw-kader{margin-top:6px}
/* Holistisch Nederland op de telefoon: de filterrij stak twee pixels buiten het scherm. */
@media(max-width:900px){body .ho-filters{margin-left:0;margin-right:0;padding-left:0;padding-right:0}}
/* Het bijschrift van de foto op de homepage stond onder de knop Hulp; het staat nu linksonder. */
.hf-hero-credit{right:auto;left:16px}

/* De knop Hulp gaat opzij voor de aardbol (zie ep-plus.js) en staat in de app boven de tabbalk. */
.ep-hulp{transition:bottom .2s ease,opacity .2s ease}
.ep-hulp.ep-hulp-weg:not(.open){opacity:0;visibility:hidden;pointer-events:none}
html.ep-standalone .ep-hulp{bottom:calc(78px + env(safe-area-inset-bottom,0px))}
@media(max-width:520px){html.ep-standalone .ep-hulp.open .ep-hulp-venster{height:min(540px,calc(100dvh - 170px))}}
/* De regel met de voorwaarden onder een aanmeld- of boekformulier. */
.ep-akkoord-regel{font-size:13.5px;line-height:1.5;color:#65736c;margin:8px 0 0}
.ep-akkoord-regel a{color:inherit;text-decoration:underline;text-underline-offset:3px}
/* De pagina "niet gevonden". */
.ep-404-knoppen{display:flex;flex-wrap:wrap;gap:10px;margin:26px 0 18px}
.ep-404-knoppen a{display:inline-flex;align-items:center;min-height:46px;padding:10px 20px;border-radius:999px;border:1px solid var(--line,#dbe3de);background:#fff;color:var(--ink,#173d32);font-weight:600;text-decoration:none}
.ep-404-knoppen a.vol{background:var(--ink,#173d32);border-color:var(--ink,#173d32);color:#fff}
.ep-404 .ep-klein{font-size:14px;color:#65736c}
