html.cookie-gate,
html.cookie-gate body {
	overflow: hidden;
}

.cookie-banner {
	display: none;
}

html.cookie-gate .cookie-banner {
	display: flex;
	position: fixed;
	inset: 0;
	z-index: 110000;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(40, 48, 61, 0.55);
	box-sizing: border-box;
}

.cookie-banner__panel {
	display: none;
	width: 100%;
	max-width: 600px;
	margin: 0;
	padding: 36px 32px 32px;
	background: #d1e4dd;
	color: #28303d;
	text-align: center;
	box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
	box-sizing: border-box;
	font-family: inherit;
}

html.cookie-gate:not(.cookie-denied) .cookie-banner__panel--ask,
html.cookie-denied .cookie-banner__panel--denied {
	display: block;
}

.cookie-banner__panel h2 {
	margin: 0 0 16px;
	font-size: 30px;
	line-height: 1.25;
	color: inherit;
}

.cookie-banner__panel p {
	margin: 0 0 28px;
	font-size: 18px;
	line-height: 1.5;
	font-weight: 400;
	color: inherit;
}

.cookie-banner__policy {
	color: inherit;
	text-underline-offset: 3px;
}

.cookie-banner__actions {
	display: flex;
	justify-content: center;
	gap: 12px;
	flex-wrap: wrap;
}

.cookie-banner button {
	margin: 0;
	border: 3px solid transparent;
	border-radius: 0;
	padding: 15px 30px;
	font: inherit;
	font-weight: 500;
	line-height: 1.5;
	cursor: pointer;
	appearance: none;
	box-shadow: none;
	text-decoration: none;
}

html.cookie-gate .cookie-banner button.cookie-banner__allow:not(:hover):not(:active) {
	background-color: #28303d;
	color: #d1e4dd;
	border-color: transparent;
}

html.cookie-gate .cookie-banner button.cookie-banner__close:not(:hover):not(:active) {
	background-color: transparent;
	color: #28303d;
	border-color: #28303d;
}

html.cookie-gate .cookie-banner button:hover,
html.cookie-gate .cookie-banner button:active {
	background-color: transparent;
	color: #28303d;
	border-color: currentColor;
}

@media only screen and (max-width: 482px) {
	.cookie-banner {
		padding: 16px;
		align-items: flex-end;
	}

	.cookie-banner__panel {
		padding: 28px 20px 24px;
	}

	.cookie-banner__panel h2 {
		font-size: 24px;
	}

	.cookie-banner__panel p {
		font-size: 16px;
	}

	.cookie-banner__actions {
		flex-direction: column;
	}

	html.cookie-gate .cookie-banner button {
		width: 100%;
	}
}
