/************************************************************************/
/************* General content list - sans carousel **************/
.et-db #et-boc .et-l .et_pb_section:has([class*="liste-"]):not(:has(.carousel)) [class*="liste-"]{
    display: grid;
    grid-template-columns: repeat(var(--cards-per-view, 3), 1fr);
    gap: 0.5rem;
}

/* spe blog */
@media(max-width: 980px){
    .et-db #et-boc .et-l .et_pb_section:has([class*="liste-blog"]):not(:has(.carousel)) [class*="liste-blog"]{
        gap: 1.5rem;
    }
}


.et-db #et-boc .et-l .et_pb_section:has([class*="liste-"]):not(:has(.carousel, .sommaire)) [class*="liste-"] img{
    width: 100%;
    max-height: 207px;
    object-fit: cover;
}

.et-db #et-boc .et-l .et_pb_section:has([class*="liste-"]):not(:has(.carousel, .sommaire)) [class*="liste-"] .actualite-content .actualite-meta{
    display: none;
}

.et-db #et-boc .et-l .et_pb_section:has([class*="liste-"]):not(:has(.carousel, .sommaire)) [class*="liste-"] .actualite-content{
    padding: 0.5rem;
}

.et-db #et-boc .et-l .et_pb_section:has([class*="liste-"]):not(:has(.carousel, .sommaire)) [class*="liste-"] h3{
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 22px !important;
}

.et-db #et-boc .et-l .et_pb_section:has([class*="liste-"]):not(:has(.carousel, .sommaire)) [class*="liste-"] .blog-reading-time{
    font-size: 1.15em;
    line-height: 21px;
    color: #AAA9A9;
    margin-bottom: 2rem;
    position: relative;
}

.et-db #et-boc .et-l .et_pb_section:has([class*="liste-"]):not(:has(.carousel, .sommaire)) [class*="liste-"] .blog-excerpt{
    display: none;
}

.et-db #et-boc .et-l .et_pb_section:has([class*="liste-"]):not(:has(.carousel, .sommaire)) [class*="liste-"] .blog-reading-time:after{
    position: absolute;
    content: "";
    bottom: -1rem;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #D1D1D1;
}

.et-db #et-boc .et-l .et_pb_section:has([class*="liste-"]):not(:has(.carousel, .sommaire)) [class*="liste-"] .show-more{
font-size: 1.3em;
    font-weight: bold;
    line-height: 22px;
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.5rem;
}

.et-db #et-boc .et-l .et_pb_section:has([class*="liste-"]):not(:has(.carousel, .sommaire)) [class*="liste-"] .show-more:after{
    font-family: 'ETMODULES';
    content: '\24';
    bottom: 0.5rem;
    right: 1rem;
    z-index: 1;
    font-weight: 600;
    font-size: 1.4em;
}

.et-db #et-boc .et-l .et_pb_section:has([class*="liste-"]):not(:has(.carousel, .sommaire)) [class*="liste-"] .obflink:hover .show-more:after{
    color: var(--main-color);
}

.et-db #et-boc .et-l .et_pb_section:has([class*="liste-"]):not(:has(.carousel, .sommaire))  .et_pb_module:not(.et_pb_code) .et_pb_text_inner{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.et-db #et-boc .et-l .et_pb_section:has([class*="liste-"]):not(:has(.carousel, .sommaire))  .et_pb_module:not(.et_pb_code) .et_pb_text_inner p{
    max-width: 837px;
    text-align: center;
}

.et-db #et-boc .et-l .et_pb_section:has([class*="liste-"]):not(:has(.carousel, .liste-produit)) [class*="-link-wrapper"]{
    height: 100%;
}

.et-db #et-boc .et-l .et_pb_section:has([class*="liste-"]):not(:has(.carousel, .liste-produit)) [class*="-image"]{
    height: 47%;
}

.et-db #et-boc .et-l .et_pb_section:has([class*="liste-"]):not(:has(.carousel, .liste-produit)) [class*="-image"] img{
    height: 100%;
}

.et-db #et-boc .et-l .et_pb_section:has([class*="liste-"]):not(:has(.carousel, .liste-produit)) [class*="-content"]{
    height: 53%;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}

/* spe blog */
@media(max-width: 650px){
  .et-db #et-boc .et-l .et_pb_section:has([class*="liste-blog"]) [class*="-content"]{
    background-color: var(--grey-color);
    padding-bottom: 20px;
  }
}


