/* ================================================================================ 
                                  GENERAL SETTINGS
   ================================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');

:root{
	--wit:#fff;
	--zwart:#4E2150;
	--donkergrijs:#aaa;
	--lichtgrijs:#eee;
	--grijs:#ccc;
	--geel:#FFDD00;
	--lichtblauw:#A1DAF7;
	--blauw:#0090D7;
	--donkerblauw:#422E6F;
	--paars:#BCA3CE;
	--roze:#F29DB7;
	--lichtroze:#FAD1D6;
	--groen:#37993D;

	--primair:#FFE9A4;

	--bloklinks:#4E2150;
	--blokmidden:#9B5A9C;
	--blokrechts:#EE7377;
	--buttonachtergrond:#fff;
	--buttontekst:#66B7E7;
	--headerkleur:var(--groen);

	--knopkleur:#FFEB9D;

	--font: "Inter", sans-serif;
	--headerfont: "Quicksand", sans-serif;
}   


.headerblock--green {
    background-color: #9B5A9C;
    color:#EAF5E4;

    h1{
        font-weight:700;
        color:#EAF5E4;
    }
}

.headerblock--green .headerblock__wave{
    background-image:url(../images/waterlelie/header-roze.svg)
}

.background-holder{
    background-image: url(../images/waterlelie/homebg.svg);
    background-position: calc(50% - 92px) 60px !important;
    background-repeat: no-repeat;
    padding-top:60px;
}

#mobile-header{
    padding-left:25px;
    padding-right:25px;
}

body.page p,
body.page span,
body.page div,
body.page a,
body.page{
    font-family: var(--font) !important;
}
h1,h2,h3,h4,h5{
    font-family: var(--headerfont) !important;
}


.nieuwsblok article > div{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

@media(max-width:1500px){
    .home #primary:after{
        display:none
    }
}



.nieuwsblok article,
.archive-container article,
#archive-container li article{
    background-color: var(--bloklinks) !important;
    color: #fff;
    border: 1px solid var(--bloklinks);
    transition: 0.2s;
    padding:20px;
    border-radius:20px;

    .entry-header{
        display: flex;
        flex-direction: column;
        margin-bottom:0;

        h2{
            margin-bottom:10px;
        }

        h2, h2 a{
            color: #fff;;
            order:2;
            font-size: 32px;
            min-height:64px;
            line-height: 1;
            font-family: var(--headerfont) !important;
            font-weight:400;
            text-transform: uppercase;
        }

        .entry-meta{
            order:1;
        }
    }
    .entry-summary{
        margin-bottom:10px;
    }
    
    .entry-footer a{
        display: inline-block;
        line-height: 44px;
        font-size: 16px;
        padding: 0 20px;
        border-radius: 5px;
        font-weight: 600;
        transition: all 0.3s ease;
        margin: 0 16px 0px 0;
        background-color:#fff;
        color:var(--bloklinks);
    }
    p{
        margin-top:0;
    }
    .entry-summary{
        margin-top:0;
    }
}


.nieuwsblok li:nth-of-type(2) article,
.block-editor-iframe__body .nieuwsblok article:nth-of-type(2),
#archive-container li:nth-of-type(5n+2) article{
    background-color: #A7D6B3 !important;
    color: #fff;
    border: 1px solid #A7D6B3;
    transition: 0.2s;
    padding:20px;

    h2, h2 a{
        color:#fff;

    }

    .entry-footer a{
       color:#A7D6B3;
    }
}

.nieuwsblok li:nth-of-type(3) article,
.block-editor-iframe__body .nieuwsblok article:nth-of-type(3),
#archive-container li:nth-of-type(5n+3) article{
    background-color: #81C594 !important;
    color: #fff;
    border: 1px solid #81C594;
    transition: 0.2s;
    padding:20px;

    h2{
        color:#fff;
    }

    .entry-footer a{
       color:#81C594;
    }



}

.nieuwsblok.groot article,
#archive-container li:nth-of-type(5n+4) article {
    background-color:#81C594 !important;
    color: #fff;
    border: 1px solid #81C594 ;

    .entry-footer a{
        color:#81C594 ;
    }



}

.nieuwsblok.groot li:nth-of-type(2)  article,
.block-editor-iframe__body .nieuwsblok.groot article:nth-of-type(2),
#archive-container li:nth-of-type(5n+5) article {
    background-color: #2BA086 !important;
    border: 1px solid #2BA086;

    .entry-footer a{
        color:#2BA086;
    }
}


.nieuwsblok.groot li:nth-of-type(2)  article:after {
    content: '';
    background-image: url(../images/essesteijn/vliegtuigje.svg);
    position: absolute;
    bottom: -70px;
    right: 0;
    background-repeat: no-repeat;
    background-size: contain;
    width: 494px;
    height: 158px;
}

/* Agenda */
.agenda-wrapper.grid{
    .agenda-item{
        background-color:var(--lichtgroen);
    }
}

/* Footer */
.site-middle-footer-wrap{
    position: relative;
}
.site-middle-footer-wrap:after{
    content:'';
    position: absolute;
    top:0;
    left:0;
    height:50%;
    width:100%;
    background-color:#9B5A9C;
}

footer.site-footer{
    position: relative;
    
    margin-top:60px;
    .site-top-footer-inner-wrap{
        padding-top:230px;
    }

    h3{
        color:#fff !important;
        font-weight:700;
    }
    p, a{
        color:#fff;
    }
    .site-footer-middle-section-1{
        p, a{
            color:#000
        }
    }

    a{
        &:hover{
            color:#fff;
            text-decoration: underline;
        }
    }

}

