/*taille de police dans les pages uniquement avec la class="page"*/
.page p,
.page li,
.page h1,
.page h2,
.page h3 {
    font-size: 1.1em; /* augmente légèrement la taille de la police */
    line-height: 1.6;
}
@media (max-width: 768px) {
    .page {
        font-size: 1.1em;
    }
}

/* Photo à gauche entourée de tetxte */
.align-left-img {
    float: left;
    margin: 0 1em 0 0;
    width: 40%;
}

.align-left-img img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px; /* optionnel */
}

@media (max-width: 768px) {
    .align-left-img {
        float: none;
        width: 80%;
        margin: 1em auto;
    }
}

/* Photo à droite entourée de tetxte */
.align-right-img {
    float: right;
    margin: 0 0 0 1em;
    width: 40%;
}

.align-right-img img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px; /* optionnel */
}

@media (max-width: 768px) {
    .align-right-img {
        float: none;
        width: 80%;
        margin: 1em auto;
    }
}

/* Photo centrée multiple*/
.multicenter-img {
    display: flex;
    justify-content: center;
    margin: 2em 0;
}

.multicenter-img img {
    max-width: 100%;
    height: auto;
    border-radius: 4px; /* optionnel */
}
/* Photo centrée */
.center-img {
    display: flex;
    justify-content: center;
    margin: 2em 0;
}

.center-img img {
    max-width: 100%;
    height: auto;
    border-radius: 4px; /* optionnel */
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* ratio 16:9 */
    height: 0;
    overflow: hidden;
    margin-bottom: 1em; /* marge en dessous de la vidéo */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