/************************************************************************/
/*********** Section content list (page sommaire ensacheuse) ************/
/************************************************************************/

.et-db #et-boc .et-l .et_pb_section:has(.sommaire):not(:has(.carousel)){
    background-color: var(--grey-color);
}

.et-db #et-boc .et-l .et_pb_section:has(.sommaire):not(:has(.carousel)) .sommaire:not(:has(.products-layout)){
    max-width: 1086px;
}

.single-realisation.et-db #et-boc .et-l .et_pb_section:has([class*="liste-"]) .et_pb_column:not(:has(.carousel)) .et_pb_column,
.et-db #et-boc .et-l .et_pb_section:has(.sommaire):not(:has(.carousel)) .et_pb_row:not(:has(.et_pb_code)) .et_pb_column{
    display: flex;
    justify-content: center;
}

.single-realisation.et-db #et-boc .et-l .et_pb_section:has([class*="liste-"]) .et_pb_column:not(:has(.carousel)) .liste-produit,
.et-db #et-boc .et-l .et_pb_section:has(.sommaire):not(:has(.carousel)) .liste-produit{
    column-gap: 1rem;
    row-gap: 2rem;
}

/***** product-item  ********/
.single-realisation.et-db #et-boc .et-l .et_pb_section:has([class*="liste-"]) .et_pb_column:not(:has(.carousel)) .product-item::after,
.et-db #et-boc .et-l .et_pb_section:has(.sommaire):not(:has(.carousel)) .product-item::after{
    font-family: "ETmodules" !important;
    content: "\e03c";
    position: absolute;
    top: 2rem;
    right: 2rem;
    display: flex;
    font-size: 30px;
    height: 100%;
    align-items: center;
    opacity: 1;
    width: fit-content;
    height: fit-content;
    transform: rotate(-45deg);
    color: var(--dark-grey);
}

.single-realisation.et-db #et-boc .et-l .et_pb_section:has([class*="liste-"]) .et_pb_column:not(:has(.carousel)) .product-item:hover::after,
.et-db #et-boc .et-l .et_pb_section:has(.sommaire):not(:has(.carousel)) .product-item:hover::after{
    color: var(--main-color);
}

.single-realisation.et-db #et-boc .et-l .et_pb_section:has([class*="liste-"]) .et_pb_column:not(:has(.carousel)) .product-item,
.et-db #et-boc .et-l .et_pb_section:has(.sommaire):not(:has(.carousel)) .product-item{
    background-color: #fff;
    position: relative;
}
/** product-link **/
.single-realisation.et-db #et-boc .et-l .et_pb_section:has([class*="liste-"]) .product-item .product-link,
.et-db #et-boc .et-l .et_pb_section:has(.sommaire):not(:has(.carousel)) .product-item .product-link{
  display: flex;
  flex-direction: column;
  min-height: 447px;
  height: 100%;
}

.single-realisation.et-db #et-boc .et-l .et_pb_section:has([class*="liste-"]) .et_pb_column:has(.carousel.specifique) .product-item .product-link {
    display: block;
    min-height: inherit;
    height: inherit;
}

/** product-image **/
.single-realisation.et-db #et-boc .et-l .et_pb_section:has([class*="liste-"]) .et_pb_column:not(:has(.carousel)) .liste-produit .product-image,
.et-db #et-boc .et-l .et_pb_section:has(.sommaire):not(:has(.carousel)) .liste-produit .product-image{
  height: auto;
  aspect-ratio : 4 / 3;
}
.single-realisation.et-db #et-boc .et-l .et_pb_section:has([class*="liste-"]) .et_pb_column:not(:has(.carousel)) .liste-produit picture,
.et-db #et-boc .et-l .et_pb_section:has(.sommaire):not(:has(.carousel)) .liste-produit picture{
    height: 100%;
    display: block;
}
.single-realisation.et-db #et-boc .et-l .et_pb_section:has([class*="liste-"]) .et_pb_column:not(:has(.carousel)) .liste-produit img,
.et-db #et-boc .et-l .et_pb_section:has(.sommaire):not(:has(.carousel)) .liste-produit img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/** product-content **/
.single-realisation.et-db #et-boc .et-l .et_pb_section:has([class*="liste-"]) .et_pb_column:not(:has(.carousel)) .product-content,
.et-db #et-boc .et-l .et_pb_section:has(.sommaire):not(:has(.carousel)) .product-content {
    padding: 1rem 1.5rem 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.single-realisation.et-db #et-boc .et-l .et_pb_section:has([class*="liste-"]) .et_pb_column:has(.carousel.specifique) .product-content{
    gap: 1rem;
}

