@media (max-width: 767px) {
  #pos-slideshow-home.nivoSlider {
    container-type: inline-size;
  }

  /* Nivo positions each fragment against a full copy of the slide. */
  #pos-slideshow-home.nivoSlider img {
    width: 100vw !important;
    width: 100cqw !important;
    height: 240px !important;
    object-fit: cover;
    object-position: center;
  }

  #pos-slideshow-home.nivoSlider .nivo-main-image {
    width: 100% !important;
  }

  #pos-slideshow-home.nivoSlider .nivo-slice {
    overflow: hidden;
  }
}
