/************************** ACTU ******************************/
/*****************************************************************************/
/***************************** Page actualités ****************************/
/*****************************************************************************/

/*************************** SOMMAIRE DES ACTUALITES ***************************/

.et-db #page-container #et-boc .et-l .actu-grid-container {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
}

.et-db #page-container #et-boc .et-l .actu-vignette {
    background: #fff;
    width: 50%;
    overflow: hidden;
    padding: 1%;
}

.et-db #page-container #et-boc .et-l .actu-thumbnail {
    width: 100%;
    height: 200px; 
    overflow: hidden;
}

.et-db #page-container #et-boc .et-l .actu-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.et-db #page-container #et-boc .et-l .no-thumbnail {
    background: #fcc400;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #6d7680;
}

.et-db #page-container #et-boc .et-l .actu-content {
    padding: 15px;
}

.et-db #page-container #et-boc .et-l .actu-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0 0 10px;
}

.et-db #page-container #et-boc .et-l .actu-date {
    font-size: 0.85rem;
    color: #6d7680;
}

.et-db #page-container #et-boc .et-l .actu-more {
    font-size: 0.9rem;
    color: #0073aa;
    margin-top: 10px;
}


/* =============================================== */
/* =============== TEMPLATE POSTS ================ */
/* =============================================== */

.single-post #page-container #et-boc .et-l .post-template {
    margin: 0;
    padding: 0;
}

.single-post .et_pb_section .et_pb_row .et_pb_module {
    line-height: 1.3;
}

.single-post #contenu-actu .et_pb_text_inner {
    margin-top: 1rem;
}

.single-post #contenu-actu .et_pb_section.et_pb_section_1_tb_body.et_section_regular {
    padding: 0;
    margin-top: 0;
}

.single-post #contenu-actu .et_pb_row {
    padding: 0;
}

/* Media Query pour les tablettes */
@media (max-width: 1024px) {
    .et-db #page-container #et-boc .et-l .actu-vignette {
        width: 100%;
    }

    .et-db #page-container #et-boc .et-l .actu-thumbnail {
        height: 150px;
    }

    .et-db #page-container #et-boc .et-l .no-thumbnail {
        height: 150px;
    }
}

/* Media Query pour les smartphones */
@media (max-width: 768px) {
    .et-db #page-container #et-boc .et-l .actu-vignette {
        width: 100%;
    }

    .et-db #page-container #et-boc .et-l .actu-thumbnail {
        height: 100px;
    }

    .et-db #page-container #et-boc .et-l .no-thumbnail {
        height: 100px;
    }

    .et-db #page-container #et-boc .et-l .actu-title {
        font-size: 1rem;
    }

    .et-db #page-container #et-boc .et-l .actu-date {
        font-size: 0.8rem;
    }

    .et-db #page-container #et-boc .et-l .actu-more {
        font-size: 0.8rem;
    }
}

/* =============================================== */
/* =============== ENTETE ACTU =================== */
/* =============================================== */
.single-post.et-db #et-boc .et-l .et_pb_column:has(.tag){
    display: flex;
    justify-content: center;
}

.single-post.et-db #et-boc .et-l .tag p{
    padding-bottom: 0;
    display: inline-block;
    width: max-content;
}

.single-post.et-db #et-boc .et-l .et_pb_row:has(.avant-titre){
    padding-bottom: 0;
}

.single-post.et-db #et-boc .et-l .et_pb_row:has(h1){
    padding: 21px 0 21px 0;
}

.single-post.et-db #et-boc .et-l .et_pb_row.post-meta{
    padding-top: 0;
}

/* =============================================== */
/* =============== CORPS ACTU =================== */
/* =============================================== */
.single-post.et-db #et-boc .et-l .et_pb_fullwidth_section .carousel{
    --cards-per-view: 1;
    padding: 0 !important;
}

.single-post.et-db #et-boc .et-l .et_pb_fullwidth_section .et_pb_section:has(.carousel:not(.demi)) .carousel-card:not(:has(.blog-item)){
    max-height: 442px;
}

.single-post.et-db #et-boc .et-l .et_pb_fullwidth_section .et_pb_section:has(.carousel:not(.demi)) .carousel-card:after{
    display: none;
}

.single-post.et-db #et-boc .et-l .et_pb_fullwidth_section .carousel img{
    max-height: inherit;
    width: auto;
    height: auto;
    object-fit: cover;
}

.single-post.et-db #et-boc .et-l .et_pb_fullwidth_section .et_pb_section:has(.carousel:not(.demi)) .carousel .carousel-dots{
    top: inherit;
    bottom: 4rem;
    z-index: 10;
    right: 3rem;
}

.single-post.et-db #et-boc .et-l .et_pb_fullwidth_section h2,
.single-post.et-db #et-boc .et-l .et_pb_fullwidth_section h3,
.single-post.et-db #et-boc .et-l .et_pb_fullwidth_section p,
.single-post.et-db #et-boc .et-l .et_pb_fullwidth_section ul{
    text-align: start;
    width: 100%;
}

.single-post.et-db #et-boc .et-l .et_pb_fullwidth_section ul{
    padding-bottom: 0 !important;
}

.single-post.et-db #et-boc .et-l .et_pb_fullwidth_section ul li{
    display: flex;
    justify-content: flex-start;
    align-items: baseline;
    gap: 1.2rem;
    padding-left: 0;
}

.single-post.et-db #et-boc .et-l .et_pb_fullwidth_section ul li::before{
    color: #fff;
    position: inherit;
    background: var(--main-color);
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.85em;
    flex-shrink: 0;
}

.single-post.et-db #et-boc .et-l:not(.et-l--header) .et_pb_fullwidth_section>.et_pb_module:not(.et_pb_post_content):not(.et_pb_fullwidth_post_content) .et_pb_row:not(.carousel){
    padding: 1rem 0 !important;
}