/* Home gallery only: preserve the approved typography, colors and layout. */
.hero-gallery { isolation: isolate; touch-action: pan-y; }
.hero-gallery .hero-slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 650ms ease, visibility 0s linear 650ms; }
.hero-gallery .hero-slide.is-active { opacity: 1; visibility: visible; transition: opacity 650ms ease; }
.hero-gallery .hero-slide > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero-gallery .hero-slide--ear > img { width: 150%; max-width: none; object-position: 10% 40%; }
.hero-gallery .hero-slide--face > img { object-position: 75% 30%; }
.hero-gallery .hero-slide--supplied > img { object-fit: contain; object-position: center; background: #f1f2f3; }
.hero-gallery .hero-slide figcaption { position: absolute; bottom: 18px; left: 18px; right: auto; max-width: calc(100% - 36px); display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 9px 13px; background: #fffffff2; color: var(--ink); font: 15px/1.4 var(--sans); }
.hero-gallery .hero-slide figcaption strong { font-weight: 600; }
.hero-gallery .hero-slide figcaption span { color: #525c65; font-size: 11px; }
.practitioner-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; height: 100%; background: #fff; }
.practitioner-pair img { width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: 50% 20%; }
.gallery-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #c8cfd4; border-radius: 50%; background: #fffffff2; color: #252b30; cursor: pointer; }
.gallery-arrow-prev { left: 14px; }
.gallery-arrow-next { right: 14px; }
.gallery-arrow svg { display: block; pointer-events: none; }
.gallery-arrow:hover, .gallery-toggle:hover { background: #fff; border-color: #252b30; }
.gallery-arrow:focus-visible, .gallery-toggle:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.gallery-toggle { position: absolute; top: 14px; right: 14px; z-index: 2; min-height: 34px; border: 1px solid #c8cfd4; background: #fffffff2; color: var(--ink); font-size: 12px; font-weight: 500; line-height: 1.3; padding: 6px 10px; border-radius: 2px; cursor: pointer; }
.gallery-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.hero-gallery:not(.gallery-ready) .gallery-arrow, .hero-gallery:not(.gallery-ready) .gallery-toggle { display: none; }
.photo-credits-page h2 { font-size: 23px; margin: 28px 0 10px; }
.photo-credits-page p { max-width: 850px; }
.photo-credits-page a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) {
  .hero-gallery { height: 330px; min-height: 330px; }
  .hero-gallery .hero-slide figcaption { left: 12px; bottom: 12px; max-width: calc(100% - 24px); padding: 7px 10px; font-size: 14px; }
  .hero-gallery .hero-slide figcaption span { font-size: 10px; }
  .gallery-arrow-prev { left: 10px; }
  .gallery-arrow-next { right: 10px; }
  .gallery-toggle { top: 10px; right: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-gallery .hero-slide, .hero-gallery .hero-slide.is-active { transition: none; }
}
@media print {
  .gallery-arrow, .gallery-toggle { display: none !important; }
  .hero-gallery .hero-slide:not(.is-active) { display: none; }
}
