/* VvE2050 Medewerkers */

.vve2050-mw {
	--vve2050-mw-dark: #374E53;
	--vve2050-mw-light: #6CA726;
	--vve2050-mw-oranje: #F6A028;
	--vve2050-mw-text: #2B3638;
	--vve2050-mw-muted: #5B686B;
	--vve2050-mw-white: #ffffff;
	--vve2050-mw-bg: #F0F6E9;
	--vve2050-mw-font: "Open Sans", system-ui, sans-serif;
	--vve2050-mw-font-display: "Merriweather", Georgia, serif;

	width: 100%;
	max-width: 1140px;
	margin-left: auto;
	margin-right: auto;
	padding: 48px 24px 72px;
	box-sizing: border-box;
	font-family: var(--vve2050-mw-font);
	color: var(--vve2050-mw-text);
	-webkit-font-smoothing: antialiased;
}

.vve2050-mw *,
.vve2050-mw *::before,
.vve2050-mw *::after {
	box-sizing: border-box;
}

.vve2050-mw__intro {
	margin: 0 0 2rem;
}

.vve2050-mw__title {
	margin: 0 0 0.75rem;
	max-width: none;
	font-family: var(--vve2050-mw-font-display);
	font-size: clamp(1.5rem, 2.8vw, 2.15rem);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.01em;
	color: var(--vve2050-mw-dark);
	white-space: nowrap;
}

.vve2050-mw__lead {
	margin: 0;
	max-width: 46rem;
	font-size: 1rem;
	line-height: 1.55;
	color: var(--vve2050-mw-muted);
}

@media (max-width: 720px) {
	.vve2050-mw__title {
		white-space: normal;
	}
}

/* Toolbar: search + filters */
.vve2050-mw__toolbar {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	margin: 0 0 1.75rem;
}

.vve2050-mw .vve2050-mw__search {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.55rem;
	width: 100%;
	max-width: 24rem;
	margin: 0;
	padding: 0.65rem 1.05rem;
	border: 1px solid rgba(35, 79, 64, 0.22);
	border-radius: 999px;
	background: var(--vve2050-mw-white);
	box-sizing: border-box;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.vve2050-mw .vve2050-mw__search:focus-within {
	border-color: var(--vve2050-mw-light);
	box-shadow: 0 0 0 3px rgba(108, 167, 38, 0.28);
}

.vve2050-mw .vve2050-mw__search-icon {
	position: static;
	flex: 0 0 auto;
	display: block;
	width: 1.125rem;
	height: 1.125rem;
	color: var(--vve2050-mw-dark);
	opacity: 0.55;
	pointer-events: none;
	transform: none;
}

.vve2050-mw .vve2050-mw__search-input,
.vve2050-mw input.vve2050-mw__search-input[type="search"] {
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
	margin: 0;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0;
	background: transparent !important;
	box-shadow: none !important;
	outline: none;
	color: var(--vve2050-mw-text);
	font: inherit;
	font-size: 0.9375rem;
	line-height: 1.3;
	appearance: none;
	-webkit-appearance: none;
}

.vve2050-mw .vve2050-mw__search-input::placeholder {
	color: var(--vve2050-mw-muted);
	opacity: 0.9;
}

.vve2050-mw .vve2050-mw__search-input::-webkit-search-decoration,
.vve2050-mw .vve2050-mw__search-input::-webkit-search-cancel-button {
	-webkit-appearance: none;
	appearance: none;
}

.vve2050-mw__filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.vve2050-mw__filter {
	appearance: none;
	border: 1px solid rgba(35, 79, 64, 0.22);
	background: var(--vve2050-mw-white);
	color: var(--vve2050-mw-dark);
	font: inherit;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.2;
	padding: 0.55rem 0.95rem;
	border-radius: 999px;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.vve2050-mw__filter:hover,
.vve2050-mw__filter:focus-visible {
	border-color: var(--vve2050-mw-light);
	background: var(--vve2050-mw-bg);
	outline: none;
}

.vve2050-mw__filter.is-active {
	background: var(--vve2050-mw-dark);
	border-color: var(--vve2050-mw-dark);
	color: var(--vve2050-mw-white);
}

/* Grid */
.vve2050-mw__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
}

.vve2050-mw__card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--vve2050-mw-white);
	border: 1px solid rgba(35, 79, 64, 0.1);
	border-radius: 4px;
	overflow: hidden;
	opacity: 1;
	transform: none;
	transition: opacity 0.45s ease, transform 0.45s ease, box-shadow 0.25s ease;
	transition-delay: var(--vve2050-mw-delay, 0ms);
}

.vve2050-mw.vve2050-mw--animate:not(.is-ready) .vve2050-mw__card {
	opacity: 0;
	transform: translateY(12px);
}

