/* TIP Vacaturezoeker — alles genest onder .tip-vz zodat Divi er geen last van heeft. */

.tip-vz {
	--tip-vz-accent: #23c5b0;
	--tip-vz-accent-donker: #17a394;
	--tip-vz-cta: #f4364c;
	--tip-vz-cta-donker: #d92038;
	--tip-vz-donker: #001e4c;
	--tip-vz-grijs: #6b7280;
	--tip-vz-rand: #e5e7eb;
	--tip-vz-achtergrond: #f7f9fa;
	font-size: 16px;
	line-height: 1.5;
	color: var(--tip-vz-donker);
}

.tip-vz *,
.tip-vz *::before,
.tip-vz *::after {
	box-sizing: border-box;
}

.tip-vz-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.tip-vz-laden,
.tip-vz-fout {
	padding: 40px 20px;
	text-align: center;
	color: var(--tip-vz-grijs);
}

/* ---------------- kop: zoekbalk + mobiele filterknop ---------------- */

.tip-vz-kop {
	display: flex;
	gap: 12px;
	margin-bottom: 20px;
}

.tip-vz-zoekveld {
	position: relative;
	flex: 1;
}

.tip-vz-zoekveld svg {
	position: absolute;
	left: 16px;
	top: 50%;
	width: 20px;
	height: 20px;
	transform: translateY(-50%);
	color: var(--tip-vz-grijs);
	pointer-events: none;
}

.tip-vz-zoekveld input {
	width: 100%;
	padding: 14px 16px 14px 48px;
	font-size: 16px;
	color: var(--tip-vz-donker);
	background: #fff;
	border: 2px solid var(--tip-vz-rand);
	border-radius: 12px;
	outline: none;
	transition: border-color .15s;
}

.tip-vz-zoekveld input:focus {
	border-color: var(--tip-vz-accent);
}

.tip-vz-filterknop {
	display: none;
	align-items: center;
	gap: 8px;
	padding: 0 20px;
	font-size: 16px;
	font-weight: 600;
	color: var(--tip-vz-donker);
	background: #fff;
	border: 2px solid var(--tip-vz-rand);
	border-radius: 12px;
	cursor: pointer;
}

.tip-vz-filterteller {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	font-size: 13px;
	color: #fff;
	background: var(--tip-vz-accent);
	border-radius: 11px;
}

/* ---------------- indeling ---------------- */

.tip-vz-body {
	display: flex;
	gap: 28px;
	align-items: flex-start;
}

.tip-vz-zijbalk {
	flex: 0 0 270px;
	position: sticky;
	top: 20px;
}

.tip-vz-main {
	flex: 1;
	min-width: 0;
}

/* ---------------- facetten ---------------- */

.tip-vz-facet {
	background: #fff;
	border: 1px solid var(--tip-vz-rand);
	border-radius: 12px;
	margin-bottom: 10px;
	overflow: hidden;
}

.tip-vz-facet summary {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 13px 16px;
	font-weight: 600;
	font-size: 15px;
	cursor: pointer;
	list-style: none;
	user-select: none;
}

.tip-vz-facet summary::-webkit-details-marker {
	display: none;
}

.tip-vz-facet summary::after {
	content: '';
	margin-left: auto;
	width: 8px;
	height: 8px;
	border-right: 2px solid var(--tip-vz-grijs);
	border-bottom: 2px solid var(--tip-vz-grijs);
	transform: rotate(45deg);
	transition: transform .15s;
}

.tip-vz-facet[open] summary::after {
	transform: rotate(225deg);
}

.tip-vz-facet-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	font-size: 12px;
	font-weight: 700;
	color: #fff;
	background: var(--tip-vz-accent);
	border-radius: 10px;
}

.tip-vz-opties {
	padding: 0 8px 10px;
	max-height: 260px;
	overflow-y: auto;
}

.tip-vz-optie-zoek {
	width: calc(100% - 16px);
	margin: 2px 8px 8px;
	padding: 7px 10px;
	font-size: 14px;
	border: 1px solid var(--tip-vz-rand);
	border-radius: 8px;
	outline: none;
}

