/* Custom CSS */
.actualite-teaser-wrapper {
    min-height: 400px;
    height: 400px;
    overflow: hidden;
}

.actualite-teaser-wrapper:hover .background-wrapper .hover-wrapper {
    height: 50%;
    padding: 20px 15px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.actualite-teaser-wrapper .background-wrapper {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: baseline;
    justify-content: flex-end;
    width: 100%;
}

.actualite-teaser-wrapper .filter-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.26);
}

.actualite-teaser-wrapper .background-wrapper .title-wrapper {
    z-index: 1;
    padding: 15px;

}

.actualite-teaser-wrapper .background-wrapper .title-wrapper .elementor-post__title,
.actualite-teaser-wrapper .background-wrapper .title-wrapper .elementor-post__title a {
    color: #FFFFFF;
    font-size: 25px !important;
    font-weight: 700 !important;
}

.actualite-teaser-wrapper .background-wrapper .hover-wrapper {
    background-color: var(--e-global-color-secondary);
    padding: 0 15px;
    height: 0;
    transition: 0.5s;
    z-index: 1;
    width: 100%;
}

.actualite-teaser-wrapper .background-wrapper .description-wrapper {
    z-index: 1;
    position: relative;
}

.actualite-teaser-wrapper .background-wrapper .description-wrapper .elementor-post__excerpt {
    color: #FFFFFF;
    line-height: 1.4;
}

.actualite-teaser-wrapper .background-wrapper .actions-wrapper {
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.actualite-teaser-wrapper .background-wrapper .date-wrapper {
    z-index: 1;
}

.actualite-teaser-wrapper .background-wrapper .date-wrapper .elementor-post-date {
    color: #FFFFFF;
    font-size: 17px;
    font-weight: 700;
}

.actualite-teaser-wrapper .background-wrapper .more-info-wrapper {
    z-index: 1;
}

.actualite-teaser-wrapper .background-wrapper .more-info-wrapper .elementor-post__read-more {
    color: #FFFFFF;
}

.actualite-teaser-wrapper .background-wrapper .more-info-wrapper .elementor-post__read-more:hover {
    text-decoration: underline;
    text-decoration-color: white;
}

@media (min-width: 768px) and (max-width: 991px) {

}

@media (max-width: 767px) {
    .actualite-teaser-wrapper {
        min-height: 380px !important;
        height: 380px !important;
    }

    body .actualite-teaser-wrapper .background-wrapper .title-wrapper .elementor-post__title,
    body .actualite-teaser-wrapper .background-wrapper .title-wrapper .elementor-post__title a {
        font-size: 20px !important;
    }

    .actualite-teaser-wrapper:hover .background-wrapper .hover-wrapper {
        height: 0 !important;
        padding: 0px 15px !important;
        display: none !important;
    }
}