/* =========================================================================
   iPhone.nl — cookiebanner en cookievoorkeuren.
   Kleuren overgenomen van de live balk: paneel #202020, knop #5d9cec.
   ========================================================================= */

.inl-consent {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2000;
	background: #202020;
	color: #f9f9f9;
	font-size: 14px;
	line-height: 1.5;
	box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.25);
}

.inl-consent[hidden] {
	display: none;
}

.inl-consent__inner {
	position: relative;
	max-width: 1170px;
	margin: 0 auto;
	padding: 16px 44px 16px 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.inl-consent__text {
	margin: 0;
	/* min-width:0 laat de tekst krimpen; zonder dat duwt de flexregel de balk
	   breder dan het scherm op smalle viewports. */
	flex: 1 1 320px;
	min-width: 0;
}

.inl-consent__link,
.inl-consent__link:visited {
	color: #5d9cec;
	text-decoration: underline;
	white-space: nowrap;
}

.inl-consent__link:hover,
.inl-consent__link:focus {
	color: #fff;
}

.inl-consent__actions {
	display: flex;
	gap: 10px;
	flex: 0 0 auto;
}

.inl-consent__btn {
	font: inherit;
	font-weight: 500;
	padding: 9px 20px;
	border-radius: 3px;
	border: 1px solid transparent;
	cursor: pointer;
	white-space: nowrap;
}

.inl-consent__btn--accept {
	background: #5d9cec;
	border-color: #5d9cec;
	color: #fff;
}

.inl-consent__btn--accept:hover,
.inl-consent__btn--accept:focus {
	background: #0084cc;
	border-color: #0084cc;
}

.inl-consent__btn--deny {
	background: transparent;
	border-color: #8a8a8a;
	color: #f9f9f9;
}

.inl-consent__btn--deny:hover,
.inl-consent__btn--deny:focus {
	border-color: #f9f9f9;
	background: rgba(255, 255, 255, 0.08);
}

.inl-consent__btn:focus-visible,
.inl-consent__close:focus-visible,
.inl-consent-prefs__btn:focus-visible {
	outline: 2px solid #5d9cec;
	outline-offset: 2px;
}

.inl-consent__close {
	position: absolute;
	top: 6px;
	right: 10px;
	background: none;
	border: 0;
	color: #9a9a9a;
	font-size: 22px;
	line-height: 1;
	padding: 4px 6px;
	cursor: pointer;
}

.inl-consent__close:hover,
.inl-consent__close:focus {
	color: #fff;
}

/* ---- Cookievoorkeuren-strook onder de footer ---- */

.inl-consent-prefs {
	background: #111;
	text-align: center;
	padding: 0 0 10px;
}

.inl-consent-prefs__btn {
	background: none;
	border: 0;
	padding: 2px 6px;
	font-size: 12px;
	color: #9a9a9a;
	text-decoration: underline;
	cursor: pointer;
}

.inl-consent-prefs__btn:hover,
.inl-consent-prefs__btn:focus {
	color: #5d9cec;
}

/* ---- Mobiel: knoppen onder de tekst, volle breedte ---- */

@media (max-width: 767px) {
	.inl-consent__inner {
		padding: 14px 16px;
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
	}

	.inl-consent__text {
		/* In kolomrichting slaat flex-basis op de hoogte; terug naar inhoudshoogte.
		   width:100% houdt de dwarsrichting binnen het scherm — zonder dat neemt
		   het item zijn natuurlijke tekstbreedte aan en wordt de balk te breed. */
		flex: 0 0 auto;
		width: 100%;
		padding-right: 28px;
	}

	.inl-consent__actions {
		width: 100%;
	}

	.inl-consent__btn {
		flex: 1 1 0;
		padding: 11px 12px;
	}
}
