/* === Menu items met hover-afbeelding === */
.custom-megamenu {
  display: block;
  max-width: 300px;
  padding: 20px;
}

.menu-item {
  position: relative;
  margin-bottom: 12px;
}

.menu-item a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #002b5c;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.menu-item .arrow {
  color: #1D4FB3;
  font-size: 16px;
  transition: transform 0.2s ease;
}

.menu-item a:hover .arrow {
  transform: translateX(3px);
}

.hover-container {
  position: absolute;
  top: -10px;
  right: -100px;
  width: 150px;
  background: white;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: scale(0.95);
  z-index: 1;
}

.hover-container img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.menu-item:hover .hover-container {
  opacity: 1;
  transform: scale(1.05);
}

.menu-item a:hover {
  color: #f9a825;
}

/* === Kolomstructuur algemeen === */
.kolom-links,
.kolom-midden,
.kolom-rechts {
  padding: 30px 20px !important;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex: 1 1 auto;
  height: 100% !important;
}

/* === Linkerkolom === */
.kolom-links {
  background-color: #f9f9f9 !important;
  color: #002b5c;
}

.kolom-links .menu-item {
  margin-bottom: 8px;
}

/* === Middelste kolom === */
.kolom-midden {
  background-color: #f0f4fc !important;
  color: #002b5c;
  border-radius: 6px;
}

.kolom-midden .advies-box h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 15px 0;
  text-transform: uppercase;
  color: #1D4FB3;
}

.kolom-midden .advies-box p {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 10px;
  color: #002b5c;
}

.kolom-midden .advies-box a {
  color: #1D4FB3;
  text-decoration: underline;
  font-weight: 600;
}

.kolom-midden .advies-buttons {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.kolom-midden .button {
  display: inline-block;
  padding: 12px 16px;
  font-weight: 600;
  text-align: center;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.kolom-midden .button-primary {
  background-color: #1D4FB3;
  color: #ffffff !important;
  text-decoration: none !important;
}

.kolom-midden .button-primary:hover {
  background-color: #163d8e;
  color: #ffffff !important;
  text-decoration: underline;
}

.kolom-midden .button-secondary {
  background-color: #dbe9ff;
  color: #1D4FB3;
  border: 1px solid #1D4FB3;
}

.kolom-midden .button-secondary:hover {
  background-color: #c8dcf8;
}

.kolom-midden .illustratie-hoogwerker img {
  max-width: 20%;
  height: auto;
  opacity: 0.95;
}

/* === Rechterkolom === */
.kolom-rechts {
  background-color: #1D4FB3 !important;
  color: #ffffff !important;
  align-items: center;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.kolom-rechts h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 20px 0 !important;
  text-transform: uppercase;
  line-height: 1.3;
  color: #ffffff !important;
}

.kolom-rechts .widgettitle {
  font-size: 18px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  line-height: 1.3;
  margin: 0 0 20px 0 !important;
  color: #ffffff !important;
  display: block;
}

.kolom-rechts a {
  color: white !important;
}

.kolom-rechts a:hover {
  color: #f9a825 !important;
}

.kolom-rechts .voordelen-lijst {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #ffffff;
}

.kolom-rechts .voordelen-lijst li {
  font-size: 16px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  color: #ffffff;
}

.kolom-rechts .checkmark {
  color: #1D4FB3;
  background: white;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  text-align: center;
  line-height: 22px;
  font-size: 14px;
  margin-right: 10px;
  font-weight: bold;
}

/* === Mega menu grid support (100% hoogte) === */
.mega-sub-menu.mega-menu-grid {
  display: flex !important;
  align-items: stretch;
}

.megamenu-panel {
  min-height: 100%;
}
.kolom-rechts .widgettitle,
.kolom-rechts h3.widgettitle {
  color: #ffffff !important;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 18px;
  line-height: 1.3;
  margin: 0 0 20px 0;
  display: block;
}
.widgettitle:not(.kolom-rechts *) {
  color: initial !important;
}
.kolom-rechts .mega-block-title {
  color: #ffffff !important;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.3;
  margin: 0 0 20px 0;
}
/* Zorg dat de kolommen-container flex is en kolommen even hoog zijn */
.mega-sub-menu.mega-menu-grid,
.megamenu-panel {
  display: flex !important;
  align-items: stretch;
}

/* Zorg dat de kolommen zelf 100% hoog zijn */
.kolom-links,
.kolom-midden,
.kolom-rechts {
  height: 100% !important;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
/* Zorg dat alle grid-afbeeldingen dezelfde hoogte hebben */
.wpr-grid-image-wrap img {
    height: 180px !important;
    object-fit: cover;
    width: 100%;
    display: block;
}


/* Zorg dat de content onder de afbeelding op juiste plek blijft */
.acf-2kolommen-wrapper {
  display: flex;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto;
  flex-wrap: wrap;
}

.acf-2kolommen-wrapper .acf-kolom {
  flex: 1 1 45%;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.03);
  font-family: 'Poppins', sans-serif;
  min-width: 300px;
}

.acf-2kolommen-wrapper h3 {
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 20px;
}

.acf-2kolommen-wrapper p {
  font-size: 16px;
  line-height: 1.7;
  color: #333;
}
input, textarea, select {
  font-size: 16px;
}
.h2-klein {
  font-size: 16px;
  font-weight: normal;
  line-height: 1.6;
}
.vacature-badge {
    background: #fff;
    color: #003d99;
    font-size: 0.65em;
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-left: 4px; /* Kleiner marge naar links */
    font-weight: bold;
    border: 1px solid #003d99;
    line-height: 1;
}
