/* ================================================================================ 
                                  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=Joan&display=swap');

:root{
	--wit:#fff;
	--zwart:#000;
	--donkergrijs:#aaa;
	--grijs:#ccc;
	--geel:#FFDD00;
	--lichtblauw:#A1DAF7;
	--blauw:#0090D7;
	--donkerblauw:#422E6F;
	--paars:#BCA3CE;
	--roze:#F29DB7;
	--lichtroze:#FAD1D6;

	--primair:#A1CC66;

	--bloklinks:#E8D987;
	--blokmidden:#20926B;
	--blokrechts:#CEDBDE;
	--buttonachtergrond:#D4B06A;
	--buttontekst:#000000;
	--headerkleur:#000;

	--font: "Inter", sans-serif;
	--headerfont: "Joan", serif;

	--pr-ruitjes: none;
	--pr-zijmenu-actief: #00846B;
	--pr-menu-actief-bg: var(--primair);
	--pr-menu-actief-tekst: #000;
	--pr-menu-actief-gewicht: 700;
 
}   

.headerblock--green {
    background-color: #00846B;
    color:#fff;

    h1{
        font-weight:700;
        color:#fff;
    }
}

.headerblock--green .headerblock__wave{
    background-image:url(../images/hetdok/header-groen.svg)
}

.background-holder{
    background-image: url(../images/hetdok/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:var(--primair);
}

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
        }
    }

}

footer.site-footer:after{
    content: '';
    background-image: url('../images/hetdok/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: 403px;
    right: 106px;
}

/* 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;
}

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%;
}

body:not(.home) .entry-content .wp-block-kadence-image:not(.image-is-svg):not(.geen-lijst){
    position: relative;
    width: fit-content;
    max-width: min(700px, 100%);
    margin-top: 40px !important;
    margin-bottom: 40px !important;
    img{ display:block; width:auto; height:auto; max-width:100%; max-height:560px; }
    &::after{
        content:""; position:absolute; inset:-20px;
        background-image:url("../images/essesteijn/Afbeeldingkader1.svg#svgView(preserveAspectRatio(none))");
        background-repeat:no-repeat; background-size:100% 100%; pointer-events:none;
    }
}
