.list_annonces {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-flow: dense;
}

.list_container_single_annonce_title,
.list_container_single_annonce_price {
    color: rgb(35, 31, 32);
}

.list_annonces_container_annonces:nth-child(6n + 1),
.list_annonces_container_annonces:nth-child(6n + 6) {
    grid-column: span 2;
    grid-row: span 2;
    padding: 50px;
    position: relative;
}

.list_annonces_container_annonces:nth-child(6n + 2),
.list_annonces_container_annonces:nth-child(6n + 3) {
    grid-column: span 1;
    padding: 25px;
    position: relative;
}

.list_annonces_container_annonces:nth-child(6n + 4),
.list_annonces_container_annonces:nth-child(6n + 5) {
    grid-column: 1 / span 1;
    padding: 25px;
    position: relative;
}

.list_annonces_container_single_annonce_img {
    position: relative;
    overflow: hidden;
    width: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.list_annonces_container_single_annonce_img:before {
    display: block;
    padding-bottom: 65%;
    content: "";
}

/*.list_annonces_container_single_annonce_img::after {
    content:'';
    background-color: rgba(0,0,0,0.5);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: 0.3s;
    
}*/
.list_annonces_container_single_annonce_img:hover:after {
    opacity: 1;
}
.list_annonces_single_annonce_details {
    display: flex;
    flex-wrap: wrap;
    padding-top: 10px;
}

.list_container_single_annonce_title {
    width: 100%;
  text-transform: uppercase;
}

.list_container_single_annonce_location,
.list_container_single_annonce_price {
    width: calc(100% - 120px);
    text-transform: uppercase;
}
.list_container_single_annonce_location {
    font-weight: 300;
}

.list_container_single_annonce_price {
    text-align: right;
    font-weight: 400;
    width: 120px;
}


.badge_exclu {
    display: block;
    background-image: url(/wp-content/uploads/2022/03/badge-excusivite.svg);
    background-repeat: no-repeat;
    width: 80px;
    height: 80px;
    position: absolute;
    top: 15px;
    right: 15px;
    z-index:10;
}

.badge_collec {
    display: block;
    background-image: url(/wp-content/uploads/2022/03/badge-collector.svg);
    background-repeat: no-repeat;
    width: 80px;
    height: 80px;
    top: 15px;
    right: 15px;
    position: absolute;
    z-index:10;
}

.title_margin {
    margin-bottom: 60px;
}

.wpgb-facet .wpgb-checkbox-facet .wpgb-checkbox[aria-pressed="true"] .wpgb-checkbox-control {
    background-color: #9E1F23 !important;
    border: 2px solid #9E1F23 !important;
}


/* Pagination */

.wpgb-facet {
    display: flex;
    justify-content: flex-end;
    font-family: 'Work Sans';
}

.wpgb-sr-only {
    font-family: 'Work Sans' !important;
    font-size: 18px !important;
}

.wpgb-facet .wpgb-pagination li a {
    color: #231f20 !important;
    font-size: 20px !important;
    font-family: 'Work Sans' !important;
    font-weight: 200 !important;
    outline: none !important;
}

.wpgb-facet .wpgb-pagination li a[aria-current] {
    font-weight: 400 !important;
    outline: none !important;
    background: left center / 0% 100% linear-gradient(#0000 calc(100% - 1px), #9E1F23 calc(100% - 1px)) no-repeat;
    background-size: 100% 100%;
}

.wpgb-facet .wpgb-pagination li:first-child a:not([aria-current='true']) {
    background-image: url('/wp-content/uploads/2022/03/prev.svg');
    background-repeat: no-repeat;
    height: 40px;
    font-size: 0px;
    outline: none !important;
}

.wpgb-facet .wpgb-pagination li:last-child a:not([aria-current='true']) {
    background-image: url('/wp-content/uploads/2022/03/next.svg');
    background-repeat: no-repeat;
    height: 40px;
    font-size: 0px;
    outline: none !important;
}

.wpgb-facet.wpgb-facet-6 {
    display: flex !important;
    justify-content: flex-start !important;
}

span.wpgb-checkbox-label {
    display: none;
}


/***.  MEDIA QUERIES ***/


@media screen and (max-width: 991px) {
  .list_annonces {
    grid-template-columns: repeat(2, 1fr);
   }
    
}
@media screen and (max-width: 767px) {
  .list_annonces {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
   }
    .list_annonces_container_annonces {
      width: 100%;
      padding: 25px !important;
    }
    
}