/* Keep testimonial cards fully outlined on project pages */
.single-post .testimonials-slider .owl-item.active {
  border-color: transparent !important;
  box-shadow: inset 0 0 0 1px #646464, 0 4px 40px rgba(0, 0, 0, 0.08) !important;
}/* Keep testimonial cards fully outlined on project pages */
.single-post .testimonials-slider .owl-item.active {
  border-color: transparent !important;
  box-shadow: inset 0 0 0 1px #646464, 0 4px 40px rgba(0, 0, 0, 0.08) !important;
}

/* Keep the Dwell article link styled as a project link box, including older cached markup */
.single-post.postid-6707 a[href*="dwell.com/article/before-and-after-del-oro"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background: #d56312 !important;
  color: #ffffff !important;
  text-decoration: none !important;
  padding: 14px 23px !important;
  border-radius: 2px !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  letter-spacing: .4px !important;
  line-height: 1.4 !important;
  text-align: center !important;
  text-transform: uppercase !important;
  box-shadow: 0 2px 5px rgba(0,0,0,.16) !important;
}
.single-post.postid-6707 .dwel-back-to-projects-row .wpb_wrapper > p[style*="display:flex"] {
  display: grid !important;
  grid-template-columns: 1fr auto 1fr !important;
  align-items: center !important;
  width: 100% !important;
  margin: 28px auto 34px !important;
  padding: 0 16px !important;
  box-sizing: border-box !important;
}
.single-post.postid-6707 .dwel-back-to-projects-row .wpb_wrapper > p[style*="display:flex"] > a[href*="/projects/"] {
  grid-column: 1 !important;
  justify-self: start !important;
}
.single-post.postid-6707 .dwel-back-to-projects-row .wpb_wrapper > p[style*="display:flex"] > a[href*="dwell.com/article/"] {
  grid-column: 2 !important;
  justify-self: center !important;
}
@media (max-width: 767px) {
  .single-post.postid-6707 .dwel-back-to-projects-row .wpb_wrapper > p[style*="display:flex"] {
    grid-template-columns: 1fr !important;
    row-gap: 22px !important;
  }
  .single-post.postid-6707 .dwel-back-to-projects-row .wpb_wrapper > p[style*="display:flex"] > a[href*="dwell.com/article/"] {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }
  .single-post.postid-6707 .dwel-back-to-projects-row .wpb_wrapper > p[style*="display:flex"] > a[href*="/projects/"] {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }
}


/* Testimonial carousel alignment fix for all project posts - 2026-08-29 */
body.single-post #gallery-testimonial-carousel.owl-carousel {
  margin-left: auto;
  margin-right: auto;
}

body.single-post #gallery-testimonial-carousel.owl-carousel .owl-stage-outer {
  container-type: inline-size;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.single-post #gallery-testimonial-carousel.owl-carousel .owl-item,
body.single-post #gallery-testimonial-carousel.owl-carousel .owl-item.active {
  box-sizing: border-box !important;
  margin-left: 1px !important;
  margin-right: 29px !important;
  border-color: transparent !important;
  box-shadow: inset 0 0 0 1px #646464, 0 4px 40px rgba(0, 0, 0, 0.08) !important;
}

@media (max-width: 1024px) {
  body.single-post #gallery-testimonial-carousel.owl-carousel .owl-item,
  body.single-post #gallery-testimonial-carousel.owl-carousel .owl-item.active {
    width: 100cqw !important;
    max-width: none !important;
  }
}