/* Scoped to the hospital introduction and its native photo viewer. */
.bpih-about-module .section-inner { padding-bottom: 20px; }
.bpih-about {
  --about-ink: #142f42;
  --about-muted: #52636d;
  --about-accent: #947044;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(36px, 5vw, 76px);
  color: var(--about-ink);
  text-align: start;
}
.bpih-about__copy { min-width: 0; padding-block: 16px; }
.bpih-about .bpih-about__eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 24px; color: #2e626e;
  font-size: 13px; font-weight: 700; line-height: 1.6;
  letter-spacing: .12em; text-transform: uppercase;
}
.bpih-about__eyebrow::before { content: ''; width: 28px; height: 2px; flex: 0 0 28px; background: var(--about-accent); }
.bpih-about .bpih-about__heading {
  margin: 0 0 28px; color: var(--about-ink);
  font-size: clamp(34px, 3.35vw, 50px); font-weight: 500;
  line-height: 1.15; letter-spacing: -.025em; text-wrap: balance;
  overflow-wrap: anywhere;
}
.bpih-about__description { color: var(--about-muted); font-size: 17px; line-height: 1.85; }
.bpih-about__description p { margin: 0 0 18px; text-align: start !important; }
.bpih-about__description p:last-child { margin-bottom: 0; }
.bpih-about__rule { display: block; width: 64px; height: 1px; margin-top: 32px; background: var(--about-accent); }
.bpih-about__gallery { min-width: 0; }
.bpih-about .bpih-about__gallery-heading { margin: 0 0 14px; color: var(--about-muted); font-size: 13px; font-weight: 500; line-height: 1.6; }
.bpih-about__photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.bpih-about .bpih-about__photo { min-width: 0; margin: 0; }
.bpih-about__photo--lead { grid-column: 1 / -1; }
.bpih-about__photo-button {
  position: relative; display: block; width: 100%; padding: 0; border: 0;
  border-radius: 5px; overflow: hidden; background: #e4e9ea; color: #fff;
  cursor: zoom-in; -webkit-appearance: none;
}
.bpih-about__photo-button img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .3s ease; }
.bpih-about__photo-button:hover img { transform: scale(1.025); }
.bpih-about__expand { position: absolute; inset-inline-end: 12px; bottom: 12px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: #fff; background: rgba(20, 47, 66, .86); }
.bpih-about__expand svg { width: 19px; height: 19px; }
.bpih-about .bpih-about__photo figcaption { margin: 0; padding: 9px 0 0; background: transparent; color: var(--about-muted); font-size: 13px; font-weight: 500; line-height: 1.5; text-align: start; text-transform: none; }
.bpih-about button:focus-visible { outline: 3px solid #256c86; outline-offset: 4px; }
.bpih-about__dialog {
  position: fixed; inset: 0; width: min(1160px, calc(100vw - 48px));
  max-width: none; max-height: calc(100dvh - 32px); margin: auto;
  padding: 52px 24px 20px; border: 0; border-radius: 8px;
  background: #fff; color: var(--about-ink); box-shadow: 0 24px 96px rgba(0,0,0,.35);
  overscroll-behavior: contain; text-align: center;
}
.bpih-about__dialog:not([open]) { display: none; }
.bpih-about__dialog::backdrop { background: rgba(9, 25, 36, .88); }
.bpih-about__dialog figure { margin: 0; }
.bpih-about__dialog [data-dialog-image] { display: block; width: 100%; height: min(65dvh, 680px); object-fit: contain; }
.bpih-about .bpih-about__dialog figcaption { margin: 14px 0 0; padding: 0 8px; background: transparent; color: var(--about-ink); font-size: 16px; font-weight: 500; line-height: 1.5; text-align: center; text-transform: none; }
.bpih-about__dialog button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #cad4da; border-radius: 50%; background: #fff; color: var(--about-ink); font: 24px/1 Arial, sans-serif; cursor: pointer; }
.bpih-about__dialog button:hover { background: #edf3f4; }
.bpih-about__dialog .bpih-about__close { position: absolute; top: 6px; inset-inline-end: 12px; border-color: transparent; font-size: 30px; }
.bpih-about__viewer-controls { display: flex; justify-content: center; align-items: center; gap: 28px; margin-top: 12px; }
.bpih-about__viewer-controls [data-dialog-count] { min-width: 44px; font-size: 14px; font-variant-numeric: tabular-nums; }
.bpih-about:dir(rtl) .bpih-about__eyebrow { letter-spacing: 0; }
.bpih-about:dir(rtl) .bpih-about__heading { letter-spacing: 0; line-height: 1.35; }
.bpih-about:dir(rtl) .bpih-about__viewer-controls button span { transform: scaleX(-1); }
@media (max-width: 991.98px) {
  .bpih-about { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .bpih-about__copy { max-width: 720px; padding: 0; }
  .bpih-about .bpih-about__heading { max-width: 680px; font-size: clamp(32px, 5.4vw, 46px); }
  .bpih-about__rule { margin-top: 24px; }
}
@media (max-width: 575.98px) {
  .bpih-about .bpih-about__eyebrow { margin-bottom: 18px; font-size: 12px; }
  .bpih-about .bpih-about__heading { margin-bottom: 22px; font-size: 34px; }
  .bpih-about__description { font-size: 16px; line-height: 1.8; }
  .bpih-about__photos { gap: 16px 12px; }
  .bpih-about__expand { width: 28px; height: 28px; bottom: 8px; inset-inline-end: 8px; }
  .bpih-about__dialog { width: calc(100vw - 20px); padding: 50px 10px 16px; }
  .bpih-about__dialog [data-dialog-image] { height: auto; max-height: 64dvh; }
}
@media (prefers-reduced-motion: reduce) {
  .bpih-about__photo-button img { transition: none; }
  .bpih-about__photo-button:hover img { transform: none; }
}
