section#referenties{
    padding-bottom: 0px;
    padding-top: 80px;
    overflow: hidden;
}

section#referenties .splide__track{
    overflow: visible;
}

section#referenties .referentieslider a.splide__slide img{
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 100%;
    border: 4px solid #ff1493;
    margin: 0 auto;
    box-sizing: border-box;
}

section#referenties .referentieslider a.splide__slide .grouped{
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

section#referenties .referentieslider a.splide__slide .leesmeer{
    text-align: center;
    width: 100%;
    color: #ff1493;
    font-weight: 700;
    display: flex;
    gap: 10px;
    margin-top: 10px;
    justify-content: center;
    align-items: center;
}

section#referenties .referentieslider a.splide__slide .quote{
    font-size: 55px;
    line-height: 60px;
    color: white;
    position: relative;
    font-weight: 500;
    font-style: italic;
}

section#referenties .referentieslider a.splide__slide h3{
    margin-bottom: 0;
    margin-top: 40px;
    font-size: 20px;
    line-height: 26px;
    font-weight: 500;
    color: white;
}

section#referenties .referentieslider a.splide__slide{
    display: flex;
    flex-direction: column;
    transition: 0.1s ease-in-out all;
    box-shadow: 0px 0px 5px #8d8d8d40;
    opacity: 0.5;
    box-sizing: border-box;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 120px 0;
}

section#referenties .referentieslider a.splide__slide .innercontent{
    padding: 20px 0;
    background: #00A1DEba;
    height: 100%;
    box-sizing: border-box;
}

section#referenties .referentieslider a.splide__slide .innercontent .container{
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 120px;
    align-items: center;
}

section#referenties .referentieslider a.splide__slide.is-visible, section#referenties .referentieslider a.splide__slide.is-active{
    opacity: 1;
}

section#referenties .referentieslider .splide__pagination{
    bottom: -2.5em;
}

section#referenties .referentieslider .splide__pagination__page.is-active {
    background: #ff1493;
}

body.single-referenties .eerstesectie{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

body.single-referenties .eerstesectie .afbeelding img{
    border-radius: 20px;
    height: 100%;
    width: 100%;
    object-fit: cover;
    position: absolute;
}

body.single-referenties .eerstesectie .afbeelding a{
    height: 100%;
    width: 100%;
    position: relative;
}

body.single-referenties .eerstesectie .specs .spec{
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    color: #747474;
    font-size: 16px;
    line-height: 26px;
}

body.single-referenties .eerstesectie .specs .spec:nth-child(n+2){
    margin-top: 5px;
}

body.single-referenties .eerstesectie .specs .spec i{
    width: 20px;
    height: 16px;
    display: flex;
    justify-content: center;
    color: #ff1493;
}

body.single-referenties p{
    margin-bottom: 0px;
}

body.single-referenties .quote{
    font-size: 40px;
    line-height: 48px;
    color: #747474;
    font-weight: 500;
    text-align: center;
    padding: 80px 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.single-referenties .quote:before{
    content: '';
    position: absolute;
    left: 0;
    background-image: url('/wp-content/themes/charliens/assets/images/openquote.png');
    height: 100px;
    width: 100px;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.2;
}

body.single-referenties .quote:after{
    content: '';
    position: absolute;
    right: 0;
    background-image: url('/wp-content/themes/charliens/assets/images/closequote.png');
    height: 100px;
    width: 100px;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.2;
}

body.single-referenties .afwisselend .afwisselsectie{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

body.single-referenties .afwisselend .afwisselsectie:nth-child(n+2){
    margin-top: 80px;
}



body.single-referenties .afwisselend .afbeelding{
    position: relative;
}

body.single-referenties .afwisselend img{
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

body.single-referenties .afsluiting{
    margin-top: 80px;
    overflow: hidden;
    border-radius: 20px;
    background-size: cover;
    background-repeat: no-repeat;
    box-sizing: border-box;
    background-position: center;
}

body.single-referenties .afsluiting .afsluittekst{
    background: #00A1DEba;
    color: white;
    padding: 40px 80px;
}

body.single-referenties .afsluiting .afsluittekst h2, body.single-referenties .afsluiting .afsluittekst h3, body.single-referenties .afsluiting .afsluittekst p{
    color: white;
}

body.single-referenties .buttongroep{
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

body.single-referenties .buttongroep a:nth-child(1){
    background: #ff1493;
    color: #ffffff;
    border: none;
}

@media only screen and (min-width: 1000px) {
    section#referenties .referentieslider a.splide__slide.is-active{
        z-index: 2;
    }

    section#referenties .referentieslider a.splide__slide.is-prev, section#referenties .referentieslider a.splide__slide.is-next{
        opacity: 1;
    }

    body.single-referenties .afwisselend .afwisselsectie:nth-child(even) .afbeelding{
        order: 2;
    }
}

@media only screen and (max-width: 1000px) {
    section#referenties .referentieslider .splide__pagination{
        bottom: -2.5em;
    }

    body.single-referenties .eerstesectie{
        grid-template-columns: 1fr;
    }

    body.single-referenties .eerstesectie .afbeelding{
        height: 400px;
    }

    body.single-referenties .afwisselend .afwisselsectie{
        grid-template-columns: 1fr;
    }

    body.single-referenties .afwisselend .afbeelding{
        height: 300px;
    }

    section#referenties .referentieslider a.splide__slide .innercontent .container{
        gap: 40px;
        grid-template-columns: 1fr;
        height: auto;
    }

    section#referenties .referentieslider a.splide__slide .innercontent .container .grouped{
        order: 2;
    }

    section#referenties .referentieslider a.splide__slide .innercontent{
        display: flex;
        align-items: center;
    }

    section#referenties .referentieslider a.splide__slide img{
        width: 200px;
    }
}

@media only screen and (max-width: 600px) {
    body.single-referenties .afsluiting .afsluittekst{
        padding: 40px;
    }

    body.single-referenties .buttongroep{
        gap: 20px;
    }
}