: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;
}

@media (max-width:800px){
  .headerblock {
    padding-bottom:150px;
  }
}

/* =========================================================
   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: 600px;
    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;
}


/* Agenda grid */

.agenda-wrapper.grid{
  display:grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap:16px;

  .agenda-item{
    padding: 40px 20px;
    border-radius: 10px;
  }

  .agenda-date-box{ 

    margin-bottom:40px;

    span{
      font-size: 32px;
    }
  }

  .agenda-content span{

  }
}

@media (max-width:900px) {
  .agenda-wrapper.grid{
    grid-template-columns: 1fr 1fr;
  }
  
}

@media (max-width:500px) {
  .agenda-wrapper.grid{
    grid-template-columns: 1fr;
  }
  
}

/* zijmenu */
.single-content  .wp-block-lazyblock-zijmenu{

  ul{
    list-style-type:none;
    margin-left:0;
    padding-left:0;

    li a{
      font-size: 18px;
    }
  }
}



/* Agenda lijst */
.wp-block-lazyblock-agenda-lijst .agenda-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.wp-block-lazyblock-agenda-lijst .agenda-list-item {
    border-bottom: 1px solid rgba(0,0,0,.1);
    padding-bottom: 1.5rem;
    display:flex;
    gap:30px;
}

.wp-block-lazyblock-agenda-lijst .agenda-list-link {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 1.5rem;
    text-decoration: none;
    color: inherit;
}

.wp-block-lazyblock-agenda-lijst .agenda-date-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 80px;
    height: 80px;

    border-radius: 12px;
    background: #f3f3f3;
}

.wp-block-lazyblock-agenda-lijst .agenda-day {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.wp-block-lazyblock-agenda-lijst .agenda-month {
    text-transform: uppercase;
    font-size: .85rem;
}

.wp-block-lazyblock-agenda-lijst .agenda-meta {
    margin-bottom: 12px;
    opacity: .7;
    font-size:14px;
}

.wp-block-lazyblock-agenda-lijst .agenda-title {
    margin: 0  !important;
}

.wp-block-lazyblock-agenda-lijst .agenda-excerpt {
    line-height: 1.6;
}

.wp-block-lazyblock-agenda-lijst .agenda-pagination {
    margin-top: 3rem;
}

.wp-block-lazyblock-agenda-lijst .agenda-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    margin-right: .5rem;

    border-radius: 999px;
    text-decoration: none;
}

.wp-block-lazyblock-agenda-lijst .agenda-pagination .current {
    font-weight: 700;
}