/* Socle éditorial commun aux trois pages juridiques. */
html:has(body .legal-main) { color-scheme: light; background: #fff; }
body:has(.legal-main) { position: relative; isolation: isolate; background: #fff; color: #111; }
body:has(.legal-main)::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset-block: 0;
    left: 50%;
    width: 3px;
    transform: translateX(-50%);
    background: #0091ff;
    pointer-events: none;
}
body:has(.legal-main) > :is(.site-header, .legal-main, .site-footer) { position: relative; z-index: 1; }
.legal-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(40px, 6vw, 64px);
    width: min(100% - 40px, 900px);
    margin: 18px auto 76px;
    min-width: 0;
}
.legal-main h1 {
    width: fit-content;
    max-width: 100%;
    margin: 0;
    padding: 14px 20px;
    background: #fff;
    color: #111;
    text-align: center;
    text-transform: uppercase;
    font-size: clamp(1.35rem, 3vw, 1.8rem);
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: .08em;
    overflow-wrap: anywhere;
}
.legal-content {
    width: min(100%, 720px);
    min-width: 0;
    padding: 16px 20px;
    background: #fff;
    color: #111;
    font-size: clamp(1rem, 1.2vw, 1.12rem);
    line-height: 1.75;
    text-align: left;
    overflow-wrap: anywhere;
}
.legal-content > :first-child { margin-top: 0; }
.legal-content > :last-child { margin-bottom: 0; }
.legal-content h2 { margin: 2em 0 .65em; font-size: 1.35em; font-weight: 600; line-height: 1.35; }
.legal-content h3 { margin: 1.65em 0 .55em; font-size: 1.12em; font-weight: 600; line-height: 1.4; }
.legal-content p, .legal-content :is(ul, ol), .legal-content blockquote { margin: 0 0 1.25em; }
.legal-content :is(ul, ol) { padding-inline-start: 1.5em; }
.legal-content li + li { margin-top: .35em; }
.legal-content blockquote { padding-inline-start: 1.1em; border-left: 2px solid #0091ff; }
.legal-content a { color: #005baa; text-decoration: underline; }
.legal-content a:hover { color: #003f7d; }
.legal-content a:focus-visible { outline: 2px solid #0091ff; outline-offset: 3px; }
@media (max-width: 47.99rem) {
    .legal-main { width: min(100% - 32px, 900px); gap: 40px; }
}
