/* ----- HEADINGS DESKTOP ----- */
.single-post h1 { font-size: 48px !important; }
.single-post h3 { font-size: 32px !important; }
.single-post h4 { font-size: 26px !important; }
.single-post h5 { font-size: 22px !important; }
.single-post h6 { font-size: 18px !important; }

/* ----- HEADINGS TABLETTE (max 980px) ----- */
@media only screen and (max-width: 980px) {
    .single-post h1 { font-size: 38px !important; }
    .single-post h2 { font-size: 32px !important; }
    .single-post h3 { font-size: 26px !important; }
    .single-post h4 { font-size: 22px !important; }
    .single-post h5 { font-size: 20px !important; }
    .single-post h6 { font-size: 16px !important; }
}

/* ----- HEADINGS MOBILE (max 767px) ----- */
@media only screen and (max-width: 767px) {
    .single-post h1 { font-size: 30px !important; }
    .single-post h2 { font-size: 22px !important; color: #000 !important; }
    .single-post h3 { font-size: 22px !important; color: #000 !important; }
    .single-post h4 { font-size: 18px !important; }
    .single-post h5 { font-size: 16px !important; }
    .single-post h6 { font-size: 14px !important; }
}

/* FORCE le H2 en noir dans les articles, même contre Divi */
.single-post h3,
.single-post h3 * {
    color: #000 !important;
}

/* ----- COULEUR DE FOND GLOBALE ----- */
body {
    background-color: #b5b9c9 !important; /* couleur de fond générale */
}

/* ----- FORCER LA TRANSPARENCE OU COULEUR DES BLOCS DIVI ----- */
.et_pb_all_tabs,
#main-content,
.et_pb_section,
.et_pb_row,
.et_pb_column,
.container,
.et_pb_post,
.entry-content {
    background-color: transparent !important;
}

/* ----- FOND GLOBAL DU SITE ----- */
#page-container {
    background-color: #b5b9c9 !important; /* même couleur que le body */
}
/* Fond blanc et texte noir pour les fiches post dans les modules Blog de Divi */
.et_pb_post,
.et_pb_blog_grid .et_pb_post,
.et_pb_blog .et_pb_post {
    background-color: #ffffff !important;
    color: #000000 !important;
}

