/* HERO HEADER */


@media only screen and (min-width: 883px) { 

.clickfi_tail_blog_mob, #wp--skip-link--target > section > div.wp-block-group.has-global-padding.is-layout-constrained.wp-container-core-group-is-layout-c88c9047.wp-block-group-is-layout-constrained > figure {
    display: none;
    }
.clickfi_tail_blog_mob img, #wp--skip-link--target > section > div.wp-block-group.has-global-padding.is-layout-constrained.wp-container-core-group-is-layout-c88c9047.wp-block-group-is-layout-constrained > figure {
    display: none !important;
    }
 }
    
a, div, button {
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.clickfi_blog_bg_tail, .wp-container-core-group-is-layout-f40b7f3f {
  background-image: url('./../images/tail-fox-2.svg') !important;
  background-position: 100% 180px;
  background-repeat: no-repeat !important;
  background-size: 400px;
}



@media only screen and (max-width: 1188px) {
    .clickfi_blog_bg_tail, .wp-container-core-group-is-layout-f40b7f3f  {
        background-size: 345px !important;
    }
}
    
@media only screen and (min-width: 883px) and (max-width: 1300px) {
 .clickfi_main_mob_title h2, .clickfi_one_card_real h2 {
    font-size: 38px !important;
    }
}

.clickfi_titlebloglast {
    color: #444 !important;
    }

#wp--skip-link--target > section > div.wp-block-group.alignfull.has-custom-titre-1-background-color.has-background.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained > h2 {
    color: #444 !important;
    }

/* AFFICHAGE DES ARTICLES */

.grid-posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
    padding: 0 79px 90px !important;
  }

  .click {
    width: 100% !important;
  }
  
  .post-card {
    z-index: 1000 !important;
    background-color: #fff;
    border-radius: 16px;
    padding: 50px 30px;
    box-shadow: 0 0 0 1px #eee;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: all 0.2s ease;
    max-width: 354px !important;
    z-index: inherit;
    position: relative;
    
  }
  
  .post-card:hover {
    box-shadow: 0px 4px 200px 0px #E9E9E9 !important;
  }
  
  .post-date {
    color: #939393;
    leading-trim: both;
    text-edge: cap;
    font-family: "Karla";
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: capitalize;
  }

  .post-thumbnail {
    width: 100%;
  }
  
  .post-thumbnail img {
    max-width: 354px;
    width: 100%;
    height: 203px;
    border-radius: 10px;
    object-fit: cover;
    margin-bottom: 40px;
    margin-top: 40px;
  }
  
  .img-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background-color: #ddd;
    border-radius: 8px;
    margin-bottom: 10px;
  }
  
  .post-title {
    color: #444;
    leading-trim: both;
    text-edge: cap;
    font-family: "Archivo";
    font-size: 28px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    transition: color 0.2s ease;
    display: flex !important;
    text-decoration: none !important;
  }
  
  .post-title a {
    text-decoration: none !important;
    color: #444 !important;
    }
    
  .post-title a::before {
     content: "";
      position: absolute;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
    }
  

  a.post-card,
  a.post-card:link,
  a.post-card:visited,
  a.post-card:hover,
  a.post-card:active {
  text-decoration: none !important;
  border-bottom: none !important;
}

  .post-title:hover {
    color: #FF9F1C !important;
  }

  
  #ajax-posts-container {
    max-width: 1440px !important;
  }

  #text {
    display: none !important;
  }

.clickfi_hero_blog {
    margin: 0 !important;
}   

.wp-container-core-columns-is-layout-f2b4f319 {
    margin: 0 !important;
}

.clickfi_card_blog_img {
    max-width: 800px !important;
}

.pagination-container { 
    padding: 50px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    }
    

.pagination-container {
    margin: 30px 0;
    display: flex;
    justify-content: center;
    font-size: 22px;
}

.ajax-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
    fo
}

.ajax-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 5px 10px;
    border-radius: 10px;
    background-color: #f0f0f0;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.ajax-pagination .page-numbers.current {
    background-color: #FF9F1C;
    color: #fff;
}

.ajax-pagination .page-numbers:hover:not(.current):not(.dots) {
    background-color: #ddd;
}

.ajax-pagination .prev,
.ajax-pagination .next {
    padding: 5px 15px;
}

.ajax-pagination .dots {
    background: none;
    cursor: default;
}


#ajax-posts-container.loading {
    opacity: 0.5;
    pointer-events: none;
}

#ajax-posts-container {
    transition: opacity 0.3s ease;
}

/* FILTER */

.custom-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 11px;
  margin-bottom: 80px;
  max-width: 750px;
  z-index: 10000;
  position: relative;
}

