div.dienstenhero .container .topsection{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    overflow: visible;
    padding-top: 80px;
}

div.dienstenhero .container .topsection .leftside{
    padding-bottom: 80px;
    position: relative;
    bottom: -10px;
    opacity: 0;
}

div.dienstenhero .container .topsection .rightside{
    position: relative;
    bottom: -10px;
    opacity: 0;
}

div.dienstenhero .container{
    overflow: visible;
}

div.dienstenhero{
    background: #011A36;
    margin-bottom: 100px;
}

div.dienstenhero .container .leftside h1{
    color: white;
    margin-bottom: 40px;
}

div.dienstenhero .container .leftside p{
    color: white;
}

div.dienstenhero .container .leftside p span a{
    color: white;
}

div.dienstenhero .container .leftside a.button{
    background: #0ADCD2;
    color: #011A36;
    margin-top: 30px;
}

div.dienstenhero .container .leftside a.button:hover{
    background: #039b94;
    border-color: #039b94;
    color: white;
}

div.dienstenhero .container .rightside img{
    width: 100%;
    height: calc(100% + 60px);
    object-fit: cover;
    border-radius: 10px;
}

.post-type-archive-diensten .maincontent{
    padding: 80px 0;
}

.post-type-archive-diensten .maincontent .categories{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    column-gap: 40px;
    row-gap: 80px;
}

.post-type-archive-diensten .maincontent .categories .kolom > *{
    display: block;
}

.post-type-archive-diensten .maincontent .categories .kolom a.kolomsubtitel{
    font-size: 28px;
    color: #011A36;
    font-weight: 700;
    margin-bottom: 20px;
    padding: 0 15px;
    box-sizing: border-box;
}

.post-type-archive-diensten .maincontent .categories .kolom a{
    border-bottom: 1px solid #D9E1EA;
    padding: 15px 15px;
    font-size: 20px;
    font-weight: 500;
    color: #011A36;
    transition: 0.2s ease-in-out;
    box-sizing: border-box;
    border: 0;
}

.post-type-archive-diensten .maincontent .categories .kolom a:nth-child(n+2){
    border-bottom: 1px solid #D9E1EA;
    box-sizing: border-box;
}

.post-type-archive-diensten .maincontent .categories .kolom a:last-child{
    border: none;
}

.post-type-archive-diensten .maincontent .categories .kolom a:not(.kolomsubtitel):hover{
    border-radius: 6px;
    background: #011A36;
    color: white;
    border: none;
}

body.category .dienstwrapper{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 40px;
    row-gap: 60px;
    padding: 80px 0;
}

body.category .dienstwrapper a{
    border-radius: 6px;
    overflow: hidden;
}

body.category .dienstwrapper a img{
    height: 300px;
    width: 100%;
    object-fit: cover;
}

body.category .dienstwrapper a .titel{
    background: #F1F5FF;
    padding: 30px 20px;
    display: grid;
    grid-template-columns: 1fr 30px;
    align-items: center;
    box-sizing: border-box;
    transition: 0.2s ease-in-out all;
}

body.category .dienstwrapper a:hover .titel{
    background: #0ADCD2;
}

body.category .dienstwrapper a:hover .titel i{
    transform: translateX(5px);
}

body.category .dienstwrapper a .titel h3{
    margin: 0;
    color: #011A36;
    font-size: 20px;
    font-weight: 700;
}

body.category .dienstwrapper a .titel i{
    aspect-ratio: 1 / 1;
    border-radius: 100%;
    border: 2px solid #011A36;
    color: #011A36;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s ease-in-out all;
    position: relative;
}

.single-diensten section#gallery ul li:nth-child(n+6){
    display: none;
}

.single-diensten section#gallery .toonmeer{
    color: #011A36;
    font-size: 16px;
    font-weight: 600;
    display: block;
    gap: 10px;
    align-items: center;
    line-height: 16px;
    padding: 15px 25px;
    min-width: 170px;
    text-align: center;
    justify-content: center;
    border-radius: 5px;
    box-sizing: border-box;
    background: #0ADCD2;
    transition: 0.2s ease-in-out all;
    cursor: pointer;
    margin: 0 auto;
    width: 75%;
    margin-top: 40px;
}

@media only screen and (min-width: 1000px) {
    .single-diensten section#gallery ul li#galimg1{
        grid-column: 1/3;
        grid-row: span 2;
    }
    
    .single-diensten section#gallery ul li#galimg2{
        grid-column: 1/2;
    }
    
    .single-diensten section#gallery ul li#galimg3{
        grid-column: 2/3;
    }
    
    .single-diensten section#gallery ul li#galimg4{
        grid-column: 1/3;
        grid-row: span 2;
    }
    
    .single-diensten section#gallery ul li#galimg5{
        grid-row: span 2;
        grid-column: 1/3;
    }
    
}

@media only screen and (max-width: 700px) {
    .post-type-archive-diensten .maincontent .categories{
        grid-template-columns: 1fr!important;
    }

    body.category .dienstwrapper{
        grid-template-columns: 1fr!important;
        row-gap: 20px;
    }
}

@media only screen and (max-width: 1000px) {
    .single-diensten section#gallery ul{
        grid: 200px / 1fr 1fr;
        grid-auto-rows: 200px!important;
        gap: 20px;
    }
    
    div.dienstenhero .container .topsection{
        grid-template-columns: 1fr;
        gap: 0px;
        padding-top: 40px;
    }

    div.dienstenhero .container .topsection .leftside{
        padding-bottom: 40px;
    }
    
    div.dienstenhero .container .rightside img{
        height: 400px;
        margin-bottom: -80px;
    }

    body.category .dienstwrapper{
        grid-template-columns: 1fr 1fr;
        padding-bottom: 0;
    }
}

@media only screen and (max-width: 1250px) {
    .post-type-archive-diensten .maincontent .categories{
        grid-template-columns: 1fr 1fr;
    }
}