/* Cookie banner and settings (assets/sp-cookies.js), in the site's navy, red and Source Sans 3. */
.sp-cc {
	font-family: "Source Sans 3", sans-serif;
	-webkit-font-smoothing: antialiased;
}

.sp-cc__bar {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 9998;
	box-sizing: border-box;
	width: 520px;
	max-width: calc(100vw - 32px);
	padding: 28px 30px 30px;
	background: #12233b;
	color: rgba(255, 255, 255, 0.85);
	box-shadow: 0 10px 40px rgba(18, 35, 59, 0.25);
	transform: translateY(24px);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
}

.sp-cc.is-open:not(.is-settings) .sp-cc__bar {
	transform: none;
	opacity: 1;
	visibility: visible;
}

.sp-cc__title {
	margin: 0 0 10px;
	color: #fff;
	font-size: 24px;
	font-weight: 500;
	line-height: 30px;
	letter-spacing: -0.24px;
}

.sp-cc__text {
	margin: 0;
	font-size: 15px;
	line-height: 21px;
}

.sp-cc__text a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.sp-cc__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-top: 22px;
}

.sp-cc__btn {
	min-height: 48px;
	padding: 0 24px;
	border: 1px solid rgba(255, 255, 255, 0.6);
	border-radius: 0;
	background: transparent;
	color: #fff;
	font: 500 16px/1 "Source Sans 3", sans-serif;
	letter-spacing: -0.16px;
	cursor: pointer;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.sp-cc__btn:hover,
.sp-cc__btn:focus-visible {
	border-color: #fff;
	background: #fff;
	color: #12233b;
}

.sp-cc__btn--primary {
	border-color: #c8102e;
	background: #c8102e;
}

.sp-cc__btn--primary:hover,
.sp-cc__btn--primary:focus-visible {
	border-color: #a50d26;
	background: #a50d26;
	color: #fff;
}

.sp-cc__link {
	margin-left: auto;
	padding: 0;
	border: 0;
	background: none;
	color: #fff;
	font: 500 16px/1 "Source Sans 3", sans-serif;
	text-decoration: underline;
	text-underline-offset: 4px;
	cursor: pointer;
}

.sp-cc__link:hover,
.sp-cc__link:focus {
	background: none !important;
	color: #fff;
	text-decoration-color: #c8102e;
}

/* Hello theme paints every focused/hovered button pink: keep the banner's own colours. */
.sp-cc__btn:focus:not(:focus-visible) {
	outline: none;
}

.sp-cc__bar .sp-cc__btn:not(.sp-cc__btn--primary):focus:not(:hover) {
	border-color: rgba(255, 255, 255, 0.6);
	background: transparent;
	color: #fff;
}

.sp-cc__panel .sp-cc__btn:not(.sp-cc__btn--primary):focus:not(:hover) {
	border-color: #12233b;
	background: transparent;
	color: #12233b;
}

.sp-cc__btn--primary:focus:not(:hover) {
	border-color: #c8102e;
	background: #c8102e;
	color: #fff;
}

/* Settings dialog */
.sp-cc__modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(18, 35, 59, 0.55);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s, visibility 0.25s;
}

.sp-cc.is-settings .sp-cc__modal {
	opacity: 1;
	visibility: visible;
}

.sp-cc__panel {
	position: relative;
	box-sizing: border-box;
	width: 620px;
	max-width: 100%;
	max-height: calc(100vh - 32px);
	overflow: auto;
	padding: 36px 40px 40px;
	background: #fff;
	color: rgba(0, 0, 0, 0.8);
}

.sp-cc__panel .sp-cc__title {
	color: #000;
	font-size: 32px;
	line-height: 40px;
	letter-spacing: -0.32px;
}

.sp-cc__panel .sp-cc__btn {
	border-color: #12233b;
	color: #12233b;
}

.sp-cc__panel .sp-cc__btn:hover,
.sp-cc__panel .sp-cc__btn:focus-visible {
	background: #12233b;
	color: #fff;
}

.sp-cc__panel .sp-cc__btn--primary {
	border-color: #c8102e;
	background: #c8102e;
	color: #fff;
}