.tip-vz-optie-zoek:focus {
	border-color: var(--tip-vz-accent);
}

/* !important + ::marker: Divi zet bullets op ul/li met hogere specificiteit. */
.tip-vz-opties ul,
.tip-vz-opties li {
	list-style: none !important;
	margin: 0 !important;
	padding: 0;
}

.tip-vz-opties li::marker {
	content: none;
}

.tip-vz-opties li::before {
	content: none !important;
	display: none !important;
}

.tip-vz-opties li.tip-vz-leeg {
	opacity: .45;
}

.tip-vz-opties label {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 7px 8px;
	font-size: 14.5px;
	border-radius: 8px;
	cursor: pointer;
}

.tip-vz-opties label:hover {
	background: var(--tip-vz-achtergrond);
}

.tip-vz-opties input[type="checkbox"] {
	width: 17px;
	height: 17px;
	margin: 0;
	flex: none;
	accent-color: var(--tip-vz-accent);
	cursor: pointer;
}

.tip-vz-optie-naam {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.tip-vz-optie-aantal {
	font-size: 12.5px;
	color: var(--tip-vz-grijs);
	background: var(--tip-vz-achtergrond);
	padding: 1px 8px;
	border-radius: 9px;
}

.tip-vz-reset {
	width: 100%;
	padding: 11px;
	margin-top: 4px;
	font-size: 14.5px;
	font-weight: 600;
	color: var(--tip-vz-donker);
	background: transparent;
	border: 2px solid var(--tip-vz-rand);
	border-radius: 12px;
	cursor: pointer;
	transition: border-color .15s, color .15s;
}

.tip-vz-reset:hover {
	border-color: var(--tip-vz-accent);
	color: var(--tip-vz-accent-donker);
}

/* ---------------- resultatenbalk, chips ---------------- */

.tip-vz-balk {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 12px;
}

.tip-vz-aantal {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
}

.tip-vz-sorteer {
	font-size: 14px;
	color: var(--tip-vz-grijs);
}

.tip-vz-sorteer select {
	-webkit-appearance: none;
	appearance: none;
	margin-left: 8px;
	padding: 9px 36px 9px 14px;
	font-size: 14px;
	font-weight: 600;
	color: var(--tip-vz-donker);
	background: #fff url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%236b7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center / 14px;
	border: 1px solid var(--tip-vz-rand);
	border-radius: 10px;
	cursor: pointer;
	transition: border-color .15s;
}

.tip-vz-sorteer select:hover,
.tip-vz-sorteer select:focus {
	border-color: var(--tip-vz-accent);
	outline: none;
}

.tip-vz-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 12px;
}

.tip-vz-chips:empty {
	display: none;
}

.tip-vz-chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 5px 12px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--tip-vz-accent-donker);
	background: rgba(35, 197, 176, .12);
	border: 1px solid rgba(35, 197, 176, .35);
	border-radius: 999px;
	cursor: pointer;
	transition: background .15s;
}

.tip-vz-chip:hover {
	background: rgba(35, 197, 176, .22);
}

/* ---------------- resultatenkaarten ---------------- */

