.ks-carousel-window {
  width: 100%;
  overflow: hidden;
}

.ks-carousel-track {
  white-space: nowrap;
  font-size: 0;
  transition: transform 0.35s ease;
}

.ks-card {
  display: inline-block;
  vertical-align: top;
  width: 31.333%;
  margin-right: 3%;
  box-sizing: border-box;
  white-space: normal;
  font-size: 16px;
  line-height: 24px;
}

.ks-card img,
.ks-bedroom-photo img {
  display: block;
  width: 100%;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 18px;
}

.ks-card h4 {
  margin-bottom: 8px;
}

.ks-card h4 em {
  font-style: italic;
  font-weight: 500;
}

.ks-card a {
  color: #b3a392;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 16px;
  line-height: 18px;
  font-weight: 600;
  transition: color 0.25s ease;
}

.ks-card a:hover {
  color: #121212;
}

.ks-carousel-buttons {
  position: absolute;
  top: 0;
  right: 0;
}

.ks-carousel-buttons button {
  width: 34px;
  height: 34px;
  border: 1px solid #b3a392;
  border-radius: 50%;
  background: transparent;
  color: #b3a392;
  font-size: 24px;
  line-height: 30px;
  text-align: center;
  cursor: pointer;
  margin-left: 10px;
  padding: 0;
}

.detail-track {
  white-space: nowrap;
  font-size: 0;
  transition: transform 0.35s ease;
}

.detail-card {
  display: inline-block;
  vertical-align: top;
  width: 31.333%;
  margin-right: 3%;
  box-sizing: border-box;
  white-space: normal;
  font-size: 16px;
  line-height: 24px;
}

.detail-card img {
  display: block;
  width: 100%;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 18px;
}

.detail-card h4 {
  margin-bottom: 0;
}

@media only screen and (max-width: 1050px) {

  .ks-carousel-window {
    max-width: 100%;
    overflow: hidden;
  }

  .ks-card {
    width: 46%;
    margin-right: 4%;
  }

  .ks-card img {
    height: auto;
  }

  .detail-card {
    width: 46%;
    margin-right: 4%;
  }

}

@media only screen and (max-width: 970px) {

  .ks-card {
    width: 100%;
    margin-right: 0;
    margin-bottom: 30px;
    display: block;
  }

  .ks-carousel-track {
    transform: none !important;
    white-space: normal;
  }

  .ks-carousel-buttons {
    display: none;
  }

  .detail-card {
    display: inline-block;
    width: 46%;
    margin-right: 4%;
    margin-bottom: 0;
  }

  .detail-track {
    white-space: nowrap;
    transform: none;
  }

  .detail-strip .ks-carousel-buttons {
    display: block;
  }

}

@media only screen and (max-width: 750px) {

  .detail-card {
    width: 100%;
    margin-right: 0;
  }

}

@media only screen and (max-width: 481px) {

  .ks-card img {
    height: 220px;
  }

}
