/* Swimo — Legal document (single CPT)
   ================================================================ */

/* ================================================================
   LEGAL DOCUMENT HERO
   ================================================================ */

.legal-document-hero {
	background-color: var(--color-slate-blue-bg);
	padding: 7rem 1.5rem 2rem;
}

.legal-document-hero__inner {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	max-width: 75rem;
	margin: 0 auto;
}

.legal-document-hero__back {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	color: var(--color-licorice);
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.legal-document-hero__back:hover,
.legal-document-hero__back:focus-visible {
	opacity: 0.75;
	outline: none;
}

.legal-document-hero__back-icon {
	width: 1.5rem;
	height: 1.5rem;
	display: block;
	filter: brightness(0);
}

.legal-document-hero__title {
	font-family: 'LT Wave', serif;
	font-weight: 700;
	font-size: var(--font-size-lg);
	line-height: 1.2;
	color: var(--color-licorice);
	margin: 0;
}

@media (min-width: 64rem) {
	.legal-document-hero {
		padding: 11.5rem 7.5rem 3rem;
	}

	.legal-document-hero__inner {
		gap: 1.5rem;
	}

	.legal-document-hero__back-icon {
		width: 2.5rem;
		height: 2.5rem;
	}

	.legal-document-hero__title {
		font-size: var(--font-size-3xl);
	}
}

/* ================================================================
   LEGAL DOCUMENT CONTENT
   ================================================================ */

.legal-document {
	padding: 2rem 1.5rem 4rem;
}

.legal-document__inner {
	max-width: 48rem;
	margin: 0 auto;
}

.legal-document__body {
	font-family: 'Haskoy', sans-serif;
	font-weight: 400;
	font-size: var(--font-size-base);
	line-height: 1.5;
	color: var(--color-licorice);
}

.legal-document__body p {
	margin: 0 0 1em;
}

.legal-document__body h2,
.legal-document__body h3,
.legal-document__body h4 {
	font-family: 'LT Wave', serif;
	font-weight: 700;
	color: var(--color-licorice);
	margin: 1.5em 0 0.75em;
}

.legal-document__body h2 {
	font-size: var(--font-size-2xl);
	line-height: 1.3;
}

.legal-document__body h3 {
	font-size: var(--font-size-xl);
	line-height: 1.3;
}

.legal-document__body h4 {
	font-size: var(--font-size-lg);
	line-height: 1.3;
}

.legal-document__body ul,
.legal-document__body ol {
	margin: 0 0 1em 1.25em;
	padding: 0;
}

.legal-document__body li {
	margin-bottom: 0.5em;
}

.legal-document__body a {
	color: var(--color-cornell-red);
	text-decoration: underline;
	text-underline-offset: 0.15em;
	transition: opacity 0.2s ease;
}

.legal-document__body a:hover,
.legal-document__body a:focus-visible {
	opacity: 0.85;
}

.legal-document__body strong,
.legal-document__body b {
	font-weight: 700;
}

@media (min-width: 64rem) {
	.legal-document {
		padding: 3rem 7.5rem 6rem;
	}

	.legal-document__body {
		font-size: var(--font-size-lg);
	}

	.legal-document__body h2 {
		font-size: 3rem;
	}

	.legal-document__body h3 {
		font-size: var(--font-size-3xl);
	}

	.legal-document__body h4 {
		font-size: var(--font-size-2xl);
	}
}
