/* Privacy, cookie policy and cookie banner */

.legal-page #header nav a,
.legal-page #footer a {
	color: inherit;
}

.legal-section {
	min-height: auto;
	padding: 7em 0 4em 0;
}

.legal-section .content {
	max-width: 980px;
}

.legal-box {
	text-align: left;
}

.legal-box h3 {
	margin-top: 1.75em;
}

.legal-box h3:first-child {
	margin-top: 0;
}

.legal-box ul {
	margin-bottom: 1em;
}

.legal-box a {
	color: inherit;
	font-weight: 600;
}

.cookie-banner {
	position: fixed;
	left: 1.25em;
	right: 1.25em;
	bottom: 1.25em;
	z-index: 10000;
	display: none;
	background: rgba(20, 24, 28, 0.96);
	color: #ffffff;
	border-radius: 0.75em;
	box-shadow: 0 0.75em 2em rgba(0, 0, 0, 0.3);
	padding: 1.25em;
}

.cookie-banner.is-visible {
	display: block;
}

.cookie-banner__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1em;
	max-width: 1180px;
	margin: 0 auto;
}

.cookie-banner p {
	margin: 0;
	font-size: 0.95em;
	line-height: 1.6;
}

.cookie-banner a {
	color: #ffffff;
	font-weight: 700;
	text-decoration: underline;
}

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

.cookie-banner button {
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	font: inherit;
	font-weight: 700;
	padding: 0.7em 1.15em;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.cookie-banner button:hover,
.cookie-banner button:focus {
	opacity: 0.9;
	transform: translateY(-1px);
}

.cookie-banner__reject {
	background: rgba(255, 255, 255, 0.14);
	color: #ffffff;
}

.cookie-banner__accept {
	background: #ffffff;
	color: #222222;
}

@media screen and (max-width: 736px) {
	.legal-section {
		padding: 6em 1em 3em 1em;
	}

	.cookie-banner {
		left: 0.75em;
		right: 0.75em;
		bottom: 0.75em;
		padding: 1em;
	}

	.cookie-banner__inner {
		align-items: stretch;
		flex-direction: column;
	}

	.cookie-banner__actions {
		justify-content: flex-end;
		flex-wrap: wrap;
	}
}
