.project-box {
  position: relative;
  display: inline-block;
  border-radius: 10px;
  margin-bottom: 1rem;
  width: 100%;
  height: 0;
  padding-top: 100%;
}

.project-box .label {
  position: absolute;
  top: 10px;
  left: 10px;
  border-radius: 30px;
  font-size: 14px;
  text-transform: uppercase;
  color: #fff;
  z-index: 1;
  padding: 4px 15px 2px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.label.ultime-disponibilita {
  background: var(--yellow);
}

.label.ultimo-appartamento {
  background: var(--orange);
}

.label.sold-out {
  background: var(--brown);
}

.project-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.project-logo {
  position: absolute;
  right: 10px;
  bottom: 10px;
  border-radius: 10px;
  background: #fff;
  width: 60%;
  height: 30%;
  z-index: 1;
  box-shadow: 0 5px 12px rgba(0,0,0,0.2);
}

.project-logo img {
  position: absolute;
  width: 84%;
  height: 84%;
  object-fit: contain;
  object-position: center center;
  left: 8%;
  top: 8%;
}

.house-box {
  margin: 0 10px;
}

.house-box .house-img {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: 10px;
}

.house-box .house-img:after {
  position: absolute;
  content: '';
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80%;
  background: linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0));
  border-radius: 10px;
}

.house-box .house-desc {
  position: absolute;
  bottom: 15px;
  left: 15px;
  z-index: 1;
}

.house-box .house-img img {
  position: absolute;
  border-radius: 10px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.house-box:hover .house-img > img {
  transition: all linear .2s;
}

.house-box:hover .house-img > img {
  transform: scale(1.1);
  transition: all linear .2s;
}

.house-box .info-container {
  display: flex;
}

.house-box .info-box {
  display: flex;
  align-items: center;
  margin-left: 15px;
  margin-top: 15px;
}

.house-box .arrow {
  position: absolute;
  right: 20px;
  bottom: 24px;
  width: 34px !important;
  height: auto !important;
  z-index: 1;
}

.house-box .info-container .icon {
  height: 20px;
  margin-right: 5px;
}

a.house-box:hover {
  color: inherit;
}

@media screen and (max-width: 1200px) {
  .house-box .info-container {
    flex-direction: column;
  }

  .house-box .info-container .info-box:nth-child(2) {
    margin-top: 6px;
  }
}

.banner-wrapper {
  margin: 0;
  background-color: #e3eaf7 !important;
}

.banner-wrapper .section-subtitle {
  margin-bottom: 0.8rem;
}

@media screen and (max-width: 990px) {
  .banner-wrapper {
    margin: 20px 0;
    margin-bottom: 0px;
  }
}