/* Justification pour le thème Read the Docs */
.rst-content p,
.rst-content .section p,
.document p,
body p {
    text-align: justify !important;
    text-justify: inter-word !important;
}

/* Justifier aussi les listes si nécessaire */
.rst-content li {
    text-align: justify !important;
}

/* Espacement pour les grands titres (h1) */
.rst-content h1 {
    margin-top: 40px !important;
    margin-bottom: 30px !important;
}

/* Espacement pour les sous-titres (h2) */
.rst-content h2 {
    margin-top: 35px !important;
    margin-bottom: 25px !important;
}

/* Espacement pour les sous-sous-titres (h3) */
.rst-content h3 {
    margin-top: 30px !important;
    margin-bottom: 20px !important;
}