/**
Theme Name: I-match
Author: I-match child theme
Author URI: https://i-match.nl
Description: I-match child theme 2024
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: i-match
Template: astra
*/

.bpc_image_radius img {
    border-radius: 20px !important;
}


.bpc_banner {
    border-radius: 30px;
}

.bpc_banner_grijs .vc_column-inner {
    border-radius: 0px 0px 30px 30px;
}


/* 1. Container & Blokken Baseline */
.bpc-header-container {
  display: flex;
  align-items: stretch;
  gap: 16px;
  width: 100%;
  max-width: 1800px;
  margin: 0 auto;
  box-sizing: border-box;
}

.bpc-block-logo, 
.bpc-block-home, 
.bpc-block-nav {
  border-radius: 0px 0px 14px 14px;
  height: 72px;
  box-sizing: border-box;
}

/* 2. Logo & Slogan Blok */
.bpc-block-logo {
  background-color: #ededed;
  display: flex;
  align-items: center;
  padding: 0 30px 0 20px;
  position: relative;
  flex-shrink: 0;
}

.bpc-logo-wrapper {
  position: relative;
  margin-right: 15px;
}

.bpc-logo {
  height: 105px;
  width: auto;
  display: block;
  margin-top: 20px;
  margin-bottom: -35px;
  position: relative;
  z-index: 10;
}

.bpc-slogan {
  color: #00839b;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1.2px;
  margin-top: 20px;
}

/* 3. Home Knop Blok */
.bpc-block-home {
  background-color: #00839b;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  flex-shrink: 0;
  text-decoration: none;
  transition: background-color 0.25s ease;
}

.bpc-block-home svg {
  width: 28px;
  height: 28px;
}

.bpc-block-home:hover {
  background-color: #006b7e;
}

/* 4. Navigatie Balk Blok */
.bpc-block-nav {
  background-color: #142b68;
  flex-grow: 1;
  position: relative;
  overflow: visible;
  padding-left: 20px;
}


/* ==========================================================================
   5. MAX MEGA MENU OVERRIDES (#mega-menu-wrap-primary)
   ========================================================================== */

/* Wrapper reset */
#mega-menu-wrap-primary {
  background: transparent !important;
  height: 100% !important;
}

#mega-menu-wrap-primary #mega-menu-primary {
  background: transparent !important;
  height: 100% !important;
  display: flex !important;
  align-items: flex-end !important;
}

/* Verberg Max Mega Menu pijl-iconen */
#mega-menu-wrap-primary #mega-menu-primary span.mega-indicator {
  display: none !important;
}

/* Hoofdmenu Items (Li) */
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item {
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  background: transparent !important;
}

/* Hoofdmenu Links (A) - Tabs */
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 55px !important;
  padding: 0 30px !important;
  margin: 0 10px -17px 0 !important;
  color: #ffffff;
  text-transform: uppercase;
  font-weight: 700 !important;
  font-size: 17px !important;
  letter-spacing: 0.8px !important;
  border-radius: 10px 10px 0 0 !important;
  background: transparent !important;
  box-sizing: border-box !important;
  transition: background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s ease !important;
}

/* Actieve pagina / tab */
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-menu-ancestor > a.mega-menu-link {
  color: #2ed1a2 !important;
  background: transparent !important;
}

/* Hover op tab */
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item:hover > a.mega-menu-link {
  background-color: #00839b !important;
  color: #ffffff !important;
  position: relative !important;
  z-index: 1001 !important;
}

/* --------------------------------------------------------------------------
   Submenu Dropdown Container Fix
   -------------------------------------------------------------------------- */
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > ul.mega-sub-menu {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  width: 800px !important;
  background-color: #00839b !important;
  padding: 32px 36px !important;
  border-radius: 0 0 14px 14px !important;
  box-shadow: 0px 14px 28px rgba(0, 0, 0, 0.2) !important;
  border: none !important;
  z-index: 1000 !important;
  display: block !important;
}

/* Reset de widget container breedte */
#mega-menu-wrap-primary #mega-menu-primary ul.mega-sub-menu li.widget_nav_menu {
  width: 100% !important;
  max-width: 100% !important;
  background: transparent !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

/* --------------------------------------------------------------------------
   WIDGET NAV MENU VERTICAL COLUMN LAYOUT
   -------------------------------------------------------------------------- */

/* Hakt de ul.menu verticaal in 3 gelijke kolommen */
#mega-menu-wrap-primary #mega-menu-primary ul.mega-sub-menu .widget_nav_menu ul.menu {
  display: block !important;
  column-count: 3 !important;
  column-gap: 36px !important;
  column-fill: balance !important;
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Voorkom dat losse menu-items halverwege een kolom afbreken */
#mega-menu-wrap-primary #mega-menu-primary ul.mega-sub-menu .widget_nav_menu ul.menu li {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 0 8px 0 !important;
  padding: 0 !important;
  background: transparent !important;
  break-inside: avoid !important;
  -webkit-column-break-inside: avoid !important;
  page-break-inside: avoid !important;
}

