/**
 * Ubris Builder WP
 *
 * @author     Complianz System
 * @copyright  2025-2026 Complianz System
 * @license    GPL-2.0-or-later
 * @link       https://ubris-wordpress.fr/
 * @link       https://github.com/pierrecodeur/cursorwordpress
 */

.wpcursor-component.wpcursor-mentions-legales {
	--wpc-ml-pad: max(1.15rem, env(safe-area-inset-left), env(safe-area-inset-right));
	--wpc-ml-ink: #0f172a;
	--wpc-ml-muted: #64748b;
	--wpc-ml-accent: #2563eb;
	--wpc-ml-line: #e2e8f0;
	--wpc-ml-bg: #f1f5f9;
	--wpc-ml-card: #ffffff;
	background: var(--wpc-ml-bg);
	color: var(--wpc-ml-ink);
	font-family: var(--wpcursor-font-body, "Poppins", system-ui, sans-serif);
	padding: 2.75rem 0 4rem;
	width: 100%;
}

@media (min-width: 900px) {
	.wpcursor-component.wpcursor-mentions-legales {
		--wpc-ml-pad: clamp(1.5rem, 4vw, 3.5rem);
		padding: 3.5rem 0 5rem;
	}
}

.wpcursor-mentions-legales__inner {
	margin: 0 auto;
	max-width: 46rem;
	padding: 0 var(--wpc-ml-pad);
	width: 100%;
}

.wpcursor-mentions-legales__head {
	margin-bottom: 1.75rem;
	text-align: center;
}

.wpcursor-mentions-legales__eyebrow {
	color: var(--wpc-ml-accent);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	margin: 0 0 0.65rem;
	text-transform: uppercase;
}

.wpcursor-mentions-legales__title {
	color: var(--wpc-ml-ink);
	font-family: var(--wpcursor-font-title, "Poppins", system-ui, sans-serif);
	font-size: clamp(1.85rem, 4vw, 2.35rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.15;
	margin: 0 0 0.85rem;
}

.wpcursor-mentions-legales__intro {
	color: var(--wpc-ml-muted);
	font-size: 0.98rem;
	line-height: 1.65;
	margin: 0 auto;
	max-width: 38rem;
}

.wpcursor-mentions-legales__card {
	background: var(--wpc-ml-card);
	border: 1px solid rgb(15 23 42 / 0.06);
	border-radius: 1.15rem;
	box-shadow: 0 18px 40px rgb(15 23 42 / 0.06);
	overflow: hidden;
	padding: 1.5rem 1.25rem 1.35rem;
}

@media (min-width: 700px) {
	.wpcursor-mentions-legales__card {
		padding: 2rem 2.15rem 1.65rem;
	}
}

.wpcursor-mentions-legales__block {
	padding: 0 0 1.55rem;
}

.wpcursor-mentions-legales__block + .wpcursor-mentions-legales__block {
	border-top: 1px solid var(--wpc-ml-line);
	padding-top: 1.55rem;
}

.wpcursor-mentions-legales__heading {
	color: var(--wpc-ml-ink);
	font-size: 1.125rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.3;
	margin: 0 0 0.55rem;
}

.wpcursor-mentions-legales__lead {
	color: var(--wpc-ml-muted);
	font-size: 0.95rem;
	line-height: 1.6;
	margin: 0 0 1rem;
}

.wpcursor-mentions-legales__rows {
	display: grid;
	gap: 0.7rem;
	margin: 0;
}

.wpcursor-mentions-legales__row {
	display: grid;
	gap: 0.2rem 1.25rem;
	grid-template-columns: 1fr;
}

@media (min-width: 640px) {
	.wpcursor-mentions-legales__row {
		grid-template-columns: minmax(9.5rem, 12.5rem) 1fr;
	}
}

.wpcursor-mentions-legales__row dt {
	color: var(--wpc-ml-muted);
	font-size: 0.875rem;
	font-weight: 500;
	margin: 0;
}

.wpcursor-mentions-legales__row dd {
	color: var(--wpc-ml-ink);
	font-size: 0.95rem;
	font-weight: 500;
	line-height: 1.5;
	margin: 0;
}

.wpcursor-mentions-legales__row a,
.wpcursor-mentions-legales__foot a {
	color: var(--wpc-ml-accent);
	text-decoration: none;
}

.wpcursor-mentions-legales__row a:hover,
.wpcursor-mentions-legales__row a:focus-visible,
.wpcursor-mentions-legales__foot a:hover,
.wpcursor-mentions-legales__foot a:focus-visible {
	text-decoration: underline;
}

.wpcursor-mentions-legales__note {
	color: var(--wpc-ml-muted);
	font-size: 0.9rem;
	line-height: 1.55;
	margin: 1rem 0 0;
}

.wpcursor-mentions-legales__foot {
	border-top: 1px solid var(--wpc-ml-line);
	margin-top: 0.15rem;
	padding-top: 1.25rem;
}

.wpcursor-mentions-legales__foot p {
	color: var(--wpc-ml-muted);
	font-size: 0.92rem;
	line-height: 1.55;
	margin: 0;
}

/* Masque le titre thème Astra sur cette page. */
body.page-id-88 .entry-header,
body.page-slug-mentions-legales .entry-header {
	display: none !important;
}

.entry-content > .wpcursor-component.wpcursor-mentions-legales {
	margin-inline: calc(50% - 50vw);
	max-width: 100vw;
	width: 100vw;
}

body.page-id-88 #content,
body.page-id-88 #primary,
body.page-id-88 .site-main,
body.page-id-88 .site-content,
body.page-id-88 .ast-article-single,
body.page-id-88 .entry-content {
	margin-top: 0;
	max-width: none;
	padding-top: 0;
}
