/*
 * Text page: .text-page (section) > .text-page__inner > .text-page__heading + .text-page__content.
 * Shared layout of the plain content pages (legal texts, cookies, FAQ, forms): centred heading, long rich text below.
 */

.text-page__inner {
	align-items: center;
	width: 100%;
}

/* Oxygen's title was a regular-weight div in the body colour; the bold part is a <b>. */
.text-page__title {
	color: inherit;
	font-weight: 400;
}

@media (min-width: 768px) {
	.text-page__title {
		line-height: 1.5;
	}
}

.text-page__content {
	width: 100%;
}

/*
 * Static rich text is sized by its content like Oxygen's rich text element (no width): it still fills the row,
 * but a wide table can push it past the container on phones, exactly as on the Oxygen site.
 */
.text-page__content--rich {
	width: auto;
}

/* --rich: static rich text (Oxygen rich-text element), which trimmed the edge margins of every first/last paragraph, nested ones (table cells) included; lists keep theirs. Shortcode output is not trimmed. */
.text-page__content--rich p:first-child {
	margin-top: 0;
}

.text-page__content--rich p:last-child {
	margin-bottom: 0;
}

/* A rich text block that follows another block (Oxygen gave it an xl top margin). */
.text-page__content--spaced {
	margin-top: var(--space-xl);
}

/* Rich text headings (base.css sets h2/h3 size, weight and colour). */
.text-page__content h3 strong {
	font-weight: 900;
}