.sp-cc__panel .sp-cc__btn--primary:hover {
	border-color: #a50d26;
	background: #a50d26;
}

.sp-cc__close {
	position: absolute;
	top: 20px;
	right: 20px;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	background: none;
	color: #12233b;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
}

.sp-cc__cats {
	margin-top: 22px;
	border-top: 1px solid #e3e3e3;
}

.sp-cc__cat {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 16px 0;
	border-bottom: 1px solid #e3e3e3;
	cursor: pointer;
}

.sp-cc__cat-text strong {
	display: block;
	color: #000;
	font-size: 18px;
	font-weight: 500;
	line-height: 24px;
}

.sp-cc__cat-text span {
	display: block;
	margin-top: 2px;
	font-size: 14px;
	line-height: 20px;
}

/* Switch */
.sp-cc__switch {
	position: relative;
	flex: none;
	width: 46px;
	height: 26px;
	margin: 0;
	border-radius: 13px;
	background: #c9ccd2;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
	transition: background-color 0.2s;
}

.sp-cc__switch::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
	transition: transform 0.2s;
}

.sp-cc__switch:checked {
	background: #12233b;
}

.sp-cc__switch:checked::after {
	transform: translateX(20px);
}

.sp-cc__switch:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.sp-cc__switch:focus-visible {
	outline: 2px solid #c8102e;
	outline-offset: 2px;
}

html.sp-cc-lock {
	overflow: hidden;
}

@media (max-width: 767px) {
	.sp-cc__bar {
		right: 0;
		bottom: 0;
		width: 100%;
		max-width: none;
		padding: 22px 16px 20px;
	}

	.sp-cc__title {
		font-size: 20px;
		line-height: 26px;
	}

	.sp-cc__text {
		font-size: 14px;
		line-height: 20px;
	}

	.sp-cc__actions {
		margin-top: 18px;
	}

	.sp-cc__actions .sp-cc__btn {
		flex: 1 1 calc(50% - 6px);
		min-height: 46px;
		padding: 0 12px;
		font-size: 15px;
	}

	.sp-cc__link {
		margin: 4px auto 0;
	}

	.sp-cc__panel {
		padding: 28px 16px 22px;
	}

	.sp-cc__panel .sp-cc__title {
		font-size: 26px;
		line-height: 32px;
	}

	.sp-cc__panel .sp-cc__actions .sp-cc__btn {
		flex-basis: 100%;
	}
}

/* Newsletter popup (assets/sp-newsletter.js) */
.sp-nl {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(18, 35, 59, 0.55);
	font-family: "Source Sans 3", sans-serif;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s, visibility 0.25s;
}

.sp-nl.is-open {
	opacity: 1;
	visibility: visible;
}

.sp-nl__panel {
	position: relative;
	box-sizing: border-box;
	width: 560px;
	max-width: 100%;
	max-height: calc(100vh - 32px);
	overflow: auto;
	padding: 40px 40px 36px;
	background: #fff;
	color: rgba(0, 0, 0, 0.8);
	transform: translateY(16px);
	transition: transform 0.25s;
}

.sp-nl.is-open .sp-nl__panel {
	transform: none;
}

.sp-nl__close {
	position: absolute;
	top: 20px;
	right: 20px;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	background: none;
	color: #12233b;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
}

