/**
 * BG Studio — Legal pages styling.
 * Targets the .bgs-legal-content CSS class added to the text-editor widgets
 * on Mentions, CGV, Confidentialité, Cookies. Keeps the Caffento brand but
 * tones down the global h2/h3 sizes that come from the Kit globals.
 */

.bgs-legal-content h2 {
    font-family: 'Gentium Book Plus', Georgia, serif !important;
    font-size: 18px !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;
    color: #221C19 !important;
    margin: 28px 0 10px 0 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    break-after: avoid;
    page-break-after: avoid;
}
.bgs-legal-content h2:first-child {
    margin-top: 0 !important;
}
.bgs-legal-content h3 {
    font-family: 'Gentium Book Plus', Georgia, serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #3E332F !important;
    margin: 20px 0 8px 0 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    break-after: avoid;
}
.bgs-legal-content p,
.bgs-legal-content li {
    font-size: 14px;
    line-height: 1.6;
    color: #3E332F;
    margin: 0 0 10px 0;
}
.bgs-legal-content ul {
    padding-left: 20px;
    margin: 0 0 14px 0;
}
.bgs-legal-content a {
    color: #4E413B;
    text-decoration: underline;
}
.bgs-legal-content a:hover { color: #221C19; }

/* CSS columns gestion : éviter qu'un titre se coupe en bas de colonne */
.bgs-legal-content h2,
.bgs-legal-content h3 {
    -webkit-column-break-after: avoid;
}