/* Forceer de links (a.menu-link) naar wit en vette tekst */
#mega-menu-wrap-primary #mega-menu-primary ul.mega-sub-menu .widget_nav_menu ul.menu a,
#mega-menu-wrap-primary #mega-menu-primary ul.mega-sub-menu .widget_nav_menu ul.menu a.menu-link {
  color: #ffffff !important;
  font-size: 15px !important;
  line-height: 1.35 !important;
  padding: 4px 0 !important;
  background: transparent !important;
  text-decoration: none !important;
  display: block !important;
  opacity: 1 !important;
  transition: opacity 0.2s ease !important;
}

/* Hover-staat op de submenu links */
#mega-menu-wrap-primary #mega-menu-primary ul.mega-sub-menu .widget_nav_menu ul.menu a:hover,
#mega-menu-wrap-primary #mega-menu-primary ul.mega-sub-menu .widget_nav_menu ul.menu a.menu-link:hover {
  opacity: 0.82 !important;
  color: #ffffff !important;
  background: transparent !important;
}

.bpc-block-home .bpc-home-icon {
  display: block;
  width: 22px;
  height: auto;
  margin-top: 10px;
  object-fit: contain;
}

/* .groep-8-kleur a {
    color: #5FD7B9 !important;
} */


/* --------------------------------------------------------------------------
   STYLING UITSLUITEND VOOR "OVER" (ID 157) & VOORPAGINA'S ONDER "OVER" (ID 144)
   -------------------------------------------------------------------------- */

/* 1. Home-button roze op pagina 'Over' en subpagina's daarvan */
body.page-id-144 .bpc-block-home,
body.parent-pageid-144 .bpc-block-home {
	background-color: #FF87C4 !important;
}

/* 2. Hoofdknop "Over" roze als je op pagina 'Over' of een subpagina bent */
body.page-id-144 #mega-menu-wrap-primary #mega-menu-primary > li#mega-menu-item-157 > a.mega-menu-link,
body.parent-pageid-144 #mega-menu-wrap-primary #mega-menu-primary > li#mega-menu-item-157 > a.mega-menu-link,
#mega-menu-wrap-primary #mega-menu-primary > li#mega-menu-item-157:hover > a.mega-menu-link {
	color: #FF87C4 !important;
}

/* 3. ALLEEN sublinks binnen het dropdown menu van OVER (ID 157) roze maken bij hover */
#mega-menu-wrap-primary #mega-menu-primary > li#mega-menu-item-157 ul.mega-sub-menu .widget_nav_menu ul.menu a:hover,
#mega-menu-wrap-primary #mega-menu-primary > li#mega-menu-item-157 ul.mega-sub-menu .widget_nav_menu ul.menu a.menu-link:hover {
	color: #FF87C4 !important;
}

/* 4. ALLEEN het actieve subitem onder OVER roze tekst geven */
#mega-menu-wrap-primary #mega-menu-primary > li#mega-menu-item-157 ul.mega-sub-menu .widget_nav_menu ul.menu li.current-menu-item > a,
#mega-menu-wrap-primary #mega-menu-primary > li#mega-menu-item-157 ul.mega-sub-menu .widget_nav_menu ul.menu li.current_page_item > a {
	color: #FF87C4 !important;
}



/* --------------------------------------------------------------------------
   STYLING UITSLUITEND VOOR "ONDERWIJS / SCHOOLGIDS" (ID 156) & SUBPAGINA'S (ID 146)
   -------------------------------------------------------------------------- */

/* 1. Home-button kleur op pagina 'Onderwijs / Schoolgids' en subpagina's daarvan */
body.page-id-146 .bpc-block-home,
body.parent-pageid-146 .bpc-block-home {
	background-color: #EBDC00 !important;
}

/* 2. Hoofdknop "Onderwijs / Schoolgids" tekstkleur als je op de pagina bent of erover zweeft */
body.page-id-146 #mega-menu-wrap-primary #mega-menu-primary > li#mega-menu-item-156 > a.mega-menu-link,
body.parent-pageid-146 #mega-menu-wrap-primary #mega-menu-primary > li#mega-menu-item-156 > a.mega-menu-link,
#mega-menu-wrap-primary #mega-menu-primary > li#mega-menu-item-156:hover > a.mega-menu-link {
	color: #EBDC00 !important;
}

/* 3. ALLEEN sublinks binnen het dropdown menu van ONDERWIJS / SCHOOLGIDS (ID 156) kleur geven bij hover */
#mega-menu-wrap-primary #mega-menu-primary > li#mega-menu-item-156 ul.mega-sub-menu .widget_nav_menu ul.menu a:hover,
#mega-menu-wrap-primary #mega-menu-primary > li#mega-menu-item-156 ul.mega-sub-menu .widget_nav_menu ul.menu a.menu-link:hover {
	color: #EBDC00 !important;
}