.single-realisation.et-db #et-boc .et-l .et_pb_section:has([class*="liste-"]) .et_pb_column:not(:has(.specifique)) .product-content{
    justify-content: end;
}

.single-realisation.et-db #et-boc .et-l .et_pb_section:has([class*="liste-"]) .et_pb_column:not(:has(.carousel)) .product-excerpt{
  display: block;
}

.single-realisation.et-db #et-boc .et-l .et_pb_section:has([class*="liste-"]) .et_pb_column:not(:has(.carousel)) .liste-produit .product-title,
.et-db #et-boc .et-l .et_pb_section:has(.sommaire):not(:has(.carousel)) .liste-produit .product-title{
    font-weight: 900 !important;
    text-align: center;
    line-height: 34px !important;
}
.single-realisation.et-db #et-boc .et-l .et_pb_section:has([class*="liste-"]) .et_pb_column:not(:has(.carousel)) .liste-produit h3.product-title,
.et-db #et-boc .et-l .et_pb_section:has(.sommaire):not(:has(.carousel)) .liste-produit h3.product-title{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.single-realisation.et-db #et-boc .et-l .et_pb_section:has([class*="liste-"]) .et_pb_column:not(:has(.carousel)) .liste-produit h3.product-title span,
.et-db #et-boc .et-l .et_pb_section:has(.sommaire):not(:has(.carousel)) .liste-produit h3.product-title span{
  font-weight: 400;
  text-transform: uppercase;
  font-size: 18px;
  letter-spacing: 0.12em;
}
.single-realisation.et-db #et-boc .et-l .et_pb_section:has([class*="liste-"]) .et_pb_column:not(:has(.carousel)) .liste-produit .product-excerpt p,
.et-db #et-boc .et-l .et_pb_section:has(.sommaire):not(:has(.carousel)) .liste-produit .product-excerpt p{
    padding: 0;
}

.single-realisation.et-db #et-boc .et-l .et_pb_section:has([class*="liste-"]) .et_pb_column:has(.carousel.specifique) .product-excerpt p{
    color: #AAA9A9;
}

/** product-category **/
.single-realisation.et-db #et-boc .et-l .et_pb_section:has([class*="liste-"]) .et_pb_column:not(:has(.carousel)) .liste-produit .product-category,
.et-db #et-boc .et-l .et_pb_section:not(:has(.carousel)) .liste-produit .product-category{
    display: none;
}

.single-realisation.et-db #et-boc .et-l .et_pb_section:has([class*="liste-"]) .et_pb_column:not(:has(.carousel)) .liste-produit .product-category,
.et-db #et-boc .et-l .et_pb_section:has(.sommaire):not(:has(.carousel)) .liste-produit .product-category{
    display: block;
    text-align: center;
    font-size: 0.65em;
    font-weight: 400 !important;
    line-height: 22px;
    letter-spacing: 2.55px;
    text-transform: uppercase;
}

.single-realisation.et-db #et-boc .et-l .et_pb_section:has([class*="liste-"]) .et_pb_column:not(:has(.carousel)) .liste-produit .product-title .product-category{
    color: #333;
}


@media(max-width: 980px){
    .et-db #et-boc .et-l .et_pb_section:has([class*="liste-"]):not(:has(.carousel)) [class*="liste-"]{
        --cards-per-view: 2 !important;
    }
}

@media(max-width: 650px){
    .et-db #et-boc .et-l .et_pb_section:has([class*="liste-"]):not(:has(.carousel)) [class*="liste-"]{
        --cards-per-view: 1 !important;
    }

    .et-db #et-boc .et-l .et_pb_section:has([class*="liste-blog"]):not(:has(.carousel)) [class*="liste-blog"]{
        --cards-per-view: 2 !important;
    }
}

@media(max-width: 578px){
    .et-db #et-boc .et-l .et_pb_section:has([class*="liste-blog"]):not(:has(.carousel)) [class*="liste-blog"]{
        --cards-per-view: 1 !important;
    }
}