/* STYLES ALL */




.row.herosmenu.dark,
.row.herosmenu.dark>div {

    background-color: #000;
    padding: 8px;
    margin: O;

}


.image-cover {
    position: relative;
    display: block;
    width: 100%;
    height: 50vh;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
    background-color: #000;
    padding: 0;
    margin: O;

}

.image-cover img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.image-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    /* top:0; left:0; right:0; bottom:0 */
    background: rgba(0, 0, 0, 0.3);
    /* voile sombre */
    z-index: 1;
}

.image-cover__content {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    /* texte en bas à gauche */
    z-index: 2;
    /* au-dessus de l’image + voile */
}


.image-cover__content h2 {
    margin: 0;
    font-size: 3rem;
    color: #fff !important;
}

.image-cover__content h3 {
    margin: 0;
    font-size: 2.5rem !important;
    color: #FFF1 !important;
}

body.has_hero main .topblock h2:first-of-type {

    padding: 0 !important;
    margin: 1rem 0 0 0 !important;
}


@media (min-width: 800px) {


    .image-cover {

        height: unset;
        aspect-ratio: 16 / 9;
    }

    .image-cover__content {

        bottom: 2rem;
        left: 2rem;

    }

    .image-cover__content h2 {
        font-size: 2rem;
    }

    .image-cover__content h3 {
        font-size: 2rem !important;
    }


}



@media (max-width: 800px) {


    main .fontsize30 {
        font-size: 2rem !important;
    }

    h1.fontsize50 {
        font-size: 2.3rem !important;
        padding: 0;
        margin: 0;
    }

    body.has_hero:not(.no-scroll) .topblock.block.hero .bgcover,
    body.has_hero:not(.no-scroll) .topblock.block.hero .content,
    body.has_hero:not(.no-scroll) .topblock.block.hero,
    body.has_hero:not(.no-scroll) div.cover {
        max-height: 70vh !important;
    }



}