/* Meet Dr. Carlotti: full photographs in a stable, uncropped frame. */
.surgeon-slideshow {
  margin: 0 0 2rem;
  overflow: hidden;
  background: #080909;
  border: 1px solid rgba(196, 167, 106, .48);
  color: #f6f2e9;
}
.surgeon-slideshow-frame {
  position: relative;
  height: min(760px, 78vh);
  min-height: 320px;
  isolation: isolate;
}
.surgeon-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  transition: opacity 650ms ease-in-out;
}
.surgeon-slide.is-active {
  opacity: 1;
  z-index: 1;
}
.surgeon-slide > img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
}
.surgeon-slideshow-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(.25rem, 1.4vw, 1rem);
  padding: .5rem;
  border-top: 1px solid rgba(196, 167, 106, .28);
}
.surgeon-slideshow-controls[hidden] { display: none; }
.surgeon-slideshow-controls button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: .5rem;
  min-width: 52px;
  min-height: 44px;
  padding: .5rem .75rem;
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: .8rem;
  line-height: 1.2;
  cursor: pointer;
}
.surgeon-slideshow-controls button:hover {
  border-color: rgba(196, 167, 106, .48);
  color: #dfc58f;
}
.surgeon-slideshow-controls button:focus-visible {
  outline: 2px solid #dfc58f;
  outline-offset: -3px;
}
.surgeon-slideshow-controls button[aria-disabled="true"] { opacity: .5; }
.surgeon-slideshow-counter {
  min-width: 3.3rem;
  text-align: center;
  color: #dfc58f;
  font-size: .8rem;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 540px) {
  .surgeon-slideshow-frame { height: min(128vw, 620px); min-height: 0; }
  .surgeon-control-word { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .surgeon-slide { transition: none; }
}
