.berichten{
	overflow-x: clip;
}

.berichten :is(.alm-listing, .berichten_skeleton){
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 4rem 3rem;
	--bericht_blok_span: 2;
}

.berichten :is(.alm-listing, .berichten_skeleton) > .bericht_blok{
	grid-column: span var(--bericht_blok_span);
}

.berichten :is(.alm-listing, .berichten_skeleton) > .bericht_blok:nth-child(1),
.berichten :is(.alm-listing, .berichten_skeleton) > .bericht_blok:nth-child(2){	
	--bericht_blok_span: 3;
	grid-column: span var(--bericht_blok_span);
}

.berichten .alm-listing_3 > .bericht_blok:nth-child(1),
.berichten .alm-listing_3 > .bericht_blok:nth-child(2){	
	--bericht_blok_span: 2;
	grid-column: span var(--bericht_blok_span);
}

.bericht_blok,
.bericht_blok:hover,
.bericht_blok:focus{
	text-decoration: none;
	color: #000;
}

.bericht_introtekt{
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;  
	overflow: hidden;
}

.button_meer_nieuws,
.button_meer_nieuws:hover,
.button_meer_nieuws:focus{
	background: var(--grijs);
	border-color: var(--grijs);
}

.button_meer_nieuws:hover,
.button_meer_nieuws:focus{
	background: var(--geel);
	border-color: var(--geel);
}

a.bericht_blok .nieuwsoverzicht_afbeelding img{
	transition: 0.3s transform;
}

a.bericht_blok:hover .nieuwsoverzicht_afbeelding img{
	transform: scale(1.1);
}

.nieuwsoverzicht_afbeelding{
	overflow: hidden;
}

@media (max-width:767px)
{
	.berichten :is(.alm-listing, .berichten_skeleton){
		grid-template-columns: repeat(1, 1fr);
	}
	
	.berichten :is(.alm-listing, .berichten_skeleton) > .bericht_blok:nth-child(1),
	.berichten :is(.alm-listing, .berichten_skeleton) > .bericht_blok:nth-child(2),
	.berichten :is(.alm-listing, .berichten_skeleton){
		--bericht_blok_span: 1;
	}
}

@media (min-width:768px) and (max-width:991px)
{
	.berichten :is(.alm-listing, .berichten_skeleton){
		grid-template-columns: repeat(6, 1fr);
	}
	
	.berichten :is(.alm-listing, .berichten_skeleton) > .bericht_blok:nth-child(1),
	.berichten :is(.alm-listing, .berichten_skeleton) > .bericht_blok:nth-child(2),
	.berichten :is(.alm-listing, .berichten_skeleton){
		--bericht_blok_span: 3;
	}
}

@media (max-width:767px)
{		
	.berichten_met_aantal{
		padding-inline: 0 !important;
	}

	.berichten_met_aantal .container{
		padding-inline: 0 !important;
		max-width: none;
	}

	.berichten_met_aantal .berichten-row{
		display: flex !important;
		flex-wrap: nowrap;
		scroll-snap-type: x mandatory;
		overflow-x: scroll;
		padding-left: calc((100% - var(--container-width)) / 2 + 3rem);
		padding-right: calc((100% - var(--container-width)) / 2 + 3rem);
	}

	.berichten_met_aantal .berichten-row > a{
		min-width: 100%;
		scroll-snap-align: center;
	}
	
	.berichten_met_aantal.berichten :is(.alm-listing, .berichten_skeleton){
		gap: 1.5rem
	}
	
	.toon_meer_nieuws{		
        padding-left: calc((100% - var(--container-width)) / 2 + 3rem);
        padding-right: calc((100% - var(--container-width)) / 2 + 3rem);
	}
}

@media (min-width:768px) and (max-width:991px)
{
	.berichten_met_aantal{
		padding-inline: 0 !important;
	}

	.berichten_met_aantal .container{
		padding-inline: 0 !important;
		max-width: none;
	}

	.berichten_met_aantal .berichten-row{
		display: flex !important;
		flex-wrap: nowrap;
		scroll-snap-type: x mandatory;
		overflow-x: scroll;
		padding-left: calc((100% - var(--container-width)) / 2 + 3rem);
		padding-right: calc((100% - var(--container-width)) / 2 + 3rem);
	}

	.berichten_met_aantal .berichten-row > a{
		min-width: calc(50% - 3rem);
		scroll-snap-align: center;
	}
	
	.toon_meer_nieuws{		
        padding-left: calc((100% - var(--container-width)) / 2 + 3rem);
        padding-right: calc((100% - var(--container-width)) / 2 + 3rem);
	}
}

@media (min-width:992px) and (max-width:1199px)
{
	
}

@media (min-width:1200px) and (max-width:1399px)
{
    
}

@media (min-width:1400px)
{
    
}
.berichten_results {
    position: relative;
}

.berichten_skeleton[hidden] {
    display: none !important;
}

.berichten_results.is-filter-loading > .ajax-load-more-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    visibility: hidden;
    pointer-events: none;
}

.berichten_skeleton_card {
    position: relative;
    overflow: hidden;
}

.berichten_skeleton_image {
    aspect-ratio: 16 / 9;
    background: var(--grijs-10, #f7f7f7);
}

.berichten_skeleton_title,
.berichten_skeleton_text {
    height: 1.6rem;
    border-radius: 0.3rem;
    background: var(--grijs-25, #e5e5e5);
}

.berichten_skeleton_title {
    width: 80%;
    height: 2.4rem;
    margin: 2.4rem 0;
}

.berichten_skeleton_text {
    width: 100%;
    margin-bottom: 0.8rem;
}

.berichten_skeleton_text:last-child {
    width: 65%;
}

.berichten_skeleton_card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.65) 50%, transparent 80%);
    transform: translateX(-100%);
    animation: berichten-skeleton-shimmer 1.5s ease-in-out infinite;
}

@keyframes berichten-skeleton-shimmer {
    to { transform: translateX(100%); }
}

@media (prefers-reduced-motion: reduce) {
    .berichten_skeleton_card::after {
        animation: none;
        background: none;
    }
}
