/*
 * Legal notice page.
 * Scoped to page-id-7226 so the layout does not affect other WordPress pages.
 */

body.page-id-7226 {
	--pde-legal-bg: #f4f7f9;
	--pde-legal-surface: #ffffff;
	--pde-legal-ink: #142433;
	--pde-legal-muted: #526475;
	--pde-legal-border: #dbe6ee;
	--pde-legal-accent: #0f8db3;
	--pde-legal-accent-soft: #e7f6fa;
	--pde-legal-support: #f5b84b;
	--pde-legal-shadow: 0 10px 28px rgba(20, 36, 51, 0.08);
	background: var(--pde-legal-bg);
}

body.page-id-7226 .cm-content,
body.page-id-7226 #cm-content,
body.page-id-7226 .site-content {
	background: var(--pde-legal-bg);
}

body.page-id-7226 #cm-content,
body.page-id-7226 .cm-content,
body.page-id-7226 .site-content,
body.page-id-7226 #cm-content > .cm-container,
body.page-id-7226 .cm-content > .cm-container,
body.page-id-7226 .site-content > .cm-container,
body.page-id-7226 .cm-row,
body.page-id-7226 #cm-primary,
body.page-id-7226 .cm-primary {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

body.page-id-7226 .cm-primary,
body.page-id-7226 .cm-posts,
body.page-id-7226 article.page,
body.page-id-7226 .cm-post-content,
body.page-id-7226 .cm-entry-content,
body.page-id-7226 .entry-content {
	min-width: 0;
}

body.page-id-7226 .cm-container,
body.page-id-7226 .cm-row,
body.page-id-7226 .cm-primary {
	box-sizing: border-box;
	width: 100% !important;
	max-width: none !important;
	padding-right: 0 !important;
	padding-left: 0 !important;
}

body.page-id-7226 .cm-row {
	justify-content: center;
}

body.page-id-7226 article.page {
	width: min(100%, 1040px) !important;
	margin: 30px auto 48px !important;
	padding: 0 16px !important;
}

body.page-id-7226 .cm-posts,
body.page-id-7226 .cm-post-content {
	display: block !important;
	gap: 0 !important;
	row-gap: 0 !important;
	overflow: hidden;
	box-sizing: border-box;
	width: min(calc(100% - 24px), 980px) !important;
	margin: 0 auto 36px !important;
	padding-bottom: 22px;
	background: var(--pde-legal-surface);
	box-shadow: var(--pde-legal-shadow);
}

body.page-id-7226 .cm-posts::before {
	content: "Mentions légales";
	display: block;
	padding: 26px clamp(18px, 4vw, 44px) 10px;
	color: var(--pde-legal-ink);
	font-size: clamp(1.8rem, 3.8vw, 2.7rem);
	font-weight: 850;
	line-height: 1.08;
	letter-spacing: 0;
}

body.page-id-7226 .cm-posts::after {
	content: "";
	display: block;
	width: 74px;
	height: 4px;
	margin: -2px 0 16px clamp(18px, 4vw, 44px);
	border-radius: 999px;
	background: var(--pde-legal-accent);
	box-shadow: 84px 0 0 var(--pde-legal-support);
}

body.page-id-7226 .cm-entry-title {
	margin: 0;
	padding: 26px clamp(18px, 4vw, 44px) 10px;
	color: var(--pde-legal-ink);
	font-size: clamp(1.8rem, 3.8vw, 2.7rem);
	line-height: 1.05;
	letter-spacing: 0;
}

body.page-id-7226 .cm-entry-title::after {
	content: "";
	display: block;
	width: 74px;
	height: 4px;
	margin-top: 14px;
	border-radius: 999px;
	background: var(--pde-legal-accent);
	box-shadow: 84px 0 0 var(--pde-legal-support);
}

body.page-id-7226 :is(.cm-entry-content, .entry-content, .wp-block-post-content) {
	display: grid;
	gap: 0;
	max-width: 100%;
	padding: 0 clamp(18px, 4vw, 44px) 24px !important;
	color: var(--pde-legal-muted);
	font-size: 1.05rem;
	line-height: 1.65;
	overflow-wrap: anywhere;
	word-break: normal;
}

body.page-id-7226 .cm-post-content > :not(.cm-entry-title),
body.page-id-7226 .cm-posts > :not(style),
body.page-id-7226 :is(.cm-entry-content, .entry-content, .wp-block-post-content) > * {
	box-sizing: border-box;
	max-width: 100%;
	margin-right: 0;
	margin-left: 0;
	overflow-wrap: anywhere;
}

body.page-id-7226 .cm-posts > p,
body.page-id-7226 .cm-post-content > p,
body.page-id-7226 .entry-content p {
	margin: 0 0 8px !important;
	padding-right: clamp(18px, 4vw, 44px) !important;
	padding-left: clamp(18px, 4vw, 44px) !important;
	color: var(--pde-legal-muted);
	font-size: 1.05rem;
	line-height: 1.65;
}

body.page-id-7226 .cm-posts > p:has(> strong:only-child),
body.page-id-7226 .cm-post-content > p:has(> strong:only-child),
body.page-id-7226 .entry-content p:has(> strong:only-child) {
	margin: 20px 0 8px !important;
	padding: 8px 12px !important;
	border-left: 4px solid var(--pde-legal-accent);
	background: var(--pde-legal-accent-soft);
	color: var(--pde-legal-ink);
	font-size: clamp(1.05rem, 1.6vw, 1.22rem);
	line-height: 1.3;
}

body.page-id-7226 .cm-posts > p:has(> strong:only-child),
body.page-id-7226 .cm-post-content > p:has(> strong:only-child) {
	margin-right: clamp(18px, 4vw, 44px) !important;
	margin-left: clamp(18px, 4vw, 44px) !important;
}

body.page-id-7226 .cm-posts > p:has(> strong:only-child):first-of-type,
body.page-id-7226 .cm-post-content > p:has(> strong:only-child):first-of-type,
body.page-id-7226 .entry-content p:has(> strong:only-child):first-child {
	margin-top: 0 !important;
}

body.page-id-7226 .cm-posts > p:has(> strong:only-child) strong,
body.page-id-7226 .cm-post-content > p:has(> strong:only-child) strong,
body.page-id-7226 .entry-content p:has(> strong:only-child) strong {
	font-weight: 800;
}

body.page-id-7226 .cm-posts a,
body.page-id-7226 .cm-post-content a,
body.page-id-7226 .entry-content a {
	color: #0b789b;
	font-weight: 700;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.18em;
}

body.page-id-7226 .cm-posts a:hover,
body.page-id-7226 .cm-posts a:focus-visible,
body.page-id-7226 .cm-post-content a:hover,
body.page-id-7226 .cm-post-content a:focus-visible,
body.page-id-7226 .entry-content a:hover,
body.page-id-7226 .entry-content a:focus-visible {
	color: #094d63;
}

body.page-id-7226 .cm-posts > ul,
body.page-id-7226 .cm-post-content > ul,
body.page-id-7226 .entry-content ul {
	display: grid;
	gap: 6px;
	margin: 2px 0 12px !important;
	padding: 12px 16px !important;
	border: 1px solid var(--pde-legal-border);
	background: #fbfdff;
	list-style-position: inside;
}

body.page-id-7226 .cm-posts > ul,
body.page-id-7226 .cm-post-content > ul {
	margin-right: clamp(18px, 4vw, 44px) !important;
	margin-left: clamp(18px, 4vw, 44px) !important;
}

body.page-id-7226 .cm-posts li,
body.page-id-7226 .cm-post-content li,
body.page-id-7226 .entry-content li {
	margin: 0;
	color: var(--pde-legal-ink);
}

@media (max-width: 700px) {
	body.page-id-7226 .cm-posts,
	body.page-id-7226 article.page {
		margin-top: 0 !important;
		width: min(calc(100% - 20px), 980px) !important;
	}

	body.page-id-7226 .cm-posts::before {
		padding-top: 20px;
	}

	body.page-id-7226 .cm-entry-title {
		padding-top: 24px;
	}

	body.page-id-7226 .cm-posts > p,
	body.page-id-7226 :is(.cm-entry-content, .entry-content, .wp-block-post-content) {
		font-size: 1rem;
		line-height: 1.58;
	}
}
