/* Static fallback for backgrounds that the original Cian runtime injects with JS. */
.x174413b8--b6515a--background {
  background-color: #48515d;
  background-image: linear-gradient(90deg, rgba(15, 25, 40, 0.2), rgba(15, 25, 40, 0.03)), url('/images/main-banner-new-brand.jpg') !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

.x174413b8--b6515a--background:empty {
  display: block !important;
}

/* The original image component reveals pictures only after its runtime fires. */
.x174413b8--bf3977--picture {
  visibility: visible !important;
}

.local-recommendations-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding-top: 28px;
}

.local-recommendation-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e4e8f0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(16, 36, 64, 0.08);
}

.local-recommendation-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: #eef2f8;
}

.local-recommendation-card__body {
  padding: 16px 16px 18px;
}

.local-recommendation-card__title {
  color: #152242;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.local-recommendation-card__subtitle {
  margin-top: 6px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .local-recommendations-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .local-recommendations-grid {
    grid-template-columns: 1fr;
  }
}
