/**
 * Consent banner — fixed bottom bar. Kept tiny and self-contained.
 * The bar is display:flex, so the `hidden` attribute needs an explicit rule to
 * stay hidden until consent.js reveals it.
 */
.hm-consent {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9999;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px 20px;
	padding: 14px 20px;
	background: #0d0d0d;
	color: #fff;
	font-size: 14px;
	line-height: 1.45;
	box-shadow: 0 -2px 14px rgba( 0, 0, 0, 0.25 );
}

.hm-consent[hidden] {
	display: none;
}

.hm-consent__text {
	margin: 0;
	max-width: 680px;
}

.hm-consent__link {
	color: #fff;
	text-decoration: underline;
}

.hm-consent__actions {
	display: flex;
	flex-shrink: 0;
	gap: 8px;
}

.hm-consent__btn {
	border: 0;
	border-radius: 4px;
	padding: 9px 20px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	line-height: 1;
}

.hm-consent__btn--accept {
	/* #fff text on #d12e18 = 5.1:1 (>= WCAG AA 4.5:1 for 14px/600); prior #e8341c was 4.25:1. */
	background: #d12e18;
	color: #fff;
}

.hm-consent__btn--decline {
	background: transparent;
	color: #fff;
	border: 1px solid rgba( 255, 255, 255, 0.4 );
}

/* Footer "Cookie preferences" control. Rendered into the footer link bar, so
   it carries .site-footer__link for colour/size and only needs the browser's
   button chrome removed. */
.hm-consent__prefs {
	background: none;
	border: 0;
	padding: 0;
	font-family: inherit;
	line-height: inherit;
}
