/* Cookie consent banner (2026-10-25), see includes/consent.php and js/consent.js */
.consent-banner {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2147483000;
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px 20px;
	margin: 0;
	padding: 14px 16px;
	background: #1d1d1d;
	border-top: 1px solid #444;
	box-shadow: 0 -2px 10px rgba(0, 0, 0, .35);
	color: #eee;
	font: 14px/1.45 Arial, Helvetica, sans-serif;
	text-align: left;
}
.consent-banner[hidden] {
	display: none !important;
}
.consent-banner p {
	flex: 1 1 320px;
	max-width: 760px;
	margin: 0;
	padding: 0;
	color: #eee;
	font: inherit;
}
.consent-banner a,
.consent-banner a:visited {
	color: #fff;
	text-decoration: underline;
}
.consent-actions {
	display: flex;
	flex: 0 0 auto;
	gap: 10px;
}
/* Both choices look the same so that declining is as easy as accepting. */
.consent-banner button {
	min-width: 120px;
	min-height: 42px;
	margin: 0;
	padding: 8px 18px;
	border: 1px solid #fff;
	border-radius: 4px;
	background: #fff;
	color: #111;
	font: bold 14px/1.2 Arial, Helvetica, sans-serif;
	text-transform: none;
	cursor: pointer;
}
.consent-banner button:hover {
	background: #ddd;
}
.consent-banner button:focus {
	outline: 2px solid #ffbf47;
	outline-offset: 2px;
}
@media (max-width: 480px) {
	.consent-banner {
		padding: 12px;
		font-size: 13px;
	}
	.consent-actions {
		flex: 1 1 100%;
	}
	.consent-banner button {
		flex: 1 1 0;
		min-width: 0;
	}
}
/* Ad slots stay empty without consent; hide them instead of leaving gaps. */
html:not(.consent-all) ins.adsbygoogle {
	display: none !important;
}
@media print {
	.consent-banner {
		display: none !important;
	}
}
