/* ==========================================================================
   Actualités — conteneur
   ========================================================================== */
.home_actualites {
    display: flex;
    width: 100%;
    justify-content: center;
    background: url("/wp-content/themes/webstudios/assets/img/bg_home_actualites.webp");
    background-size: cover;
    background-position: center top;
    padding: 50px 0px 40px 0px;
}

.home_actualites_sized {
    display: flex;
    width: calc(100% - 10px);
    max-width: 1600px;
    flex-direction: column;
    align-items: center;
}

.home_actualites_top {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.home_actualites_top h2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.home_actualites_top h2 > div:nth-child(1) {
    width: 70px;
}

.home_actualites_top h2 > div:nth-child(1) > img {
    max-width: 100%;
}

.home_actualites_top h2 > div:nth-child(2) {
    width: calc(100% - 70px);
    text-align: left;
    font: normal normal bold 35px/40px OS_Bold;
    letter-spacing: 0px;
    color: #FFFFFF;
    text-transform: uppercase;
}

/* ==========================================================================
   Cartes actualité
   ========================================================================== */
.home_actualites_s {
    display: flex;
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
}

.home_actualites_i {
    display: flex !important;
    justify-content: center;
}

.home_actualites_i_sized {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc(100% - 20px);
    max-width: 530px;
    height: 550px;
    overflow: hidden;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    border: 1px solid #707070;
    border-radius: 60px 0px;
}

.home_actualites_i_img {
    display: block;
    width: 100%;
    overflow: hidden;
}

.home_actualites_i_img img {
    display: block;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.home_actualites_i_txt {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 20px 30px 0px 30px;
    box-sizing: border-box;
    align-items: flex-start;
}

/* "max-line" n'est pas une propriété CSS valide et n'a aucun effet ; le
   troncage tient uniquement à "height: calc(N * line-height) + overflow:
   hidden", donc conservé et "max-line" retiré. */
.home_actualites_i_txt_titre {
    box-sizing: border-box;
    text-align: left;
    font: normal normal bold 30px/36px OS_Bold;
    letter-spacing: 0px;
    color: #1D7FC7;
    height: calc(2 * 36px);
    overflow: hidden;
    margin-bottom: 20px;
}

.home_actualites_i_txt_description {
    box-sizing: border-box;
    text-align: left;
    font: normal normal normal 20px/26px OS_Regular;
    letter-spacing: 0px;
    color: #100C06;
    height: calc(3 * 26px);
    overflow: hidden;
}

/* ==========================================================================
   Responsive — Tablette (≤ 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
    .home_actualites_top h2 {
        justify-content: center;
    }

    .home_actualites_top h2 > div:nth-child(2) {
        width: unset;
        font: normal normal bold 30px/36px OS_Bold;
    }

    .home_actualites_i_sized {
        height: 480px;
    }

    .home_actualites_i_txt {
        padding: 18px 24px 0px 24px;
    }

    .home_actualites_i_txt_titre {
        font: normal normal bold 26px/32px OS_Bold;
        height: calc(2 * 32px);
    }

    .home_actualites_i_txt_description {
        font: normal normal normal 18px/24px OS_Regular;
        height: calc(3 * 24px);
    }
}

/* ==========================================================================
   Responsive — Mobile large (≤ 768px)
   ========================================================================== */
@media (max-width: 768px) {
    .home_actualites {
        padding: 35px 0px 30px 0px;
    }

    .home_actualites_top h2 > div:nth-child(1) {
        width: 50px;
    }

    .home_actualites_top h2 > div:nth-child(2) {
        font: normal normal bold 26px/32px OS_Bold;
    }

    .home_actualites_i_sized {
        height: 420px;
        border-radius: 40px 0px;
    }

    .home_actualites_i_txt {
        padding: 16px 20px 0px 20px;
    }

    .home_actualites_i_txt_titre {
        font: normal normal bold 22px/27px OS_Bold;
        height: calc(2 * 27px);
        margin-bottom: 14px;
    }

    .home_actualites_i_txt_description {
        font: normal normal normal 18px/24px OS_Regular;
        height: calc(3 * 24px);
    }
}

/* ==========================================================================
   Responsive — Mobile petit (≤ 480px)
   ========================================================================== */
@media (max-width: 480px) {
    .home_actualites {
        padding: 25px 0px 20px 0px;
    }

    .home_actualites_top h2 > div:nth-child(2) {
        font: normal normal bold 20px/26px OS_Bold;
    }

    .home_actualites_i_sized {
        height: 380px;
        border-radius: 28px 0px;
    }

    .home_actualites_i_txt {
        padding: 14px 16px 0px 16px;
    }

    .home_actualites_i_txt_titre {
        font: normal normal bold 19px/24px OS_Bold;
        height: calc(2 * 24px);
        margin-bottom: 10px;
    }

    .home_actualites_i_txt_description {
        font: normal normal normal 18px/24px OS_Regular;
        height: calc(3 * 24px);
    }
}


/* rajout */
.home_actualites_slider_position {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-top: 20px;
}

.home_actualites_slider_position_i {
    background: #FFF;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 5px;
}

.home_actualites_slider_position_i.active {
    background: #E20914;
}