/**
 * Legal pages (terms of use, privacy).
 */

body.lm-surface-legal-page {
	--lm-content-max: 1440px;
	--lm-page-padding-x: 40px;
	--lm-page-padding-y: 0;
	--lm-surface-tag-radius: 6px;
	--lm-legal-text: #2d3436;
	--lm-legal-muted: #626b6d;
	--lm-legal-border: #d8dee6;
}

@media (max-width: 1120px) {
	body.lm-surface-legal-page {
		--lm-page-padding-x: 20px;
	}
}

@media (max-width: 767px) {
	body.lm-surface-legal-page {
		--lm-page-padding-x: 16px;
	}
}

body.lm-surface-legal-page #primary,
body.lm-surface-legal-page .site-content,
body.lm-surface-legal-page .content-area,
body.lm-surface-legal-page .elementor-location-single {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.lm-legal-page.lm-surface-page-shell {
	width: 100% !important;
	max-width: var(--lm-content-max, 1440px) !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: var(--lm-page-padding-x, 40px) !important;
	padding-right: var(--lm-page-padding-x, 40px) !important;
	padding-top: clamp(2.5rem, 5vw, 4rem) !important;
	padding-bottom: clamp(3rem, 6vw, 5rem) !important;
	box-sizing: border-box !important;
}

.lm-legal-hero {
	max-width: 42rem;
	margin: 0 0 clamp(2rem, 4vw, 3rem);
	padding-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
	border-bottom: 1px solid var(--lm-legal-border, #d8dee6);
}

.lm-legal-hero .lm-surface-section-eyebrow {
	margin: 0 0 0.55rem;
}

.lm-legal-hero__title {
	margin: 0 0 0.85rem !important;
	font-family: "Bricolage Grotesque", "Work Sans", Arial, sans-serif;
	font-size: clamp(1.75rem, 3.2vw, 2.35rem) !important;
	line-height: 1.2 !important;
	font-weight: 500 !important;
	color: var(--lm-navy, #002a3a) !important;
}

.lm-legal-hero__lead {
	margin: 0 0 0.85rem !important;
	font-size: 1rem;
	line-height: 1.6;
	color: var(--lm-legal-text, #2d3436);
}

.lm-legal-hero__meta {
	margin: 0 !important;
	font-size: 0.875rem;
	line-height: 1.45;
}

.lm-legal-body {
	max-width: 42rem;
	display: flex;
	flex-direction: column;
	gap: clamp(1.75rem, 3vw, 2.35rem);
}

.lm-legal-section__title {
	margin: 0 0 0.75rem !important;
	font-family: "Bricolage Grotesque", "Work Sans", Arial, sans-serif;
	font-size: clamp(1.125rem, 1.8vw, 1.3125rem) !important;
	line-height: 1.3 !important;
	font-weight: 500 !important;
	color: var(--lm-navy, #002a3a) !important;
}

.lm-legal-section__text {
	margin: 0 0 0.75rem !important;
	font-size: 0.9375rem;
	line-height: 1.65;
	color: var(--lm-legal-muted, #626b6d);
	overflow-wrap: break-word;
	word-break: normal;
	hyphens: none;
}

.lm-legal-nowrap {
	white-space: nowrap;
}

.lm-legal-section__text:last-child {
	margin-bottom: 0 !important;
}

.lm-legal-section__links {
	margin: 0.35rem 0 0 !important;
	font-size: 0.9375rem;
	line-height: 1.55;
}

.lm-legal-section__link {
	color: var(--lm-navy, #002a3a);
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.lm-legal-section__link:hover,
.lm-legal-section__link:focus-visible {
	color: var(--lm-navy-deep, #001e2a);
}

.lm-legal-section__sep {
	color: var(--lm-legal-muted, #626b6d);
}
