.houses,
.house {
  padding: 2.5rem 0 4rem;
  color: #212529;
  font-family: "DM Sans", "Segoe UI", sans-serif;
}

.houses h1,
.house h1 {
  margin: 0 0 .4rem;
  color: #0e192b;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0;
}

.houses-lead,
.house-meta,
.house-back {
  color: #555;
}

.house-back a {
  color: #0e192b;
}

.house-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1rem;
  margin: 0 0 1.2rem;
}

.house-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.house-card {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.house-card img,
.house-photo,
.house-hero {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  background: #e8edf3;
}

.house-photo {
  display: block;
}

.house-copy {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  padding-top: .7rem;
}

.house-copy strong {
  color: #0e192b;
  font-size: 1.05rem;
  font-weight: 700;
}

.house-copy em {
  color: #555;
  font-style: normal;
  font-size: .92rem;
}

.house-hero {
  max-height: 520px;
  margin-bottom: 1.2rem;
}

.house-body {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2rem;
  align-items: start;
}

.house-text {
  font-size: 1.05rem;
  line-height: 1.6;
}

.house-book {
  display: flex;
  flex-direction: column;
  gap: .8rem;
  margin: 0;
  padding: 1.1rem;
  border: 1px solid #e6e8ec;
  border-radius: 12px;
}

.house-book strong {
  color: #0e192b;
  font-size: 1.3rem;
}

.house-go {
  display: inline-flex;
  justify-content: center;
  padding: .8rem 1rem;
  border-radius: 8px;
  background: #ff7057;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.house-pages {
  margin-top: 1.5rem;
}

.house-pages a,
.house-pages span {
  margin-right: .4rem;
}

@media (max-width: 900px) {
  .house-grid,
  .house-body {
    grid-template-columns: 1fr;
  }
}
