/*
 * abcBIM Core: the cookie choice card (assets/js/analytics.js builds it). Buttons use the theme's
 * .btn styles; colours, fonts and radius follow the theme's custom properties (with fallbacks).
 */
.abc-consent {
	position: fixed;
	z-index: 190; /* Under the header (200), so its mobile menu covers the card. */
	left: var(--gutter, 24px);
	bottom: 24px;
	box-sizing: border-box;
	width: min(520px, calc(100vw - 2 * var(--gutter, 24px)));
	padding: 24px;
	background: var(--c-paper, #FBFAF7);
	color: var(--c-ink, #15171A);
	border: 1px solid var(--c-rule, #DEDAD2);
	border-radius: var(--radius-lg, 14px);
	box-shadow: 0 24px 48px -20px rgba(21, 23, 26, 0.45);
	font-family: var(--f-sans, system-ui, -apple-system, 'Segoe UI', sans-serif);
	font-size: 15px;
	line-height: 1.55;
}

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

.abc-consent__title {
	margin: 0 0 8px;
	font-family: var(--f-serif, Georgia, 'Times New Roman', serif);
	font-size: 22px;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: -0.01em;
}

.abc-consent__text {
	margin: 0 0 18px;
	color: var(--c-graphite, #3D4045);
}

.abc-consent__text a {
	color: var(--c-green, #1F4D3F);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.abc-consent__text a:hover,
.abc-consent__text a:focus-visible {
	color: var(--c-ink, #15171A);
}

.abc-consent__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.abc-consent__btn {
	flex: 1 1 auto;
}

@media (max-width: 560px) {
	.abc-consent {
		left: 12px;
		right: 12px;
		bottom: 12px;
		width: auto;
		padding: 20px;
	}

	.abc-consent__actions {
		flex-direction: column;
	}

	.abc-consent__btn {
		width: 100%;
		white-space: normal;
	}
}

@media print {
	.abc-consent {
		display: none;
	}
}
