/**
 * SA — site-wide cookie consent banner.
 * Self-contained (hardcoded colours, not dependent on any page template's
 * own CSS variables) since it has to work identically on every page.
 * Colours match the theme's black + yellow palette used on the SEO
 * landing page.
 */

.sa-cookie-banner {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 99999;
	background: #191919;
	color: #fff;
	padding: 1.1rem 1.25rem;
	box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.35);
	font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	transform: translateY(100%);
	transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.sa-cookie-banner.is-visible {
	transform: translateY(0);
}

.sa-cookie-banner__inner {
	max-width: 72rem;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 1.5rem;
}

.sa-cookie-banner__text {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.85);
	flex: 1 1 20rem;
}
.sa-cookie-banner__text a {
	color: #ffd60a;
	text-decoration: underline;
	white-space: nowrap;
}
.sa-cookie-banner__text a:hover {
	color: #ffc300;
}

.sa-cookie-banner__actions {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-shrink: 0;
}

.sa-cookie-banner__decline {
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.3);
	color: #fff;
	padding: 0.55rem 1.1rem;
	border-radius: 0.5rem;
	font-weight: 600;
	font-size: 0.9rem;
	font-family: inherit;
	cursor: pointer;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}
.sa-cookie-banner__decline:hover,
.sa-cookie-banner__decline:focus-visible {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.55);
}

.sa-cookie-banner__accept {
	background: #ffc300;
	border: none;
	color: #14110a;
	padding: 0.6rem 1.4rem;
	border-radius: 0.5rem;
	font-weight: 700;
	font-size: 0.92rem;
	font-family: inherit;
	cursor: pointer;
	box-shadow: 0 0 14px 2px rgba(255, 195, 0, 0.45);
	transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.sa-cookie-banner__accept:hover,
.sa-cookie-banner__accept:focus-visible {
	background: #ffd60a;
	transform: translateY(-1px);
	box-shadow: 0 0 22px 5px rgba(255, 195, 0, 0.5);
}

@media (max-width: 575.98px) {
	.sa-cookie-banner__inner {
		flex-direction: column;
		align-items: stretch;
		text-align: center;
	}
	.sa-cookie-banner__actions {
		justify-content: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sa-cookie-banner {
		transition: none;
	}
}