/* 4. ALLEEN het actieve subitem onder ONDERWIJS / SCHOOLGIDS kleur geven */
#mega-menu-wrap-primary #mega-menu-primary > li#mega-menu-item-156 ul.mega-sub-menu .widget_nav_menu ul.menu li.current-menu-item > a,
#mega-menu-wrap-primary #mega-menu-primary > li#mega-menu-item-156 ul.mega-sub-menu .widget_nav_menu ul.menu li.current_page_item > a {
	color: #EBDC00 !important;
}



/* --------------------------------------------------------------------------
   STYLING UITSLUITEND VOOR "GROEP 8" (ID 155) & SUBPAGINA'S ONDER GROEP 8
   -------------------------------------------------------------------------- */

/* 1. Home-button kleur op pagina 'Groep 8' en subpagina's daarvan */
body.page-id-148 .bpc-block-home,
body.parent-pageid-148 .bpc-block-home {
	background-color: #5FD7B9 !important;
}

/* 2. Hoofdknop "Groep 8" tekstkleur als je op de pagina bent of erover zweeft */
body.page-id-155 #mega-menu-wrap-primary #mega-menu-primary > li#mega-menu-item-155 > a.mega-menu-link,
body.parent-pageid-155 #mega-menu-wrap-primary #mega-menu-primary > li#mega-menu-item-155 > a.mega-menu-link,
#mega-menu-wrap-primary #mega-menu-primary > li#mega-menu-item-155:hover > a.mega-menu-link {
	color: #5FD7B9 !important;
}

/* 3. ALLEEN sublinks binnen het dropdown menu van GROEP 8 (ID 155) kleur geven bij hover */
#mega-menu-wrap-primary #mega-menu-primary > li#mega-menu-item-155 ul.mega-sub-menu .widget_nav_menu ul.menu a:hover,
#mega-menu-wrap-primary #mega-menu-primary > li#mega-menu-item-155 ul.mega-sub-menu .widget_nav_menu ul.menu a.menu-link:hover {
	color: #5FD7B9 !important;
}

/* 4. ALLEEN het actieve subitem onder GROEP 8 kleur geven */
#mega-menu-wrap-primary #mega-menu-primary > li#mega-menu-item-155 ul.mega-sub-menu .widget_nav_menu ul.menu li.current-menu-item > a,
#mega-menu-wrap-primary #mega-menu-primary > li#mega-menu-item-155 ul.mega-sub-menu .widget_nav_menu ul.menu li.current_page_item > a {
	color: #5FD7B9 !important;
}

/* Hoofdknop als referentie voor het groene lipje */
#mega-menu-wrap-primary #mega-menu-primary > li#mega-menu-item-155 {
    position: relative !important;
    overflow: visible !important;
}

/* Groen lipje bij Groep 8 én actieve onderliggende pagina's */
body.page-id-148 #mega-menu-item-155::after,
body.parent-pageid-148 #mega-menu-item-155::after,
#mega-menu-item-155.mega-current-menu-item::after,
#mega-menu-item-155.mega-current-menu-parent::after,
#mega-menu-item-155.mega-current-menu-ancestor::after,
#mega-menu-item-155:has(
    li.current-menu-item,
    li.current_page_item
)::after {
    content: "";
    display: block !important;
    position: absolute;

    top: 100%;
    left: 50%;
    transform: translateX(-55%);

    width: 116px;
    max-width: 80%;
    height: 15px;

    background-color: #5FD7B9;
    border-radius: 0 0 14px 14px;

    pointer-events: none;
}

/* 1. Geef het submenu een vaste/minimale breedte en centreer/lijm hem netjes */
#mega-menu-wrap-primary #mega-menu-primary > li#mega-menu-item-155 > ul.mega-sub-menu {
    width: 800px !important;            /* Of de gewenste breedte van het blauwe vlak */
    max-width: 90vw !important;         /* Voorkomt dat hij breder wordt dan het scherm zelf */
    left: 50% !important;               /* Lijn het midden uit met de "GROEP 8" knop */
    transform: translateX(-50%) !important; /* Perfect gecentreerd onder GROEP 8 */
    right: auto !important;
}

/* 2. Zorg dat de kolomteksten niet meer verticaal in elkaar klappen */
#mega-menu-wrap-primary #mega-menu-primary > li#mega-menu-item-155 ul.mega-sub-menu a {
    white-space: nowrap !important;
}


/* Verberg mobiele elementen standaard op desktop */
.bpc-mobile-toggle,
.bpc-mobile-menu-overlay {
  display: none;
}

/* ==========================================================================
   MOBIELE STYLING (max-width: 991px)
   ========================================================================== */
