.vc_gitem-zone-a .vc_single_image-wrapper {
  aspect-ratio: 16/9;
  display: block;
  background: #eee;
  overflow: hidden;
}

.vc_gitem-zone-a .vc_single_image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vc_gitem-post-data-source-post_excerpt p {
  -webkit-line-clamp: 3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vc_grid-item .vc_gitem-animated-block {
  background: #fff;
  border: 2px solid #111;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  display: flex;
  flex-direction: column;
}

.vc_grid-item .vc_gitem-zone-a {
  padding: 8px;
  background: #fff;
}

.vc_gitem-row-position-bottom {
  display: none;
}

@media (min-width: 500px) {
  .tt_button {
    color: #000;
    padding: 15px 30px;
  }
}

.vc_grid-item .vc_gitem-zone-a .vc_single_image-wrapper {
  aspect-ratio: 16/9;
  display: block;
  overflow: hidden;
  background: #eee;
  border-radius: 10px;
}

.vc_grid-item .vc_gitem-zone-a .vc_single_image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vc_grid-item .vc_gitem-zone-b {
  padding: 0 16px 16px;
}

.vc_grid-item .vc_gitem-post-data-source-post_title h3 {
  margin: 0 0 .35rem;
}

.vc_grid-item .vc_gitem-post-data-source-post_title h3 a {
  text-decoration: none;
}

.vc_grid-item .vc_gitem-post-data-source-post_excerpt p {
  margin: .25rem 0 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 3;
}

.vc_grid-item p.tt_button {
  margin: 1rem 0 0 0 !important;
}

.vc_grid-item p.tt_button a {
  display: block;
  text-align: center;
  padding: .875rem 1rem;
  border: 0;
  border-radius: 6px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
}

p.vc_custom_heading.tt_button.tt_primary_button.btn_primary_color.button-center {
  padding: 0;
}

.vc_grid-item-mini .vc_gitem-zone-a .vc_gitem-row-position-middle,
.vc_gitem-zone-b .vc_gitem-row-position-middle {
  top: -19px !important;
  padding: 2px 5px 0 5px !important;
}

.vc_gitem-zone-a .vc_gitem-zone-mini {
  padding: 2px 5px 0 5px !important;
  background: #fff;
}

.single-page-content a.vc_gitem-link:hover {
  color: #fff !important;
}

a.vc_gitem-link:hover {
  color: #e71d36 !important;
}

#wrapper .blog-detailed-grid .entry-wrapper {
  padding: 30px 0 0 0 !important;
}

.vc_grid-item .vc_gitem-animated-block {
  background: transparent;
  overflow: visible;
}

.vc_grid.vc_row .vc_grid-item .wpb_content_element a {
  border-radius: 0;
}

.content-area .vc_grid-item-mini {
  overflow: visible !important;
}

.actu-card {
  background: #fff;
  border-radius: 20px !important;
}

.actu-content,
.actu-related.container {
  padding: 0 30px;
}

.vc_custom_heading.post-link::after {
  display: none;
}

.vc_custom_heading.post-link a {
  text-transform: uppercase;
  font-size: 13px;
  text-align: center !important;
  margin: 0 auto !important;
  width: 100% !important;
  font-weight: bold;
}

.related-content .portfolio .post-link,
.vc_custom_heading.post-link,
#posts-content .post-link {
  margin-top: 15px;
  border-radius: 10px;
  color: #fff;
}

.grid-actu {
  margin-top: 0;
}

.wpb-js-composer .actus-grid {
  margin-top: 10px !important;
}

@media (max-width: 1024px) {
  .vc_grid-item .vc_gitem-post-data-source-post_excerpt p {
    -webkit-line-clamp: 2;
  }
}

@media (max-width: 640px) {
  .vc_grid-item .vc_gitem-post-data-source-post_title h3 {
    font-size: 1.2rem;
  }

  .vc_grid-item .vc_gitem-post-data-source-post_excerpt p {
    -webkit-line-clamp: 2;
  }
}

@media (max-width: 499px) {
  .blog-detailed-grid .entry-wrapper {
    margin: 0 15px !important;
  }

  p.vc_custom_heading.tt_button.tt_primary_button.btn_primary_color.button-center {
    padding: 0 !important;
  }

  .vc_grid-item-mini .vc_gitem-zone-a .vc_gitem-row-position-middle,
  .vc_gitem-zone-b .vc_gitem-row-position-middle {
    top: -19px !important;
    padding: 0 !important;
  }

  .vc_gitem-zone-a .vc_gitem-zone-mini {
    padding: 5px 15px 0 15px !important;
  }

  .wpb-js-composer #single-page .single-page-content {
    padding: 80px 0 0 0 !important;
  }

  #posts-content .blog-single-title,
  .container h1 {
    margin-bottom: 20px !important;
  }
}
