/**
 * Van Heemskerk 2026: blokken uit het Figma-ontwerp "Van Heemskerk website aanpassingen".
 * - .vh-advies*   : "Persoonlijk advies nodig?" (home + over ons)
 * - .vh-ctabs     : contactopties-tabs op de contactpagina
 * - .vh-cinfo     : adres/bedrijfsgegevens naast het contactformulier
 * - .vh-contact-form : afdelingskeuze in het contactformulier
 * - .vh-intro     : "Waar wij voor staan" (over ons)
 * - .vh-team*     : teamoverzicht met afdelingsfilter (over ons)
 * Geladen via functions.php (filemtime-versie), geldt voor alle talen van de multisite.
 */

:root {
	--vh-navy: #00183D;
	--vh-orange: #F46606;
	--vh-light: #F2F3F9;
}

/* ------------------------------------------------------------------ */
/* Persoonlijk advies                                                  */
/* ------------------------------------------------------------------ */

.vh-advies {
	width: 100%;
	max-width: 1450px;
	margin: 0 auto;
}

.vh-advies-card.e-con {
	position: relative;
	margin-left: 150px;
	width: calc(100% - 150px);
	max-width: 1300px;
	min-height: 482px;
	padding: 100px 100px 97px 288px;
	background: var(--vh-light);
	border-radius: 30px;
	flex-direction: row;
	align-items: flex-start;
	gap: 99px;
}

.vh-advies-card > .vh-advies-photo {
	position: absolute !important;
	left: -150px;
	top: 34px;
	width: 336px !important;
	max-width: none !important;
	margin: 0 !important;
	z-index: 2;
}

.vh-advies-photo img {
	display: block;
	width: 100%;
	height: auto;
}

.vh-advies-text.e-con {
	flex: 0 1 533px;
	gap: 37px;
	padding: 0;
}

.vh-advies-text .elementor-heading-title .vh-oranje {
	color: var(--vh-orange);
}

.vh-advies-text .elementor-widget-text-editor p {
	margin: 0;
}

.vh-advies-contact.e-con {
	flex: 0 0 300px;
	gap: 0;
	padding: 15px 0 0;
}

.vh-advies-eyebrow {
	position: relative;
	margin-bottom: 16px !important;
}

.vh-advies-eyebrow::before {
	content: "";
	position: absolute;
	top: 50%;
	right: calc(100% + 26px);
	width: clamp(0px, calc(100vw - 1312px), 162px);
	height: 2px;
	margin-top: -1px;
	background: var(--vh-orange);
	border-radius: 100px;
}

.vh-advies-links p {
	margin: 0;
}

.vh-advies-links a {
	color: var(--vh-navy);
	text-decoration: underline;
	text-underline-position: from-font;
}

.vh-advies-links a:hover {
	color: var(--vh-orange);
}

.vh-advies-links .vh-advies-mail {
	font-size: 22px;
	line-height: 40px;
}

.vh-advies-links .vh-advies-tel {
	font-size: 20px;
	line-height: 32px;
}

.vh-advies-btn {
	margin-top: 62px !important;
}

.vh-advies-btn .elementor-button {
	white-space: nowrap;
}

.vh-advies-btn .elementor-button-icon svg,
.vh-advies-btn .elementor-button-icon i {
	width: 20px;
	height: 20px;
	font-size: 20px;
}

@media (max-width: 1439px) {
	.vh-advies-card.e-con {
		flex-wrap: wrap;
		align-items: flex-start;
		align-content: center;
		gap: 36px;
		padding: 56px 60px 56px 260px;
	}

	.vh-advies-text.e-con,
	.vh-advies-contact.e-con {
		flex: 1 1 100%;
	}

	.vh-advies-eyebrow::before {
		display: none;
	}

	.vh-advies-btn {
		margin-top: 28px !important;
	}
}

@media (max-width: 1024px) {
	.vh-advies-card.e-con {
		margin: 130px 0 0;
		width: 100%;
		min-height: 0;
		padding: 240px 32px 44px;
	}

	.vh-advies-card > .vh-advies-photo {
		left: 50%;
		top: -130px;
		width: 300px !important;
		transform: translateX(-50%);
	}
}

@media (max-width: 767px) {
	.vh-advies-card.e-con {
		margin-top: 100px;
		padding: 190px 22px 36px;
	}

	.vh-advies-card > .vh-advies-photo {
		top: -100px;
		width: 250px !important;
	}

	.vh-advies-links .vh-advies-mail {
		font-size: 19px;
	}

	.vh-advies-links .vh-advies-tel {
		font-size: 18px;
	}
}

/* ------------------------------------------------------------------ */
/* Contactopties (tabs)                                                */
/* ------------------------------------------------------------------ */

.vh-ctabs .elementor-tab-content p {
	margin: 0 0 22px;
}

.vh-ctabs .elementor-tab-content h3 {
	margin: 0 0 22px;
}