footer.site-footer:after{
    content: '';
    background-image: url('../images/waterlelie/footer-wave.svg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
    position: absolute;
    top: -2px;
    right: 0;
    height: 150px;
    width: 100%;
    transform:rotate(180deg)
}


/* zijmenu */
.wp-block-lazyblock-zijmenu{

    h3{
        color:var(--donkergroen);
        font-weight: 700;
        text-transform: uppercase;
    }

  ul{
    list-style-type:none;
    margin-left:0;
    padding-left:0;

    li a{
      font-size: 18px;
      color:var(--donkergroen);

      &.current{
        color:var(--paars);
      }

      &:hover{
        color:var(--paars);
      }
    }
  }
}

/* quicklinks */

.quicklinksrow .kt-row-column-wrap .wp-block-kadence-column .wp-block-heading,
.quicklinksrow .kt-row-column-wrap .wp-block-kadence-column p{
    transition:0.3s;
}

.quicklinksrow .quicklink_item svg{
    transition:0.3s;
}

.quicklinksrow .quicklink_item:hover svg{
    transform:scale(1.1)
}

.quicklink-text{
    font-weight:400;
}

.quicklink_item > div{
    min-height:320px;
    display: flex;
    gap:40px;
    flex-direction: column;

    > div:first-child{
        height:105px;
    }
}


.line-image{
    position: absolute; 
    top: 632px;
    right: 134px;
}

/* Agenda */
.wp-block-lazyblock-agenda-lijst .agenda-date-box{
    background-color: var(--groen);
    color:#fff;
}

.wp-block-lazyblock-agenda-lijst .agenda-content h3{
    color:var(--donkergroen)
}

.wp-block-lazyblock-agenda-lijst .agenda-list-item{border-color: var(--paars);}
.wp-block-lazyblock-agenda-lijst .agenda-list-item:last-child{border:none}


.polaroid{
	background-color: #EDEDED;
	height:200px !important;
	width:170px !important;
	-webkit-box-shadow: -6px 2px 11px 1px #8C8C8C; 
	box-shadow: -6px 2px 11px 1px #8C8C8C;
	padding:10px;
}
.polaroid img{
	height:170px !important;
    width:150px !important;
	object-fit: cover;
}


.afbeelding1.polaroid{
	transform: rotate(-10deg);
    position: absolute;
    right: 15%;
    top: 32%;
    z-index: 2;
}
.afbeelding2.polaroid{
	transform: rotate(12deg);
        position: absolute;
    right: 25%;
    top: 61%;
    z-index: 1;
}

.quicklink-content h2{
    font-size:30px;
    line-height:36px
}

div.quote{
    padding: 90px 0 60px 0;
    color: #2A9D44;
    font-weight: 400;
    font-family: var(--headerfont);
    font-size: 48px;
    line-height: 54px;
    max-width: 1094px;
    margin: 0 auto;
}

div.quote p{
    font-family:var(--headerfont) !important;
    font-size:38px;
    text-align: center;
    max-width:900px;
    margin:0 auto;
}

.lijstoverlay{
    position: relative;
    max-width:700px;
    img{
        max-width:700px;
    }
}

.lijstoverlay:after {
    content: "";
    position: absolute;
    top: -2%;
    left: -2%;
    height: 110%;
    width: 110%;
    background-image: url(../images/essesteijn/Afbeeldingkader1.svg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
}


h2 sup{
    top:auto;
    bottom:5px;
    margin-left:10px;
}
h2 sub{
    font-size: 16px;
    line-height: 28px;
    font-weight: 300;

}


/* ================================================================
          WATERLELIE AANVULLINGEN: figuurtjes van de oude site
   Benodigde bestanden (uit de oude DNN-skin "panta rhei - scholen",
   map images/waterlelie/) naar pantarheischolen/images/waterlelie/:
   lelie-groen.svg, lely-boven.svg, waterlelie-02.svg
   ================================================================ */

/* Lelie rechtsboven in de header (homepage roze, vervolgpagina's groen) */
#masthead{ position: relative; z-index: 20; }
#masthead .site-header-row-container-inner{ position: relative; z-index: 2; }
#masthead::after{
	content: '';
	position: absolute;
	top: 25px;
	right: calc(50% - 780px);
	width: 324px;
	height: 258px;
	background: url(../images/waterlelie/lelie-groen.svg) no-repeat center / contain;
	z-index: 1;
	pointer-events: none;
}
.home #masthead::after{
	background-image: url(../images/waterlelie/lely-boven.svg);
	width: 308px;
	height: 245px;
	top: 35px;
}

/* Lelie boven de partners op de homepage */
.home .wp-block-cw-partners-uitgelicht{ position: relative; }
.home .wp-block-cw-partners-uitgelicht::after{
	content: '';
	position: absolute;
	right: -55px;
	top: -193px;
	width: 232px;
	height: 223px;
	background: url(../images/waterlelie/waterlelie-02.svg) no-repeat center / contain;
	pointer-events: none;
}

@media (max-width: 1560px){
	#masthead::after{ right: -130px; }
}
@media (max-width: 1024px){
	#masthead::after{ width: 200px; height: 160px; top: 10px; right: -80px; }
	.home .wp-block-cw-partners-uitgelicht::after{ right: 0; top: -120px; width: 150px; height: 145px; }
}
@media (max-width: 767px){
	#masthead::after{ display: none; }
}