/* Shared posted-time above property title (card body) */
.pd-property-posted-time {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #94a3b8;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pd-property-posted-time i {
  font-size: 0.72rem;
  color: #94a3b8;
  flex-shrink: 0;
}

/* Shared posted-time badge on property card images */
.pd-property-posted-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.72rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #ffffff;
  background: rgba(30, 41, 59, 0.82);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  line-height: 1.2;
  white-space: nowrap;
  max-width: calc(100% - 1.5rem);
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.18);
  pointer-events: none;
}

.pd-property-posted-badge i {
  font-size: 0.7rem;
  flex-shrink: 0;
  opacity: 0.95;
}

.property-image:has(.pd-property-posted-badge) .pd-wishlist-btn {
  top: 46px;
}

@media (max-width: 767.98px) {
  .pd-property-posted-time {
    font-size: 0.7rem;
    margin-bottom: 0.3rem;
  }

  .pd-property-posted-time i {
    font-size: 0.68rem;
  }

  .pd-property-posted-badge {
    top: 10px;
    right: 10px;
    font-size: 0.68rem;
    padding: 0.32rem 0.6rem;
  }

  .property-image:has(.pd-property-posted-badge) .pd-wishlist-btn {
    top: 42px;
  }
}
