.mansion_list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 20px;
}

.mansion_block {
  flex: 1;
  min-width: 300px;
  max-width: 48%;
}


.mansion_img img {
  width: 100%;
  height: auto;
  display: block;
}

@media screen and (max-width: 768px) {
  .mansion_block {
    max-width: 100%;
}
}