.tip-vz-grid {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.tip-vz-kaart {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 22px 26px;
	background: #fff;
	border: 1px solid var(--tip-vz-rand);
	border-radius: 14px;
	text-decoration: none;
	color: var(--tip-vz-donker);
	transition: box-shadow .15s, border-color .15s;
}

.tip-vz-kaart:hover {
	border-color: var(--tip-vz-accent);
	box-shadow: 0 6px 20px rgba(0, 30, 76, .08);
}

.tip-vz-nieuw {
	position: absolute;
	top: 14px;
	right: 14px;
	padding: 4px 12px;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .02em;
	color: #fff;
	background: var(--tip-vz-accent);
	border-radius: 999px;
}

/* Titel niet onder de badge laten schuiven. */
.tip-vz-kaart--nieuw h3 {
	padding-right: 80px;
}

.tip-vz-kaart-tekst {
	display: flex;
	flex-direction: column;
	gap: 7px;
}

/* Voetregel: tags links, knop rechts — geen zwevende knop in witruimte. */
.tip-vz-kaart-voet {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.tip-vz-kaart h3 {
	margin: 0;
	font-size: 18px;
	line-height: 1.35;
	color: var(--tip-vz-donker);
}

.tip-vz-sub {
	margin: 0;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--tip-vz-accent-donker);
}

.tip-vz-intro {
	margin: 0;
	font-size: 14px;
	color: var(--tip-vz-grijs);
}

.tip-vz-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.tip-vz-tags span {
	padding: 3px 10px;
	font-size: 12.5px;
	color: var(--tip-vz-donker);
	background: var(--tip-vz-achtergrond);
	border-radius: 999px;
}

.tip-vz-link {
	flex: none;
	padding: 11px 24px;
	font-size: 15px;
	font-weight: 600;
	white-space: nowrap;
	color: #fff;
	background: var(--tip-vz-cta);
	border-radius: 10px;
	transition: background .15s;
}

.tip-vz-kaart:hover .tip-vz-link {
	background: var(--tip-vz-cta-donker);
}

/* ---------------- lege staat + toon meer ---------------- */

.tip-vz-geen {
	grid-column: 1 / -1;
	padding: 48px 20px;
	text-align: center;
	background: var(--tip-vz-achtergrond);
	border-radius: 14px;
}

.tip-vz-geen p {
	margin: 0 0 16px;
	color: var(--tip-vz-grijs);
}

.tip-vz-geen .tip-vz-reset {
	width: auto;
	padding: 11px 24px;
}

.tip-vz-meer-wrap {
	text-align: center;
	margin-top: 24px;
}

.tip-vz-meer {
	padding: 13px 32px;
	font-size: 15px;
	font-weight: 700;
	color: #fff;
	background: var(--tip-vz-accent);
	border: none;
	border-radius: 999px;
	cursor: pointer;
	transition: background .15s;
}

.tip-vz-meer:hover {
	background: var(--tip-vz-accent-donker);
}

/* ---------------- responsive ---------------- */

/* Smalle desktops en liggende tablets: compactere zijbalk. */
@media (max-width: 1200px) {
	.tip-vz-zijbalk {
		flex: 0 0 232px;
	}

	.tip-vz-body {
		gap: 20px;
	}
}

/* Staande tablets en mobiel: filters achter een knop. */
@media (max-width: 920px) {
	.tip-vz-body {
		display: block;
	}

	.tip-vz-filterknop {
		display: inline-flex;
		min-height: 48px;
	}

	.tip-vz-zijbalk {
		display: none;
		position: static;
		margin-bottom: 20px;
	}

	/* Open: op tablets twee kolommen met facetten naast elkaar. */
	.tip-vz-filters-open .tip-vz-zijbalk {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 10px;
		align-items: start;
	}

	.tip-vz-facet {
		margin-bottom: 0;
	}

	.tip-vz-reset {
		grid-column: 1 / -1;
	}

	/* Grotere tikdoelen. */
	.tip-vz-opties label {
		padding: 10px 8px;
	}
}

/* Telefoons. */
@media (max-width: 600px) {
	.tip-vz-kop {
		flex-wrap: wrap;
	}

	.tip-vz-zoekveld {
		flex: 1 1 100%;
	}

	.tip-vz-filterknop {
		flex: 1;
		justify-content: center;
	}

	.tip-vz-filters-open .tip-vz-zijbalk {
		grid-template-columns: 1fr;
	}

	.tip-vz-balk {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}

	.tip-vz-grid {
		gap: 12px;
	}

	.tip-vz-kaart {
		padding: 18px;
	}

	/* Voet stapelt: tags boven, knop eronder over de volle breedte. */
	.tip-vz-kaart-voet {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
	}

	.tip-vz-link {
		text-align: center;
		padding: 13px 22px;
	}
}
