.portfolio-home-wrap,
.portfolio-archive-section,
.portfolio-similaires {
  position: relative;
}

.portfolio-slider-wrap {
  position: relative;
}

.portfolio-loader {
  display: none;
}

.portfolio-loader.active {
  display: flex;
}

.portfolio-filterable-slide {
  height: 100%;
}

.portfolio-item.style-2 {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
}

.portfolio-item.style-2 .portfolio-image {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  height: 380px;
}

.portfolio-item.style-2 .portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.portfolio-item.style-2:hover .portfolio-image img {
  transform: scale(1.05);
}

.portfolio-no-image {
  width: 100%;
  height: 100%;
  /* background: linear-gradient(135deg, #40181a, #6e3336); */
  background-color: var(--color-background-secondary, #f0efe8);

}

.portfolio-item.style-2 .portfolio-title h4 {
  font-size: 16px!important;
  font-weight: 500;
  line-height: 1.45;
}

.portfolio-empty-message {
  display: none;
  text-align: center;
  padding: 50px 20px;
  color: #666;
}

.portfolio-single-section {
  padding: 0px 10px 0px 10px;
} 

.portfolio-similaires {
  margin-top: 60px;
}

.team-title h2 {
  line-height: 55px;
  font-weight: 700;
  font-style: normal;
  font-size: 45px;
  margin-bottom: 30px;
  color:#40181a;
}
.entry-content p {
  line-height: 30px;
  /* font-weight: 500; */
  font-style: normal;
  /* font-size: 17px; */
  color: black;
  /* text-align:justify!important; */
}
.similaires-titre h3 {
  line-height: 44px;
  font-weight: 700;
  font-style: normal;
  font-size: 35px;
  color:#40181a;
}

.portfolio-slider-wrap {
  margin-top: 20px;
}

.post-single-page{
  padding: 30px 30px 30px 30px;
}

@media (max-width: 991px) {
  .portfolio-item.style-2 .portfolio-image {
    height: 320px;
  }
  .post-single-page{
  padding: 25px 30px 25px 30px;
}
.portfolio-single-section {
  padding: 0px 18px 0px 18px;
} 
  .team-title h2 {
  line-height: 1.3;
  font-weight: 700;
  font-style: normal;
  font-size: 36px;
  color:#40181a;
}
.similaires-titre h3 {
    line-height: 20px;
    font-weight: 700;
    font-style: normal;
    font-size: 25px;
    color:#40181a;
  }
}

@media (max-width: 767px) {
  .portfolio-filters {
    gap: 8px;
  }
.post-single-page{
 padding: 17px 17px 17px 17px;
}
.portfolio-single-section {
  padding: 0px 10px 0px 10px;
} 
  .portfolio-filters .filter-btn {
    padding: 8px 16px;
    font-size: 12px;
  }

  .portfolio-item.style-2 .portfolio-image {
    height: 260px;
  }

  .portfolio-item.style-2 .portfolio-title h4 {
    font-size: 18px;
  }
 .team-title h2 {
  line-height: 1.2;
  font-weight: 700;
  font-style: normal;
  font-size: 17px;
  color:#40181a;
}
  .similaires-titre h3 {
    line-height: 20px;
    font-weight: 700;
    font-style: normal;
    font-size: 17px;
    color:#40181a;
  }
  .entry-content p {
    line-height: 20px;
    /* font-weight: 500; */
    font-style: normal;
    font-size: 13px;
    color: black;
  }
  .portfolio-slider-wrap {
    margin-top: 10px;
  }
}