.vh-ctabs ul.vh-ctab-list {
	list-style: none;
	margin: 0 0 22px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.vh-ctabs ul.vh-ctab-list li {
	position: relative;
	padding-left: 27px;
	font-size: 18px;
	font-weight: 700;
	line-height: 30px;
	text-transform: uppercase;
	color: var(--vh-navy);
}

.vh-ctabs ul.vh-ctab-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 5.5px;
	width: 11px;
	height: 19px;
	background: url(img/usp-icon.svg) no-repeat center / contain;
}

.vh-ctabs p.vh-ctab-mail {
	margin-bottom: 22px;
}

.vh-ctabs p.vh-ctab-mail a {
	position: relative;
	display: inline-block;
	padding-left: 26px;
	font-size: 18px;
	font-weight: 600;
	line-height: 27px;
	color: var(--vh-navy);
	text-decoration: underline;
	text-underline-position: from-font;
	word-break: break-word;
}

.vh-ctabs p.vh-ctab-mail a::before {
	content: "";
	position: absolute;
	left: 0;
	top: 7px;
	width: 13px;
	height: 14px;
	background: url(img/lees_btn.svg) no-repeat center / contain;
	transition: transform 0.3s linear;
}

.vh-ctabs p.vh-ctab-mail a:hover::before {
	transform: translateX(4px);
}

.vh-ctabs p.vh-ctab-note {
	margin: 0;
	font-size: 14px;
	line-height: 22px;
	color: #7A7A7A;
}

.vh-ctabs p.vh-ctab-note a {
	font-weight: 600;
	color: inherit;
	text-decoration: underline;
	text-underline-position: from-font;
}

.vh-ctabs p.vh-ctab-note a[href^="tel:"] {
	white-space: nowrap;
}

.vh-ctabs p.vh-ctab-note a:hover {
	color: var(--vh-orange);
}

@media (max-width: 767px) {
	.vh-ctabs p.vh-ctab-mail a {
		font-size: 16px;
	}

	.vh-ctabs ul.vh-ctab-list li {
		font-size: 16px;
		line-height: 26px;
	}

	.vh-ctabs ul.vh-ctab-list li::before {
		top: 3.5px;
	}
}

/* ------------------------------------------------------------------ */
/* Contactgegevens naast het formulier                                 */
/* ------------------------------------------------------------------ */

.vh-cinfo-block p {
	margin: 0;
}

/* ------------------------------------------------------------------ */
/* Contactformulier: afdelingskeuze                                    */
/* ------------------------------------------------------------------ */

.vh-contact-form .elementor-form-fields-wrapper {
	align-items: center;
}

.vh-contact-form p.vh-afd-label {
	margin: 0;
	font-size: 17px;
	font-weight: 600;
	line-height: 24px;
	color: var(--vh-navy);
}

.vh-contact-form p.vh-afd-label span {
	color: var(--vh-orange);
}

.vh-contact-form .elementor-field-subgroup.vh-afd-wrap {
	display: flex;
	flex-wrap: nowrap;
	gap: 12px;
	width: 100%;
}

.vh-contact-form .vh-afd-wrap .elementor-field-option {
	position: relative;
	flex: 1 1 0;
	margin: 0 !important;
	padding: 0 !important;
}

.vh-contact-form .vh-afd-wrap .elementor-field-option input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

.vh-contact-form .vh-afd-wrap .elementor-field-option label {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 50px;
	margin: 0 !important;
	padding: 0 10px;
	border: 3px solid var(--vh-orange);
	border-radius: 50px;
	background: #FFFFFF;
	color: var(--vh-orange);
	font-family: "Muro-font", "Barlow Condensed", sans-serif;
	font-size: 18px;
	font-style: italic;
	font-weight: 400;
	letter-spacing: 0.8px;
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.2s linear, color 0.2s linear;
}

.vh-contact-form .vh-afd-wrap .elementor-field-option label:hover,
.vh-contact-form .vh-afd-wrap .elementor-field-option input:checked + label {
	background: var(--vh-orange);
	color: #FFFFFF;
}

.vh-contact-form .vh-afd-wrap .elementor-field-option input:focus-visible + label {
	outline: 2px solid var(--vh-navy);
	outline-offset: 2px;
}

.vh-contact-form .vh-afd-help p {
	margin: 0;
}

.vh-contact-form .vh-afd-help p.vh-afd-to {
	font-size: 15px;
	line-height: 24px;
	color: var(--vh-navy);
}

.vh-contact-form .vh-afd-help p.vh-afd-to strong {
	font-weight: 600;
}

.vh-contact-form .vh-afd-help p.vh-afd-hint {
	margin-top: 4px;
	font-size: 14px;
	line-height: 22px;
	color: rgba(0, 24, 61, 0.7);
}

.vh-contact-form .elementor-field-group-afdeling_hulp {
	margin-bottom: 28px !important;
}

/* Link /contact/?afdeling=...#formulier: formulier niet onder de vaste header laten vallen */
#formulier {
	scroll-margin-top: 190px;
}

@media (max-width: 1024px) {
	#formulier {
		scroll-margin-top: 110px;
	}
}

/* Verzendknop en "* verplichte velden" op een regel */
.vh-contact-form .elementor-field-type-submit {
	order: 50;
	width: auto !important;
	flex: 0 0 auto;
}