@media screen and (max-width: 991px) {

  /* 1. Verberg desktop navigatie & home-knop */
  .bpc-block-nav,
  .bpc-block-home {
    display: none !important;
  }
		header.bpc-header-container {
    background: white;
}

  .bpc-header-container {
    justify-content: space-between !important;
    align-items: center !important;
    padding: 10px 16px !important;
    height: auto !important;
  }

  /* 2. Logo & Slogan naast elkaar */
  .bpc-block-logo {
    background-color: transparent !important;
    padding: 0 !important;
    height: auto !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
  }

  .bpc-logo-wrapper {
    margin-right: 0 !important;
  }

  .bpc-logo {
    height: 50px !important;
    margin: 0 !important;
  }

  .bpc-slogan {
    font-size: 13px !important;
    line-height: 1.2 !important;
  }

  /* 3. Hamburger Button */
  .bpc-mobile-toggle {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    width: 42px !important;
    height: 42px !important;
    padding: 10px !important;
    background-color: #142b68 !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
  }

  .bpc-mobile-toggle span {
    display: block !important;
    width: 100% !important;
    height: 3px !important;
    background-color: #ffffff !important;
    border-radius: 2px !important;
  }

  /* 4. Fullscreen Overlay Container */
  .bpc-mobile-menu-overlay {
    display: block;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: #142b68 !important;
    z-index: 99999 !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease !important;
    overflow-y: auto !important;
  }

  .bpc-mobile-menu-overlay.is-active {
    opacity: 1 !important;
    visibility: visible !important;
  }

  .bpc-mobile-menu-inner {
    padding: 20px 20px 40px 20px !important;
  }

  .bpc-mobile-menu-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 24px !important;
    padding-bottom: 16px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
  }

  .bpc-mobile-close {
    background: transparent !important;
    border: none !important;
    color: #ffffff !important;
    font-size: 36px !important;
    line-height: 1 !important;
    cursor: pointer !important;
  }

  /* 5. Accordeon Lijst Styling */
  .bpc-mobile-nav ul.bpc-mobile-menu-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .bpc-mobile-nav ul.bpc-mobile-menu-list > li {
    border-bottom: 0px solid rgba(255, 255, 255, 0.1) !important;
    position: relative !important;
    list-style: none !important;
  }

  .bpc-mobile-nav ul.bpc-mobile-menu-list > li > a {
    display: block !important;
    padding: 16px 45px 16px 0 !important;
    color: #ffffff !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
  }

  /* Kleur-accents per categorie (matches met je ID's) */
  .bpc-mobile-nav ul.bpc-mobile-menu-list > li[id*="157"] > a { color: #FF87C4 !important; } /* Over */
  .bpc-mobile-nav ul.bpc-mobile-menu-list > li[id*="156"] > a { color: #EBDC00 !important; } /* Onderwijs */
  .bpc-mobile-nav ul.bpc-mobile-menu-list > li[id*="155"] > a { color: #5FD7B9 !important; } /* Groep 8 */
  .bpc-mobile-nav ul.bpc-mobile-menu-list > li[id*="154"] > a { color: #FF9900 !important; } /* Contact */

  /* Accordeon uitklap-knop (pijltje) */
  .bpc-mobile-submenu-toggle {
    position: absolute !important;
    right: 0 !important;
    top: 10px !important;
    width: 36px !important;
    height: 36px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: none !important;
    border-radius: 6px !important;
    color: #ffffff !important;
    font-size: 14px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: transform 0.25s ease !important;
  }

  .bpc-mobile-submenu-toggle.is-open {
    transform: rotate(180deg) !important;
  }

  /* Submenus verbergen tot er geklikt wordt */
  .bpc-mobile-nav ul.sub-menu,
  .bpc-mobile-nav ul.mega-sub-menu {
    display: none;
    list-style: none !important;
    padding: 0 0 16px 12px !important;
    margin: 0 !important;
  }

  .bpc-mobile-nav ul.sub-menu li a,
  .bpc-mobile-nav ul.mega-sub-menu li a {
    display: block !important;
    padding: 8px 0 !important;
    color: #ffffff !important;
    opacity: 0.85 !important;
    font-size: 15px !important;
    text-decoration: none !important;
  }
}

/* ==========================================================================
   MAX MEGA MENU OVERRIDES VOOR MOBIELE OVERLAY
   ========================================================================== */
@media screen and (max-width: 991px) {

  /* 1. Verberg de zwarte mobiele balk/toggle van Max Mega Menu zelf */
  #mega-menu-wrap-primary .mega-menu-toggle,
  .mega-menu-toggle {
    display: none !important;
  }

  /* 2. Reset de container van Max Mega Menu op mobiel */
  #mega-menu-wrap-primary,
  #mega-menu-wrap-primary #mega-menu-primary,
  .bpc-mobile-nav #mega-menu-wrap-primary,
  .bpc-mobile-nav #mega-menu-primary,
  .bpc-mobile-nav ul.bpc-mobile-menu-list {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    background: transparent !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* 3. Forceer de hoofd-menuitems onder elkaar */
  #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item,
  .bpc-mobile-nav ul.bpc-mobile-menu-list > li.mega-menu-item {
    display: block !important;
    width: 100% !important;
    float: none !important;
    clear: both !important;
    position: relative !important;
    height: auto !important;
  }

  #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link,
  .bpc-mobile-nav ul.bpc-mobile-menu-list > li > a.mega-menu-link {
    height: auto !important;
    margin: 0 !important;
    padding: 16px 45px 16px 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
  }

  /* 4. STRIP DE SWEEPING TURQUOISE KAART (position absolute, 800px width & background opschonen) */
  #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > ul.mega-sub-menu,
  .bpc-mobile-nav ul.bpc-mobile-menu-list li.mega-menu-item ul.mega-sub-menu,
  .bpc-mobile-nav ul.mega-sub-menu {
    position: static !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    border: none !important;
    padding: 8px 0 16px 0px !important;
    margin: 0 !important;
    display: none; /* Wordt getoond/verborgen via JS toggle */
  }
	
	
  #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
    justify-content: left !important;
}	
		

  /* 5. Forceer de inner widget container om geen achtergrond te tonen */
  #mega-menu-wrap-primary #mega-menu-primary ul.mega-sub-menu li.widget_nav_menu,
  .bpc-mobile-nav ul.mega-sub-menu li.widget_nav_menu {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
  }

  /* 6. Breek het 3-kolommen grid af naar 1 enkele verticale kolom op mobiel */
  #mega-menu-wrap-primary #mega-menu-primary ul.mega-sub-menu .widget_nav_menu ul.menu,
  .bpc-mobile-nav ul.bpc-mobile-menu-list ul.mega-sub-menu .widget_nav_menu ul.menu {
    column-count: 1 !important;
    -webkit-column-count: 1 !important;
    column-gap: 0 !important;
    display: block !important;
    width: 100% !important;
  }

  #mega-menu-wrap-primary #mega-menu-primary ul.mega-sub-menu .widget_nav_menu ul.menu li,
  .bpc-mobile-nav ul.bpc-mobile-menu-list ul.mega-sub-menu .widget_nav_menu ul.menu li {
    display: block !important;
    width: 100% !important;
    margin-bottom: 6px !important;
    break-inside: auto !important;
    -webkit-column-break-inside: auto !important;
  }

  #mega-menu-wrap-primary #mega-menu-primary ul.mega-sub-menu .widget_nav_menu ul.menu a,
  .bpc-mobile-nav ul.bpc-mobile-menu-list ul.mega-sub-menu .widget_nav_menu ul.menu a {
    padding: 6px 0 !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    color: #ffffff !important;
    display: block !important;
  }
   #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item:hover > a.mega-menu-link {
    	background-color: transparent !important;
	}
	
	
	/* Container voor logo + slogan aan de linkerkant */
	.bpc-mobile-header-brand {
	  display: flex !important;
	  align-items: center !important;
	  gap: 12px !important;
	}

	/* Styling van het logo in de mobiele menu header */
	.bpc-mobile-logo {
	  height: 40px !important; /* Pas de hoogte aan naar wens */
	  width: auto !important;
	  display: block !important;
	}

	/* Slogan uitlijning binnen de header */
	.bpc-mobile-header-brand .bpc-slogan {
	  font-size: 13px !important;
	  line-height: 1.2 !important;
	  color: #00839b !important;
	}
}

/* Desktop: submenu en inhoud tegelijk tonen/verbergen */
@media screen and (min-width: 992px) {

  .bpc-block-nav #mega-menu-wrap-primary #mega-menu-primary
  > li.mega-menu-item > ul.mega-sub-menu {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: none !important;
    animation: none !important;
  }

  .bpc-block-nav #mega-menu-wrap-primary #mega-menu-primary
  > li.mega-menu-item.mega-toggle-on > ul.mega-sub-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

}






/* ==========================================================================
   BPC FOOTER
   ========================================================================== */

footer.bpc-footer {
  width: 100%;
  margin: 32px 0 0;
  background: transparent;
  color: #172d6d;
  font-family: inherit;
}

footer.bpc-footer,
footer.bpc-footer * {
  box-sizing: border-box;
}

footer.bpc-footer .bpc-footer-card {
  width: 100%;
  max-width: 1800px;
  margin: 0 auto;
  padding: 32px 32px 20px;
  background: #ececec;
  border-radius: 16px 16px 0px 0px;
}

footer.bpc-footer .bpc-footer-main {
  display: flex;
  align-items: stretch;
  gap: 48px;
}

/* ==========================================================================
   LINKS — LOGO, SLOGAN EN CONTACT
   ========================================================================== */

footer.bpc-footer .bpc-footer-brand {
  display: flex;
  flex: 0 0 380px;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  width: auto;
  min-width: 0;
  max-width: none;
  min-height: 280px;
}

footer.bpc-footer .bpc-footer-header-left {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin: 0;
}

footer.bpc-footer .bpc-footer-logo {
  display: block;
  flex: 0 0 auto;
  width: auto;
  height: 100px;
  max-width: 100%;
  object-fit: contain;
}

footer.bpc-footer .bpc-footer-slogan {
  display: block;
  margin: 22px 0 0;
  padding: 0;
  color: #00859c;
  font-family: Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

footer.bpc-footer .bpc-footer-info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: start;
  gap: 24px;
}

footer.bpc-footer .bpc-footer-contact,
footer.bpc-footer .bpc-footer-meta {
  min-width: 0;
}

footer.bpc-footer .bpc-footer-contact p {
  margin: 0 0 3px;
  padding: 0;
  color: #172d6d;
  font-size: 14px;
  line-height: 1.55;
}

footer.bpc-footer .bpc-footer-contact strong {
  font-weight: 400;
}

footer.bpc-footer .bpc-footer-contact a {
  color: inherit;
  font-size: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
}

footer.bpc-footer .bpc-footer-contact a:hover {
  color: #00859c;
}

/* Socialmedia-iconen */

footer.bpc-footer .bpc-footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 82px;
  padding: 0;
}

footer.bpc-footer .bpc-footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: #172d6d;
  text-decoration: none;
}

