.gallery__img_blur {
  filter: blur(0.5rem);
}

.gallery__img {
  cursor: pointer;
}

.rc-card__img-text.gallery__badges--closed {
  font-size: 24px;

  @media (max-width: 767px) {
    font-size: 14px;
  }
}

.page-project__address a {
  display: inline-block;
  margin-left: 20px;
  color: #D91546!important;
}

.project__link a {
  font-weight: 700!important;
}

.page-project__description-text a {
  color: #D91546;
}

.apartments {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
    gap: 20px;
}

.apartment-card {
    width: 23%;
    margin-bottom: 20px;
    padding: 0;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
    overflow: hidden;
    background: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.apartment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.apartment-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.apartment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.apartment-card:hover .apartment-image img {
    transform: scale(1.05);
}

.apartment-title {
    font-size: 18px;
    font-weight: bold;
    margin: 15px 0 10px;
    color: #333;
    padding: 0 15px;
}

.apartment-price {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
    padding: 0 15px;
}

.apartment-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    border: 2px solid #007bff;
}

.apartment-link:hover {
    background-color: transparent;
    color: #007bff;
    border-color: #007bff;
}

@media (max-width: 992px) {
    .apartment-card {
        width: 48%;
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .apartments {
        justify-content: center;
        gap: 15px;
    }

    .apartment-card {
        width: 100%;
        max-width: 350px;
    }
}

@media (max-width: 480px) {
    .apartments {
        padding: 10px;
    }

    .apartment-card {
        margin-bottom: 15px;
    }

    .apartment-image {
        height: 180px;
    }
}