.kz7x_grid_container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  padding: 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.mv9p_grid_column {
  display: flex;
}
.qr4s_property_card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%; /* Ensures equal height */
}

.qr4s_property_card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.nt8k_image_container {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.bx3m_property_image,
.fy6w_placeholder_image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.qr4s_property_card:hover .bx3m_property_image,
.qr4s_property_card:hover .fy6w_placeholder_image {
  transform: scale(1.05);
}

/* Like Button Styling */
.wx7q_like_button {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
  color: #64748b;
}

.wx7q_like_button:hover {
  background: white;
  transform: scale(1.1);
}

.wx7q_like_button.jh2k_liked {
  color: #dc2626;
}

.tp5n_absolute_position {
  position: absolute;
}

.lx8z_left_zero {
  left: 0;
}

.rb9w_top_zero {
  top: 0;
}

.qs3x_margin_12 {
  margin: 12px;
}

.nk4v_badge_container {
  display: flex;
  gap: 8px;
}

.yr7s_primary_badge {
  background: #dc2626 !important;
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mz6f_dark_badge {
  background: #1d4179 !important;
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.zk8d_border_radius {
  border-radius: 8px;
}

.vb2x_white_text {
  color: white;
}

.pd4y_vertical_padding {
  padding-top: 4px;
  padding-bottom: 4px;
}

.hl5m_horizontal_padding {
  padding-left: 12px;
  padding-right: 12px;
}

.gc7n_horizontal_margin {
  margin-left: 4px;
  margin-right: 4px;
}

/* Content area - flexible to fill space */
.kp9t_text_color {
  color: #334155;
}

.xw6s_no_decoration {
  text-decoration: none !important;
}

.xw6s_no_decoration:hover {
  color: #334155;
}

.fj3x_content_padding {
  padding: 20px;
  flex: 1; /* This makes content area flexible */
  display: flex;
  flex-direction: column;
}

.ry8k_date_text {
  color: #64748b;
  font-size: 13px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.fj3x_content_padding h6 {
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
  margin-top: 4px;

  /* Text ellipsis for title */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bt2w_location_text {
  color: #64748b;
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.4;
  height: 40px !important;

  /* Multi-line ellipsis */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ns4p_map_icon {
  color: #f41010;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Features section - fixed at bottom */
.dx7w_features_container {
  display: flex;
  justify-content: space-between;
  padding: 16px 20px;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
  margin-top: auto; /* Pushes to bottom */
}

.dx7w_features_container small {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #64748b;
  font-size: 13px;
  font-weight: 500;
  flex: 1;
  justify-content: center;
}

.ql5h_feature_icon {
  color: #dc2626;
  width: 14px;
  text-align: center;
}

.jp2r_margin_right_4 {
  margin-right: 4px;
}

.kb8x_margin_right_8 {
  margin-right: 8px;
}

/* Price highlighting */
.fj3x_content_padding h6 {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* Extract and style price separately */
.ut9v_price_highlight {
  color: #dc2626;
  font-weight: 700;
  white-space: nowrap;
}

/* Responsive Design */
@media (max-width: 768px) {
  .kz7x_grid_container {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 16px;
  }

  .fj3x_content_padding {
    padding: 16px;
  }

  .dx7w_features_container {
    padding: 12px 16px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .dx7w_features_container small {
    min-width: fit-content;
    flex: none;
  }
}

@media (max-width: 480px) {
  .kz7x_grid_container {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 12px;
  }

  .dx7w_features_container {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* Loading animation */
@keyframes qw7k_fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.qr4s_property_card {
  animation: qw7k_fadeInUp 0.6s ease forwards;
}

/* Stagger the animation */
.qr4s_property_card:nth-child(1) {
  animation-delay: 0.1s;
}
.qr4s_property_card:nth-child(2) {
  animation-delay: 0.2s;
}
.qr4s_property_card:nth-child(3) {
  animation-delay: 0.3s;
}
.qr4s_property_card:nth-child(4) {
  animation-delay: 0.4s;
}