.sp-nl__eyebrow {
	margin: 0;
	color: #d2343a;
	font-size: 14px;
	line-height: 20px;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.sp-nl__title {
	margin: 6px 0 0;
	color: #000;
	font-size: 36px;
	font-weight: 500;
	line-height: 44px;
	letter-spacing: -0.36px;
}

.sp-nl__text {
	margin: 12px 0 0;
	font-size: 18px;
	line-height: 26px;
	letter-spacing: -0.18px;
}

.sp-nl__form {
	margin-top: 24px;
}

.sp-nl__loading {
	margin: 0;
	color: rgba(0, 0, 0, 0.6);
	font-size: 15px;
	line-height: 21px;
}

.sp-nl__loading a {
	color: #d2343a;
}

/* The Inderes form: inputs and button in the site's style. */
.sp-nl__form input[type="text"],
.sp-nl__form input[type="email"] {
	box-sizing: border-box;
	width: 100%;
	height: 52px;
	padding: 0 16px;
	border: 1px solid rgba(18, 35, 59, 0.2);
	border-radius: 0;
	background: #fff;
	font: 400 16px/20px "Source Sans 3", sans-serif;
}

.sp-nl__form input:focus {
	border-color: #12233b;
	outline: none;
}

.sp-nl__form button,
.sp-nl__form input[type="submit"] {
	min-height: 56px;
	padding: 0 32px;
	border: 0;
	border-radius: 0;
	background: #c8102e;
	color: #fff;
	font: 500 16px/1 "Source Sans 3", sans-serif;
	cursor: pointer;
	transition: background-color 0.2s;
}

.sp-nl__form button:hover,
.sp-nl__form input[type="submit"]:hover {
	background: #a50d26;
}

/* Wrappers Inderes adds around rows get no indent of their own. */
.sp-nl__form form *:not(.sp-nl__check):not(input):not(button) {
	margin-left: 0;
	padding-left: 0;
}

.sp-nl__form label:has(> .sp-nl__check),
.sp-nl__form div:has(> .sp-nl__check) {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* Inderes form layout: no duplicate heading, tidy checkbox rows, email and button full width. */
.sp-nl__form .sp-nl__dup,
.sp-nl__form br {
	display: none !important;
}

.sp-nl__form form {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	font-size: 16px;
	line-height: 22px;
}

.sp-nl__form .sp-nl__group {
	display: block;
	margin: 4px 0 -2px;
	color: #000;
	font-weight: 500;
}

.sp-nl__form .sp-nl__check {
	display: block !important;
	position: relative;
	margin: 0;
	padding-left: 28px;
	cursor: pointer;
}

.sp-nl__form input[type="checkbox"] {
	position: absolute;
	top: 2px;
	left: 0;
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: #12233b;
	cursor: pointer;
}

.sp-nl__form a {
	color: #c8102e;
	text-decoration: underline;
}

.sp-nl__form button,
.sp-nl__form input[type="submit"] {
	width: 100%;
	margin-top: 4px;
}

.sp-nl__form .sp-nl__credit {
	display: block;
	margin-top: 4px;
	color: rgba(0, 0, 0, 0.4);
	font-size: 12px;
	text-align: right;
}

@media (max-width: 767px) {
	.sp-nl__panel {
		padding: 32px 16px 24px;
	}

	.sp-nl__title {
		font-size: 28px;
		line-height: 34px;
	}

	.sp-nl__text {
		font-size: 15px;
		line-height: 21px;
	}
}

/* One close button for every popup: the Figma 28px navy cross (property popup), no box, fades to 60% on hover.
   Each popup keeps its own position for it. */
.sp-cc__close,
.sp-nl__close,
.sp-pub__close,
.sp-dialog__close {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 28px !important;
	height: 28px !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: none !important;
	color: #12233b !important;
	line-height: 0;
	cursor: pointer;
	transition: opacity 0.2s;
}

.sp-cc__close svg,
.sp-nl__close svg,
.sp-pub__close svg,
.sp-dialog__close svg {
	display: block;
	width: 28px;
	height: 28px;
}

.sp-cc__close:hover,
.sp-cc__close:focus,
.sp-nl__close:hover,
.sp-nl__close:focus,
.sp-pub__close:hover,
.sp-pub__close:focus,
.sp-dialog__close:hover,
.sp-dialog__close:focus {
	background: none !important;
	color: #12233b !important;
	opacity: 0.6;
}

.sp-cc__close:focus:not(:focus-visible),
.sp-nl__close:focus:not(:focus-visible),
.sp-pub__close:focus:not(:focus-visible),
.sp-dialog__close:focus:not(:focus-visible) {
	opacity: 1;
}

.sp-cc__close:hover,
.sp-nl__close:hover,
.sp-pub__close:hover,
.sp-dialog__close:hover {
	opacity: 0.6;
}
