/* Layout: Text */

.text--align-center .container {
	text-align: center;
}

.text--align-center .prose,
.text--align-center .section__title {
	margin-inline: auto;
}

.text--cols-2 .text__body {
	max-width: none;
}

@media (min-width: 720px) {
	.text--cols-2 .text__body {
		columns: 2;
		column-gap: var(--space-xl);
	}

	.text--cols-2 .text__body > :first-child {
		margin-top: 0;
	}
}

/*
 * Grey box: title and text inside one rounded card — the legal pages. The
 * reading measure still applies inside the box; the box itself takes the
 * container width.
 */
.text--card .text__inner {
	padding: clamp(var(--space-l), 2rem + 4vw, 5rem) clamp(var(--space-m), 1.5rem + 3vw, 4rem);
	background-color: var(--color-surface-strong);
	border-radius: var(--radius-l);
}

.text--card .text__title {
	font-size: var(--text-3xl);
}

.text--card .text__body {
	max-width: 72ch;
}
