/* Mobile explanation scenes: keep artwork, screens, and captions in separate areas.
   Loaded after feature-visuals-v15.css; desktop compositions remain unchanged. */
@media (max-width:700px) {
  /* Benefit cards retain a square image canvas, with their caption below it. */
  .fp15-benefit > .fp15-visual {
    aspect-ratio:auto;
    height:auto;
  }
  .fp15-benefit > .fp15-visual > .fp15-visual-canvas {
    position:relative;
    inset:auto;
    width:100%;
    aspect-ratio:1;
  }
  .fp15-benefit > .fp15-visual > .fp15-visual-label {
    position:static;
    inset:auto;
    display:block;
    width:auto;
    max-width:none;
    margin:0;
    padding:10px 12px;
    border:0;
    border-top:1px solid #e1ebf7;
    border-radius:0;
    background:#fff;
    text-wrap:pretty;
  }

  /* Phone: artwork ends at 54%, screen begins at 59%. */
  .fp15-visual.fp15-mode-phone .fp15-art {
    left:3%;
    top:4%;
    bottom:auto;
    width:51%;
    height:90%;
  }
  .fp15-visual.fp15-mode-phone .fp15-screen-surface {
    left:auto;
    right:4%;
    top:4%;
    bottom:auto;
    width:37%;
    height:90%;
  }

  /* Desktop: a scene above, a complete screen below, with a 4% gap. */
  .fp15-visual.fp15-mode-desktop .fp15-art {
    left:5%;
    top:1%;
    bottom:auto;
    width:90%;
    height:38%;
  }
  .fp15-visual.fp15-mode-desktop .fp15-screen-surface {
    left:5%;
    right:5%;
    top:43%;
    bottom:auto;
    width:auto;
    height:52%;
  }

  /* Camera: preserve the wide capture screen and put the scene beneath it. */
  .fp15-visual.fp15-mode-camera .fp15-screen-surface {
    left:5%;
    right:5%;
    top:4%;
    bottom:auto;
    width:auto;
    height:42%;
  }
  .fp15-visual.fp15-mode-camera .fp15-art {
    left:5%;
    top:50%;
    bottom:auto;
    width:90%;
    height:46%;
  }

  /* Shared photos have their own lower band instead of covering the people. */
  .fp15-visual.fp15-mode-photos .fp15-art {
    left:5%;
    top:2%;
    bottom:auto;
    width:90%;
    height:53%;
  }
  .fp15-visual.fp15-mode-photos .fp15-photo-pair {
    left:7%;
    right:7%;
    top:60%;
    bottom:auto;
    gap:6px;
  }
  .fp15-visual.fp15-mode-photos .fp15-site-photo {
    box-sizing:border-box;
    height:auto;
    aspect-ratio:4 / 3;
  }
  .fp15-visual.fp15-mode-photos .fp15-photo-pair > .fp15-site-photo:last-child {
    transform:none;
  }

  /* The small step and accordion visuals stay square and caption-free. */
  .fp15-step > .fp15-visual,
  .v15-more-visual > .fp15-visual {
    aspect-ratio:1;
    height:auto;
  }
  .fp15-step > .fp15-visual > .fp15-visual-canvas,
  .v15-more-visual > .fp15-visual > .fp15-visual-canvas {
    position:absolute;
    inset:0;
    width:100%;
    aspect-ratio:auto;
  }
  .fp15-step > .fp15-visual > .fp15-visual-label,
  .v15-more-visual > .fp15-visual > .fp15-visual-label {
    display:none;
  }
}
