.typical-houses-grid .grid-item--inner {
  box-shadow: 0px 51px 71px -11px #e0e8e8;
  border-radius: 12px;
  overflow: hidden;
}
.typical-houses-grid .grid-item:nth-child(n+5) {
  margin-top: 30px;
}
.typical-houses-grid .grid-item img {
  width: 100%;
}
.typical-houses-grid .grid-item--title {
  font-weight: 600;
  font-size: 16px;
  line-height: 140%;
  color: #242424;
}
.typical-houses-grid .grid-item--price {
  font-weight: 500;
  font-size: 14px;
  line-height: 160%;
  color: rgba(36, 36, 36, 0.6);
}
.typical-houses-grid .grid-item--head {
  background-color: #fff;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.menu-category-typical-houses {
  display: flex;
  gap: 10px;
  font-weight: 600;
  font-size: 16px;
  line-height: 160%;
  overflow-x: auto;
}
.menu-category-typical-houses__item {
  color: #242424;
  background: #ffffff;
  box-shadow: 0px 15px 50px rgba(36, 36, 36, 0.1);
  border-radius: 8px;
  padding: 11px 12px;
  text-decoration: none;
  white-space: nowrap;
}
.menu-category-typical-houses__item:hover {
  text-decoration: none;
  opacity: 0.8;
}

.menu-category-typical-houses__item.menu-category-typical-houses__item_active {
  background: linear-gradient(90deg, #ef4343 -0.19%, #ff6262 99.95%);
  color: #fff;
}

@media screen and (max-width: 1024px) {
  .typical-houses-grid .grid-item:nth-child(n+3) {
    margin-top: 30px;
  }
  .typical-houses-grid .grid-item--title strong {
    min-height: auto;
  }
}

@media screen and (max-width: 568px) {
  .typical-houses-grid .grid-item:nth-child(n+2) {
    margin-top: 30px;
  }
}
