/* Let each complete illustration determine its own frame height. Natural image
   ratios remove desktop letterboxing without cropping equipment or people. */
.hero.unified-hero .unified-hero-art,
.hero.unified-hero .unified-hero-art:has(>img[data-image-layout="landscape"]),
.hospital-page .hero-art {
  aspect-ratio:auto;
  height:auto;
  min-height:0;
}
.hero.unified-hero .unified-hero-art>img,
.hero.unified-hero .unified-hero-scene>img,
.hospital-page .hero-art>img,
.persona-page .persona-hero-visual>img,
.about-page .about-hero-visual>img {
  position:relative;
  inset:auto;
  display:block;
  width:100%;
  height:auto;
  min-height:0;
  max-height:none;
  aspect-ratio:auto;
  object-fit:cover;
  object-position:center;
}
/* Only the active carousel scene participates in layout. Existing hidden
   attributes still determine which scene is exposed to sight and assistive tech. */
.hero.unified-hero .unified-hero-scene {
  position:relative;
  inset:auto;
  height:auto;
}
.hero.unified-hero .unified-hero-media,
.hospital-page .hero-media,
.persona-page .persona-hero-visual,
.about-page .about-hero-visual {min-width:0}
/* Captions have their own compact row, preserving every product detail at all
   viewport sizes instead of covering wheels, feet, consoles or faces. */
.hero.unified-hero .unified-hero-sticker,
.hospital-page .hero-caption {
  position:relative;
  inset:auto;
  transform:none;
  width:auto;
  max-width:none;
  margin:0;
  border-radius:0;
  box-shadow:none;
  padding:12px 18px;
}
/* Press photography retains its intentional square editorial crop. */
.press-hero-card .hero-photo {object-fit:cover}

@media(min-width:901px) {
  .hero.unified-hero .unified-hero-media,
  .hospital-page .hero-media {align-self:center}
}
@media(max-width:600px) {
  .hero.unified-hero .unified-hero-sticker,
  .hospital-page .hero-caption {padding:12px 16px}
}

/* Center caption text and flex content consistently, including responsive
   About captions, product captions and the press-photo credit. */
figcaption,
.hero-sticker,
.hero-caption,
.hero-art-caption,
.hero .hero-sticker,
.hero.unified-hero .unified-hero-sticker,
.hero .hero-scene figcaption,
#acr8 .product-cards > figure.product-card > figcaption,
.press-figure figcaption {
  text-align:center;
}
figcaption,
.hero-art-caption,
.hero.unified-hero .hero-art-caption.unified-hero-sticker,
.hero .hero-scene figcaption,
.about-hero-visual figcaption,
.about-product-stage figcaption,
.persona-visual-caption {
  justify-content:center;
  align-items:center;
}
