/* Preserve the five original photo frames, including the overlapping inset. */
.service-photo { position: relative; min-width: 0; }
.service-photo .photo-slider__slide.is-current { transition: none; }
.service-photo .photo-slider__slide.is-panel-target { opacity: 0; }
.service-photo--detail { aspect-ratio: 1.05; }
.service-photo .photo-slider__slide img,
.service-photo .service-gallery__panel img { aspect-ratio: auto; width: 100%; height: 100%; object-fit: cover; }
.service-gallery__panel { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.service-gallery__panel img { display: block; }
.service-gallery .service-gallery__caption { display: flex; align-items: center; justify-content: flex-end; min-height: 36px; }
.service-gallery__controls { display: inline-flex; align-items: center; gap: 4px; }
.service-gallery__controls[hidden], .service-gallery__pause[hidden] { display: none; }
.service-gallery__controls button {
  display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px;
  border: 0; padding: 0; background: transparent; color: var(--gold-ink); cursor: pointer;
}
.service-gallery__controls button:hover { color: #151714; }
.service-gallery__controls button:focus-visible { outline-offset: -3px; }
.service-gallery__pause span { width: 8px; height: 10px; border-inline: 2px solid currentColor; }
.service-gallery__pause.is-paused span { width: 0; height: 0; border: 0; border-left: 7px solid currentColor; border-block: 5px solid transparent; margin-left: 2px; }
.service-gallery__next span { font: 22px/1 Georgia, serif; transition: transform .3s ease; }
.service-gallery__next:hover span { transform: translateX(3px); }
@media (max-width: 699px) {
  .service-photo--detail { aspect-ratio: 1.63; }
  .services-painting-photos .service-gallery__caption { grid-column: 1 / -1; padding-left: 0; }
  .service-gallery__controls button { width: 44px; height: 44px; flex-basis: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .service-gallery__next span { transition: none; }
}
@media print { .service-gallery__controls { display: none; } }
