.flex_layout.alle_werkgebieden {
	border-radius: 30px;
	background: var(--Grey-stone, #1C1C1C);
}

.flex_layout.alle_werkgebieden .werkgebied_grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-top:60px;
}

a.werkgebied_item.priority {
	height: 310px;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	border-radius:8px;
	position: relative;
}

a.werkgebied_item.priority::after{
	content:'';
	height:100%;
	width:100%;
	position: absolute;
	background:rgba(0, 0, 0, 0.2);
	inset: 0;
	z-index:1:
}

a.werkgebied_item.priority h4.term-name {
	position: absolute;
	bottom: 20px;
	left: 20px;
	line-height: 1;
	margin-bottom: 0;
	z-index:1;
}

a.werkgebied_item.priority svg {
	position: absolute;
	right: 20px;
	top: 20px;
	z-index:2;
}

.werkgebied_grid > a:not(.priority) {
	flex: 1;
	border-radius: 8px;
	border: 1px solid var(--Lila, #D3D6FF);
	background: var(--White, #FFF);
	box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.10);
	padding: 14px 30px;
	text-decoration:none;
	width:100%;
	display: flex;
	justify-content:space-between;
	align-items: center;
	gap: 20px;
	height:100%;
	transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-webkit-transition: all 0.3s ease-in-out;
}

.werkgebied_grid > a:not(.priority) .term-name{
	font-weight:450;
}

.werkgebied_grid svg{
	transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-webkit-transition: all 0.3s ease-in-out;
}

.werkgebied_grid > a:not(.priority) svg{
	opacity: 0;
}

.werkgebied_grid > a:not(.priority):hover svg,
.werkgebied_grid > a:not(.priority):active svg,
.werkgebied_grid > a:not(.priority):focus svg{
	opacity: 1;
}

.werkgebied_grid > a:not(.priority):hover,
.werkgebied_grid > a:not(.priority):active,
.werkgebied_grid > a:not(.priority):focus{
	border-radius: 8px;
	background: var(--Purple-rain, #8089FF);
	box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.10);
	border-color:var(--Purple-rain, #8089FF);
	color:#fff;
}

.werkgebied_grid > a.werkgebied_item.priority:hover svg,
.werkgebied_grid > a.werkgebied_item.priority:active svg,
.werkgebied_grid > a.werkgebied_item.priority:focus svg{
	translate:5px;
}


@media (max-width: 992px) {
#pk_flex_content .flex_layout.alle_werkgebieden .werkgebied_grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 767px) {
body #pk_flex_content .flex_layout.alle_werkgebieden .werkgebied_grid {
	grid-template-columns: repeat(1, 1fr);
}
}