.listing-images {
  flex: 0 0 auto;
  height: calc(4rem * 8);
  overflow: hidden;
}

.listing-images_container,
.listing-images_group {
  padding: 4rem 0 4rem 4rem;
  overflow-x: scroll;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  font-size: 0;
  white-space: nowrap;
}

.listing-images_group {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 0.75s cubic-bezier(0.455, 0, 0.2, 0.955);
}

.listing-images_group--closed {
  transform: translateY(100%);
}

.listing-images_image {
  display: inline-block;
  width: calc(16.666% - 1rem);
  min-width: 15rem;
  max-width: 20rem;
  margin-right: 1rem;
  background-color: hsl(0, 0%, 50%);
}

.listing-images_image--company {
  width: calc(33.333% - 1rem);
  min-width: 25rem;
  max-width: 40rem;
  padding: 4rem;
}

.listing-images_image:not(.hover):not(:hover) {
  background-color: hsl(0, 0%, 0%) !important;
}

.listing-images_image:last-child {
  margin-right: 4rem;
}

.listing-images_image div {
  display: block;
  width: 100%;
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  mix-blend-mode: screen;
  filter: grayscale(100%);
}

.listing-images_image--company div {
  background-size: contain;
}

@media (max-width: 768px) {
  .listing-images_image {
    width: calc(33.333% - 1rem);
  }

  .listing-images_image--company {
    min-width: 15rem;
    padding: 2rem;
  }
}