:root{
	--wit:#fff;
	--zwart:#000;
	--lichtgrijs:#eee;
	--donkergrijs:#aaa;
	--grijs:#ccc;

	--lichtblauw:#DEF3FC;
	--donkerblauw:#2b2171;
	--groen:#24AF57;
	--blauw:#5BC5F2;
	--roze:#DE007E;
	--lichtroze:rgba(222, 0, 126, 0.05);
	--oranje:#F7A833;
	--lichtgroen:#E5F6EB;

  --schooloranje: #F7A833;
  --schoolblauw: #5BC5F2;


}   


/* =========================================================
   HEADERBLOCK COMPONENT
   ========================================================= */

.headerblock {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  margin-bottom: 0;
width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
min-height: 40vh;
gap:40px;
}
.headerblock__media,
.headerblock__content {
  min-height: 40vh;
}

/* =========================================================
   CONTENT SIDE
   ========================================================= */

.headerblock__content {
    padding: 40px 0 140px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    position: relative;
    z-index: 10;
}

.headerblock__inner {
display: flex;
    flex-direction: column;
    justify-content: flex-start;
    max-width: 565px;
    width: 100%;
    height: 100%;
    z-index: 12;
    padding-top: 20px;
}

/* Typography spacing */
.headerblock__inner h1,
.headerblock__inner h2,
.headerblock__inner h3 {
  margin-bottom: 25px;
}

/* Button wrapper */

.headerblock__text:has(+ .headerblock__buttons){
    margin-bottom:15px;
}
.headerblock__buttons {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* =========================================================
   MEDIA / SLIDER SIDE
   ========================================================= */

.headerblock__media {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 6;
}

.headerblock__slider {
  position: relative;
  width: 100%;
  height: 100%;

}

/* Individual slide */
.headerblock__slide {
    
  position: absolute;
  width: 100%;
  height: 100%;
    min-height: 40vh;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  

  margin-left: 60px;

  /* mask (jouw DNN stijl behouden) */
  mask-size: cover;
  mask-image: url('../assets/masks/union.svg');
  -webkit-mask-image: url('../assets/masks/union.svg');
}

/* =========================================================
   BREADCRUMBS
   ========================================================= */

.headerblock__breadcrumbs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-bottom: 15px;
  font-size: 12px;
}

.headerblock:not(.headerblock--small) .headerblock__breadcrumbs {
  justify-content: flex-start;
}

.headerblock__breadcrumbs,
.headerblock__breadcrumbs * {
  color: var(--roze);
  font-size: 12px;
}

.headerblock__breadcrumbs .is-active {
  font-weight: bold;
}

/* Home hide rule */
.home .headerblock__breadcrumbs {
  display: none;
}

/* =========================================================
   WAVE SHAPE (SVG OR BACKGROUND)
   ========================================================= */

.headerblock__wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 190px;
  z-index: 7;
  pointer-events: none;
    background-repeat: no-repeat;
  background-size: cover;
  background-position: 0 38px;
}

/* =========================================================
   COLOR VARIANTS
   ========================================================= */

.headerblock--green {
  background-color: var(--lichtgroen);
}

.headerblock--orange {
  background-color: var(--schooloranje);
}

.headerblock--pink {
  background-color: var(--lichtroze);
}

.headerblock--blue {
  background-color: var(--schoolblauw);
}

/* Wave per variant (belangrijk!) */

.headerblock--green .headerblock__wave {
  background-image: url('../assets/waves/header-groen-v2.svg');
}

.headerblock--orange .headerblock__wave {
  background-image: url('../assets/waves/header-oranje-v2.svg');
}

.headerblock--pink .headerblock__wave {
  background-image: url('../assets/waves/header-roze-v2.svg');
}

.headerblock--blue .headerblock__wave {
  background-image: url('../assets/waves/header-blauw-v2.svg');
}

/* =========================================================
   SMALL VARIANT
   ========================================================= */

.headerblock--small {
  min-height: 20vh;
  display: flex;
  padding-top: 20px;
  margin-bottom: 40px;
}

.headerblock--small .headerblock__content {
  width: 100%;
  max-width: 100%;
  align-items: flex-start;
  padding-top: 40px;
  padding-bottom: 150px;
}

.headerblock--small .headerblock__inner {
  max-width: 100%;
  padding: 0;
}

.headerblock--small h2,
.headerblock--small h3,
.headerblock--small h4 {
  font-family: var(--font);
  font-weight: 700;
  font-size: 24px;
}

/* =========================================================
   BUTTON ALIGNMENT HELPERS
   ========================================================= */

.headerblock__buttons--center {
  align-items: center;
}

.headerblock__buttons--right {
  align-items: flex-end;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1290px) {
  .headerblock__inner {
    max-width: 70%;
  }

  .headerblock__slide {
    mask-position: 0 -20px;
    mask-size: 100%;
  }
}

@media (max-width: 992px) {
  .headerblock {
    display: flex;
    flex-direction: column-reverse;
  }

  .headerblock__media {
    height: 500px;
  }

  .headerblock__content {
    padding: 30px 15px 60px 20px;
  }

  .headerblock__inner {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .headerblock__media {
    height: 400px;
  }
}

@media (max-width: 500px) {
  .headerblock__media {
    height: 225px;
  }

  .headerblock__slide {
    mask-size: 120% auto;
  }
}

/* =========================================================
   BUTTON BASE (als je geen Kadence buttons gebruikt)
   ========================================================= */

.headerblock a.knop {
  display: inline-block;
}

.headerblock a.knop span {
  padding: 0 20px;
}