/* Beertenhuis Provider Shortcodes */
.nieuws_items {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.nieuws_item {
display:flex;
flex-direction:column;
}

.nieuws_item .nieuws_image {
	min-height: 300px;
	height: 300px;
	max-height: 300px;
	position: relative;
}

.nieuws_item .nieuws_image span {
	z-index: 99;
	position: absolute;
	background: #008d36;
	top: 30px;
	color: #fff;
	padding: 5px 10px;
	font-size: 13px;
	font-weight: 700;
	left: 30px;
}

.nieuws_item:hover .nieuws_btn {
	background: #000;
}

.nieuws_item .nieuws_image img {
	width: inherit;
	max-height: 300px;
	min-width: 100%;
	height: inherit;
	position: absolute;
object-fit:cover;
	top: 0;
	left: 0;
}

.nieuws_item .nieuws_content {
    padding: 30px;
    background: #f8f8f8;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.nieuws_item .nieuws_content h3 {
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 10px;
	line-height: 1.2;
}

.nieuws_btn {
	min-height: 50px;
	display: flex;
	background: #008d36;
	color: #fff;
	align-content: center;
	transition: all 0.3s ease;
	padding: 8px 30px;
	text-align: center;
	max-width: fit-content;
	font-size: 18px;
	font-weight: 500;
margin-top:auto;
}

.article_detail .article_featured {
	position: relative;
	display: flex;
	min-height: clamp(360px, 52vw, 620px);
	padding: clamp(28px, 5vw, 64px);
	overflow: hidden;
	align-items: flex-end;
	isolation: isolate;
}

.article_detail .article_featured::after {
	position: absolute;
	inset: 0;
	z-index: -1;
	content: "";
	background: linear-gradient(180deg, transparent 25%, rgb(0 0 0 / 78%) 100%);
}

.article_detail .article_featured img {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.article_detail .article_featured h1 {
	max-width: 850px;
	margin: 0;
	color: #fff;
	font-size: 40px;
	font-weight: 400;
	line-height: 1.05;
}

.article_detail .article_date {
	position: absolute;
	top: clamp(24px, 4vw, 48px);
	left: clamp(28px, 5vw, 64px);
	padding: 8px 12px;
	background: #008d36;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
}

.article_detail .acticle_content {
	width: min(760px, calc(100% - 40px));
	margin: clamp(48px, 7vw, 80px) auto;
}

.article_detail .acticle_content > h1:first-child {
	display: none;
}

.article_detail .acticle_content h2 {
	margin: 48px 0 14px;
	font-size: clamp(25px, 3vw, 34px);
	line-height: 1.2;
	color: var(--awb-custom_color_1);
}

.article_detail .acticle_content p {
	margin: 0 0 24px;
	font-size: 18px;
	line-height: 1.8;
}

.article_detail .acticle_content img {
	width: calc(100% + 100px);
	display: block;
	object-fit: cover;
	position: relative;
	min-width: calc(100% + 100px);
	margin: 60px -50px;
}

.article_detail .acticle_btns {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	width: min(760px, calc(100% - 40px));
	margin: 0 auto;
	padding: 32px 0;
	border-top: 1px solid #dfe3e5;
}

.article_detail .acticle_btns a {
	display: inline-flex;
	min-height: 48px;
	padding: 12px 20px;
	align-items: center;
	justify-content: center;
	border-radius: 0;
	color: #17212b;
	background: #fff;
	border: 1px solid #dfe3e5;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.2s ease, border-color 0.2s ease;
}

.article_detail .acticle_btns a:last-child {
	background: #f2b705;
	border-color: #f2b705;
}

.article_detail .acticle_btns a:hover {
	background: #f3f3f3;
	border-color: #c8c8c8;
}

.article_detail .acticle_btns a:last-child:hover {
	background: #cd9800;
	border-color: #cd9800;
}

.team_wrapper .team_keuze {
	display: flex;
	gap: 15px;
	margin-bottom: 30px;
}

.team_wrapper .team_keuze label {
	display: grid;
	gap: 6px;
	width: 220px;
}

.team_wrapper .team_keuze span {
	font-size: 14px;
	font-weight: 600;
}

.team_wrapper .team_keuze select {
	width: 100%;
	padding: 12px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 4px;
	font: inherit;
}

.team_wrapper .team_items {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 30px;
}

.team_wrapper .team_item[hidden] {
	display: none;
}

.team_wrapper .team_image {
	aspect-ratio: 1 / 1;
	position: relative;
	overflow: hidden;
	background: #e9e9e9;
}

.team_wrapper .team_image::before {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	content: attr(data-initialen);
	color: #777;
	font-size: 36px;
	font-weight: 600;
}

.team_wrapper .team_image img {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.team_wrapper .team_image img[hidden] {
	display: none;
}

.team_wrapper .team_info {
	padding-top: 14px;
}

.team_wrapper .team_info h3 {
	margin: 0 0 5px;
}

.team_wrapper .team_info p,
.team_wrapper .team_leeg {
	margin: 0;
	line-height: 1.5;
}

@media (max-width: 900px) {
	.team_wrapper .team_items {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	.article_detail .article_featured {
		min-height: 400px;
	}

       .nieuws_items {
              grid-template-columns: repeat(1, 1fr);
        }
 
	.article_detail .acticle_content img {
		width: 100%;
		min-width: 100%;
		margin: 36px 0;
	}

	.article_detail .acticle_btns {
		flex-direction: column;
	}

	.article_detail .acticle_btns a {
		width: 100%;
	}
}

@media (max-width: 500px) {
	.team_wrapper .team_keuze {
		flex-direction: column;
	}

	.team_wrapper .team_keuze label {
		width: 100%;
	}

	.team_wrapper .team_items {
		grid-template-columns: 1fr;
	}
}