/* The service thumbnails share the tooth-gem card's frame. */
#services .service-card img[src*="home-cleaning-blue-light"] {
  object-fit: cover;
  object-position: center 40%;
}
#services .service-card img[src*="home-assessment-monitor"] {
  object-fit: cover;
  object-position: 30% top;
}

.revision-our-approach .photo-review-landscape .rev-hero-image {
  aspect-ratio: 1504 / 1046;
}
.revision-our-approach [aria-labelledby="nov6-08-03"] > figure {
  align-self: center;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1365 / 1520;
}
.revision-our-approach [aria-labelledby="nov6-08-03"] > figure img {
  object-fit: cover;
  object-position: center bottom;
}

/* Frame the three original portraits around their individual eye lines. */
.rev-team-section .rev-team-grid figure {
  position: relative;
  overflow: clip;
  height: auto;
  aspect-ratio: 4 / 5;
}
.rev-team-section .rev-team-grid figure img {
  position: absolute;
  width: var(--portrait-width, 100%);
  max-width: none;
  height: auto;
  left: var(--portrait-left, 0%);
  top: var(--portrait-top, 0%);
}
.rev-team-grid img[src*="leah-verstraete-smile-blanc-founder-portrait"] {
  --portrait-width: 160%;
  --portrait-left: -12.5%;
  --portrait-top: -22.5%;
}
.rev-team-grid img[src*="karm-dental-hygienist-smile-blanc-portrait-v2"] {
  --portrait-width: 213.33%;
  --portrait-left: -45%;
  --portrait-top: -44.17%;
}
.rev-team-grid img[src*="faith-administrative-coordinator-smile-blanc-v2"] {
  --portrait-width: 133.33%;
  --portrait-left: -21.61%;
  --portrait-top: -7.92%;
}

#estimate p + .nov6-copy-group {
  margin-top: 30px;
}

/* Match the width of the gallery column at every breakpoint. */
.home-hero .home-gallery {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1 / 1;
  align-self: center;
}

/* Override the earlier letterboxing rule for comparison slides. */
.home-hero .home-gallery-slide img {
  object-fit: cover !important;
}
