:root {
    --menuTopContentHeight: 80dvh;
}

.section.nieuwscontent {
    position: relative;
    margin-top: calc(100dvw * (128/1440));
}

.section.nieuwscontent::before {
    content: '';
    position: absolute;
    background-image: url(/images/bg-tint-white.svg);
    background-size: 100%;
    background-position: top left;
    background-repeat: no-repeat;
    bottom: 99.9%;
    left: 0;
    right: 0;
    aspect-ratio: 1440 / 128;
}

.nieuwsItemHolder {
    --columns: 6;
    --gap: 1.2rem;
    display: grid;
    grid-template-columns: repeat(var(--columns), minmax(0, 1fr));
    grid-gap: 3.5rem var(--gap);
    padding: var(--gap);
}

/* First row: single full-width item */
.nieuwsItemHolder > :nth-child(1) {
    grid-column: 1 / -1;
}

/* Second row: 2 columns (each item spans 3 columns) */
.nieuwsItemHolder > :nth-child(2),
.nieuwsItemHolder > :nth-child(3),
.nieuwsItemHolder > :nth-child(5n+7),
.nieuwsItemHolder > :nth-child(5n+8) {
    grid-column: span 3;
    background-color: var(--themeBg);
}

/* Alternating rows after second row: 2 columns (each item spans 3 columns) */
.nieuwsItemHolder > :nth-child(5n+4),
.nieuwsItemHolder > :nth-child(5n+5),
.nieuwsItemHolder > :nth-child(5n+6){
    grid-column: span 2;
    flex-direction: column;
    margin-bottom: 2rem;
    background-color: var(--themeBg);
    height: auto;
}
.nieuwsItemHolder > :nth-child(5n+4) .imageHolder,
.nieuwsItemHolder > :nth-child(5n+5) .imageHolder,
.nieuwsItemHolder > :nth-child(5n+6) .imageHolder{
    width:100%;
    height: auto;
    aspect-ratio: 3/2;
}

.nieuwsItemHolder > :nth-child(5n+4) .nieuwsContent,
.nieuwsItemHolder > :nth-child(5n+5) .nieuwsContent,
.nieuwsItemHolder > :nth-child(5n+6) .nieuwsContent{
    width:100%;
    height: auto;
    padding: 1rem 1rem 0;
}

.nieuwsItemHolder > :nth-child(5n+4) .nieuwsContent-content,
.nieuwsItemHolder > :nth-child(5n+5) .nieuwsContent-content,
.nieuwsItemHolder > :nth-child(5n+6) .nieuwsContent-content{
    /* display:none; */
}

.nieuwsItemHolder > :nth-child(5n+4) .btn,
.nieuwsItemHolder > :nth-child(5n+5) .btn,
.nieuwsItemHolder > :nth-child(5n+6) .btn{
    display:none;
}
.nieuwsItemHolder > :nth-child(5n+4) .nieuwsDetails,
.nieuwsItemHolder > :nth-child(5n+5) .nieuwsDetails,
.nieuwsItemHolder > :nth-child(5n+6) .nieuwsDetails{
    border: none;
    padding: 0;
}
.nieuwsItemHolder > :nth-child(5n+4) .nieuwsTitle,
.nieuwsItemHolder > :nth-child(5n+5) .nieuwsTitle,
.nieuwsItemHolder > :nth-child(5n+6) .nieuwsTitle{
    font-size: 18px;
}

.nieuwsItem {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    border-radius: 15px;
}

.nieuwsItem .imageHolder {
    width: 50%;
    aspect-ratio: 1;
}

.nieuwsItem .nieuwsContent {
    flex: 1;
    width: 33%;
    flex-shrink: 1;
    padding: 1.3rem !important;
}

.nieuwsItem .nieuwsDetails {
    display: inline-flex;
    padding: 1rem 0;
    margin-bottom: 1rem;
    border-bottom: 1px solid #ddd;
    width: 100%;
}

.nieuwsItem .nieuwsDetails span {}

.nieuwsItem .nieuwsContent .nieuwsTitle {
    font-size: 20px;
    font-weight: 300;
    color: var(--themePrimaryDark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-bottom: 0.11em;
    word-break: break-word;
    margin-bottom: 9px;
}

.nieuwsItem.firstItem .nieuwsContent .nieuwsTitle {
    font-size: 30px;
}

.nieuwsItem .nieuwsContent .nieuwsContent-content {}

.nieuwsItem .nieuwsContent .nieuwsContent-content p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 1rem 0;
    font-size: 17px;
}

.nieuwsItem .imageHolder {
    width: 50%;
    aspect-ratio: 1;
    flex: none;
}

.nieuwsItem.firstItem .imageHolder {
    width: calc(66% - 2rem);
    aspect-ratio: 3/1.7;
    flex: none;
    margin-right: 2rem;
}

.nieuwsItem:not(.firstItem) .nieuwsContent .nieuwsContent-content p {
    -webkit-line-clamp: 3;
}

footer .footerTop{
    background-color:white;
}