/*
 * LE Consent — cookie and privacy policy pages.
 *
 * A self-contained, readable layout that works inside any theme: it keeps
 * the theme's font and link colour but sets its own width, spacing and
 * type scale. Selectors are doubled (.le-consent-policy.le-consent-policy)
 * so page-builder global styles for headings and lists don't override them.
 */

.le-consent-policy.le-consent-policy {
	--lcp-text: currentColor;
	--lcp-muted: color-mix(in srgb, currentColor 68%, transparent);
	--lcp-line: color-mix(in srgb, currentColor 14%, transparent);
	--lcp-soft: color-mix(in srgb, currentColor 5%, transparent);
	box-sizing: border-box;
	max-width: 820px;
	margin: 0 auto;
	padding: clamp(24px, 5vw, 56px) clamp(16px, 4vw, 24px) clamp(48px, 8vw, 96px);
	font-size: 16px;
	line-height: 1.7;
	text-align: left;
}

.le-consent-policy.le-consent-policy *,
.le-consent-policy.le-consent-policy *::before,
.le-consent-policy.le-consent-policy *::after {
	box-sizing: border-box;
}

/* Last updated pill */
.le-consent-policy.le-consent-policy .le-consent-policy__updated {
	display: inline-block;
	margin: 0 0 28px;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--lcp-soft);
	font-size: 13px;
	line-height: 1.4;
	color: var(--lcp-muted);
}

.le-consent-policy.le-consent-policy .le-consent-policy__updated em {
	font-style: normal;
}

/* Type scale */
.le-consent-policy.le-consent-policy h2 {
	margin: 48px 0 14px;
	padding: 0 0 10px;
	border-bottom: 1px solid var(--lcp-line);
	font-size: clamp(22px, 2.6vw, 28px);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.01em;
	text-transform: none;
}

.le-consent-policy.le-consent-policy h2:first-of-type {
	margin-top: 8px;
}

.le-consent-policy.le-consent-policy h3 {
	margin: 32px 0 10px;
	padding: 0;
	font-size: clamp(18px, 2vw, 20px);
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: normal;
	text-transform: none;
}

.le-consent-policy.le-consent-policy p {
	margin: 0 0 16px;
	font-size: 16px;
	line-height: 1.7;
}

.le-consent-policy.le-consent-policy ul {
	margin: 0 0 20px;
	padding: 0 0 0 1.3em;
	list-style: disc;
}

.le-consent-policy.le-consent-policy li {
	margin: 0 0 8px;
	padding: 0;
	font-size: 16px;
	line-height: 1.6;
}

.le-consent-policy.le-consent-policy li::marker {
	color: var(--lcp-muted);
}

.le-consent-policy.le-consent-policy strong {
	font-weight: 700;
}

.le-consent-policy.le-consent-policy a {
	font-size: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
	overflow-wrap: anywhere;
}

/* Cookie tables */
.le-consent-policy.le-consent-policy .le-consent-table-wrap {
	margin: 12px 0 28px;
	border: 1px solid var(--lcp-line);
	border-radius: 12px;
	overflow-x: auto;
}

.le-consent-policy.le-consent-policy table.le-consent-table {
	width: 100%;
	min-width: 560px;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	font-size: 14px;
	line-height: 1.5;
	table-layout: auto;
}

.le-consent-policy.le-consent-policy table.le-consent-table th,
.le-consent-policy.le-consent-policy table.le-consent-table td {
	padding: 12px 14px;
	border: 0;
	border-top: 1px solid var(--lcp-line);
	text-align: left;
	vertical-align: top;
	background: none;
}

.le-consent-policy.le-consent-policy table.le-consent-table thead th {
	border-top: 0;
	background: var(--lcp-soft);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--lcp-muted);
}

.le-consent-policy.le-consent-policy table.le-consent-table td:first-child {
	white-space: nowrap;
}

.le-consent-policy.le-consent-policy table.le-consent-table td:last-child {
	white-space: nowrap;
	color: var(--lcp-muted);
}

.le-consent-policy.le-consent-policy table.le-consent-table code {
	padding: 2px 6px;
	border-radius: 5px;
	background: var(--lcp-soft);
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 13px;
	color: inherit;
}

@media (max-width: 640px) {
	.le-consent-policy.le-consent-policy h2 {
		margin-top: 36px;
	}
}

/* [le_cookie_table] used on its own inside other content */
.le-consent-policy.le-consent-policy--table {
	max-width: none;
	margin: 0;
	padding: 0;
}
