/* Keep the three OTP source screens on one row at desktop widths. */
@media (min-width: 901px) {
  .source-pair.otp-source-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 1100px;
    gap: 18px;
  }

  .source-pair.otp-source-grid figure {
    min-width: 0;
    padding: 22px 18px;
  }

  .source-pair.otp-source-grid img {
    max-width: 100%;
    max-height: 610px;
    width: auto;
  }
}

@media (max-width: 760px) {
  .source-pair.otp-source-grid {
    display: flex;
    max-width: 100%;
    width: 100%;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .source-pair.otp-source-grid figure {
    flex: 0 0 min(62vw, 220px);
    scroll-snap-align: start;
  }
}
