/* Match the NBA screenshot’s frame, cropping the longer sports homepage from the bottom. */
.wbd-hub-gallery .theo-figure img {
  aspect-ratio: 1920 / 4512;
  object-fit: cover;
  object-position: center top;
}

.wbd-responsive-gallery {
  grid-template-columns: minmax(0, 1fr);
}

.wbd-responsive-gallery .theo-figure img {
  height: auto;
  max-height: none;
  border: 0;
  background: transparent;
}

@media (min-width: 992px) {
  /* Column weights match the desktop, mobile and tablet screenshot aspect ratios. */
  .wbd-responsive-gallery {
    grid-template-columns: minmax(0, 1.778fr) minmax(0, 0.366fr) minmax(0, 0.75fr);
  }
}

@media (max-width: 991px) {
  .wbd-mobile-screen,
  .wbd-tablet-screen {
    width: 100%;
    justify-self: center;
  }

  .wbd-mobile-screen { max-width: 37.5rem; }
  .wbd-tablet-screen { max-width: 76.8rem; }
}