.vve2050-mw.is-ready .vve2050-mw__card {
	opacity: 1;
	transform: translateY(0);
}

.vve2050-mw__card.is-hidden {
	display: none;
}

.vve2050-mw__card:hover,
.vve2050-mw__card.is-bio-open {
	box-shadow: 0 10px 28px rgba(35, 79, 64, 0.1);
}

.vve2050-mw__photo {
	position: relative;
	aspect-ratio: 1 / 1;
	background: linear-gradient(145deg, var(--vve2050-mw-dark), #466F1C 55%, var(--vve2050-mw-light));
	overflow: hidden;
}

/* Keyboard/touch control: must stay visually empty so the photo stays visible on hover. */
.vve2050-mw__bio-toggle {
	appearance: none;
	-webkit-appearance: none;
	position: absolute;
	inset: 0;
	z-index: 1;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
	color: transparent;
	cursor: pointer;
}

.vve2050-mw__bio-toggle:hover,
.vve2050-mw__bio-toggle:focus,
.vve2050-mw__bio-toggle:active {
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
	color: transparent;
}

.vve2050-mw__bio-toggle:focus {
	outline: none;
}

.vve2050-mw__bio-toggle:focus-visible {
	outline: 3px solid var(--vve2050-mw-dark);
	outline-offset: -3px;
}

.vve2050-mw__photo-img {
	position: relative;
	z-index: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.vve2050-mw__card:hover .vve2050-mw__photo-img,
.vve2050-mw__card.is-bio-open .vve2050-mw__photo-img {
	transform: scale(1.04);
}

.vve2050-mw__initials {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: clamp(2.25rem, 8vw, 3.25rem);
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1;
	color: rgba(255, 255, 255, 0.9);
}

/* Bio overlay on photo — keeps card heights equal; above toggle so hover on photo still shows it */
.vve2050-mw__bio {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	align-items: flex-end;
	padding: 1.1rem 1.15rem 1.2rem;
	background: linear-gradient(
		180deg,
		rgba(35, 79, 64, 0.15) 0%,
		rgba(35, 79, 64, 0.88) 55%,
		rgba(35, 79, 64, 0.96) 100%
	);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
	pointer-events: none;
}

.vve2050-mw__card:hover .vve2050-mw__bio,
.vve2050-mw__card:focus-within .vve2050-mw__bio,
.vve2050-mw__card.is-bio-open .vve2050-mw__bio {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.vve2050-mw__bio-text {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.95);
}

.vve2050-mw__body {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 1rem 1.1rem 1.15rem;
	background: var(--vve2050-mw-dark);
	color: #fff;
	min-height: 5.25rem;
	flex: 1 0 auto;
}

.vve2050-mw .vve2050-mw__name,
.vve2050-mw .vve2050-mw__body h3 {
	margin: 0 0 0.25rem;
	font-family: var(--vve2050-mw-font-display);
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.25;
	color: #fff !important;
}

.vve2050-mw .vve2050-mw__role {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.35;
	color: rgba(255, 255, 255, 0.85) !important;
}

.vve2050-mw .vve2050-mw__linkedin,
.vve2050-mw .vve2050-mw__linkedin:link,
.vve2050-mw .vve2050-mw__linkedin:visited {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border-radius: 999px;
	color: #fff !important;
	background: rgba(255, 255, 255, 0.12);
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.vve2050-mw .vve2050-mw__linkedin:hover,
.vve2050-mw .vve2050-mw__linkedin:focus-visible {
	background: var(--vve2050-mw-light);
	color: var(--vve2050-mw-dark) !important;
	outline: none;
}

.vve2050-mw .vve2050-mw__linkedin-icon,
.vve2050-mw .vve2050-mw__linkedin-icon path {
	fill: currentColor;
	color: inherit;
}

.vve2050-mw__empty {
	margin: 0;
	color: var(--vve2050-mw-muted);
}

/* Homepage teaser CTA */
.vve2050-mw__cta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0.75rem 1rem;
	margin-top: 1.75rem;
}

.vve2050-mw .vve2050-mw__cta-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 26px;
	border: 0;
	border-radius: 8px;
	background: var(--vve2050-mw-light);
	color: #fff !important;
	font-family: var(--vve2050-mw-font);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none !important;
	transition: transform 0.15s ease, background-color 0.15s ease;
}

.vve2050-mw .vve2050-mw__cta-btn:hover,
.vve2050-mw .vve2050-mw__cta-btn:focus {
	background: #5a8f1f;
	color: #fff !important;
	transform: translateY(-1px);
}

.vve2050-mw .vve2050-mw__shuffle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	padding: 12px 22px;
	border: 2px solid var(--vve2050-mw-dark);
	border-radius: 8px;
	background: transparent;
	color: var(--vve2050-mw-dark);
	font-family: var(--vve2050-mw-font);
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.vve2050-mw .vve2050-mw__shuffle:hover,
.vve2050-mw .vve2050-mw__shuffle:focus-visible {
	outline: none;
	background: var(--vve2050-mw-dark);
	border-color: var(--vve2050-mw-dark);
	color: #fff;
	transform: translateY(-1px);
}

.vve2050-mw .vve2050-mw__shuffle.is-loading {
	opacity: 0.65;
	pointer-events: none;
}

.vve2050-mw .vve2050-mw__shuffle-icon {
	display: block;
	transition: transform 0.35s ease;
}

.vve2050-mw .vve2050-mw__shuffle.is-loading .vve2050-mw__shuffle-icon {
	animation: vve2050-mw-spin 0.7s linear infinite;
}

@keyframes vve2050-mw-spin {
	to {
		transform: rotate(360deg);
	}
}

/* Homepage teaser: smaller + constrained width */
.vve2050-mw--home {
	width: 100%;
	max-width: 980px;
	margin-left: auto;
	margin-right: auto;
	padding-left: clamp(1rem, 3vw, 1.5rem);
	padding-right: clamp(1rem, 3vw, 1.5rem);
}

.vve2050-mw--home .vve2050-mw__intro {
	margin-bottom: 1.35rem;
	text-align: center;
}

.vve2050-mw--home .vve2050-mw__eyebrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	margin: 0 0 0.55rem;
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
	background: var(--vve2050-mw-bg);
	color: var(--vve2050-mw-dark);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.vve2050-mw--home .vve2050-mw__eyebrow-dot {
	width: 0.45rem;
	height: 0.45rem;
	border-radius: 50%;
	background: var(--vve2050-mw-light);
	box-shadow: 0 0 0 3px rgba(108, 167, 38, 0.28);
}

.vve2050-mw--home .vve2050-mw__title {
	white-space: normal;
	font-size: clamp(1.35rem, 2.2vw, 1.75rem);
	margin-bottom: 0;
}

.vve2050-mw--home .vve2050-mw__grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	max-width: 860px;
	margin-left: auto;
	margin-right: auto;
}

