/*
 * Legal page styles.
 *
 * Scoped to the source-owned Privacy Policy, Cookie Policy, and Terms of Use
 * pages so legal content can stay readable without changing service pages.
 */

.page-shell.rlg-legal-page {
	margin: 0;
	max-width: none;
	padding: 0;
	width: 100%;
}

.page-shell.rlg-legal-page .entry-content {
	margin: 0;
	max-width: none;
	padding: 0;
	width: 100%;
}

.page-shell.rlg-legal-page .entry-content > * {
	margin-block-end: 0;
	margin-block-start: 0;
	max-width: none;
	width: 100%;
}

.rlgc-legal-page {
	background: #fffaf3;
	color: #21170f;
	font-family: "DM Sans", "Inter", "Segoe UI", sans-serif;
}

.rlgc-legal-page * {
	box-sizing: border-box;
}

.rlgc-legal-page a {
	color: #9f4f25;
	font-weight: 800;
	text-decoration-line: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

.rlgc-legal-page a:hover,
.rlgc-legal-page a:focus-visible {
	color: #b55d2d;
}

.rlgc-legal-inner {
	margin: 0 auto;
	max-width: 1040px;
	width: calc(100% - 80px);
}

.rlgc-legal-hero {
	background: #070604;
	color: #fff6ea;
	padding: 96px 0 84px;
}

.rlgc-legal-hero .rlgc-legal-eyebrow {
	align-items: center;
	color: #ffe1cc;
	display: inline-flex;
	font-size: 14px;
	font-weight: 800;
	gap: 10px;
	letter-spacing: 0.1em;
	line-height: 1.25;
	margin: 0 0 16px;
	text-transform: uppercase;
}

.rlgc-legal-hero .rlgc-legal-eyebrow::before {
	background: #9f4f25;
	border-radius: 50%;
	content: "";
	display: block;
	flex: 0 0 auto;
	height: 8px;
	width: 8px;
}

.rlgc-legal-hero h1 {
	color: #fff6ea;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 56px;
	font-variant-numeric: lining-nums;
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.04;
	margin: 0;
	max-width: 820px;
}

.rlgc-legal-hero .rlgc-legal-intro {
	color: #e9ded1;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.62;
	margin: 20px 0 0;
	max-width: 760px;
}

.rlgc-legal-hero .rlgc-legal-updated {
	color: #ffe1cc;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.08em;
	line-height: 1.35;
	margin: 30px 0 0;
	text-transform: uppercase;
}

.rlgc-legal-section {
	padding: 54px 0;
}

.rlgc-legal-content {
	display: grid;
	gap: 18px;
}

.rlgc-legal-card {
	background: #fbf3e8;
	border: 1px solid #ead7be;
	border-radius: 8px;
	padding: 32px;
}

.rlgc-legal-card:nth-child(even) {
	background: #fffaf3;
}

.rlgc-legal-card h2 {
	color: #21170f;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 34px;
	font-variant-numeric: lining-nums;
	font-weight: 700;
	letter-spacing: -0.018em;
	line-height: 1.08;
	margin: 0;
	max-width: 720px;
}

.rlgc-legal-card p,
.rlgc-legal-card li {
	color: #5b4635;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.65;
}

.rlgc-legal-card p {
	margin: 16px 0 0;
	max-width: 820px;
}

.rlgc-legal-card ul {
	display: grid;
	gap: 10px;
	list-style: none;
	margin: 18px 0 0;
	padding: 0;
}

.rlgc-legal-card li {
	padding-left: 22px;
	position: relative;
}

.rlgc-legal-card li::before {
	background: #9f4f25;
	border-radius: 50%;
	content: "";
	height: 7px;
	left: 0;
	position: absolute;
	top: 12px;
	width: 7px;
}

@media (max-width: 900px) {
	.rlgc-legal-inner {
		width: calc(100% - 64px);
	}

	.rlgc-legal-hero {
		padding: 74px 0 68px;
	}

	.rlgc-legal-hero h1 {
		font-size: 48px;
	}
}

@media (max-width: 640px) {
	.rlgc-legal-inner {
		width: calc(100% - 40px);
	}

	.rlgc-legal-hero {
		padding: 58px 0 52px;
	}

	.rlgc-legal-hero h1 {
		font-size: 40px;
		line-height: 1.06;
	}

	.rlgc-legal-intro {
		font-size: 16px;
	}

	.rlgc-legal-section {
		padding: 38px 0;
	}

	.rlgc-legal-card {
		padding: 24px;
	}

	.rlgc-legal-card h2 {
		font-size: 30px;
	}

	.rlgc-legal-card p,
	.rlgc-legal-card li {
		font-size: 16px;
	}
}
