#jarvis-personalized-recommendations[data-template="home"] #jarvis-list-section {
  padding-left: 15px;
  padding-right: 15px;
}

#jarvis-personalized-recommendations[data-template="property"] {
  max-width: 1580px;
  margin: 20px auto;
}

#jarvis-list-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(375px, 1fr));
}

.jml-listing {
  padding: 0 calc(25px / 2);
  margin-bottom: 20px;
}

.jml-listing > div {
  background: #fff;
  transition: 0.2s;
  box-shadow: 0 0 15px rgba(0, 0, 0, .2);
}

.jml-listing .panel-image {
  position: relative;
  overflow: hidden;
}
.jml-listing .unit_location {
  position: absolute;
  color: rgba(41, 41, 41, 0.75);
  font-size: 14px;
  font-family: var(--original_font);
  letter-spacing: 0.28px;
  border-radius: 2px;
  top: 15px;
  left: 15px;
  z-index: 9;
  transition: all 0.3s;
  background: rgba(255, 255, 255, 0.8);
  padding: 6px 12px;
  max-width: 70%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
}

.jml-listing .listing-img-container {
  transition: .5s;
  text-align: center;
}

.jml-listing .media-cover {
  overflow: hidden;
  width: 100%;
  position: relative;
}
.jml-listing .listing-img-container {
  transition: .5s;
  text-align: center;
}

.jml-listing .jarvis-item-link img {
  height: 340px;
  width: 100%;
  object-fit: cover;
  display: block;
  max-width: 100%;
}

.jml-listing .jarvis-item-link .jml-img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  border: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  box-shadow: inset 0px -20px 40px 0px rgb(0 0 0 / 80%);
}

.jml-listing .pet-friendly {
  position: absolute;
  top: 0;
  right: 15px;
  padding-top: 15px;
  font-size: 28px;
  line-height: 1;
  color: #fff;
  text-shadow: 0 2px 2px #232323;
  z-index: 1;
}

.jarvis-item-link .panel-body {
  position: relative;
  padding: 18px;
  text-align: center;
}

.jml-listing .panel-body .listing-name {
  position: relative;
  margin: 0;
  font: 500 24px / 28px var(--original_font);
  letter-spacing: 0.48px;
  color: #292929;
  padding-bottom: 5px;
  margin-bottom: 5px;
  text-transform: uppercase;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.jml-listing .panel-body .listing-name:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: var(--hover_color);
}

.jml-listing .panel-body .listing-name:after {
  content: "";
  width: 80px;
  background-color: var(--hover_color);
  height: 2px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px;
}

.jml-listing .panel-body .info-box {
  color: #292929;
  opacity: 0.75;
  text-transform: capitalize;
  font: italic 400 16px / 28px var(--body_font);
}

.jml-listing .line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 5px;
  background: var(--hover_color);
  transition: .5s;
}

@media (max-width: 1500px) {
  .jml-listing .jarvis-item-link img {
    height: 280px;
  }
}

@media (max-width: 767px) {
  #jarvis-personalized-recommendations[data-template="home"] .jml-listing {
    padding: 0;
  }
}

@media (min-width: 1025px) {
  .jml-listing > div:hover {
      box-shadow: 0 0 15px rgba(0, 0, 0, .8);
  }
  
  .jml-listing > div:hover .listing-img-container img {
    transform: scale(1.1);
  }

  .jml-listing > div:hover .line {
    width: 100%;
  } 
}