/* Legal documents — readable on light theme pages (Divi sidebar + inherited light text). */

.rgpd-document {
    color: var(--opnv-legal-fg, #1e293b);
    max-width: 48rem;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.65;
}

.rgpd-document,
.rgpd-document p,
.rgpd-document li,
.rgpd-document h1,
.rgpd-document h2,
.rgpd-document h3,
.rgpd-document h4,
.rgpd-document strong,
.rgpd-document em {
    color: var(--opnv-legal-fg, #1e293b) !important;
}

.rgpd-document a,
.rgpd-document a:visited {
    color: var(--opnv-legal-link, #1d4ed8) !important;
    text-decoration: underline;
}

.rgpd-document a:hover,
.rgpd-document a:focus {
    filter: brightness(0.85);
}

.rgpd-document h2 {
    font-size: 1.65rem;
    margin: 0 0 1rem;
}

.rgpd-document h3 {
    font-size: 1.15rem;
    margin: 1.5rem 0 0.6rem;
}

.rgpd-document ul {
    margin: 0.5rem 0 1rem 1.25rem;
}

body.opnv-legal-page #sidebar,
body.opnv-legal-page #main-sidebar,
body.opnv-legal-page .et_pb_widget_area_right,
body.opnv-legal-page .et_pb_widget_area_left,
body.opnv-legal-page #main-content .et_pb_widget,
body.opnv-legal-page aside.widget-area,
body.opnv-legal-page .sidebar,
body.opnv-legal-page #secondary {
    display: none !important;
}

body.opnv-legal-page #left-area,
body.opnv-legal-page #main-content .container,
body.opnv-legal-page .et-l--body,
body.opnv-legal-page .et_pb_post {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin-right: 0 !important;
    padding-right: 0 !important;
}

body.opnv-legal-page #main-content .container:before {
    display: none !important;
}
