/*
	Cookie consent banner
	Custom addition — not part of the original Massively template
*/

#cookie-consent-banner {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 10000;
	display: none;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 1.25em;
	width: 100%;
	box-sizing: border-box;
	padding: 1em 2em;
	background: #1a1a1c;
	color: #fff;
	font-size: 0.85em;
	line-height: 1.6;
	box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.35);
}

#cookie-consent-banner.is-visible {
	display: flex;
}

#cookie-consent-banner p {
	margin: 0;
	flex: 1 1 480px;
	color: #fff;
}

#cookie-consent-banner a {
	color: #fff;
	text-decoration: underline;
	border: none;
}

#cookie-consent-banner a:hover {
	color: #b0b0b0;
	border: none;
}

#cookie-consent-banner .cookie-consent-actions {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
}

#cookie-consent-accept {
	display: inline-block;
	background: #fff;
	color: #1a1a1c;
	border: 0;
	border-radius: 4px;
	padding: 0.65em 1.75em;
	font-size: 0.95em;
	font-weight: 600;
	letter-spacing: 0.02em;
	cursor: pointer;
	white-space: nowrap;
}

#cookie-consent-accept:hover {
	background: #d8d8d8;
}

@media screen and (max-width: 736px) {
	#cookie-consent-banner {
		flex-direction: column;
		text-align: center;
		padding: 1em 1.25em;
	}

	#cookie-consent-banner p {
		flex-basis: auto;
	}
}
