@charset "utf-8";

body {
    background: #efefef;
    color: #000000;
    font-family: expo-serif-pro, Georgia, serif;
    font-size: 20px;
    text-align: justify;
}

a {
    color:#336600;
    text-decoration:none;
    display: inline-block;
    padding: 5px 0;
}

@media screen and (min-width: 1024px) {
    .largeur {
        margin-left: 25%;
        margin-right: 25%;
    }
}

@media screen and (min-width: 768px) {
    table, thead, tbody, th, td, tr { 
        display: flex; 
    }
}

img {
    max-width: 100%;
    height: auto;
    text-align: center;
}

ins.adsbygoogle {
    display: block;
    min-height: 280px;
    background-color: #efefef;
}

@media (min-width: 768px) {
    ins.adsbygoogle {
        min-height: 250px;
    }
}

@media screen and (max-width: 800px) {
    #global { width: 100%; }
    #gauche, #centre {
        float: none;
        width: 100%;
    }
    #gauche {
        text-align: center;
        margin-bottom: 20px;
    }
}

.video-container {
    width: 100%;
    max-width: 800px;
    margin: 20px 0;
}

.video-container iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    display: block;
}

@media screen and (max-width: 767px) {
    /* On force la page à ne pas être plus large que l'écran du téléphone */
    html, body {
        overflow-x: hidden; 
        width: 100vw;
        margin: 0;
        padding: 0;
    }

    /* On s'assure que le contenu texte ne colle pas aux bords de l'écran */
    body {
        padding: 15px;
        box-sizing: border-box;
    }

    /* FORÇAGE DES TABLEAUX : Google refuse les tableaux qui dépassent */
    /* On annule le display:flex qui peut casser le rendu sur certains mobiles */
    table, thead, tbody, th, td, tr {
        display: table !important; 
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Empêche les images de sortir de l'écran si elles ont une largeur fixe en HTML */
    img {
        max-width: 100% !important;
        height: auto !important;
    }

    /* Suppression des marges forcées sur mobile pour .largeur */
    .largeur {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
    }
}