/* Newsletter popup (ORGO-1864). Colours from the design reference: panel #0B3053 (@highlight), button #8295B3. */

.iglu-nl {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 99999;
	padding: 24px;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	background: rgba(66, 60, 58, 0.75);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}

.iglu-nl.open_form {
	display: flex;
	align-items: center;
	justify-content: center;
}

.iglu-nl__dialog {
	position: relative;
	width: 100%;
	max-width: 640px;
	margin: auto;
	background: #0B3053;
	color: #fff;
	text-align: center;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
	animation: igluNlIn 0.35s ease-out;
}

@keyframes igluNlIn {
	from { opacity: 0; transform: translateY(16px) scale(0.98); }
	to { opacity: 1; transform: none; }
}

.iglu-nl__close {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(11, 48, 83, 0.65);
	color: #fff;
	cursor: pointer;
	transition: background 0.2s;
}

.iglu-nl__close:hover {
	background: rgba(11, 48, 83, 0.9);
}

.iglu-nl__close svg {
	width: 18px;
	height: 18px;
}

.iglu-nl__media {
	aspect-ratio: 640 / 390;
	overflow: hidden;
	background: #0B3053;
}

.iglu-nl__image {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

.iglu-nl__body {
	padding: 44px 56px 52px;
}

.iglu-nl .iglu-nl__title {
	margin: 0 0 10px;
	font-family: garamond-premier-pro, Georgia, serif;
	font-size: clamp(26px, 5vw, 38px);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: none;
	color: #fff;
}

.iglu-nl .iglu-nl__title:focus {
	outline: none;
}

.iglu-nl .iglu-nl__subtitle {
	margin: 0 0 18px;
	font-family: garamond-premier-pro, Georgia, serif;
	font-size: clamp(21px, 3.8vw, 28px);
	line-height: 1.3;
	color: #fff;
}

.iglu-nl .iglu-nl__text {
	max-width: 470px;
	margin: 0 auto 28px;
	font-family: garamond-premier-pro, Georgia, serif;
	font-size: 20px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.92);
}

.iglu-nl__form {
	max-width: 400px;
	margin: 0 auto;
	text-align: left;
}

.iglu-nl__field {
	margin-bottom: 14px;
}

.iglu-nl .iglu-nl__input {
	display: block;
	width: 100%;
	height: 52px;
	padding: 0 24px;
	border: 1px solid rgba(255, 255, 255, 0.45);
	border-radius: 0;
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
	font-family: gill-sans-nova, sans-serif;
	font-size: 16px;
	box-sizing: border-box;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.iglu-nl .iglu-nl__input::placeholder {
	color: rgba(255, 255, 255, 0.7);
	opacity: 1;
}

.iglu-nl .iglu-nl__input:focus {
	border-color: #fff;
	box-shadow: 0 0 0 3px rgba(130, 149, 179, 0.55);
}

.iglu-nl .iglu-nl__input[aria-invalid="true"] {
	border-color: #ffb4ab;
}

/* Keeps autofill from turning the field yellow/white. */
.iglu-nl .iglu-nl__input:-webkit-autofill {
	-webkit-text-fill-color: #fff;
	-webkit-box-shadow: 0 0 0 1000px #1d3f62 inset;
	caret-color: #fff;
}

.iglu-nl__field--consent {
	margin: 18px 0 24px;
}

.iglu-nl__consent {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-family: gill-sans-nova, sans-serif;
	font-size: 16px;
	line-height: 1.4;
	color: #fff;
	cursor: pointer;
}

.iglu-nl__consent input {
	position: absolute;
	width: 22px;
	height: 22px;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

.iglu-nl__checkbox {
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
	border: 1px solid rgba(255, 255, 255, 0.7);
	border-radius: 0;
	transition: background 0.2s, border-color 0.2s;
}

.iglu-nl__consent input:checked + .iglu-nl__checkbox {
	border-color: #8295B3;
	background: #8295B3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6 11.5l3.5 3.5L16 8' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") center / 22px no-repeat;
}

.iglu-nl__consent input:focus-visible + .iglu-nl__checkbox {
	box-shadow: 0 0 0 3px rgba(130, 149, 179, 0.7);
}

.iglu-nl__consent input[aria-invalid="true"] + .iglu-nl__checkbox {
	border-color: #ffb4ab;
}

.iglu-nl__consent a {
	display: inline;
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.iglu-nl__consent a:hover {
	color: #bdc6d9;
	text-decoration: underline;
}

.iglu-nl .iglu-nl__button {
	display: block;
	min-width: 260px;
	height: 56px;
	margin: 0 auto;
	padding: 0 40px;
	border: 0;
	border-radius: 28px;
	background: #8295B3;
	color: #fff;
	font-family: gill-sans-nova, sans-serif;
	font-size: 15px;
	letter-spacing: 2.5px;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.2s;
}

.iglu-nl .iglu-nl__button:hover {
	background: #93a5c2;
}

.iglu-nl .iglu-nl__button:focus-visible,
.iglu-nl__close:focus-visible,
.iglu-nl__consent a:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

.iglu-nl .iglu-nl__button:disabled {
	opacity: 0.7;
	cursor: wait;
}

.iglu-nl .iglu-nl__error {
	margin: 6px 0 0 24px;
	font-family: gill-sans-nova, sans-serif;
	font-size: 14px;
	line-height: 1.4;
	color: #ffb4ab;
}

.iglu-nl .iglu-nl__error:empty {
	display: none;
}

.iglu-nl .iglu-nl__error--form {
	margin: 14px 0 0;
	text-align: center;
}

.iglu-nl__field--consent .iglu-nl__error {
	margin-left: 34px;
}

.iglu-nl__view[data-nl-view="message"] .iglu-nl__text {
	margin-bottom: 32px;
}

.iglu-nl__view[hidden] {
	display: none;
}

.iglu-nl__sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.iglu-nl__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

@media (max-width: 600px) {
	.iglu-nl {
		padding: 0;
	}

	.iglu-nl.open_form {
		align-items: flex-start;
	}

	.iglu-nl__dialog {
		min-height: 100%;
		max-width: none;
		box-shadow: none;
	}

	.iglu-nl__media {
		aspect-ratio: 16 / 10;
	}

	.iglu-nl__body {
		padding: 30px 20px 40px;
	}

	.iglu-nl .iglu-nl__text {
		font-size: 18px;
		margin-bottom: 24px;
	}

	.iglu-nl .iglu-nl__button {
		width: 100%;
		min-width: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.iglu-nl__dialog {
		animation: none;
	}
}
