  .residence-unit-card {
  padding: 0 10px;
  margin-bottom: 20px;
}

.residence-unit-card .proerty-unit-item-radius {
  border-radius: 9px;
}

.residence-unit-card .proerty-unit-item-radius img {
  border-top-left-radius: 9px;
  border-top-right-radius: 9px;
}

.residence-unit-card .item-entry.p-3 {
  padding: 12px !important;
}

.residence-unit-card .dot-unit-hr {
  border: none;
  border-top: 1px dotted #bbb;
  margin: 6px 0 8px 0;
  position: relative;
  height: 1px;
}

.residence-unit-card .dot-unit-hr i {
  position: absolute;
  top: -10px;
  right: 0;
  font-size: 14px;
  color: #09139a;
}

/* Fish eggs */
.residence-unit-card .dot-hr {
  border: none;
  border-top: 1px dotted #bbb;
  margin: 6px 0 8px 0;
}

/* Wrapper includes type + status + price on the right */
.price-unit-row-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
  line-height: 1.2;
  padding: 0 10px;
}

/* Left: Type + Status sorted */
.price-unit-left {
  display: flex;
  align-items: center;
  gap: 6px; /* Leave space between signs */
}

/* Type and status boxes */
.type-unit-box {
  display: inline-block;
  padding: 4px 6px;
  font-size: 12px;
  font-weight: bold;
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  color: #000 !important;
  background-color: rgba(0, 0, 0, 0.05);
  line-height: 1;
  white-space: nowrap;
}

/* Subcategory label */
.sale {
  background-color: rgba(244, 91, 105, 0.6);
}
.rent {
  background-color: rgba(156, 123, 191, 0.6);
}
.resale {
  background-color: rgba(32, 178, 170, 0.6);
}

/* Special color status (light gray) */
.status-type {
  background-color: rgba(128, 128, 128, 0.4) !important;
  color: white !important;
  box-shadow: none !important;
}

/* Right: Large price, right side */
.price-unit-right .price-unit-plain {
  font-size: 14px;
  color: #09139a;
  font-weight: bold;
  white-space: nowrap;
}

.residence-unit-card .unit-location,
.residence-unit-card .unit-size {
  display: flex;
  align-items: center;
  color: #444;
  font-size: 14px;
  margin-bottom: 8px;
}

.residence-unit-card .unit-location i,
.residence-unit-card .unit-size i {
  color: #09139a;
  margin-right: 6px;
}

.residence-unit-card .unit-icons span {
  margin-right: 12px;
  color: #09139a;
  font-size: 14px;
}

.residence-unit-card .unit-icons i {
  margin-right: 4px;
}

.residence-unit-card .unit-icons span small {
  color: #555;
}

.residence-unit-thumb img {
  width: 100%;
  height: auto;
  border-top-left-radius: 9px;
  border-top-right-radius: 9px;
  object-fit: cover; /* In case you want full coverage, no twisting */
  display: block; /* Remove the space under the image */
}

.status-type {
  background-color: #edeff5 !important;
  color: #444 !important;
  box-shadow: none !important;
}

.status-type-sold {
  background-color: #d4af37 !important;
  color: #444 !important;
  box-shadow: none !important;
}

.l-2-line {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 3.5em; /* Or adjust according to font-size × 1.5 × 2 */
}