/*!
 * Pages légales (mentions, CGV, CGU, confidentialité, cookies, médiation, contact)
 * Largeur = celle du header (var(--pkb-container)).
 */

.page-template-default main#content,
body.page main#content {
	width: 100%;
	display: block;
}

/* Wrapper de contenu page : largeur identique au header */
body.page main#content > .page-content,
body.page main#content > article,
body.page main#content {
	width: min(var(--pkb-container, 1680px), 100%);
	margin-inline: auto;
	padding-inline: var(--pkb-container-padding, 14px);
	box-sizing: border-box;
}

/* Pages légales : largeur identique au header (override par préférence ARock).
   Le wrapper .page-content prend la pleine largeur header, et c'est le texte
   interne qui sera contraint par max-width sur les paragraphes uniquement
   (~80 caractères) pour rester confortable à lire. */
body.page-id-30124 .page-content,  /* Politique de cookies */
body.page-id-30125 .page-content,  /* Politique de confidentialité */
body.page-id-30126 .page-content,  /* Mentions légales */
body.page-id-30127 .page-content,  /* CGV */
body.page-id-30128 .page-content,  /* Médiation */
body.page-id-30129 .page-content,  /* Contact */
body.page-id-16524 .page-content { /* CGU */
	max-width: none;
	margin-inline: auto;
	padding: 48px 0 80px;
	color: var(--idd-color-text, #1f2937);
	line-height: 1.7;
	font-size: 16px;
}

/* Titre h1 si affiché */
body.page-id-30124 .entry-title,
body.page-id-30125 .entry-title,
body.page-id-30126 .entry-title,
body.page-id-30127 .entry-title,
body.page-id-30128 .entry-title,
body.page-id-30129 .entry-title,
body.page-id-16524 .entry-title {
	font-size: clamp(28px, 4vw, 42px);
	font-weight: 900;
	line-height: 1.15;
	color: var(--idd-color-bg-dark, #0f172a);
	margin: 0 0 8px;
	letter-spacing: -0.02em;
}

/* H2 sections */
body.page-id-30124 .page-content h2,
body.page-id-30125 .page-content h2,
body.page-id-30126 .page-content h2,
body.page-id-30127 .page-content h2,
body.page-id-30128 .page-content h2,
body.page-id-30129 .page-content h2,
body.page-id-16524 .page-content h2 {
	font-size: clamp(20px, 2.4vw, 26px);
	font-weight: 800;
	color: var(--idd-color-bg-dark, #0f172a);
	letter-spacing: -0.01em;
	margin: 2.4em 0 0.8em;
	padding-top: 1.2em;
	border-top: 2px solid var(--idd-color-border, #f1f5f9);
	display: flex;
	align-items: baseline;
	gap: 12px;
}
body.page-id-30124 .page-content h2:first-of-type,
body.page-id-30125 .page-content h2:first-of-type,
body.page-id-30126 .page-content h2:first-of-type,
body.page-id-30127 .page-content h2:first-of-type,
body.page-id-30128 .page-content h2:first-of-type,
body.page-id-30129 .page-content h2:first-of-type,
body.page-id-16524 .page-content h2:first-of-type {
	border-top: 0;
	padding-top: 0;
	margin-top: 1em;
}

/* H3 sous-sections */
body.page-id-30124 .page-content h3,
body.page-id-30125 .page-content h3,
body.page-id-30126 .page-content h3,
body.page-id-30127 .page-content h3,
body.page-id-30128 .page-content h3,
body.page-id-30129 .page-content h3,
body.page-id-16524 .page-content h3 {
	font-size: 18px;
	font-weight: 700;
	color: #1e293b;
	margin: 1.6em 0 0.6em;
}

/* Paragraphes */
body.page-id-30124 .page-content p,
body.page-id-30125 .page-content p,
body.page-id-30126 .page-content p,
body.page-id-30127 .page-content p,
body.page-id-30128 .page-content p,
body.page-id-30129 .page-content p,
body.page-id-16524 .page-content p {
	margin: 0 0 1em;
	color: var(--idd-color-text-muted, #334155);
}

/* Liens */
body.page-id-30124 .page-content a,
body.page-id-30125 .page-content a,
body.page-id-30126 .page-content a,
body.page-id-30127 .page-content a,
body.page-id-30128 .page-content a,
body.page-id-30129 .page-content a,
body.page-id-16524 .page-content a {
	color: var(--idd-color-primary, #ef4444);
	text-decoration: none;
	font-weight: 600;
	border-bottom: 1px dashed rgba(239,68,68,.4);
	transition: color .15s ease, border-color .15s ease;
}
body.page-id-30124 .page-content a:hover,
body.page-id-30125 .page-content a:hover,
body.page-id-30126 .page-content a:hover,
body.page-id-30127 .page-content a:hover,
body.page-id-30128 .page-content a:hover,
body.page-id-30129 .page-content a:hover,
body.page-id-16524 .page-content a:hover {
	color: var(--idd-semantic-destructive, #dc2626);
	border-bottom-color: var(--idd-semantic-destructive, #dc2626);
}

/* Listes */
body.page-id-30124 .page-content ul.wp-block-list,
body.page-id-30125 .page-content ul.wp-block-list,
body.page-id-30126 .page-content ul.wp-block-list,
body.page-id-30127 .page-content ul.wp-block-list,
body.page-id-30128 .page-content ul.wp-block-list,
body.page-id-30129 .page-content ul.wp-block-list,
body.page-id-16524 .page-content ul.wp-block-list {
	margin: 0 0 1.2em;
	padding-left: 0;
	list-style: none;
}
body.page-id-30124 .page-content ul.wp-block-list li,
body.page-id-30125 .page-content ul.wp-block-list li,
body.page-id-30126 .page-content ul.wp-block-list li,
body.page-id-30127 .page-content ul.wp-block-list li,
body.page-id-30128 .page-content ul.wp-block-list li,
body.page-id-30129 .page-content ul.wp-block-list li,
body.page-id-16524 .page-content ul.wp-block-list li {
	position: relative;
	padding: 4px 0 4px 28px;
	color: var(--idd-color-text-muted, #334155);
}
body.page-id-30124 .page-content ul.wp-block-list li::before,
body.page-id-30125 .page-content ul.wp-block-list li::before,
body.page-id-30126 .page-content ul.wp-block-list li::before,
body.page-id-30127 .page-content ul.wp-block-list li::before,
body.page-id-30128 .page-content ul.wp-block-list li::before,
body.page-id-30129 .page-content ul.wp-block-list li::before,
body.page-id-16524 .page-content ul.wp-block-list li::before {
	content: '✓';
	position: absolute;
	left: 4px;
	top: 4px;
	color: var(--idd-color-primary, #ef4444);
	font-weight: 900;
}

/* Tableaux */
body.page-id-30124 .page-content .wp-block-table,
body.page-id-30125 .page-content .wp-block-table,
body.page-id-30126 .page-content .wp-block-table,
body.page-id-30127 .page-content .wp-block-table,
body.page-id-30128 .page-content .wp-block-table,
body.page-id-30129 .page-content .wp-block-table,
body.page-id-16524 .page-content .wp-block-table {
	margin: 1.6em 0;
	overflow-x: auto;
	border-radius: 12px;
	border: 1px solid var(--idd-color-border, #e5e7eb);
	background: #fff;
	box-shadow: 0 4px 12px rgba(15,23,42,.04);
}
body.page-id-30124 .page-content .wp-block-table table,
body.page-id-30125 .page-content .wp-block-table table,
body.page-id-30126 .page-content .wp-block-table table,
body.page-id-30127 .page-content .wp-block-table table,
body.page-id-30128 .page-content .wp-block-table table,
body.page-id-30129 .page-content .wp-block-table table,
body.page-id-16524 .page-content .wp-block-table table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}
body.page-id-30124 .page-content .wp-block-table th,
body.page-id-30125 .page-content .wp-block-table th,
body.page-id-30126 .page-content .wp-block-table th,
body.page-id-30127 .page-content .wp-block-table th,
body.page-id-30128 .page-content .wp-block-table th,
body.page-id-30129 .page-content .wp-block-table th,
body.page-id-16524 .page-content .wp-block-table th {
	background: linear-gradient(135deg, var(--idd-color-bg-dark, #0f172a), #1e293b);
	color: #fff;
	text-align: left;
	padding: 12px 14px;
	font-weight: 700;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: .04em;
	border: 0;
}
body.page-id-30124 .page-content .wp-block-table td,
body.page-id-30125 .page-content .wp-block-table td,
body.page-id-30126 .page-content .wp-block-table td,
body.page-id-30127 .page-content .wp-block-table td,
body.page-id-30128 .page-content .wp-block-table td,
body.page-id-30129 .page-content .wp-block-table td,
body.page-id-16524 .page-content .wp-block-table td {
	padding: 12px 14px;
	border-top: 1px solid var(--idd-color-border, #f1f5f9);
	color: var(--idd-color-text-muted, #334155);
	vertical-align: top;
}
body.page-id-30124 .page-content .wp-block-table tbody tr:nth-child(even),
body.page-id-30125 .page-content .wp-block-table tbody tr:nth-child(even),
body.page-id-30126 .page-content .wp-block-table tbody tr:nth-child(even),
body.page-id-30127 .page-content .wp-block-table tbody tr:nth-child(even),
body.page-id-30128 .page-content .wp-block-table tbody tr:nth-child(even),
body.page-id-30129 .page-content .wp-block-table tbody tr:nth-child(even),
body.page-id-16524 .page-content .wp-block-table tbody tr:nth-child(even) {
	background: var(--idd-color-bg-alt, #fafbfc);
}

/* Mise en avant des emphasis */
body.page-id-30124 .page-content em,
body.page-id-30125 .page-content em,
body.page-id-30126 .page-content em,
body.page-id-30127 .page-content em,
body.page-id-30128 .page-content em,
body.page-id-30129 .page-content em,
body.page-id-16524 .page-content em {
	color: var(--idd-color-text-muted, #64748b);
	font-style: italic;
}

/* Premier paragraphe en italique = chapô */
body.page-id-30124 .page-content > p:first-of-type em,
body.page-id-30125 .page-content > p:first-of-type em,
body.page-id-30126 .page-content > p:first-of-type em,
body.page-id-30127 .page-content > p:first-of-type em,
body.page-id-30128 .page-content > p:first-of-type em,
body.page-id-30129 .page-content > p:first-of-type em,
body.page-id-16524 .page-content > p:first-of-type em {
	display: inline-block;
	background: linear-gradient(135deg, #fef3c7, #fde68a);
	color: #78350f;
	padding: 6px 14px;
	border-radius: 999px;
	font-size: 13px;
	font-style: normal;
	font-weight: 700;
}

/* Mobile */
@media (max-width: 640px) {
	body.page-id-30124 .page-content,
	body.page-id-30125 .page-content,
	body.page-id-30126 .page-content,
	body.page-id-30127 .page-content,
	body.page-id-30128 .page-content,
	body.page-id-30129 .page-content,
	body.page-id-16524 .page-content {
		padding: 24px 16px 48px;
		font-size: 15px;
	}
	body.page-id-30124 .page-content .wp-block-table th,
	body.page-id-30125 .page-content .wp-block-table th,
	body.page-id-30126 .page-content .wp-block-table th,
	body.page-id-30127 .page-content .wp-block-table th,
	body.page-id-30128 .page-content .wp-block-table th,
	body.page-id-30129 .page-content .wp-block-table th,
	body.page-id-16524 .page-content .wp-block-table th {
		font-size: 11px;
	}
}
