.clinic-gallery { position: relative; container-type: inline-size; align-self: center; min-width: 0; }
.clinic-gallery-photos { overflow: hidden; }
.clinic-gallery figure[hidden], .clinic-gallery-controls[hidden] { display: none; }
.clinic-gallery img {
  min-height: 0;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.clinic-gallery-controls {
  position: absolute;
  inset-inline: .55rem;
  top: 37.5cqi;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}
.clinic-gallery-controls button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgb(16 40 39 / 45%);
  color: #fff;
  pointer-events: auto;
  cursor: pointer;
}
.clinic-gallery-controls button::before {
  content: "";
  width: 8px;
  height: 8px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: rotate(-45deg);
}
.clinic-gallery-controls button:first-child::before { transform: rotate(135deg); }
.clinic-gallery-controls button:hover { background: rgb(16 40 39 / 80%); }
.clinic-gallery-controls button:focus-visible { outline: 2px solid white; outline-offset: -3px; }
