#resedential-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  padding: 1rem;
}

/* property-card styles (same as before) */
.property-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.property-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.property-card img.property-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}


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

.card-body {
  position:relative;
  padding: 1rem;
  font-family: 'Source Sans Pro', sans-serif;
}

.property-title {
  margin: 0 0 0.5rem 0;
  font-size: 1.2rem;
  color: rgb(103, 70, 54);
}

.property-price {
  margin: 0 0 0.5rem 0;
  font-weight: bold;
  color: rgb(147,174,211);
}

.property-details {
  margin: 0 0 1rem 0;
  color: #555;
}

.property-link {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgb(103, 70, 54);
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s;
}

.property-link:hover {
  background: rgb(76, 50, 40);
}

/* 
   Featured Property section - home
*/

#resedential-list.featured-properties {
  grid-template-columns: repeat(2, 1fr); /* Always 2 columns */
}

/* Mobile override for featured section */
@media (max-width: 768px) {
  #resedential-list.featured-properties {
    grid-template-columns: 1fr; 
  }
}

/* Property status badge */
/* Color variations */
.status-open {
  background-color: #28a745; /* green */
}

.status-closed {
  background-color: #6c757d; /* gray */
}

.status-soon {
  background-color: #ffc107; /* yellow */
  color: #333;
}

.status-badge {
  position: absolute;
  top: -30px;
  right: 10px;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
}