/* HCH Cards v1.3 (-20261028cards5). Display only. Scoped to search result cards (.property_unit_v2). */
#listing_ajax_container { display: flex; flex-wrap: wrap; }
#listing_ajax_container > .col-md-12, #listing_ajax_container > .single-content { flex: 0 0 100%; }
.listing_wrapper.property_unit_v2.property_flex { display: flex; float: none; margin-bottom: 24px; }
.listing_wrapper.property_unit_v2.property_flex > .property_listing {
  display: flex; flex-direction: column; width: 100%; height: 100%; position: relative;
  background: #fff; border-radius: 6px; overflow: hidden;
}
.property_unit_v2 .property_listing > .listing-unit-img-wrapper { flex: 0 0 auto; position: relative; }
.property_unit_v2 .property_listing > .title-container {
  display: flex; flex-direction: column; flex: 1 1 auto; position: static;
}
.property_unit_v2 .title-container > .owner_thumb { display: none; }
.property_unit_v2 .title-container > .category_name { order: 1; display: flex; flex-direction: column; flex: 0 0 auto; position: static; padding-bottom: 12px; }

/* title: one line, same height everywhere */
.property_unit_v2 .category_name .listing_title_unit {
  order: 1; display: block; padding-right: 0; margin-right: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
/* amenity icons */
.property_unit_v2 .category_name > .bb_section { order: 2; }
/* location line */
.property_unit_v2 .category_name > .category_tagline {
  order: 3; margin-bottom: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}

/* badges: one uniform pill, always the same spot (photo, top-left), never shifts the text block */
.property_unit_v2 .category_name > .bb_section.hch-badge-row {
  position: absolute; top: 12px; left: 12px; z-index: 3; order: 0;
  display: flex; gap: 6px; margin: 0; padding: 0; height: auto; min-height: 0; pointer-events: none;
}
.property_unit_v2 .category_name > .bb_section.hch-badge-empty { display: none; }
.property_unit_v2 .hch-badge-row #rare-find,
.property_unit_v2 .hch-badge-row > span {
  all: unset; display: inline-flex; align-items: center;
}
.property_unit_v2 .hch-badge-row #rare-find > span,
.property_unit_v2 .hch-badge-row > span > span {
  display: inline-flex; align-items: center; gap: 5px; box-sizing: border-box;
  height: 24px; padding: 0 10px; border-radius: 12px;
  background: rgba(255,255,255,.95); color: #1d2327; box-shadow: 0 1px 3px rgba(0,0,0,.18);
  font: 600 11px/1 "Open Sans", Arial, sans-serif; letter-spacing: .04em; text-transform: uppercase;
  white-space: nowrap; animation: none !important; position: static; margin: 0; border: 0;
}
.property_unit_v2 .hch-badge-row i { font-size: 10px; color: #c8102e; margin: 0; }
/* theme "featured" ribbon: keep, but move it out of the badge corner */
.property_unit_v2 .property_listing > .featured_div { left: auto !important; right: 12px; }

/* price row: bottom of card, same place on every card */
.property_unit_v2 .title-container > .price_unit_wrapper {
  order: 2; position: static; display: block; margin: auto 15px 0; padding: 11px 0 13px;
  border-top: 1px solid #eceff1; background: none; width: auto; height: auto;
}
.property_unit_v2 .price_unit_wrapper .price_unit.hch-price {
  display: flex; align-items: baseline; gap: 2px; position: static; float: none;
  background: none; padding: 0; margin: 0; width: auto; height: auto; line-height: 1.2;
}
.property_unit_v2 .price_unit.hch-price .hch-amt { font-size: 20px; font-weight: 700; }
.property_unit_v2 .price_unit.hch-price .hch-per { font-size: 14px; font-weight: 400; color: #6b7177; }
@media (max-width: 767px) {
  .property_unit_v2 .listing_title_unit .hch-bldg { font-size: 17px; }
  .listing_wrapper.property_unit_v2.property_flex { width: 100%; }
  .property_unit_v2 .price_unit.hch-price .hch-amt { font-size: 18px; }
}

/* v1.3: building title, sub-label, address line, BR / BA labels */
.property_unit_v2 .category_name .listing_title_unit { white-space: normal; }
.property_unit_v2 .listing_title_unit > span[itemprop="name"] { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.property_unit_v2 .listing_title_unit .hch-bldg {
  display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  font-size: 18px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; color: #1d2327;
}
.property_unit_v2 .listing_title_unit .hch-sub {
  display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  font-size: 11px; font-weight: 600; line-height: 1.3; letter-spacing: .08em; text-transform: uppercase; color: #8a9096;
}
.property_unit_v2 .category_name > .hch-addr {
  order: 3; display: flex; align-items: center; gap: 6px; min-width: 0; margin: 2px 0 0;
  font-size: 13px; line-height: 1.4; color: #50575e; flex-wrap: wrap; row-gap: 0; white-space: normal; overflow: hidden;
}
.property_unit_v2 .hch-addr::before {
  content: ""; flex: 0 0 12px; width: 12px; height: 12px; background: #c8102e; opacity: .85;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.property_unit_v2 .hch-addr .hch-street { font-weight: 600; color: #1d2327; flex: 0 1 auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.property_unit_v2 .hch-addr .hch-zip { font-weight: 600; }
.property_unit_v2 .hch-addr .hch-dot { color: #b0b5ba; flex: 0 0 auto; }
.property_unit_v2 .hch-addr .hch-area { flex: 0 1 auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.property_unit_v2 .category_name > .category_tagline.hch-tag-hidden { display: none; }
.property_unit_v2 .bb_section .bb_col .hch-cnt { font-weight: 600; color: #1d2327; white-space: nowrap; }
.property_unit_v2 .bb_section .bb_col .hch-u {
  font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: .04em; color: #6b7177; margin-left: 3px;
}
