/* Cookie consent banner. Colour is #474949 throughout, never black. */
.unei-ck {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 100000;
	box-sizing: border-box;
	background: #fff;
	color: #474949;
	font-family: "Open Sans", sans-serif;
	font-size: 14px;
	line-height: 1.5;
	box-shadow: 0 -4px 24px rgba(71, 73, 73, .12);
}

.unei-ck *,
.unei-ck *::before,
.unei-ck *::after {
	box-sizing: border-box;
}

.unei-ck:focus {
	outline: none;
}

.unei-ck__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 16px;
}

.unei-ck__text,
.unei-ck__intro,
.unei-ck__line {
	margin: 0;
	color: #474949;
}

.unei-ck__text a {
	color: #474949;
	text-decoration: underline;
}

.unei-ck__actions {
	display: flex;
	flex-shrink: 0;
	gap: 12px;
}

/* Same shape as the site's calls to action (home buttons): 8px radius, 600 weight, 16/24 padding, fade on hover. */
.unei-ck__btn {
	margin: 0;
	padding: 16px 24px;
	border: 1px solid #474949;
	border-radius: 8px;
	background: transparent;
	color: #474949;
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	line-height: 22px;
	cursor: pointer;
	transition: opacity .2s ease;
}

.unei-ck__btn:hover {
	background: transparent;
	color: #474949;
	opacity: .85;
}

/* Accept in UNEI yellow, like every primary button. */
.unei-ck__btn--accept,
.unei-ck__btn--accept:hover {
	border-color: #fcba24;
	background: #fcba24;
}

.unei-ck a:focus-visible,
.unei-ck__btn:focus-visible,
.unei-ck__check:focus-visible {
	outline: 2px solid #474949;
	outline-offset: 2px;
}

.unei-ck__rows {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.unei-ck__row {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.unei-ck__check {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
	accent-color: #474949;
}

.unei-ck__label {
	display: block;
	font-weight: 600;
}

@media (max-width: 599px) {
	.unei-ck__inner {
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
	}

	.unei-ck__actions {
		flex-direction: column;
	}

	/* Phone size of every site button (style.css, max-width 640px). */
	.unei-ck__btn {
		width: 100%;
		padding: 12px 18px;
		font-size: 15px;
		line-height: 20px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.unei-ck__btn {
		transition: none;
	}
}