.filter-button {
  background-color: transparent;
  border: none;
  color: #999;
  padding: 15px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #939393;
  text-align: center;
  leading-trim: both;
  text-edge: cap;
  font-family: "Karla";
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.filter-button.active,
.filter-button:hover {
  background-color: rgba(172, 169, 178, 0.20);
  color: #939393;
  text-align: center;
  leading-trim: both;
  text-edge: cap;
  font-family: Karla;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}


#ajax-posts-container p {
    text-align: center;
    padding-bottom: 20px;
}    

@media only screen and (max-width: 882px) {

.custom-filters {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  flex-direction: row;
  overflow-x: scroll;
  gap: 11px;
  margin-bottom: 80px;
  max-width: 750px;
  z-index: 1001 !important;
  position: relative;
  -webkit-overflow-scrolling: touch; 
  margin-left: 30px !important;
  margin-right: 30px !important;
  padding-bottom: 20px !important;
}

.filter-button {
  white-space: nowrap;
}

.clickfi_one_card_real {
  position: relative;
  z-index: 10001;
}


@media only screen and (max-width: 882px) {
  .grid-posts  {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    padding : 0 30px 50px !important;
    }

  .clickfi_img_single2 img {
    top: 27%;
    }
    
 .clickfi_main_mob_title h2, .post-title, .clickfi_one_card_real h2 {
    font-size: 22px !important;
    }
    
    .grid-posts article {
     padding: 30px 20px !important;
    }
}

@media only screen and (max-width: 482px) {
  .clickfi_img_single2 img {
    top: 28%;
  }
}


@media only screen and (max-width: 882px) { 
  .clickfi_btn_alt2 {
    display: none !important;
  }
  .wp-container-core-group-is-layout-aab32808 {
    padding-bottom: 50px !important;
    }
    
  .clickfi_img_single img {
    right: 30% !important;
  }

  .sticky-sidebar {
    display: none;
  }

  .clickfi_bg_single .wp-block-columns {
    padding: 0 30px !important;
  }

  .clickfi_content_article_group .entry-content {
    padding-top : 30px !important;
    padding-bottom: 100px !important;
  }

  .clickfi_btn_blog_section {
    padding-top : 0px !important;
  }

  body > div.wp-site-blocks > div.wp-block-group.clickfi_bg_single.is-layout-flow.wp-block-group-is-layout-flow > div.wp-block-group.clickandfi-heroheader2.has-custom-paragraphe-1-background-color.has-background.has-global-padding.is-layout-constrained.wp-container-core-group-is-layout-071fe3a8.wp-block-group-is-layout-constrained > div > div:nth-child(2) > figure {
    z-index: 1001 !important;
  }


  /* BLOG */

  .clickfi_hero_blog {
    padding-left: 30px !important;
    padding-right: 30px !important;
    padding-top: 160px !important;
    display: flex;
    flex-direction: column;
    align-content: flex-start;
    justify-content: flex-start;
    gap: 70px !important;
  }

  .clickfi_blog_bg_tail, .wp-container-core-group-is-layout-f40b7f3f {
    background-position: 0% 60vh !important;
    background-image: none !important;
    background-size: 1px !important;
}

.clickfi_tail_blog_mob {
    text-align: right !important;
    display: block;
    }
.clickfi_tail_blog_mob img {
    width: 260px !important;
    margin-top: 20px !important;
    }
    
#wp--skip-link--target > section > div.wp-block-group.has-global-padding.is-layout-constrained.wp-container-core-group-is-layout-aab32808.wp-block-group-is-layout-constrained > div > div > div > div > p {
    font-size: 22px !important;
    }
    
.clickfi_one_card {
  padding: 0px 30px 100px !important;
}

.clickfi_one_card_real {
  padding-left: 30px !important;
}

.clickfi_card_blog_img  {
  height: 210px !important;
  img {
    height: 210px !important;
  }
}

.clickfi_btn_hide_mob {
  display: none;
}
}

/* YMANCI PAGE */
@media only screen and (max-width: 1078px) {
    .clickfi_displayflex_ymanci {
        display: flex;
        flex-direction: column;
        padding-right: 0 !important;
        
    }
    
    .clickfi_displayflex_ymanci_conteneur {
        display: flex;
        flex-direction: column;
        padding-left: 30px !important;
        padding-right: 30px !important;
        }
}
@media only screen and (max-width: 982px) {
    .clickfi_hero_ymanci, .clickfi_bandeau_presentation  {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }
    
    .clickfi-margin-hero {
        margin-top: -2px !important;
    }

    .clickfi_hero_ymanci h1 {
        font-size: 42px !important;
    }
    
    .clickfi_intro_services2 {
        padding-left: 30px !important;
        padding-right: 30px !important;
        padding-bottom: 125px !important;
        background-image: none !important;
    }
    
    .clickfi_grey_section {
        padding-top: 40px !important;
        padding-bottom: 0 !important;
        text-align: center;
    }
    
     .clickfi_grey_section h2,  .clickfi_grey_section p {
        text-align: center;
    }
    
    .clickfi_fox_ymanci img {
        position: relative;
        right: -30px;
    }
        
}




