/*
	Cookie consent banner
	Afrixity — added separately from the Editorial template styles
*/

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

#cookie-consent-banner .cookie-consent-text {
	flex: 1 1 55%;
	margin: 0;
	color: #f4f4f6;
}

#cookie-consent-banner .cookie-consent-text a {
	color: #ffffff;
	text-decoration: underline;
}

#cookie-consent-banner .cookie-consent-text a:hover {
	color: #c9c9c9;
}

#cookie-consent-banner .cookie-consent-accept {
	flex: 0 0 auto;
	display: inline-block;
	margin: 0;
	padding: 0.7em 1.75em;
	background: #ffffff;
	color: #1c1d21;
	border: 0;
	border-radius: 4px;
	font-size: 0.95em;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

#cookie-consent-banner .cookie-consent-accept:hover {
	background: #dcdcdc;
}

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

	#cookie-consent-banner .cookie-consent-accept {
		width: 100%;
	}
}
