.featured-listings .property-price {
  color: var(--hr-primary, #2563eb) !important;
  font-weight: 700;
}
/* Ensure property-price in featured-listings uses hr primary color and is not overridden */
.featured-listings .property-price {
  color: var(--hr-primary, #2563eb) !important;
}
.property-card-img-wrap {
  border-radius: 18px;
  overflow: hidden;
}
/* Property Card Image Wrapper for offset and alignment */
.property-card-img-wrap {
  position: relative;
  top: -12px;
  margin-bottom: -10px;
  z-index: 2;
  display: flex;
  justify-content: flex-start;
}
.property-card-img {
  width: 92%;
  margin: 12px auto 0 auto;
  display: block;
  border-radius: 0;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.10);
  object-fit: cover;
  aspect-ratio: 16/9;
}
.property-rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.property-rating-value {
  color: #f59e42;
  font-weight: 600;
  font-size: 1.05rem;
}
.property-rating-stars .star {
  font-size: 1.1em;
  vertical-align: middle;
}
.star.gold { color: #f59e42; }
.star.grey { color: #e0e0e0; }
.star.half svg { vertical-align: middle; }
.property-title {
  /* font-family removed, global font applies */
  font-weight: 700;
  font-size: 1.18rem;
  color: #222;
  margin-bottom: 6px;
}
.property-insights {
  display: flex;
  gap: 0;
  margin: 12px 0 8px 0;
  justify-content: space-between;
  align-items: stretch;
}
.insight {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 60px;
}
.insight-value {
  font-weight: 700;
  color: #222;
  font-size: 1.08rem;
  display: flex;
  align-items: center;
  gap: 4px;
}
.insight-label {
  color: #7a7a7a;
  font-size: 0.95rem;
}
.insight-separator {
  width: 1px;
  background: #D3D3D3;
  margin: 0 12px;
  min-height: 38px;
  align-self: stretch;
  border-radius: 2px;
}
.property-divider {
  border: none;
  border-top: 1px solid #D3D3D3;
  margin: 12px 0 8px 0;
}
.property-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.property-cta {
  color: #111;
  font-weight: 600;
  font-size: 1.08rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.property-cta-arrow {
  font-size: 1.2em;
}
.property-price {
  color: var(--hr-primary,#2563eb);
  font-size: 1.25rem;
  font-weight: 700;
}
/* Styles for Featured Property Cards */
.featured-listings {
  max-width: 1200px;
  margin: 0 auto 48px auto;
  padding: 0 16px;
    background: var(--hr-bg, #fff);
}
.property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  /* font-family removed, global font applies */
}

.property-grid:has(.property-card:nth-child(1):nth-last-child(1)) {
  justify-content: center;
  grid-template-columns: 1fr;
}
.property-card {
  background: var(--hr-bg, #fff);
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  transition: box-shadow 0.2s, transform 0.2s;
   width: 360px; /* default width */
  min-width: 320px;
  max-width: 100%;
}
.property-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  transform: translateY(-2px) scale(1.01);
}
.property-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--hr-bg-alt, #f6f7fb);
  border-radius: 8px 8px 0 0;
}
.property-card-content {
  padding: 24px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex-grow: 1;
  justify-content: space-between;
}
.property-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--hr-primary, #3B82F6);
  margin-bottom: 8px;
  /* font-family removed, global font applies */
}
.property-price {
  color: var(--hr-primary, #091235);
  font-size: 1.1rem;
  margin-bottom: 12px;
}
.property-cta {
  display: inline-block;
  width: 100%;
  text-align: center;
  font-size: 1.05rem;
  padding: 12px 0;
  border-radius: 6px;
  background: var(--hr-primary, #091235);
  color: var(--hr-on-primary, #fff);
  font-weight: 700;
  text-decoration: none;
  border: none;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
  font-family: var(--hr-font, 'Playfair Display', serif);
}
.property-cta:hover {
  background: var(--hr-primary-hover, #2d53b4);
  color: var(--hr-on-primary, #fff);
}
.property-cta.disabled,
.property-cta[aria-disabled="true"] {
  background: #e0e0e0;
  color: #aaa;
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.7;
}
.property-card .btn,
.property-card .btn:hover,
.property-cta,
.property-cta:hover {
  text-decoration: none;
}
.property-insights {
  display: flex;
  gap: 18px;
  margin: 14px 0 10px 0;
  align-items: center;
}
.insight {
  display: flex;
  align-items: center;
  font-size: 1.02rem;
  color: var(--hr-primary, #091235);
  font-weight: 600;
  gap: 6px;
}
.insight img {
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  margin-right: 4px;
  display: inline-block;
  object-fit: contain;
}
.property-excerpt {
  margin-bottom: 16px;
}
.section-title.property-section-title {
  font-size: 2.2rem;
  /* font-family removed, global font applies */
  font-weight: 700;
  color: #091235;
  margin-bottom: 32px;
  text-align: left;
  letter-spacing: -1px;
}
@media (max-width: 900px) {
  .property-card img { height: 140px; }
  .property-insights {
    gap: 10px;
    margin: 10px 0 8px 0;
  }
  .insight {
    font-size: 0.98rem;
  }
  .insight img {
    width: 14px !important;
    height: 14px !important;
    max-width: 14px !important;
    max-height: 14px !important;
    margin-right: 2px;
  }
  .property-cta {
    font-size: 0.98rem;
    padding: 10px 0;
  }
}
@media (max-width: 600px) {
  .property-insights {
    gap: 6px;
    margin: 8px 0 6px 0;
  }
  .insight {
    font-size: 0.92rem;
  }
  .insight img {
    width: 12px !important;
    height: 12px !important;
    max-width: 12px !important;
    max-height: 12px !important;
    margin-right: 2px;
  }
  .property-cta {
    font-size: 0.92rem;
    padding: 8px 0;
  }
  .section-title.property-section-title {
    font-size: 1.4rem;
    margin-bottom: 18px;
    text-align: center;
  }
}

.property-grid:has(.property-card:nth-child(1):nth-last-child(1)) {
  justify-content: center;
  grid-template-columns: 1fr;
}

/* One card: center it */
.property-grid:has(.property-card:nth-child(1):nth-last-child(1)) {
  display: flex;
  justify-content: center;
}

/* Two cards: center them with gap */
.property-grid:has(.property-card:nth-child(1):nth-last-child(2)) {
  display: flex;
  justify-content: center;
  gap: 32px;
}

@media (max-width: 768px) {
  .property-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center; /* optional: center cards */
  }

  .property-card {
    width: 100%;
    max-width: 100%;
  }
}
