/* Extracted from lib.css — loaded conditionally via functions.php */

/* ── Legal / policy pages ────────────────────────────────────── */

.lib-legal-page {
	padding: 3rem 1.5rem 5rem;
}

.lib-legal-page h1 {
	font-family: var(--wp--preset--font-family--display) !important;
	font-size: clamp(1.75rem, 3.5vw, 2.5rem) !important;
	font-weight: 400 !important;
	color: var(--wp--preset--color--deep-navy) !important;
	letter-spacing: -0.02em;
	margin-bottom: 2rem !important;
	padding-bottom: 1rem;
	border-bottom: 2px solid var(--wp--preset--color--teal);
}

.lib-legal-page h2 {
	font-family: var(--wp--preset--font-family--display) !important;
	font-size: 1.4rem !important;
	font-weight: 500 !important;
	color: var(--wp--preset--color--primary) !important;
	margin-top: 2.5rem !important;
	margin-bottom: 0.75rem !important;
}

.lib-legal-page h3 {
	font-family: var(--wp--preset--font-family--body) !important;
	font-size: 1.1rem !important;
	font-weight: 600 !important;
	color: var(--wp--preset--color--primary) !important;
	margin-top: 2rem !important;
	margin-bottom: 0.5rem !important;
}

.lib-legal-page h4 {
	font-family: var(--wp--preset--font-family--body) !important;
	font-size: 1rem !important;
	font-weight: 600 !important;
	color: var(--wp--preset--color--mid-grey) !important;
	margin-top: 1.5rem !important;
	margin-bottom: 0.5rem !important;
}

.lib-legal-page p {
	font-size: 0.95rem !important;
	line-height: 1.75 !important;
	color: var(--wp--preset--color--primary) !important;
	margin-bottom: 1rem !important;
}

.lib-legal-page ul,
.lib-legal-page ol {
	font-size: 0.95rem !important;
	line-height: 1.75 !important;
	color: var(--wp--preset--color--primary) !important;
	padding-left: 1.5rem !important;
	margin-bottom: 1rem !important;
}

.lib-legal-page li {
	margin-bottom: 0.4rem;
}

.lib-legal-page a {
	color: var(--wp--preset--color--teal-dark) !important;
	text-decoration: underline;
}

.lib-legal-page a:hover {
	color: var(--wp--preset--color--teal) !important;
}
