/* Impression Core: Onverwacht
   Alleen stijl voor de plugin-onderdelen. Al het overige is opgemaakt in Elementor. */

/* ---------- Sectie-subnavigatie ---------- */
.imp-subnav { font-family: Exo, sans-serif; }
.imp-subnav__title { position: relative; margin: 0 0 5px; padding: 17px 30px 12px; background: #57a4a9; }
.imp-subnav .imp-subnav__title a { display: block; color: #fff; font-size: 17px; font-weight: 600; line-height: 1.2; text-decoration: none; }
.imp-subnav .imp-subnav__title a:hover { color: #fff; }
.imp-subnav__title.is-active::after { content: ''; position: absolute; top: 0; left: 100%; width: 10px; height: 100%; background: url(../img/after_hoekje.png) no-repeat 0 0 / 100% 100%; }
.imp-subnav__sub { margin: 0; padding: 10px 0 5px 30px; list-style: none; }
.imp-subnav__sub li { margin: 0 0 5px; }
.imp-subnav .imp-subnav__sub a { display: inline; padding: 0; background: none; color: #333; font: 300 17px/1.4 Exo, sans-serif; text-decoration: none; }
.imp-subnav__sub a::before { content: ''; display: inline-block; position: relative; top: -2px; width: 6px; height: 8px; margin: 0 13px 0 0; background: url(../img/icon_arrow_grey.png) no-repeat 0 0 / 6px auto; }
.imp-subnav .imp-subnav__sub a:hover, .imp-subnav .imp-subnav__sub a.is-active { background: none; color: #57a4a9; }
.imp-subnav__sub a:hover::before, .imp-subnav__sub a.is-active::before { background-image: url(../img/icon_arrow_groen.png); }
.imp-subnav__sub a.is-active::after { display: none; }
.imp-subnav__list { margin: 0; padding: 0; list-style: none; }
.imp-subnav__list li { margin: 0 0 5px; }
.imp-subnav .imp-subnav__list a { position: relative; display: block; padding: 15px 30px 11px; background: #eee; color: #333; font-size: 17px; font-weight: 300; line-height: 1.4; text-decoration: none; transition: background-color .2s, color .2s; }
.imp-subnav .imp-subnav__list a:hover { background: #57a4a9; color: #fff; }
.imp-subnav .imp-subnav__list a.is-active { background: #57a4a9; color: #fff; font-weight: 600; }
.imp-subnav__list a.is-active::after { content: ''; position: absolute; top: 0; right: -10px; width: 10px; height: 100%; background: url(../img/after_hoekje.png) no-repeat 0 0 / 10px 100%; }
.imp-subnav__select { display: none; width: 100%; height: 42px; padding: 0 12px; border: 1px solid #ddd; border-radius: 2px; background: #fff; font: 400 15px/1 Exo, sans-serif; color: #333; }
@media (max-width: 767px) {
	.imp-subnav__list { display: none; }
	.imp-subnav__select { display: block; }
}

/* ---------- Taalwissel ---------- */
.imp-lang { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; line-height: 1; }
.imp-lang a { display: block; opacity: .6; transition: opacity .2s; }
.imp-lang a:hover, .imp-lang a.is-active { opacity: 1; }
.imp-lang img { display: block; width: 21px; height: 14px; }
.imp-lang { padding-top: 4px; }

/* ---------- Beschikbaarheidskalender ---------- */
.imp-cal { font-family: 'Open Sans', sans-serif; font-size: 12px; line-height: 18px; color: #333; }
.imp-cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.imp-cal__nav { display: flex; align-items: center; gap: 6px; }
/* Knoppen en keuzelijsten: met .imp-cal ervoor, zodat de algemene knopstijl van thema en Elementor (geel, roze rand, padding) niet doorwerkt. */
.imp-cal .imp-cal__btn { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 32px; height: 32px; min-height: 0; margin: 0; padding: 0; border: 1px solid #d6d6d6; border-radius: 3px; background: #fff; color: #57a4a9; font: 400 14px/1 'Open Sans', sans-serif; box-shadow: none; text-transform: none; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.imp-cal .imp-cal__btn svg { display: block; }
.imp-cal .imp-cal__btn:hover, .imp-cal .imp-cal__btn:focus-visible { border-color: #57a4a9; background: #57a4a9; color: #fff; }
.imp-cal .imp-cal__btn:focus { outline: none; }
.imp-cal .imp-cal__btn:focus-visible { outline: 2px solid #57a4a9; outline-offset: 2px; }
.imp-cal .imp-cal__year, .imp-cal .imp-cal__month { height: 32px; margin: 0; padding: 0 30px 0 10px; border: 1px solid #d6d6d6; border-radius: 3px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M2 3.5 5 6.5 8 3.5' fill='none' stroke='%2357a4a9' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 10px center / 10px 10px; -webkit-appearance: none; appearance: none; font: 400 13px/30px 'Open Sans', sans-serif; color: #333; cursor: pointer; }
.imp-cal .imp-cal__year { width: 82px; }
.imp-cal .imp-cal__month { width: 128px; }
.imp-cal .imp-cal__year:focus-visible, .imp-cal .imp-cal__month:focus-visible { outline: 2px solid #57a4a9; outline-offset: 2px; }
.imp-cal__title { margin: 0; font: 700 18px/30px 'Open Sans', sans-serif; color: #333; }
.imp-cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.imp-cal__wd { padding: 10px 6px; color: #666; font-size: 12px; line-height: 20px; text-transform: lowercase; }
.imp-cal__day { position: relative; min-height: 40px; margin: 0 -1px -1px 0; padding: 5px; border: 1px solid #ccc; background: #fff; }
.imp-cal__day.is-fill { background: #f5f5f5; }
.imp-cal__date { display: block; font-weight: 700; }
.imp-cal__status { display: block; font-size: 11px; line-height: 14px; }
.imp-cal__legend { display: flex; flex-wrap: wrap; gap: 20px; margin: 20px 0 0; padding: 0; list-style: none; font: 400 13px/1 'Open Sans', sans-serif; color: #333; }
.imp-cal__legend-item { display: flex; align-items: center; gap: 8px; }
.imp-cal__legend-item span { width: 14px; height: 14px; border: 1px solid #ccc; background: #fff; }
/* Statuskleuren komen uit Beschikbaarheid > Statussen en kleuren (inline <style> in de shortcode). */
@media (max-width: 767px) {
	.imp-cal__head { flex-direction: column-reverse; align-items: flex-start; gap: 8px; }
	.imp-cal__wd { padding: 6px 2px; font-size: 10px; overflow: hidden; text-overflow: ellipsis; }
	.imp-cal__status { display: none; }
}

/* ---------- Kruimelpad (Yoast) ---------- */
.imp-bc-sep { display: inline-block; position: relative; top: -2px; width: 6px; height: 8px; margin: 0 9px 0 8px; background: url(../img/icon_arrow_groen.png) no-repeat 0 0 / 6px auto; }

/* ---------- Sitemap in de footer [imp_sitemap] ---------- */
.imp-sitemap { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 24px 24px; font-family: 'Open Sans', sans-serif; }
.imp-sitemap__title { display: block; margin: 0 0 8px; font-size: 13px; font-weight: 700; line-height: 18px; color: #57a4a9; text-decoration: none; }
.imp-sitemap ul { margin: 0; padding: 0; list-style: none; }
.imp-sitemap li a { display: block; padding: 2px 0; font-size: 12px; line-height: 17px; color: #666; text-decoration: none; }
.imp-sitemap a:hover, .imp-sitemap a:focus-visible { color: #57a4a9; text-decoration: underline; }
@media (max-width: 1024px) { .imp-sitemap { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 767px) { .imp-sitemap { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; } }

/* ---------- Nieuwskaarten (loop item): foto mag niet krimpen, anders schuift de titel over de foto ---------- */
.onv-card .onv-card-img { flex-shrink: 0; align-self: stretch; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; }
.onv-card .onv-card-img img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }

/* ---------- Header tussen 768 en 1320 px: logo en menu passen samen in de balk (ook met NL/EN-labels) ---------- */
@media (min-width: 768px) and (max-width: 1320px) {
	.onv-navbox .onv-logo { width: 230px !important; max-width: 230px; }
	.onv-navbox .onv-logo img { width: 100%; height: auto; }
	.onv-navbox .e-n-menu-title { padding-right: 22px !important; }
}
@media (min-width: 768px) and (max-width: 960px) {
	.onv-navbox .onv-logo { width: 175px !important; max-width: 175px; }
	.onv-navbox .e-n-menu-title { padding-right: 12px !important; }
	.onv-navbox .e-n-menu-title-text { font-size: 15px !important; }
}

/* ---------- Mega-Menü: Bildkarten aus den Unterseiten [imp_menu_cards] ---------- */
.imp-mega-grid { display: grid; grid-template-columns: repeat(3, 33%); row-gap: 20px; }
.imp-mega-card { display: flex; align-items: center; gap: 20px; min-height: 80px; padding-right: 15px; text-decoration: none; }
.imp-mega-card__img { flex: 0 0 120px; width: 120px; height: 80px; object-fit: cover; display: block; }
.imp-mega-card__label { font-family: proxima-nova, 'Open Sans', sans-serif; font-size: 18px; font-weight: 600; line-height: 23.4px; color: #444; transition: color .2s; }
.imp-mega-card:hover .imp-mega-card__label, .imp-mega-card:focus-visible .imp-mega-card__label { color: #57a4a9; }
@media (max-width: 767px) { .imp-mega-grid { grid-template-columns: 1fr; } }


/* Footer: adres, zoeken en STO in het sitemapblok */
.imp-footer-bottom > .elementor-widget-text-editor { flex: 1 1 auto; min-width: 0; }
.imp-footer-bottom > .e-con { --width: auto; flex: 0 0 auto; }
.imp-footer-bottom a { white-space: nowrap; }
@media (max-width: 767px) {
	.imp-footer-bottom > .e-con { --width: 100%; flex: 1 1 100%; }
	.imp-footer-bottom > .e-con .elementor-widget-search-form { flex: 1 1 auto; }
}
