/* v31: keep the swipeable iPhone procedure rail compact across mixed image ratios. */

@media (max-width: 959px) {
  .gg-article[data-article-id="download"] #gg-panel-iphone > .wide-step-rail .step-image-frame {
    height: clamp(240px, 76vw, 300px);
    min-height: 0;
  }

  .gg-article[data-article-id="download"] #gg-panel-iphone > .wide-step-rail .step-image-frame > img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
  }
}
