:root {
  --photo-frame-background: #fbf8ef;
  --photo-frame-border: 1px solid #d8c7a4;
  --photo-frame-radius: 14px;
}

:is(.hero-art, .digital-photograph) > img,
.implant-panel-lead .implant-step-photo,
.implant-panel .guide-photo,
.immediate-pictures img,
.bone-explainer img {
  background: var(--photo-frame-background);
  border: var(--photo-frame-border);
  border-radius: var(--photo-frame-radius);
  object-fit: contain;
  padding: clamp(12px, 3%, 30px);
}

.hero-art::before { display: none; }

.hero-art > img {
  height: 100%;
  max-height: inherit;
  padding: clamp(12px, 3%, 30px);
}

.digital-visual.digital-photograph {
  border: 0;
  background: none;
}

.implant-panel .guide-photo,
.implant-panel .immediate-pictures img {
  height: clamp(170px, 23vw, 245px);
}

.care-explorer .real-view {
  background: var(--photo-frame-background);
  border: var(--photo-frame-border);
  border-radius: var(--photo-frame-radius);
}

.care-explorer .real-view-photo {
  position: absolute;
  inset: 1px;
  overflow: hidden;
  border-radius: inherit;
}

.care-explorer .real-view img {
  position: absolute;
  inset: 6%;
  width: 88%;
  height: 88%;
  padding: 0;
}

/* The implant journey already frames its illustration and four steps together. */
.prevention-hub-card .implant-image-open img {
  background: var(--photo-frame-background);
  border: var(--photo-frame-border);
  border-radius: var(--photo-frame-radius);
  mix-blend-mode: normal;
  padding-inline: 12%;
}

.cabinet-map {
  background: var(--photo-frame-background);
  border: var(--photo-frame-border);
  border-radius: var(--photo-frame-radius);
  padding: 12px;
}

.cabinet-map iframe {
  border: 1px solid #aa8548;
  border-radius: 12px;
}
