#content-wrapper .location-images-row {
  grid-template-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr));
}

@media (max-width: 1500px) {
  #content-wrapper .location-images-row {
    grid-template-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr));
  }
}

@media (max-width: 1200px) {
  #content-wrapper .location-images-row {
    grid-template-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr));
    gap: 12px;
  }
}

@media (max-width: 900px) {
  #content-wrapper .location-images-row {
    grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr));
  }
}

@media (max-width: 600px) {
  #content-wrapper .location-images-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
}

.lightbox-page #content-wrapper .location-images-row-full {
  grid-template-columns: minmax(0, 1fr);
  width: auto;
}

.lightbox-page #content-wrapper .location-images-row-full > .location-image,
.lightbox-page #content-wrapper .location-images-row-full .list-classes,
.lightbox-page #content-wrapper .location-images-row-full .list-content-custom {
  min-width: 0;
  max-width: 100%;
}

.lightbox-page #content-wrapper .location-images-row-full swiper-container {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

@media (min-width: 576px) and (max-width: 991.98px) {
  .lightbox-page
    #content-wrapper
    .location-images-row-full
    .list-content-custom {
    height: auto;
    min-height: 280px;
    margin: 0;
    border-radius: 0 12px 12px 0;
  }

  .lightbox-page #content-wrapper .location-images-row-full .list-content {
    overflow-wrap: anywhere;
  }

  .lightbox-page
    #content-wrapper
    .location-images-row-full
    .list-classes
    > .listing-style1,
  .lightbox-page #content-wrapper .location-images-row-full .img-container {
    border-radius: 12px 0 0 12px;
  }
}
@media (max-width: 575.98px) {
  #content-wrapper .location-images-row-full {
    grid-template-columns: minmax(0, 1fr);
    width: auto;
  }

  #content-wrapper .location-images-row-full > .location-image {
    flex-direction: column;
    min-width: 0;
    max-width: 100%;
  }

  #content-wrapper .location-images-row-full .list-classes,
  #content-wrapper .location-images-row-full .list-content-custom {
    flex: 0 0 auto;
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  #content-wrapper .location-images-row-full swiper-container {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  #content-wrapper .location-images-row-full .img-container {
    border-radius: 12px 12px 0 0;
  }

  #content-wrapper .location-images-row-full .list-content-custom {
    border-radius: 0 0 12px 12px;
  }

  #content-wrapper .location-images-row-full .list-content {
    min-width: 0;
    overflow-wrap: anywhere;
  }
}

.lightbox-page #content-wrapper .location-images-row-full .custom-popover {
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out, transform 0.3s ease-in-out;
  transform: translateY(-10px);
}

.lightbox-page #content-wrapper .location-images-row-full .location-image:hover .custom-popover,
.lightbox-page #content-wrapper .location-images-row-full .custom-popover:hover {
  transform: translateY(10px);
}
.img-container {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

@media only screen and (min-width: 992px) {
  .lightbox-page #content-wrapper .location-images-row-full .list-classes {
    position: static !important;
    flex: 0 0 285px !important;
    width: 285px !important;
    max-width: 285px !important;
  }

  .lightbox-page #content-wrapper .location-images-row-full .list-content-custom {
    flex: 1 1 auto !important;
    width: calc(100% - 285px) !important;
    max-width: calc(100% - 285px) !important;
  }

  .lightbox-page #content-wrapper .location-images-row-full .custom-popover.list-view {
    position: absolute !important;
    left: 285px !important;
    right: auto !important;
    width: min(calc(100% - 285px), 1267px) !important;
    max-width: min(calc(100% - 285px), 1267px) !important;
    top: 0 !important;
    bottom: auto !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
}
@media only screen and (min-width: 992px) {
  .list-content-custom.listing-style1 {
    height: auto;
  }
}
.list-view .listing-style1{
  margin-bottom: 0px;
}