/**
 * Leo Legal Policy frontend styles.
 * Elementor controls emit the editable values; these rules provide safe layout
 * and inheritance so rich-text children follow the selected responsive type.
 */

.leo-legal-policy,
.leo-legal-policy * {
	box-sizing: border-box;
}

.leo-legal-policy {
	--leo-legal-bullet-size: 22px;
	--leo-legal-bullet-dot-size: 6px;
	--leo-legal-bullet-gap: 12px;
	--leo-legal-bullet-background: #faf3df;
	--leo-legal-bullet-color: #c49623;
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

.leo-legal-policy__card {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	margin-inline: auto;
	padding: 56px 64px;
	border: 1px solid #e7e0d5;
	border-radius: 12px;
	background: #fff;
	overflow: hidden;
}

.leo-legal-policy__sections {
	display: flex;
	flex-direction: column;
	gap: 42px;
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

.leo-legal-policy__section,
.leo-legal-policy__body,
.leo-legal-policy__richtext {
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

.leo-legal-policy__heading {
	display: flex;
	align-items: baseline;
	gap: 8px;
	max-width: 100%;
	min-width: 0;
	margin: 0;
	padding: 0;
	color: #171936;
	font-family: "Playfair Display", Georgia, serif;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.35;
	overflow-wrap: anywhere;
}

.leo-legal-policy__number {
	flex: 0 0 auto;
}

.leo-legal-policy__title {
	min-width: 0;
}

.leo-legal-policy__divider {
	width: 100%;
	height: 1px;
	max-width: 100%;
	margin: 14px 0 20px;
	background: #d6a51f;
}

.leo-legal-policy__body {
	color: #596071;
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.72;
	letter-spacing: normal;
	overflow-wrap: anywhere;
}

.leo-legal-policy__richtext,
.leo-legal-policy__richtext p,
.leo-legal-policy__richtext ul,
.leo-legal-policy__richtext ol,
.leo-legal-policy__richtext li,
.leo-legal-policy__richtext a,
.leo-legal-policy__contact,
.leo-legal-policy__contact span,
.leo-legal-policy__contact a {
	font: inherit;
	letter-spacing: inherit;
}

.leo-legal-policy__richtext {
	color: inherit;
	overflow-wrap: anywhere;
}

.leo-legal-policy__richtext > *:first-child {
	margin-top: 0;
}

.leo-legal-policy__richtext > *:last-child,
.leo-legal-policy__richtext li:last-child {
	margin-bottom: 0;
}

.leo-legal-policy__richtext p {
	max-width: 100%;
	margin: 0 0 16px;
	overflow-wrap: anywhere;
}

.leo-legal-policy__richtext strong {
	color: #171936;
	font-family: inherit;
	font-size: inherit;
	font-weight: 700;
	line-height: inherit;
}

.leo-legal-policy__richtext em {
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
}

.leo-legal-policy__richtext ul,
.leo-legal-policy__richtext ol {
	max-width: 100%;
	margin: 16px 0;
}

.leo-legal-policy__richtext ul {
	padding-left: 0;
	list-style: none;
}

.leo-legal-policy__richtext ol {
	padding-left: 1.55em;
	list-style-position: outside;
}

.leo-legal-policy__richtext li {
	max-width: 100%;
	min-width: 0;
	margin: 0 0 12px;
	padding-left: .25em;
	overflow-wrap: anywhere;
}

.leo-legal-policy__richtext ul > li {
	position: relative;
	padding-left: calc(var(--leo-legal-bullet-size) + var(--leo-legal-bullet-gap));
}

.leo-legal-policy__richtext ul > li::before {
	position: absolute;
	top: max(0px, calc((1.72em - var(--leo-legal-bullet-size)) / 2));
	left: 0;
	width: var(--leo-legal-bullet-size);
	height: var(--leo-legal-bullet-size);
	border-radius: 50%;
	background: radial-gradient(circle at center, var(--leo-legal-bullet-color) 0 calc(var(--leo-legal-bullet-dot-size) / 2), transparent calc((var(--leo-legal-bullet-dot-size) / 2) + .5px)), var(--leo-legal-bullet-background);
	content: "";
}

.leo-legal-policy__richtext ol > li::marker {
	color: var(--leo-legal-bullet-color);
	font-weight: 700;
}

.leo-legal-policy__body a {
	max-width: 100%;
	color: #a77916;
	font-weight: 600;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.leo-legal-policy__body a:hover,
.leo-legal-policy__body a:focus-visible {
	color: #171936;
}

.leo-legal-policy__body a:focus-visible {
	outline: 3px solid rgba(196, 150, 35, .38);
	outline-offset: 3px;
}

.leo-legal-policy__related {
	margin: 18px 0 0;
}

.leo-legal-policy__contact {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 3px;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	margin: 20px 0 0;
	padding: 22px 24px;
	border: 1px solid #e7d9b5;
	border-radius: 8px;
	background: #fbf8f0;
	color: inherit;
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: 1.6;
	overflow-wrap: anywhere;
}

.leo-legal-policy__company {
	display: block;
	color: #171936;
	font: inherit;
	font-weight: 700;
}

@media (max-width: 1024px) {
	.leo-legal-policy__card {
		padding: 44px 40px;
	}

	.leo-legal-policy__sections {
		gap: 36px;
	}

	.leo-legal-policy__heading {
		font-size: 16px;
	}

	.leo-legal-policy__body,
	.leo-legal-policy__contact {
		font-size: 13px;
	}
}

@media (max-width: 767px) {
	.leo-legal-policy {
		--leo-legal-bullet-size: 20px;
		--leo-legal-bullet-dot-size: 5.5px;
		--leo-legal-bullet-gap: 10px;
	}

	.leo-legal-policy__card {
		padding: 30px 22px;
		border-radius: 8px;
	}

	.leo-legal-policy__sections {
		gap: 30px;
	}

	.leo-legal-policy__heading {
		font-size: 14px;
	}

	.leo-legal-policy__divider {
		margin-top: 11px;
		margin-bottom: 16px;
	}

	.leo-legal-policy__body,
	.leo-legal-policy__contact {
		font-size: 12px;
	}

	.leo-legal-policy__contact {
		padding: 18px;
	}
}

@media (max-width: 359px) {
	.leo-legal-policy__card {
		padding-right: 16px;
		padding-left: 16px;
	}
}
