/* LO Quiz teaser popup. */
.lo-quiz-teaser {
	--lq-font-heading: Georgia, 'Times New Roman', serif;
	--lq-font-body: 'Helvetica Neue', Arial, sans-serif;
	--lq-text: #122E44;
	--lq-accent: #C4B19D;
	--lq-panel: rgba(246, 243, 245, 0.96);
	--lq-background-image: none;
	position: fixed;
	inset: 0;
	z-index: 99990;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	opacity: 0;
	transition: opacity 0.2s ease;
	font-family: var(--lq-font-body);
	color: var(--lq-text);
}
.lo-quiz-teaser[hidden] { display: none; }
.lo-quiz-teaser.is-open { opacity: 1; }
.lo-quiz-teaser *, .lo-quiz-teaser *::before, .lo-quiz-teaser *::after { box-sizing: border-box; }
.lo-quiz-teaser__backdrop { position: absolute; inset: 0; background: rgba(18, 46, 68, 0.45); }
.lo-quiz-teaser__card {
	position: relative;
	width: 100%;
	max-width: 460px;
	overflow: hidden;
	border-radius: 12px;
	background: #F6F3F5;
	box-shadow: 0 18px 48px rgba(18, 46, 68, 0.25);
	transform: translateY(12px);
	transition: transform 0.2s ease;
}
.lo-quiz-teaser.is-open .lo-quiz-teaser__card { transform: none; }
.lo-quiz-teaser__card:focus { outline: none; }
.lo-quiz-teaser__art {
	height: 96px;
	background-color: #E8E7E1;
	background-image: var(--lq-background-image);
	background-size: cover;
	background-position: center;
}
.lo-quiz-teaser__body { padding: 24px 28px 26px; text-align: center; background: var(--lq-panel); }
.lo-quiz-teaser .lo-quiz-teaser__eyebrow { margin: 0 0 6px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.7; color: var(--lq-text); }
.lo-quiz-teaser .lo-quiz-teaser__title {
	margin: 0 0 10px;
	font-family: var(--lq-font-heading);
	font-size: 28px;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: normal;
	text-transform: none;
	text-wrap: balance;
	color: var(--lq-text);
}
.lo-quiz-teaser .lo-quiz-teaser__text { margin: 0 0 20px; font-size: 16px; line-height: 1.55; color: var(--lq-text); }
.lo-quiz-teaser .lo-quiz-teaser__actions { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 0; }
.lo-quiz-teaser .lo-quiz-teaser__cta {
	display: inline-block;
	padding: 13px 30px;
	border-radius: 8px;
	background: var(--lq-accent);
	color: #000;
	font-family: var(--lq-font-body);
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
}
.lo-quiz-teaser .lo-quiz-teaser__cta:hover { filter: brightness(0.95); color: #000; }
.lo-quiz-teaser .lo-quiz-teaser__cta:focus-visible,
.lo-quiz-teaser button:focus-visible { outline: 2px solid var(--lq-text); outline-offset: 2px; }
.lo-quiz-teaser .lo-quiz-teaser__later {
	padding: 6px 10px;
	border: 0;
	background: none;
	color: var(--lq-text);
	font-family: var(--lq-font-body);
	font-size: 14px;
	text-decoration: underline;
	text-transform: none;
	letter-spacing: normal;
	cursor: pointer;
	opacity: 0.8;
}
.lo-quiz-teaser .lo-quiz-teaser__x {
	position: absolute;
	top: 8px;
	right: 10px;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(246, 243, 245, 0.85);
	color: var(--lq-text);
	font-size: 24px;
	line-height: 36px;
	cursor: pointer;
}
.lo-quiz-teaser a, .lo-quiz-teaser button { -webkit-tap-highlight-color: transparent; }
/* Pin button states over theme focus/hover colours (see lo-quiz.css). */
.lo-quiz-teaser .lo-quiz-teaser__cta:is(:hover, :focus, :active) { background-color: var(--lq-accent); color: #000; text-decoration: none; }
.lo-quiz-teaser .lo-quiz-teaser__later:is(:hover, :focus, :active) { background: none; color: var(--lq-text); }
.lo-quiz-teaser .lo-quiz-teaser__x:is(:hover, :focus, :active) { background: rgba(246, 243, 245, 0.85); color: var(--lq-text); }
html.lo-quiz-teaser-open { overflow: hidden; }
@media (max-width: 480px) {
	.lo-quiz-teaser { align-items: flex-end; padding: 0; }
	.lo-quiz-teaser__card { max-width: none; border-radius: 14px 14px 0 0; }
	.lo-quiz-teaser .lo-quiz-teaser__title { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
	.lo-quiz-teaser, .lo-quiz-teaser__card { transition: none; }
}
