/* Kist cookietoestemming. Kleuren komen uit consent-kleuren (--kc-*), met Frissekom-waarden als terugval. */
.kist-consent,
.kist-consent *,
.kist-consent-verklaring .kist-consent__btn,
.kist-consent-placeholder .kist-consent__btn {
	box-sizing: border-box;
}
.kist-consent [hidden],
.kist-consent[hidden],
.kist-consent__reopen[hidden] {
	display: none !important;
}
.kist-consent {
	font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	color: var(--kc-text, #042a2b);
}
.kist-consent.is-prefs::before {
	content: "";
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, .5);
	z-index: 2147483640;
}
.kist-consent__banner,
.kist-consent__prefs {
	position: fixed;
	z-index: 2147483641;
	background: var(--kc-bg, #ffffff);
	color: var(--kc-text, #042a2b);
	border: 1px solid rgba(0, 0, 0, .15);
	border-radius: 12px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, .25);
	padding: 20px;
}
.kist-consent__banner {
	left: 16px;
	right: 16px;
	bottom: 16px;
	max-width: 720px;
	margin: 0 auto;
}
.kist-consent__prefs {
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: calc(100% - 32px);
	max-width: 640px;
	max-height: calc(100vh - 32px);
	overflow-y: auto;
}
.kist-consent__title {
	margin: 0 0 8px;
	font-size: 1.25rem;
	line-height: 1.3;
	color: inherit;
}
.kist-consent__text,
.kist-consent__cat-text {
	margin: 0 0 12px;
}
.kist-consent__links {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 16px;
	margin: 0 0 16px;
	font-size: .9375rem;
}
.kist-consent__link {
	color: inherit;
	text-decoration: underline;
}
.kist-consent__sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
.kist-consent__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
/* Weigeren en accepteren zijn even groot en even opvallend. */
.kist-consent__btn {
	flex: 1 1 140px;
	min-height: 44px;
	padding: 10px 16px;
	font: inherit;
	font-weight: 600;
	color: var(--kc-button-text, #ffffff);
	background: var(--kc-button, #042a2b);
	border: 2px solid var(--kc-button, #042a2b);
	border-radius: 8px;
	cursor: pointer;
}
.kist-consent__btn.is-ghost {
	color: var(--kc-button, #042a2b);
	background: transparent;
}
.kist-consent__btn:hover {
	opacity: .9;
}
.kist-consent a:focus-visible,
.kist-consent button:focus-visible,
.kist-consent input:focus-visible,
.kist-consent summary:focus-visible,
.kist-consent__banner:focus-visible,
.kist-consent__prefs:focus-visible,
.kist-consent-verklaring .kist-consent__btn:focus-visible {
	outline: 3px solid #edff00;
	outline-offset: 2px;
	box-shadow: 0 0 0 5px #042a2b;
}
.kist-consent__cat {
	padding: 12px 0;
	border-top: 1px solid rgba(0, 0, 0, .12);
}
.kist-consent__cat-head {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 4px;
}
.kist-consent__cat-head input {
	width: 22px;
	height: 22px;
	margin: 0;
	accent-color: var(--kc-button, #042a2b);
}
.kist-consent__cat-head label {
	font-weight: 600;
}
.kist-consent__always {
	font-weight: 400;
	font-size: .875rem;
}
.kist-consent__details {
	font-size: .9375rem;
}
.kist-consent__details summary {
	cursor: pointer;
}
.kist-consent__reopen {
	position: fixed;
	bottom: var(--kc-icon-offset, 16px);
	z-index: 2147483639;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	color: var(--kc-text, #042a2b);
	background: var(--kc-bg, #ffffff);
	border: 1px solid rgba(0, 0, 0, .2);
	border-radius: 50%;
	box-shadow: 0 1px 6px rgba(0, 0, 0, .18);
	opacity: .85;
	cursor: pointer;
}
.kist-consent__reopen:hover,
.kist-consent__reopen:focus-visible {
	opacity: 1;
}
.kist-consent__reopen.is-left {
	left: var(--kc-icon-offset, 16px);
}
.kist-consent__reopen.is-right {
	right: var(--kc-icon-offset, 16px);
}
.kist-consent-placeholder {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 12px;
	min-height: 200px;
	padding: 20px;
	color: #042a2b;
	background: #fef6eb;
	border: 1px solid rgba(0, 0, 0, .15);
	border-radius: 8px;
}
.kist-consent-placeholder p {
	margin: 0;
}
.kist-consent-placeholder .kist-consent__btn {
	flex: 0 0 auto;
	color: #fff;
	background: #042a2b;
	border-color: #042a2b;
}
.kist-consent-verklaring .kist-consent__btn,
.kist-open-voorkeuren.kist-consent__btn {
	flex: 0 0 auto;
	color: #fff;
	background: #042a2b;
	border: 2px solid #042a2b;
	border-radius: 8px;
	padding: 10px 16px;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}
.kist-consent-tabel {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 16px;
}
.kist-consent-tabel th,
.kist-consent-tabel td {
	padding: 8px;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid rgba(0, 0, 0, .15);
	overflow-wrap: anywhere;
}
@media (max-width: 600px) {
	.kist-consent-tabel thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
	}
	.kist-consent-tabel tr {
		display: block;
		margin-bottom: 12px;
		border: 1px solid rgba(0, 0, 0, .15);
		border-radius: 6px;
	}
	.kist-consent-tabel td {
		display: block;
		border-bottom: 0;
	}
	.kist-consent-tabel td::before {
		content: attr(data-label) ": ";
		font-weight: 600;
	}
	.kist-consent__banner {
		left: 8px;
		right: 8px;
		bottom: 8px;
		max-height: calc(100vh - 16px);
		overflow-y: auto;
	}
}
@media (prefers-reduced-motion: no-preference) {
	.kist-consent__btn {
		transition: opacity .15s;
	}
}