footer.bpc-footer .bpc-footer-socials svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: currentColor;
}

footer.bpc-footer .bpc-footer-socials a:hover {
  color: #00859c;
}

/* Privacylinks */

footer.bpc-footer .bpc-footer-legal {
  display: block;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

footer.bpc-footer .bpc-footer-legal li {
  list-style: none !important;
  margin: 0 0 3px !important;
  padding: 0 !important;
  background: none !important;
  font-size: 12px;
  line-height: 1.55;
}

footer.bpc-footer .bpc-footer-legal a {
  color: #172d6d;
  font-size: 14px;
  line-height: 1.55;
  text-decoration: none;
  overflow-wrap: break-word;
}

footer.bpc-footer .bpc-footer-legal a:hover {
  color: #00859c;
}

/* ==========================================================================
   RECHTS — VIER MENU-KOLOMMEN
   ========================================================================== */

footer.bpc-footer .bpc-footer-nav {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  flex: 1 1 0;
  align-items: start;
  gap: 24px !important;
  width: auto;
  min-width: 0;
  margin: 22px 0 0 !important;
  padding: 0;
}

footer.bpc-footer .bpc-footer-col {
  width: auto !important;
  min-width: 0 !important;
  max-width: none;
  margin: 0;
  padding: 0;
}

/* Kolomtitels */

footer.bpc-footer .bpc-footer-col h3 {
  margin: 0 0 18px !important;
  padding: 0 !important;
  color: #172d6d !important;
  font-family: "aglet-slab", serif !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
  letter-spacing: 0.4px !important;
  text-transform: uppercase !important;
  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

footer.bpc-footer .bpc-footer-col h3 a {
  color: inherit !important;
  text-decoration: none !important;
}

/* Menulijsten */

footer.bpc-footer .bpc-footer-col ul,
footer.bpc-footer .bpc-footer-col ul.bpc-footer-menu {
  display: block !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

footer.bpc-footer .bpc-footer-col ul li {
  display: block;
  list-style: none !important;
  margin: 0 0 3px !important;
  padding: 0 !important;
  background: transparent !important;
  font-size: 14px !important;
  line-height: 1.8 !important;
}

footer.bpc-footer .bpc-footer-col ul li a {
  display: inline-block !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #172d6d !important;
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  text-decoration: none !important;
  white-space: normal !important;
  overflow-wrap: break-word;
  background: transparent !important;
  transition: color 0.2s ease;
}

footer.bpc-footer .bpc-footer-col ul li a:hover,
footer.bpc-footer .bpc-footer-col h3 a:hover {
  color: #00859c !important;
}

/* Eventueel achtergebleven Home-blok */

footer.bpc-footer .bpc-footer-home-block {
  display: none !important;
}

/* ==========================================================================
   ONDERBALK — COPYRIGHT LINKS, CREDITS RECHTS
   ========================================================================== */

footer.bpc-footer .bpc-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 36px !important;
  padding-top: 18px !important;
  border-top: 1px solid #929ba2 !important;
  text-align: left !important;
}

footer.bpc-footer .bpc-footer-bottom p {
  margin: 0 !important;
  padding: 0 !important;
  color: #717d86 !important;
  font-size: 12px !important;
  line-height: 1.6 !important;
}

footer.bpc-footer .bpc-footer-credits {
  margin-left: auto !important;
  text-align: right;
}

footer.bpc-footer .bpc-footer-bottom a {
  color: #172d6d;
  text-decoration: none;
}

footer.bpc-footer .bpc-footer-bottom a:hover {
  color: #00859c;
  text-decoration: underline;
}

/* ==========================================================================
   KLEINERE DESKTOP / TABLET LIGGEND
   ========================================================================== */

@media screen and (max-width: 1200px) {
  footer.bpc-footer .bpc-footer-card {
    padding: 28px 24px 18px;
  }

  footer.bpc-footer .bpc-footer-main {
    gap: 28px;
  }

  footer.bpc-footer .bpc-footer-brand {
    flex-basis: 310px;
  }

  footer.bpc-footer .bpc-footer-header-left {
    gap: 14px;
  }

  footer.bpc-footer .bpc-footer-logo {
    height: 85px;
  }

  footer.bpc-footer .bpc-footer-slogan {
    margin-top: 16px;
    font-size: 14px;
    letter-spacing: 1px;
  }

  footer.bpc-footer .bpc-footer-info-grid {
    gap: 16px;
  }

  footer.bpc-footer .bpc-footer-nav {
    gap: 16px !important;
    margin-top: 16px !important;
  }

  footer.bpc-footer .bpc-footer-col h3 {
    font-size: 12px !important;
    margin-bottom: 12px !important;
    letter-spacing: 0 !important;
  }
}

/* ==========================================================================
   TABLET — BRAND BOVENAAN, VIER MENU-KOLOMMEN ERONDER
   ========================================================================== */

@media screen and (max-width: 1024px) {
  footer.bpc-footer .bpc-footer-main {
    flex-direction: column;
    gap: 28px;
  }

  footer.bpc-footer .bpc-footer-brand {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    flex: 0 1 auto;
    align-items: start;
    gap: 28px;
    width: 100%;
    min-height: 0;
  }

  footer.bpc-footer .bpc-footer-nav {
    flex: 0 1 auto;
    width: 100%;
    margin-top: 0 !important;
  }

  footer.bpc-footer .bpc-footer-bottom {
    margin-top: 28px !important;
  }
}

/* Standaard (Desktop): verberg mobiele socials */
.bpc-mobile-only {
  display: none !important;
}

/* ==========================================================================
   MOBIEL WEERGAVE (max-width: 700px)
   ========================================================================== */
@media screen and (max-width: 700px) {

  /* Verberg desktop socials, toon mobiele socials */
  .bpc-desktop-only {
    display: none !important;
  }

  .bpc-mobile-only {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 24px;
    width: 100%;
  }

  /* 1. Zet het hoofdblok (brand) onder elkaar */
  footer.bpc-footer .bpc-footer-brand {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    width: 100% !important;
  }

  /* 2. Zet het logo en de slogan ONDER elkaar */


  /* Zet het logo en de slogan WEER NAAST ELKAAR */
  footer.bpc-footer .bpc-footer-header-left {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 14px !important;
    width: 100% !important;
  }

  footer.bpc-footer .bpc-footer-slogan {
    margin-top: 0 !important;
    max-width: 200px !important; /* Zorgt dat de tekst netjes afbreekt als het te breed wordt */
    font-size: 13px !important;
  }



  /* 3. Zet het adres en de e-mail onder elkaar over de volle breedte (1/1) */
  footer.bpc-footer .bpc-footer-info-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    width: 100% !important;
  }

  footer.bpc-footer .bpc-footer-contact p {
    font-size: 13px;
  }

  /* Menu-grid op mobiel (2 kolommen) */
  footer.bpc-footer .bpc-footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 18px !important;
  }

  footer.bpc-footer .bpc-footer-socials {
    margin: 0 !important;
  }

  footer.bpc-footer .bpc-footer-legal a {
    font-size: 13px;
  }

  footer.bpc-footer .bpc-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-top: 20px !important;
    padding-top: 16px !important;
  }

  footer.bpc-footer .bpc-footer-credits {
    margin-left: 0 !important;
    text-align: left;
  }
}






