/* Project single page  */
.project__data--container .entry-content {
  text-align: center;
}
.project__data--container .entry-content p {
  line-height: 26px;
  color: #1f1f1f;
}
.gallery-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.gallery-container--text {
  position: relative;
  margin-top: 20px;
}
.gallery-container--text .entry-content {
  position: absolute;
  bottom: clamp(45px, 6vw, 100px);
  left: clamp(45px, 6vw, 90px);
  max-width: 688px;
  z-index: 1;
  color: #ffffff;
}
.gallery-container--text .entry-content p {
  color: #fff;
  line-height: 1.6;
}
.gallery-container--text::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.62) 100%
  );
}
@media (max-width: 992px) {
  .gallery-container--text .entry-content {
    max-width: 600px;
  }
}
@media (max-width: 767px) {
  .gallery-container--text .entry-content {
    max-width: 100%;
    padding: 25px;
    left: 0;
    bottom: 0;
  }
  .gallery-container--text img {
    width: 100%;
    height: 450px;
    object-fit: cover;
  }
}
/* Project single page  */

/* Service page  */
.service-banner__section {
  background-color: #871d1d;
  overflow: hidden;
  background-image: url(../img/single-bg.png);
  background-repeat: no-repeat;
  height: 514px;
  background-size: cover;
  display: flex;
  align-items: end;
  justify-content: center;
}
.service-banner__section h1 {
  font-size: clamp(32px, 4vw, 42px);
  margin-bottom: clamp(45px, 5vw, 80px);
  color: var(--light);
}

.service-content__section {
  margin-top: clamp(35px, 4vw, 45px);
}
.service-content__container {
  display: flex;
  align-items: start;
  gap: 25px;
  flex-wrap: wrap;
}
.service-content__container:nth-child(even) {
  flex-direction: row-reverse;
}
.service-content__container > div {
  width: calc(50% - 12.5px);
}
.service-content__container h2 {
  font-size: clamp(25px, 3vw, 32px);
  text-transform: none;
  margin-bottom: clamp(6px, 1.6vw, 20px);
}
.service-content__container p {
  color: #181818;
}
.service-content__container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-content__container .entry-content {
  margin-top: clamp(25px, 3vw, 55px);
  height: 340px;
  overflow: auto;
}
.service-content__container:not(:first-child) .featured-image {
  margin-top: clamp(-30px, 4vw, -90px);
}

.related-project__section .our-project__wrapper {
  grid-template-rows: repeat(3, 1fr);
}

@media (max-width: 1400px) {
  .service-content__container:not(:first-child) .featured-image {
    margin-top: 0px;
  }
}
@media (max-width: 1200px) {
  .service-banner__section {
    height: 414px;
  }
  .service-content__container .entry-content {
    height: unset;
  }
  .service-content__container:not(:last-child) {
    margin-bottom: 30px;
  }
}
@media (max-width: 992px) {
  .service-banner__section {
    height: 314px;
  }
}
@media (max-width: 767px) {
  .service-content__container {
    flex-direction: column !important;
    gap: 15px;
  }
  .service-content__container > div {
    width: 100%;
  }
  .service-content__container .entry-content {
    margin-top: 0;
  }
}
/* Service page  */
