.single-portfolio .portfolio-content :is(h1, h2, h3, h4, h5, h6) {
    margin-bottom: 10px !important;
}
.single-portfolio section.project-details {
    padding: 0;
}
.feature_img img {
  width: 100%;
  max-height: 60vh;
  object-fit: cover;
  object-position: center;
}
.portfolio-thumbnail::before {
  position: absolute;
  content: "";
  height: 100%;
  width: 100%;
  background: #00000061;
  left: 0;
  top: 0;
}
.portfolio-thumbnail {
  position: relative;
}
.feature_img {
  position: relative;
}
.portfolio-content {
  margin: 50px 0;
  border-radius: 15px;
}
.portfolio-content h1,
.portfolio-content h2 {
  font-size: 32px;
  line-height: 1.5;
  position: relative;
}
.portfolio-content h3,
.portfolio-content h4 {
  font-size: 18px;
  line-height: 1.5;
}
.portfolio-content a.btn.btn-primary {
  background: #ffac00;
  border: 2px solid #ffac00;
  transition: all 0.2s ease-in;
  color: #000;
}

.portfolio-content a.btn.btn-primary:hover {
  color: #fff;
}
.portfolio-content img {
  width: 100%;
}
.feature_img {
  max-width: 1294px;
  margin: 0px auto;
  padding-top: 40px;
}
.content_part {
  position: absolute;
  transform: none;
  color: #fff;
  padding: 40px;
  background: #0000004d;
  z-index: 1;
  bottom: 0;
  width: 100%;
  left: 50px;
}
.portfolio_title {
  font-size: 55px;
}
.single-portfolio header {
  box-shadow: 0 0 10px #0000002e;
  position: relative;
}
.single-portfolio .toggle_icon i {
  color: #000;
}
.content_part p.description {
  margin-top: 20px;
}
#pr-single-btn {
    max-width: 45%;
    margin: 18px auto 0;
}
#pr-single-btn a{
  flex: 1;
  white-space: nowrap;
}
.portfolio-description {
  padding: 40px 0px;
}
@media screen and (max-width: 767px) {
  h1.portfolio_title {
    font-size: 24px;
  }
  .portfolio-content h1,
  .portfolio-content h2 {
    font-size: 22px;
  }
  .portfolio-content img {
    max-height: 60vh;
  }
  .feature_img {
    flex-direction: column;
  }
  .content_part {
    top: -70px !important;
    max-width: 80%;
    left: 50%;
    transform: translateX(-50%);
    position: relative;
    padding: 20px;
    height: unset;
  }

  .single .content_part {
    top: 0px !important;
    transform: unset !important;
    max-width: 100%;
    position: absolute;
  }
  .feature_img img {
    max-width: 100%;
    height: 400px !important;
    object-fit: cover;
    object-position: center;
}
  .content_part h1.portfolio_title{
    font-size: 24px !important;
    padding-top: 120px;
  }
#pr-single-btn {
    max-width: 100%;    
}
#pr-single-btn a {
    flex: auto;
}
  
}
