/* ==========================================================================
   Direct Homes – Testimonials
   Card:   photo + name + quote icon on top, review text below.
   ========================================================================== */

body section.testimonials.dh-testimonials {
  padding: 4.6rem 0;
  background: var(--dh-bg);
}

/* Equal-height cards inside Owl */
.dh-testi-slider .owl-stage {
  display: flex;
}

.dh-testi-slider .owl-item {
  display: flex;
  padding: 10px 0 24px;
}

.dh-testi {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 28px 26px 30px;
  border: 1px solid var(--dh-sand);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(var(--dh-primary-rgb), 0.05);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.dh-testi:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(var(--dh-primary-rgb), 0.12);
}

.dh-testi__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

/* ".owl-carousel .owl-item img" sets width:100% – keep the avatar small */
.dh-testi-slider .owl-item img.dh-testi__avatar {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  border: 2px solid var(--dh-sand);
  border-radius: 50%;
  object-fit: cover;
}

.dh-testi__who {
  flex: 1 1 auto;
  min-width: 0;
}

.dh-testi__name {
  margin: 0 0 2px;
  font-family: var(--dh-font-heading);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--dh-primary);
  text-transform: none;
}

.dh-testi__place {
  margin: 0;
  font-family: var(--dh-font-body);
  font-size: 14px;
  line-height: 1.4;
  color: #777;
}

.dh-testi__quote {
  flex: 0 0 auto;
  display: inline-flex;
  color: var(--dh-accent);
  opacity: 0.85;
}

.dh-testi__text {
  margin: 0;
  font-family: var(--dh-font-body);
  font-size: 15px;
  line-height: 1.7;
  color: #555;
}

@media (max-width: 575px) {
  .dh-testi {
    padding: 24px 22px 26px;
  }
}

/* --------------------------------------------------------------------------
   -------------------------------------------------------------------------- */
.dh-stars {
  display: flex;
  gap: 3px;
  color: var(--dh-accent);
}

.dh-testi__title {
  margin: 0 0 8px;
  font-family: var(--dh-font-heading);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--dh-primary);
}

.dh-testi__text {
  margin-bottom: 20px;
}

.dh-testi__stars {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--dh-sand);
}

/* Owl clips at the stage edge; with sub-pixel widths the first card's left
   border was cut off. Give the clip area 4px extra on both sides
   (padding + equal negative margin keeps the cards on the same line). */
.dh-testi-slider .owl-stage-outer {
  margin-right: -4px;
  margin-left: -4px;
  padding-right: 4px;
  padding-left: 4px;
}
