/* Shared supplied-review card skin and responsive grid alignment. Carousel
   geometry retains the approved widths, breakpoints and scrolling pace. */
body :is(.dillon-home-testimonials,.dillon-company-testimonials-grid) .dillon-testimonial-card {
  position:relative; isolation:isolate; border-radius:0;
}
body :is(.dillon-home-testimonials,.dillon-company-testimonials-grid) .dillon-testimonial-mark {
  pointer-events:none;
}
body :is(.dillon-home-testimonials,.dillon-company-testimonials-grid) .dillon-testimonial-footer {
  margin-top:auto!important; margin-block-start:auto!important;
  width:100%; min-height:0!important; box-sizing:border-box;
  flex-shrink:0;
}
body :is(.dillon-home-testimonials,.dillon-company-testimonials-grid) .dillon-testimonial-stars {
  flex-shrink:0; flex-direction:row; flex-wrap:nowrap; justify-content:flex-start;
  align-items:center; gap:4px;
}
body .dillon-company-testimonials-grid .dillon-testimonial-grid:not(#_) {
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr))!important;
  grid-auto-rows:1fr; align-items:stretch; justify-items:stretch; gap:24px;
}
body .dillon-company-testimonials-grid .dillon-testimonial-grid > .dillon-testimonial-card {
  align-self:stretch; height:100%; min-width:0; max-width:100%; box-sizing:border-box;
}
@media(max-width:1024px) {
  body .dillon-company-testimonials-grid .dillon-testimonial-grid:not(#_) {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:760px) {
  /* Company grid introduction only, including saved/reusable presentations. */
  body .dillon-company-testimonials-grid > .dillon-interior-width > :is(.dillon-interior-heading,.dillon-interior-copy) {
    text-align:left!important; align-self:flex-start!important;
  }
  body .dillon-company-testimonials-grid .dillon-testimonial-grid:not(#_) {
    grid-template-columns:minmax(0,1fr)!important;
  }
}
body :is(.dillon-home-testimonials,.dillon-company-testimonials-grid) .dillon-testimonial-card :is(.dillon-testimonial-quote,.dillon-testimonial-attribution) p {
  font:inherit; color:inherit; margin:0;
}
body .dillon-home-testimonials { overflow-x:clip; }
body .dillon-home-testimonials .dillon-supplied-testimonial-track:not(#_) {
  width:max-content!important; --width:max-content; max-width:none!important;
  flex-shrink:0!important; flex-wrap:nowrap!important; direction:ltr;
  transition:none!important;
  column-gap:24px!important; padding-right:24px!important;
}
body .dillon-home-testimonials .dillon-supplied-testimonial-track:not(#_) > .e-con {
  flex:0 0 340px!important; width:340px!important; --width:340px;
}
@media(min-width:761px) and (max-width:1050px) {
  body .dillon-home-testimonials .dillon-supplied-testimonial-track:not(#_) > .e-con {
    flex:0 0 300px!important; width:300px!important; --width:300px;
  }
}
@media(max-width:760px) {
  body .dillon-home-testimonials .dillon-supplied-testimonial-track:not(#_) {
    column-gap:16px!important; padding-right:16px!important;
  }
  body .dillon-home-testimonials .dillon-supplied-testimonial-track:not(#_) > .e-con {
    flex:0 0 calc(100vw - 36px)!important; width:calc(100vw - 36px)!important;
    --width:calc(100vw - 36px);
  }
}
body .dillon-home-testimonials .dillon-supplied-testimonial-track:not(#_)[data-dillon-loop-static] {
  width:100%!important; --width:100%; overflow-x:auto; transform:none!important;
}
body .dillon-home-testimonials [data-dillon-loop-static] > [data-dillon-loop-copy] {
  display:none!important;
}
@media(prefers-reduced-motion:reduce) {
  body .dillon-home-testimonials .dillon-supplied-testimonial-track:not(#_) {
    width:100%!important; --width:100%; overflow-x:auto; transform:none!important;
  }
  body .dillon-home-testimonials .dillon-supplied-testimonial-track > [data-dillon-loop-copy] {
    display:none!important;
  }
}

/* Paired quotation punctuation; keep the supplied review text unchanged. */
body :is(.dillon-home-testimonials,.dillon-company-testimonials-grid) .dillon-testimonial-quote p:first-child::before { content:"\201C"; }
body :is(.dillon-home-testimonials,.dillon-company-testimonials-grid) .dillon-testimonial-quote p:last-child::after { content:"\201D"; }
