.testi-evidence.testi-photo-only {
  margin-top: 2px;
  padding: 0;
  border: 0;
  background: transparent;
}
.testi-photo-crop {
  display: block;
  position: relative;
  aspect-ratio: 734 / 736;
  overflow: hidden;
  border-radius: 4.6%;
}
#testi-lightbox .testi-photo-crop {
  width: min(85vw, 76vh, 734px);
}
.testi-photo-only .testi-photo-crop img,
#testi-lightbox .testi-photo-crop img {
  display: block;
  position: absolute;
  max-width: none;
  max-height: none;
  width: 175.749319%;
  height: auto;
  left: -37.874659%;
  top: -4.347826%;
}
#testi-lightbox{border:0;border-radius:18px;padding:48px 16px 16px;background:#faf9f6;max-width:94vw;max-height:94vh;}
#testi-lightbox::backdrop{background:rgba(20,20,20,.78);}
#testi-lightbox img{display:block;max-width:85vw;max-height:78vh;object-fit:contain;}
#testi-close{position:absolute;top:8px;right:12px;padding:7px 14px;border:0;background:#eee;border-radius:20px;cursor:pointer;font:inherit;}

.before-after-block { min-width: 0; }
.before-after-block .section-head { display: block; margin-bottom: 1.25rem; }
.before-after-block .section-head p { margin-top: .65rem; }
.before-after-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.before-after-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1rem;
  border: 1px solid var(--reset-rule);
  border-radius: var(--reset-radius);
  background: var(--reset-ivory);
}
.before-after-card .testimonial-result { margin: 0; color: var(--reset-ink); font-size: 1.2rem; font-weight: 800; }
.before-after-card .testimonial-meta { font-size: .875rem; color: var(--reset-muted); }
.before-after-card .testimonial-quote { margin: .75rem 0 1rem; }
.before-after-card .testi-evidence {
  display: block;
  width: 100%;
  margin-top: auto;
  padding: 0;
  border: 0;
  border-radius: .5rem;
  background: transparent;
  cursor: zoom-in;
  overflow: hidden;
}
.before-after-card .testi-evidence:focus-visible { outline: 2px solid var(--reset-ink); outline-offset: 4px; }
.before-after-card .testi-evidence > img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.before-after-block .testi-enlarge { margin-top: .5rem; text-align: center; font-size: .8125rem; color: var(--reset-muted); }
.before-after-block .testi-note { margin-top: 1rem; color: var(--reset-muted); font-size: .8125rem; }
@media (max-width: 700px) {
  .before-after-grid { grid-template-columns: minmax(0, 1fr); }
}