:root {
    --bpc-zijruimte: clamp(16px, 3vw, 50px);
    --bpc-max-breedte: 1700px;
}

/* Header, footer en hoofdinhoud: dezelfde buitenbreedte */
.bpc-header-container,
footer.bpc-footer,
#content > .ast-container,
#content > .ast-container-fluid {
    width: calc(
        100% - var(--bpc-zijruimte) - var(--bpc-zijruimte)
    ) !important;

    max-width: var(--bpc-max-breedte) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}

/* Geen extra padding binnen de hoofdcontainer */
#content > .ast-container,
#content > .ast-container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* 1. Banner container instellingen */
.vc_row.bpc_banner {
    position: relative !important;
    inset: auto !important;
    transform: none !important;

    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;

    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 1765 / 560;

    display: flex !important;
    flex-direction: row;
    align-items: flex-start;
    gap: 0 !important;

    border-radius: 20px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}
/* Overrule de inline styles van Ultimate Addons op .upb_row_bg */
.vc_row.bpc_banner .upb_row_bg {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;

    /* Dwing de achtergrondweergave af over de inline style heen */
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    
    z-index: 0 !important;
}

/* Zorg dat de kolom met de grijze kaart netjes boven de achtergrond ligt */
.vc_row.bpc_banner > .wpb_column {
    position: relative !important;
    z-index: 2 !important;
}



