/* Desktop-only corrections for the three V17 image compositions identified in user screenshots. */
@media (min-width: 1101px) {
  .hs-v17-rain-gallery {
    align-items: center;
  }

  .hs-v17-rain-primary,
  .hs-v17-rain-secondary {
    min-height: 0;
    height: auto;
  }

  .hs-v17-rain-primary {
    aspect-ratio: 1141 / 627;
  }

  .hs-v17-rain-secondary {
    aspect-ratio: 746 / 418;
  }

  .hs-v17-rain-gallery .hs-v17-image {
    height: 100%;
    object-fit: contain;
  }

  .hs-v17-excerpt-visual {
    min-height: 0;
    height: auto;
    position: relative;
    top: auto;
  }

  .hs-v17-excerpt-visual .hs-v17-image {
    height: auto;
    object-fit: contain;
  }

  .hs-v17-clone-gallery {
    align-items: start;
  }

  .hs-v17-clone-gallery .hs-v17-figure,
  .hs-v17-clone-gallery .hs-v17-figure:first-child,
  .hs-v17-clone-gallery .hs-v17-figure:last-child {
    min-height: 0;
    height: auto;
    margin-top: 0;
  }

  .hs-v17-clone-gallery .hs-v17-image {
    height: auto;
    object-fit: contain;
  }
}


/* Keep the late-homepage artwork whole on phones; each frame follows its source image ratio. */
@media (max-width: 640px) {
  .hs-v17-rain-primary {
    min-height: 0;
    aspect-ratio: 1141 / 627;
  }

  .hs-v17-rain-secondary {
    min-height: 0;
    aspect-ratio: 746 / 418;
  }

  .hs-v17-rain-gallery .hs-v17-image {
    object-fit: contain;
  }

  .hs-v17-excerpt-visual {
    min-height: 0;
    aspect-ratio: 612 / 408;
  }

  .hs-v17-excerpt-visual .hs-v17-image {
    object-fit: contain;
  }

  .hs-v17-clone-gallery .hs-v17-figure:first-child {
    min-height: 0;
    aspect-ratio: 547 / 366;
  }

  .hs-v17-clone-gallery .hs-v17-figure:last-child {
    min-height: 0;
    aspect-ratio: 638 / 424;
  }

  .hs-v17-clone-gallery .hs-v17-image {
    object-fit: contain;
  }

  .hs-v17-regulation-gallery .hs-v17-figure:first-child {
    min-height: 0;
    aspect-ratio: 741 / 507;
  }

  .hs-v17-regulation-gallery .hs-v17-figure:last-child {
    min-height: 0;
    aspect-ratio: 657 / 501;
  }

  .hs-v17-regulation-gallery .hs-v17-image {
    object-fit: contain;
  }
}