.vve2050-mw--home .vve2050-mw__body {
	min-height: 4.5rem;
	padding: 0.85rem 0.95rem 0.95rem;
}

.vve2050-mw--home .vve2050-mw__name,
.vve2050-mw--home .vve2050-mw__body h3 {
	font-size: 0.95rem;
}

.vve2050-mw--home .vve2050-mw__role {
	font-size: 0.8125rem;
}

.vve2050-mw--home .vve2050-mw__cta {
	margin-top: 1.35rem;
}

.vve2050-mw--home .vve2050-mw__cta-btn {
	padding: 12px 22px;
	font-size: 0.9375rem;
}

@media (max-width: 900px) {
	.vve2050-mw--home .vve2050-mw__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 0.75rem;
	}
}

@media (max-width: 640px) {
	.vve2050-mw--home .vve2050-mw__grid {
		grid-template-columns: 1fr;
		max-width: 320px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vve2050-mw__card,
	.vve2050-mw.is-ready .vve2050-mw__card,
	.vve2050-mw__photo-img,
	.vve2050-mw__card:hover .vve2050-mw__photo-img,
	.vve2050-mw__card.is-bio-open .vve2050-mw__photo-img,
	.vve2050-mw__bio {
		transform: none;
		transition: none;
	}
}

/* Touch: no hover — tap opens bio */
@media (hover: none) {
	.vve2050-mw__card--has-bio {
		cursor: pointer;
	}

	.vve2050-mw__card--has-bio:not(.is-bio-open) .vve2050-mw__bio {
		opacity: 0;
		visibility: hidden;
	}
}

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

@media (max-width: 560px) {
	.vve2050-mw__grid {
		grid-template-columns: 1fr;
	}
}

/*
 * Home (Elementor): shape-dividers staan op 106–112% breedte en trekken
 * de pagina horizontaal los op tablet/iPad. Forceer 100% + clip.
 */
body.has-vve2050-medewerkers,
body.vve2050-home-overflow-fix {
	overflow-x: clip;
	max-width: 100%;
}

.custom-shape-divider-top,
.custom-shape-divider-bottom,
.custom-shape-divider-blue {
	width: 100% !important;
	max-width: 100% !important;
	left: 0 !important;
	right: 0 !important;
	overflow: hidden !important;
	box-sizing: border-box;
}

.custom-shape-divider-top svg,
.custom-shape-divider-bottom svg,
.custom-shape-divider-blue svg {
	width: 100% !important;
	max-width: 100%;
	display: block;
}

.elementor-element.elementor-absolute:has([class*="custom-shape-divider"]) {
	overflow: hidden;
	max-width: 100%;
}
