.hah-consent-banner {
	position: relative;
	z-index: 20;
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(500px, 0.85fr);
	gap: clamp(1rem, 3vw, 2.5rem);
	align-items: center;
	width: 100%;
	margin: 0;
	padding: clamp(1rem, 2.5vw, 1.5rem) max(1rem, calc((100% - 1240px) / 2));
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 0;
	background: #082f4f;
	box-shadow: 0 8px 24px rgba(4, 24, 40, 0.18);
	color: #fff;
}

.hah-consent-banner[hidden],
.hah-consent-reopen[hidden] {
	display: none !important;
}

.hah-consent-banner h2 {
	margin: 0 0 0.35rem;
	color: #fff;
	font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hah-consent-banner p {
	max-width: 88ch;
	margin: 0;
	color: rgba(255, 255, 255, 0.9);
	font-size: 0.92rem;
	line-height: 1.55;
}

.hah-consent-banner a {
	color: #fff;
	font-weight: 700;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

.hah-consent-banner__actions {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.65rem;
}

.hah-consent-button {
	min-height: 46px;
	padding: 0.7rem 1rem;
	border: 2px solid #fff;
	border-radius: 2px;
	font: inherit;
	font-size: 0.84rem;
	font-weight: 800;
	line-height: 1.2;
	cursor: pointer;
}

.hah-consent-button--necessary {
	background: transparent;
	color: #fff;
}

.hah-consent-button--statistics {
	border-color: rgba(255, 255, 255, 0.72);
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
}

.hah-consent-button--marketing {
	border-color: #0b806f;
	background: #0b806f;
	color: #fff;
}

.hah-consent-button:hover,
.hah-consent-button:focus-visible,
.hah-consent-reopen:hover,
.hah-consent-reopen:focus-visible {
	outline: 3px solid #f2bd49;
	outline-offset: 2px;
}

.hah-consent-reopen {
	position: relative;
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	margin: 0.5rem;
	padding: 0.55rem 0.8rem;
	border: 1px solid rgba(8, 47, 79, 0.28);
	border-radius: 999px;
	background: #fff;
	box-shadow: none;
	color: #082f4f;
	font: inherit;
	font-size: 0.78rem;
	font-weight: 800;
	cursor: pointer;
}

.hah-consent-reopen[data-hah-consent-location="footer"] {
	min-height: 44px;
	margin: -0.5rem 0;
	padding: 0.5rem 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: inherit;
	font-size: inherit;
	font-weight: inherit;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

@media (max-width: 1040px) {
	.hah-consent-banner {
		grid-template-columns: 1fr;
		gap: 1rem;
	}
}

@media (max-width: 760px) {
	.hah-consent-banner {
		padding: 1.15rem;
	}

	.hah-consent-banner__actions {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hah-consent-button--marketing {
		grid-column: 1 / -1;
	}

	.hah-consent-reopen[data-hah-consent-location="footer"] {
		margin: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hah-consent-banner,
	.hah-consent-reopen {
		scroll-behavior: auto;
	}
}