.vh-contact-form .elementor-field-group-verplicht {
	order: 51;
	width: auto !important;
	flex: 1 1 auto;
	margin-bottom: 0 !important;
}

.vh-contact-form p.vh-required-note {
	margin: 0;
	font-size: 14px;
	line-height: 22px;
	text-align: right;
	color: rgba(0, 24, 61, 0.6);
}

@media (max-width: 600px) {
	.vh-contact-form .elementor-field-subgroup.vh-afd-wrap {
		flex-direction: column;
		gap: 10px;
	}

	.vh-contact-form .vh-afd-wrap .elementor-field-option {
		flex: 0 0 auto;
	}
}

/* ------------------------------------------------------------------ */
/* Over ons: Waar wij voor staan                                       */
/* ------------------------------------------------------------------ */

.vh-intro-text .elementor-widget-text-editor p {
	margin: 0 0 20px;
}

.vh-intro-text .elementor-widget-text-editor p:last-child {
	margin-bottom: 0;
}

/* ------------------------------------------------------------------ */
/* Over ons: Van Heemskerk in actie (mozaiek per dienst, max. 2 rijen)  */
/* Elementor zet <style>-tags voor de loop-items, dus nth-of-type.     */
/* Smal/breed: S S B / B S S, bij 5 kaarten S S B / B B, bij 4 B B / B B */
/* ------------------------------------------------------------------ */

@media (min-width: 1025px) {
	.vh-actie .over_categories_tab .elementor-loop-container.elementor-grid {
		display: flex;
		flex-wrap: wrap;
		gap: 20px;
	}

	.vh-actie .over_categories_tab .elementor-grid > .e-loop-item {
		width: calc((100% - 60px) / 4) !important;
	}

	.vh-actie .over_categories_tab .elementor-grid > .e-loop-item:nth-of-type(3),
	.vh-actie .over_categories_tab .elementor-grid > .e-loop-item:nth-of-type(4),
	.vh-actie .over_categories_tab .elementor-grid:not(:has(> .e-loop-item:nth-of-type(6))) > .e-loop-item:nth-of-type(5),
	.vh-actie .over_categories_tab .elementor-grid:not(:has(> .e-loop-item:nth-of-type(5))) > .e-loop-item {
		width: calc((100% - 20px) / 2) !important;
	}

	.vh-actie .over_categories_tab .elementor-grid > .e-loop-item:nth-of-type(n+7) {
		display: none;
	}
}

/* ------------------------------------------------------------------ */
/* Over ons: team                                                      */
/* ------------------------------------------------------------------ */

/* Sticky werkt niet als html/body een scroll-container zijn (overflow-x: hidden). */
html:has(.vh-team),
html:has(.vh-team) body {
	overflow-x: hidden;
	overflow-x: clip;
}

.vh-team-intro.e-con {
	position: sticky;
	top: 190px;
	align-self: flex-start;
}

.vh-team-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.vh-team-filter button[type="button"] {
	margin: 0;
	padding: 10px 18px 8px;
	border: 2px solid var(--vh-orange);
	border-radius: 50px;
	background: var(--vh-navy);
	color: var(--vh-orange);
	font-family: "Poppins", sans-serif;
	font-size: 15px;
	font-weight: 700;
	line-height: 15px;
	letter-spacing: 1px;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.2s linear, color 0.2s linear;
}

.vh-team-filter button[type="button"]:hover,
.vh-team-filter button[type="button"]:focus,
.vh-team-filter button[type="button"].is-active {
	background: var(--vh-orange);
	border-color: var(--vh-orange);
	color: #FFFFFF;
}

.vh-team-filter button[type="button"]:focus-visible {
	outline: 2px solid #FFFFFF;
	outline-offset: 2px;
}

.vh-team-grid.e-con {
	align-content: flex-start;
}

.vh-team-card.e-con {
	width: calc((100% - 48px) / 3);
	gap: 6px;
	padding: 0;
}

.vh-team-card.is-hidden {
	display: none !important;
}

.vh-team-card.is-shown {
	animation: vh-team-in 0.35s ease-out;
}

@keyframes vh-team-in {
	from {
		opacity: 0;
		transform: translateY(12px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

.vh-team-photo {
	margin-bottom: 10px !important;
}

.vh-team-photo img {
	display: block;
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 277 / 340;
	object-fit: cover;
	border-radius: 20px;
}

.vh-team-placeholder.e-con {
	aspect-ratio: 277 / 340;
	margin-bottom: 10px;
	padding: 0;
	gap: 18px;
	justify-content: center;
	align-items: center;
	background: #102A55;
	border-radius: 20px;
}

@media (max-width: 1024px) {
	.vh-team-intro.e-con {
		position: static;
	}
}

@media (max-width: 767px) {
	.vh-team-card.e-con {
		width: calc((100% - 16px) / 2);
	}

	.vh-team-placeholder .vh-team-initials .elementor-heading-title {
		font-size: 48px !important;
		line-height: 52px !important;
	}
}