/* WPBakery clearfix mag geen ruimte innemen */
.vc_row.bpc_banner::before,
.vc_row.bpc_banner::after {
    display: none !important;
}

/* Tekstblok schaalt mee met de banner */
.bpc_banner > .bpc_banner_grijs {
    position: relative !important;
    inset: auto !important;
    transform: none !important;
    float: none !important;

    flex: 0 1 44% !important;
    width: 44% !important;
    max-width: 750px !important;
    min-width: 0 !important;

    margin: 0 0 0 9% !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* Grijze kaart */
.bpc_banner > .bpc_banner_grijs > .vc_column-inner {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: clamp(20px, 2vw, 34px)
             clamp(20px, 2.8vw, 48px) !important;

    background: #ebebed !important;
    border: 0 !important;
    border-radius: 0 0 32px 32px !important;
    box-sizing: border-box !important;
}

.bpc_banner .wpb_text_column {
    margin-bottom: 0 !important;
}

/* Inline lettergrootte van 36pt overschrijven */
.bpc_banner .bpc_banner_grijs h1 {
    margin: 0 !important;
    padding: 0 !important;

    font-size: clamp(22px, 2.5vw, 48px) !important;
    line-height: 1.15 !important;
    white-space: normal !important;
    overflow-wrap: break-word;
}

.bpc_banner .bpc_banner_grijs h1 span {
    font-size: inherit !important;
    line-height: inherit !important;
}

/* Tablet: meer ruimte voor de titel */
@media (min-width: 768px) and (max-width: 1100px) {
    .bpc_banner > .bpc_banner_grijs {
        flex-basis: 62% !important;
        width: 62% !important;
        margin-left: 6% !important;
    }
}

/* Bestaande mobiele header-padding opheffen */
@media (max-width: 991px) {
    .bpc-header-container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
	
	/* 1. Geef het submenu een vaste/minimale breedte en centreer/lijm hem netjes */
#mega-menu-wrap-primary #mega-menu-primary > li#mega-menu-item-155 > ul.mega-sub-menu {
		transform: translateX(0) !important; /* Perfect gecentreerd onder GROEP 8 */
	}
}

