/* Probiotic Match Quiz landing page — the canvas only; the card itself is
   styled by probiotic-quiz.css, which this page also loads. */

.pq-page {
	background: #f4f6f9;
	padding: 48px 20px 72px;
}

/* Editor content under the quiz, matched to the card's measure. */
.pq-page__content {
	width: 100%;
	max-width: 720px;
	margin: 48px auto 0;
	color: #0e2c47;
}
.pq-page__content:empty {
	display: none;
}

@media (min-width: 1200px) {
	.pq-page {
		padding: 64px 40px 96px;
	}
	.pq-page__content {
		max-width: 960px;
	}
}

@media (max-width: 600px) {
	.pq-page {
		padding: 20px 12px 40px;
	}
	.pq-page__content {
		margin-top: 32px;
	}
}

/* The sticky header would otherwise cover a link focused from below
   (WCAG 2.2 SC 2.4.11). */
.pq-page :where(a, button, input, [tabindex]) {
	scroll-margin-top: 200px;
}
@media (max-width: 991.98px) {
	.pq-page :where(a, button, input, [tabindex]) {
		scroll-margin-top: 150px;
	}
}
