/* Gallery captions below photographs on every screen. */
#gallery .media-card { overflow: visible; border-radius: 0; }
#gallery .media-title { position: static; display: block; margin: 10px 0 0; padding: 0; background: transparent; border-radius: 0; color: #24231f; font-size: 16px; line-height: 1.3; }
#gallery .media-label, #gallery .media-subtitle { display: none; }
@media (min-width: 960px) and (min-height: 600px) {
  #gallery .media-card { display: flex; flex-direction: column; min-height: 0; }
  #gallery .media-image { flex: 1 1 0; min-height: 0; width: 100%; height: auto; }
  #gallery .media-title { flex: 0 0 auto; }
}
@media (max-width: 700px) {
  #gallery .media-title { font-size: 15px; margin-top: 9px; }
}

/* Room for the complete events caption, including maternity discharge. */
@media (min-width: 960px) and (min-height: 600px) {
 :root { --opening-directions: 108px; --opening-hero: calc(64svh - 152px); }
 .directions { height: auto; min-height: var(--opening-directions); }
}