/* Mobiel: tekst boven de foto */
@media (max-width: 767px) {
    .vc_row.bpc_banner {
        flex-direction: column;
        aspect-ratio: auto;
        background: #ebebed !important;
        border-radius: 16px !important;
		margin-top: 20px !important;
    }

    .bpc_banner > .bpc_banner_grijs {
        flex: none !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    .bpc_banner > .bpc_banner_grijs > .vc_column-inner {
        padding: 15px 15px !important;
        border-radius: 0 10px 10px 0 !important;
        width: 85% !important;
    }


    .bpc_banner .bpc_banner_grijs h1 {
        font-size: clamp(17px, 5vw, 34px) !important;
        line-height: 1.2 !important;
    }

    .vc_row.bpc_banner::after {
        content: "" !important;
        display: block !important;
        position: static !important;

        flex: none;
        width: 100%;
        height: auto;
        aspect-ratio: 1765 / 560;

        background: var(--banner-image) center / contain no-repeat;
    }
	
	
	
	.bpc-slogan {
		margin-top: 10px;
	}
}



@media (max-width: 767px) {
    /* .bpc_banner > .bpc_banner_grijs {
        flex: none !important;
        width: 100% !important;
        max-width: 75% !important;
        margin: 0px !important;
        margin-top: -40px !important;
    } */
	    .bpc_banner > .bpc_banner_grijs {
        flex: none !important;
        width: 100% !important;
        max-width: 41% !important;
        margin: 0px !important;
        margin-top: 35px !important;
    }
	#mega-menu-wrap-primary #mega-menu-primary ul.mega-sub-menu .widget_nav_menu ul#menu-groep-9 li.niettonen {
    display: none !important;
}
}





/* Mobiel menu volledig uitschakelen zolang het gesloten is */
body .bpc-mobile-menu-overlay:not(.is-active) {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Alleen tonen wanneer het menu geopend wordt */
@media screen and (max-width: 991px) {
    body .bpc-mobile-menu-overlay.is-active {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }
}

/* Mobiele overlay altijd verbergen op desktop */
@media screen and (min-width: 992px) {
    body .bpc-mobile-menu-overlay {
        display: none !important;
        pointer-events: none !important;
    }
}

@media screen and (max-width: 991px) {
    header.ast-custom-header {
        transition: opacity 0.2s ease !important;
    }

    html.bpc-hide-mobile-header header.ast-custom-header {
        opacity: 0 !important;
        pointer-events: none !important;
    }

    html.bpc-hide-mobile-header header.ast-custom-header * {
        pointer-events: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    header.ast-custom-header {
        transition: none !important;
    }
}