/* Shared geometry for the three legal pages. */
.terms-summary,
.privacy-summary,
.cookie-policy-summary {
	margin-top: 1.5rem !important;
}

.terms-content > section,
.privacy-content > section {
	counter-increment: legal-section;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	column-gap: 0.55rem;
}

.terms-content > section > span,
.privacy-content > section > span {
	grid-column: 1;
	grid-row: 1;
	align-self: baseline;
	margin: 0 !important;
	color: #183129;
	font-size: 0 !important;
	font-weight: 400;
	letter-spacing: normal;
	line-height: 1.02;
}

.terms-content,
.privacy-content {
	counter-reset: legal-section;
}

.terms-content > section > span::before,
.privacy-content > section > span::before {
	content: counter(legal-section) ".";
	font-family: "Times New Roman", Times, serif !important;
	font-size: clamp(2rem, 3vw, 3.15rem);
	font-variant-numeric: lining-nums tabular-nums !important;
	font-feature-settings: "lnum" 1, "tnum" 1 !important;
}

.legal-heading-number {
	display: inline-block;
	font-family: "Times New Roman", Times, serif !important;
	font-variant-numeric: lining-nums tabular-nums !important;
	font-feature-settings: "lnum" 1, "tnum" 1 !important;
	line-height: inherit;
}

.terms-content > section > span::after,
.privacy-content > section > span::after {
	content: none !important;
}

.terms-content > section > h2,
.privacy-content > section > h2 {
	grid-column: 2;
	grid-row: 1;
	align-self: baseline;
	max-width: none;
}

.terms-content > section > :not(span):not(h2),
.privacy-content > section > :not(span):not(h2) {
	grid-column: 1 / -1;
}

.terms-content > section.terms-final > span,
.privacy-content > section.privacy-final > span {
	color: #d7c58b;
}

@media (max-width: 620px) {
	.terms-content > section > span,
	.privacy-content > section > span {
		font-size: 0 !important;
	}

	.terms-content > section > span::before,
	.privacy-content > section > span::before {
		font-size: 2.15rem;
	}
}
