/*
 * UI captures keep their source dimensions. These are plain screenshots,
 * not rendered phones: only the hero uses the supplied iPhone frame.
 * Phone capture 780 × 1536; wide capture 2048 × 1422.
 */
.story-visual img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* A border around this capture resembled a short, wide device. */
.story-visual-faith img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  border: 0;
  border-radius: 0;
}

/* Frame geometry is native; the UI occupies a proportional inner rectangle. */
.hero-phone {
  aspect-ratio: 1350 / 2760;
}
.phone-content img {
  align-self: center;
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: 780 / 1536;
  object-fit: contain;
}

/* Show full phone captures, including the navigation at the bottom. */
.fx-panel-culture .fx-explorer-media {
  align-items: center;
  padding-block: 36px;
  max-height: none;
}
.fx-panel-culture .fx-explorer-image {
  width: min(100%, 230px);
  height: auto;
  max-width: none;
  max-height: none;
  aspect-ratio: 780 / 1536;
  border-radius: 0;
  box-shadow: 0 14px 36px #25242712;
}
.fx-culture-screen {
  align-items: center;
  padding: 48px 40px;
  max-height: none;
  overflow: visible;
}
.fx-culture-screen img {
  width: min(100%, 280px);
  height: auto;
  max-width: none;
  max-height: none;
  aspect-ratio: 780 / 1536;
  border-radius: 0;
}
.fx-journey-profile {
  padding: 42px 54px;
  max-height: none;
  overflow: visible;
}
.fx-journey-profile img {
  width: min(100%, 280px);
  height: auto;
  max-width: none;
  max-height: none;
  aspect-ratio: 780 / 1536;
  border-radius: 0;
  box-shadow: 0 14px 36px #25242712;
}

@media (max-width: 700px) {
  .fx-panel-culture .fx-explorer-media { padding: 26px 24px 32px; }
  .fx-panel-culture .fx-explorer-image { width: min(100%, 200px); }
  .fx-culture-screen { padding: 35px; }
  .fx-culture-screen img { width: min(100%, 260px); }
  .fx-journey-profile { padding: 31px 38px; }
  .fx-journey-profile img { width: min(100%, 250px); }
}
