/*
 * Only the third slider is normalized here. The first two sliders keep their
 * existing layout and Slick behaviour unchanged.
 */
#stages .program-slider-match {
  height: auto;
  position: relative;
  overflow: hidden;
  border-radius: 1.875rem;
  background-repeat: no-repeat;
  background-position: 0 10%;
  background-size: cover;
}

#stages .program-slider-match img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (min-width: 640px) {
  #stages .program-slider-match {
    border-radius: 2.5rem;
  }
}

/*
 * The stages slider is the reference for the blue navigation panel.
 * Keep the same geometry on all three sliders at every dots-enabled width.
 */
#benefits .house_slider .slick-dots,
#housing .house_slider .slick-dots,
#stages .house_slider .slick-dots {
  bottom: 0;
  height: auto;
  margin: 0;
  padding-bottom: 0.625rem;
  border-radius: 0 0 1.875rem 1.875rem;
}

@media (min-width: 640px) {
  #benefits .house_slider .slick-dots,
  #housing .house_slider .slick-dots,
  #stages .house_slider .slick-dots {
    border-radius: 0 0 2.5rem 2.5rem;
  }
}

@media (min-width: 860px) {
  #benefits .house_slider .slick-list,
  #benefits .house_slider .slick-track,
  #benefits .house_slider .slick-slide,
  #benefits .house_slider .slick-slide > div,
  #housing .house_slider .slick-list,
  #housing .house_slider .slick-track,
  #housing .house_slider .slick-slide,
  #housing .house_slider .slick-slide > div {
    height: 100% !important;
  }

  #benefits .house_slider img,
  #housing .house_slider img {
    width: 100%;
    height: calc(100% - 2.5625rem);
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center bottom;
  }

  #stages .program-slider-match {
    height: 100%;
    background-position: 0 0;
  }

  #stages .program-slider-match .slick-list,
  #stages .program-slider-match .slick-track,
  #stages .program-slider-match .slick-slide,
  #stages .program-slider-match .slick-slide > div {
    height: 100% !important;
  }

  #stages .program-slider-match img {
    height: calc(100% - 2.5625rem);
    max-height: none;
    object-fit: cover;
    object-position: center bottom;
  }
}

@media (min-width: 860px) and (max-width: 1099px) {
  #stages .program-slider-match {
    height: 87%;
  }

  #stages .program-slider-match img {
    transform: none;
    object-position: center center;
  }
}
