/* HCH Cards v2 — 2.2.3 (16 Nov 2026). Presentation only.
   Restyles the EXISTING WP Rentals card markup (.listing_wrapper.property_unit_v2) and the homepage
   featured cards (#hv2-featured .hv2-apt). No element is removed or re-ordered in the HTML; prices,
   links, data-* attributes and hidden tag links are untouched. Scoped to body.hchc-on (+ .hchc-sim). */
body.hchc-on,.hchc-sim{--hc-navy:#0f2f4d;--hc-blue:#1a5a96;--hc-blue-d:#134a7d;--hc-ink:#1d2733;--hc-muted:#4d5567;--hc-line:#dfe4ea;--hc-soft:#f4f6f9;--hc-soft2:#eef3f8;--hc-gold:#f2b705;
  --hc-r:12px;--hc-rl:16px;--hc-sh:0 1px 2px rgba(15,47,77,.06),0 6px 18px rgba(15,47,77,.08);--hc-shh:0 2px 4px rgba(15,47,77,.08),0 14px 34px rgba(15,47,77,.14);
  --hc-serif:"Source Serif 4 Variable","Iowan Old Style","Palatino Linotype",Palatino,Georgia,serif;
  --hc-sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Open Sans",Arial,sans-serif}
@font-face{font-family:"Source Serif 4 Variable";font-style:normal;font-display:swap;font-weight:200 900;src:url("../hchx/fonts/source-serif-4-latin-wght-normal.woff2") format("woff2-variations")}

/* ================= Card ================= */
body.hchc-on .listing_wrapper.property_unit_v2{padding-left:10px;padding-right:10px;margin-bottom:22px;float:none;display:flex}
body.hchc-on .property_unit_v2 .property_listing{position:relative;display:flex;flex-direction:column;width:100%;height:auto!important;min-height:0;margin:0;padding:0!important;background:#fff;border:1px solid var(--hc-line);border-radius:var(--hc-rl);overflow:hidden;box-shadow:var(--hc-sh);transition:box-shadow .18s,transform .18s;font-family:var(--hc-sans);color:var(--hc-ink)}
body.hchc-on .property_unit_v2 .property_listing:hover{box-shadow:var(--hc-shh);transform:translateY(-2px)}
body.hchc-on .property_unit_v2 .property_listing:focus-within{outline:3px solid var(--hc-gold);outline-offset:2px}
body.hchc-on .property_unit_v2 .listing-unit-img-wrapper{position:relative;aspect-ratio:4/3;height:auto!important;max-height:none;overflow:hidden;background:var(--hc-soft);border-radius:0;margin:0}
body.hchc-on .property_unit_v2 .listing-unit-img-wrapper>a{display:block;position:absolute;inset:0}
body.hchc-on .property_unit_v2 .listing-unit-img-wrapper img{width:100%!important;height:100%!important;object-fit:cover;display:block;transition:transform .35s;max-width:none}
body.hchc-on .property_unit_v2 .property_listing:hover .listing-unit-img-wrapper img{transform:scale(1.03)}
body.hchc-on .property_unit_v2 .listing-unit-img-wrapper .cross{display:none}
body.hchc-on .property_unit_v2 .featured_div{position:absolute;left:12px;top:12px;right:auto;z-index:3;background:var(--hc-navy);color:#fff;border-radius:999px;padding:4px 10px;font:700 11.5px/1.4 var(--hc-sans);letter-spacing:.04em;text-transform:uppercase;box-shadow:0 1px 4px rgba(0,0,0,.18);height:auto;width:auto;margin:0}
body.hchc-on .property_unit_v2 #rare-find,body.hchc-on .property_unit_v2 .rare-find{z-index:3}
body.hchc-on .property_unit_v2 .owner_thumb{display:none!important}
body.hchc-on .property_unit_v2 .title-container{position:static!important;display:flex!important;flex-wrap:wrap!important;align-items:center;align-content:flex-start;gap:0 10px;flex:1 1 auto;padding:14px 16px 16px!important;margin:0!important;height:auto!important;background:#fff}
body.hchc-on .property_unit_v2 .category_name{order:1;flex:1 1 100%!important;display:flex!important;flex-direction:column;gap:6px;margin:0!important;padding:0!important;width:100%!important;max-width:100%;float:none;position:static!important;height:auto!important}
body.hchc-on .property_unit_v2 .listing_title_unit{display:block;margin:0;font-family:var(--hc-serif)!important;font-weight:500;font-optical-sizing:auto;font-size:19px!important;line-height:1.28;letter-spacing:-.005em;color:var(--hc-navy);text-decoration:none;white-space:normal;overflow:visible;height:auto}
body.hchc-on .property_unit_v2 .listing_title_unit::after{content:"";position:absolute;inset:0;z-index:1} /* whole card opens the same apartment URL */
body.hchc-on .property_unit_v2 .listing_title_unit:hover .hch-bldg{text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
body.hchc-on .property_unit_v2 .hch-bldg{display:block;font-family:var(--hc-serif)!important;font-size:19px!important;font-weight:500!important;line-height:1.28!important;color:var(--hc-navy)!important;text-transform:none!important;letter-spacing:-.005em!important}
body.hchc-on .property_unit_v2 .hch-sub{display:block;margin-top:2px;font:500 12px/1.4 var(--hc-sans)!important;color:var(--hc-muted)!important;letter-spacing:.02em;text-transform:none!important}
body.hchc-on .property_unit_v2 .bb_section{display:flex!important;flex-wrap:wrap;align-items:center;gap:8px 9px;margin:4px 0 0!important;padding:0!important;color:var(--hc-ink)!important;border:0;height:auto!important;min-height:0!important}
body.hchc-on .property_unit_v2 .bb_col{flex:0 0 auto!important;display:inline-flex!important;flex-direction:row!important;align-items:center;gap:5px;margin:0!important;padding:0;float:none;width:auto!important;height:auto!important;min-width:0;text-align:left}
body.hchc-on .property_unit_v2 .bb_col:has(.hch-cnt){background:var(--hc-soft);border:1px solid var(--hc-line);border-radius:999px;padding:3px 10px 3px 8px}
body.hchc-on .property_unit_v2 .bb_section_icon{width:17px!important;height:17px!important;margin:0!important;display:inline-block!important;opacity:.72;filter:grayscale(1)}
body.hchc-on .property_unit_v2 .hch-cnt{display:inline-flex!important;align-items:baseline;font:600 13px/1.3 var(--hc-sans)!important;color:var(--hc-ink)!important;margin:0!important}
body.hchc-on .property_unit_v2 .hch-cnt .hch-u{font:600 12px var(--hc-sans)!important;font-style:normal;margin-left:3px;color:var(--hc-muted)}
body.hchc-on .property_unit_v2 .hch-badge-row.hch-badge-empty{display:none}
body.hchc-on .property_unit_v2 .hch-addr{overflow:visible!important;display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 6px;margin:2px 0 0;font:400 13.5px/1.45 var(--hc-sans);color:var(--hc-muted)}
body.hchc-on .property_unit_v2 .hch-addr::before{content:"";flex:0 0 13px;height:13px;align-self:center;background:var(--hc-blue);-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}
body.hchc-on .property_unit_v2 .hch-area{font-weight:700;color:var(--hc-blue)}
/* footer row: price (unchanged element) + "View apartment" cue */
body.hchc-on .property_unit_v2 .price_unit_wrapper{order:2;position:static!important;top:auto!important;left:auto!important;right:auto!important;flex:1 1 auto!important;margin:12px 0 0!important;padding:12px 0 0!important;border-top:1px solid var(--hc-line);background:none!important;width:auto!important;height:auto!important;float:none;text-align:left;transform:none!important}
body.hchc-on .property_unit_v2 .price_unit{position:static!important;display:inline-flex!important;align-items:baseline;margin:0!important;padding:0!important;background:none!important;color:var(--hc-navy)!important;font:800 20px/1.2 var(--hc-sans)!important;letter-spacing:-.01em;text-shadow:none;box-shadow:none;width:auto;height:auto}
body.hchc-on .property_unit_v2 .price_unit .hch-amt{font:inherit!important;color:inherit!important}
body.hchc-on .property_unit_v2 .price_unit .hch-per{font:500 13px var(--hc-sans)!important;color:var(--hc-muted)!important;margin-left:2px}
body.hchc-on .property_unit_v2 .title-container::after{content:"View apartment \2192";order:3;flex:0 0 auto;margin:12px 0 0;padding:9px 14px;border-radius:12px;background:var(--hc-navy);color:#fff;font:700 13.5px/1.2 var(--hc-sans);pointer-events:none;align-self:flex-end}
body.hchc-on .property_unit_v2 .property_listing:hover .title-container::after{background:var(--hc-blue-d)}
body.hchc-on .property_unit_v2 .title-container:not(:has(.price_unit_wrapper))::before{content:"Rates for your dates";order:2;flex:1 1 auto;margin:12px 0 0;padding:12px 0 0;border-top:1px solid var(--hc-line);font:600 13.5px var(--hc-sans);color:var(--hc-navy)}
body.hchc-on .property_unit_v2 .title-container::after{border-top:0}
/* robust footer layout: grid beats theme flex/float/absolute rules */
body.hchc-on .property_unit_v2 .title-container{display:grid!important;grid-template-columns:minmax(0,1fr) auto;grid-auto-flow:row;align-items:center;align-content:start;column-gap:0;row-gap:0}
body.hchc-on .property_unit_v2 .title-container>.category_name{grid-column:1 / -1;grid-row:1;min-height:0!important;justify-content:flex-start}
body.hchc-on .property_unit_v2 .title-container>.price_unit_wrapper{grid-column:1;grid-row:2;align-self:stretch;display:flex!important;align-items:center;min-height:0!important}
body.hchc-on .property_unit_v2 .title-container::after{grid-column:2;grid-row:2;align-self:stretch;border-top:1px solid var(--hc-line);border-radius:0;margin:12px 0 0;padding:12px 0 0 10px;background:none;color:var(--hc-navy);display:flex;align-items:center}
body.hchc-on .property_unit_v2 .title-container::after{content:"View apartment \2192";padding:12px 0 0 10px;font:700 13.5px/1.2 var(--hc-sans)}
body.hchc-on .property_unit_v2 .title-container:not(:has(.price_unit_wrapper))::before{grid-column:1;grid-row:2;align-self:stretch;display:flex;align-items:center}
body.hchc-on .property_unit_v2 .bb_section{flex:0 0 auto!important;align-content:flex-start}
body.hchc-on .property_unit_v2 .property_listing:hover .title-container::after{background:none;color:var(--hc-blue-d);text-decoration:underline;text-underline-offset:3px}
body.hchc-on .property_unit_v2 .category_tagline.hch-tag-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}

/* ================= Results pages (search / taxonomy / list) ================= */
body.hchc-on #listing_ajax_container{display:flex;flex-wrap:wrap;align-items:stretch;max-width:100%;box-sizing:border-box}
body.hchc-on #listing_ajax_container>*{min-width:0}
body.hchc-on #listing_ajax_container>*:not(.listing_wrapper){flex:1 1 100%;max-width:100%}
body.hchc-on #listing_ajax_container .listing_wrapper.property_unit_v2{flex:0 0 50%;max-width:50%;width:auto;box-sizing:border-box}
body.hchc-on #listing_ajax_container h1.entry-title.title_prop{font-family:var(--hc-serif)!important;font-weight:500!important;font-size:clamp(20px,17px + .6vw,26px)!important;line-height:1.25;letter-spacing:-.01em;color:var(--hc-navy);margin:6px 10px 6px;padding:0}
body.hchc-on #google_map_prop_list_sidebar{background:#fbfcfd}
/* 2.1 search bar: see end of file */

/* toolbar inserted by hch-cards-v2.js (count, sort, map toggle, trust strip) */
.hchc-toolbar{flex:1 1 100%;min-width:0;max-width:100%;box-sizing:border-box;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;padding:6px 10px 12px;font-family:var(--hc-sans)}
.hchc-count{margin:0;font-size:14px;color:var(--hc-muted)}
.hchc-count strong{color:var(--hc-ink)}
.hchc-tools{display:flex;gap:8px;align-items:center}
.hchc-sort,.hchc-maptg{border:1px solid var(--hc-line);border-radius:999px;padding:7px 14px;font:600 13px var(--hc-sans);color:var(--hc-ink);background:#fff;cursor:pointer;height:auto}
.hchc-maptg[aria-pressed="true"]{background:var(--hc-navy);border-color:var(--hc-navy);color:#fff}
.hchc-trust{flex:1 1 100%;min-width:0;max-width:100%;box-sizing:border-box;display:flex;flex-wrap:wrap;gap:6px 18px;margin:0;padding:9px 14px;background:var(--hc-soft2);border:1px solid #dbe6f1;border-radius:var(--hc-r);font:600 13px/1.4 var(--hc-sans);color:var(--hc-navy);list-style:none}
.hchc-trust li{display:inline-flex;align-items:center;gap:6px;margin:0}
.hchc-trust li::before{content:"\2713";color:var(--hc-blue);font-weight:800}
.hchc-trust a{color:var(--hc-navy);font-weight:700}
.hchc-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
body.hchc-on.hchc-nomap #google_map_prop_list_wrapper{display:none!important}
body.hchc-on.hchc-nomap #google_map_prop_list_sidebar{width:100%!important;max-width:none}
body.hchc-on.hchc-nomap #listing_ajax_container .listing_wrapper.property_unit_v2{flex-basis:33.333%;max-width:33.333%}
@media (min-width:1500px){body.hchc-on.hchc-ctx-list #listing_ajax_container .listing_wrapper.property_unit_v2{flex-basis:25%;max-width:25%}}

/* /apartments-list/ (property_list.php): use the full content width (was half width on desktop) */
body.hchc-on.hchc-ctx-list .content_wrapper>.row>.col-md-8,body.hchc-on.hchc-ctx-list #listing_ajax_container{width:100%}
body.hchc-on.hchc-ctx-list #listing_ajax_container .listing_wrapper.property_unit_v2{flex-basis:33.333%;max-width:33.333%}

/* CLS guard: reserve the toolbar's height on the first card row until hch-cards-v2.js inserts it (body.hchc-ready) */
body.hchc-on.is_half_map:not(.hchc-ready) #listing_ajax_container>.listing_wrapper:nth-child(-n+2 of .listing_wrapper){margin-top:121px}
body.hchc-on.hchc-ctx-list:not(.hchc-ready) #listing_ajax_container>.listing_wrapper:nth-child(-n+3 of .listing_wrapper){margin-top:88px}
@media (min-width:768px) and (max-width:991px){body.hchc-on.hchc-ctx-list:not(.hchc-ready) #listing_ajax_container>.listing_wrapper:nth-child(-n+3 of .listing_wrapper){margin-top:0}body.hchc-on.hchc-ctx-list:not(.hchc-ready) #listing_ajax_container>.listing_wrapper:nth-child(-n+2 of .listing_wrapper){margin-top:112px}
  /* Theme user-icon in the half-map mobile header is 6px wider than its 70px box and expands the page. */
  body.hchc-on .mobile_header .mobile-trigger-user{box-sizing:border-box;overflow:hidden;max-width:70px}}
@media (max-width:767px){body.hchc-on.is_half_map:not(.hchc-ready) #listing_ajax_container>.listing_wrapper:nth-child(-n+2 of .listing_wrapper),body.hchc-on.hchc-ctx-list:not(.hchc-ready) #listing_ajax_container>.listing_wrapper:nth-child(-n+3 of .listing_wrapper){margin-top:0}
  body.hchc-on.is_half_map:not(.hchc-ready) #listing_ajax_container>.listing_wrapper:nth-child(1 of .listing_wrapper){margin-top:128px}
  body.hchc-on.hchc-ctx-list:not(.hchc-ready) #listing_ajax_container>.listing_wrapper:nth-child(1 of .listing_wrapper){margin-top:88px}}

/* Mobile Map control sits in the toolbar after Sort. The FAB is only the List pill when the fullscreen map is open (so it never covers the trust chips). */
.hchc-fab{display:none}
@media (max-width:991px){
  body.hchc-on #listing_ajax_container .listing_wrapper.property_unit_v2,body.hchc-on.hchc-ctx-list #listing_ajax_container .listing_wrapper.property_unit_v2{flex-basis:50%;max-width:50%}
  body.hchc-on.is_half_map.hchc-mapopen .hchc-fab{position:fixed;left:50%;bottom:18px;transform:translateX(-50%);z-index:1001;display:inline-flex;gap:8px;align-items:center;background:var(--hc-navy);color:#fff;border:0;border-radius:999px;padding:12px 20px;font:700 14px var(--hc-sans);box-shadow:0 8px 24px rgba(15,47,77,.35);cursor:pointer}
  body.hchc-on.hchc-mapopen #google_map_prop_list_wrapper{display:block!important;position:fixed!important;inset:0!important;width:100%!important;height:100%!important;z-index:1000;margin:0}
  body.hchc-on.hchc-mapopen #google_map_prop_list_wrapper #google_map_prop_list{height:100%!important}
  body.hchc-on.hchc-mapopen{overflow:hidden}
}
@media (max-width:767px){
  body.hchc-on #listing_ajax_container .listing_wrapper.property_unit_v2,body.hchc-on.hchc-ctx-list #listing_ajax_container .listing_wrapper.property_unit_v2{flex-basis:100%;max-width:100%;width:100%}
  body.hchc-on .property_unit_v2 .listing-unit-img-wrapper{aspect-ratio:16/10}
  body.hchc-on .property_unit_v2 .listing_title_unit{font-size:18px!important}
  .hchc-trust{flex-wrap:wrap;overflow:visible;white-space:normal;width:100%;font-size:12.5px;gap:6px 10px;padding:8px 10px}
}
@media (prefers-reduced-motion:reduce){body.hchc-on .property_unit_v2 *,body.hchc-on .property_unit_v2 .property_listing{transition:none!important}}

/* ================= Homepage featured (hch-home-v2 #hv2-featured) ================= */
body.hchc-ctx-home #hv2-featured .hv2-apt{position:relative;display:flex;flex-direction:column;background:#fff;border:1px solid var(--hc-line);border-radius:var(--hc-rl);overflow:hidden;box-shadow:var(--hc-sh);transition:box-shadow .18s,transform .18s}
body.hchc-ctx-home #hv2-featured .hv2-apt:hover{box-shadow:var(--hc-shh);transform:translateY(-2px)}
body.hchc-ctx-home #hv2-featured .hv2-apt:focus-within{outline:3px solid var(--hc-gold);outline-offset:2px}
body.hchc-ctx-home #hv2-featured .hv2-ph{aspect-ratio:4/3;overflow:hidden;background:var(--hc-soft);border-radius:0}
body.hchc-ctx-home #hv2-featured .hv2-ph img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s}
body.hchc-ctx-home #hv2-featured .hv2-apt:hover .hv2-ph img{transform:scale(1.03)}
body.hchc-ctx-home #hv2-featured .hv2-bd{display:flex;flex-direction:column;gap:6px;flex:1;padding:14px 16px 16px}
body.hchc-ctx-home #hv2-featured .hv2-area{font:700 12px/1.3 var(--hc-sans);letter-spacing:.07em;text-transform:uppercase;color:var(--hc-blue)}
body.hchc-ctx-home #hv2-featured .hv2-apt h3{margin:0;font-family:var(--hc-serif)!important;font-weight:500!important;font-size:19px;line-height:1.28;color:var(--hc-navy)}
body.hchc-ctx-home #hv2-featured .hv2-meta{font-size:13.5px;color:var(--hc-muted)}
body.hchc-ctx-home #hv2-featured .hv2-row{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:auto;padding-top:12px;border-top:1px solid var(--hc-line)}
body.hchc-ctx-home #hv2-featured .hv2-rate{font:600 13.5px var(--hc-sans);color:var(--hc-navy)}
body.hchc-ctx-home #hv2-featured .hv2-row a{display:inline-flex;align-items:center;gap:6px;border-radius:12px;background:var(--hc-navy);color:#fff;font:700 13.5px/1.2 var(--hc-sans);padding:9px 14px;text-decoration:none}
body.hchc-ctx-home #hv2-featured .hv2-row a::after{content:"";position:absolute;inset:0;z-index:1} /* whole card clickable, one destination */
body.hchc-ctx-home #hv2-featured .hv2-apt:hover .hv2-row a{background:var(--hc-blue-d)}

/* ================= Similar Listings filler (apartment pages) ================= */
.hchc-sim{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;list-style:none;margin:14px 0 8px;padding:0;font-family:var(--hc-sans);color:var(--hc-ink);clear:both;width:100%;box-sizing:border-box}
.hchc-sim-item{margin:0;padding:0;list-style:none}
.hchc-sim-card{position:relative;display:flex;flex-direction:column;height:100%;background:#fff;border:1px solid var(--hc-line);border-radius:var(--hc-rl);overflow:hidden;box-shadow:var(--hc-sh);transition:box-shadow .18s,transform .18s}
.hchc-sim-card:hover{box-shadow:var(--hc-shh);transform:translateY(-2px)}
.hchc-sim-card:focus-within{outline:3px solid var(--hc-gold);outline-offset:2px}
.hchc-sim-media{display:block;aspect-ratio:4/3;overflow:hidden;background:var(--hc-soft)}
.hchc-sim-media img{width:100%;height:100%;object-fit:cover;display:block}
.hchc-sim-body{display:flex;flex-direction:column;gap:5px;flex:1;padding:12px 14px 14px}
.hchc-sim-area{font:700 11.5px/1.3 var(--hc-sans);letter-spacing:.07em;text-transform:uppercase;color:var(--hc-blue)}
.hchc-sim-title{margin:0;font-family:var(--hc-serif);font-weight:500;font-size:18px;line-height:1.28;color:var(--hc-navy)}
.hchc-sim-facts{font-size:13.5px;color:var(--hc-muted)}
.hchc-sim-foot{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:auto;padding-top:10px;border-top:1px solid var(--hc-line)}
.hchc-sim-rate{font:600 13px var(--hc-sans);color:var(--hc-navy)}
.hchc-sim-cta{display:inline-flex;border-radius:12px;background:var(--hc-navy);color:#fff!important;font:700 13px/1.2 var(--hc-sans);padding:8px 12px;text-decoration:none}
.hchc-sim-cta::after{content:"";position:absolute;inset:0;z-index:1}
.hchc-sim-card:hover .hchc-sim-cta{background:var(--hc-blue-d)}
@media (max-width:991px){.hchc-sim{grid-auto-flow:column;grid-template-columns:none;grid-auto-columns:minmax(240px,78%);overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:10px}.hchc-sim-item{scroll-snap-align:start}}
@media (prefers-reduced-motion:reduce){.hchc-sim-card,body.hchc-ctx-home #hv2-featured .hv2-apt{transition:none!important}}

/* ================= 2.1 Search bar (CSS + progressive enhancement) =================
   Existing WP Rentals field IDs, names, dropdowns and datepicker are unchanged.
   JS adds labels, a Search button, and a calm hint. Mobile shows the fields directly (no summary pill). */
body.hchc-on #advanced_search_map_list{background:transparent;border:0;box-shadow:none;padding:10px 10px 0;margin:0}
body.hchc-on #advanced_search_map_list .advanced_search_map_list_container{padding:0;margin:0;background:transparent}
body.hchc-on #advanced_search_map_list{container-type:inline-size;container-name:hchcsearch}

/* The segmented control: one soft card, fields in a grid, no Bootstrap float */
body.hchc-on #advanced_search_map_list .advanced_search_map_list_container_trigger{
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) minmax(0,1fr) minmax(0,0.9fr) minmax(0,0.9fr) auto;
  grid-template-areas:"where cin cout guests beds go" "hint hint hint hint hint hint";
  align-items:stretch;
  gap:0;
  margin:0 0 10px;
  padding:8px;
  background:#fff;
  border:1px solid var(--hc-line);
  border-radius:28px;
  box-shadow:var(--hc-sh);
  box-sizing:border-box;
  width:100%;
  font-family:var(--hc-sans);
}
body.hchc-on #advanced_search_map_list .advanced_search_map_list_container_trigger::after,
body.hchc-on #advanced_search_map_list .advanced_search_map_list_container_trigger::before{content:none;display:none}
body.hchc-on #advanced_search_map_list .col-md-6,
body.hchc-on #advanced_search_map_list .col-md-3{
  width:auto;float:none;position:relative;padding:0;margin:0;min-width:0;box-sizing:border-box
}
body.hchc-on #advanced_search_map_list .hch_display_none,
body.hchc-on #advanced_search_map_list .baths_no{display:none!important}

/* Field wrappers (JS adds .hchc-field) */
body.hchc-on #advanced_search_map_list .hchc-field,
body.hchc-on #advanced_search_map_list .map_icon,
body.hchc-on #advanced_search_map_list .has_calendar{
  position:relative;
  display:flex;flex-direction:column;justify-content:center;gap:1px;
  min-height:56px;height:56px;padding:8px 14px;margin:0;background:transparent;
  border-radius:22px;transition:background .15s,box-shadow .15s;box-sizing:border-box
}
body.hchc-on #advanced_search_map_list .hchc-field:has(.caret),
body.hchc-on #advanced_search_map_list .hchc-field:has(.caret_filter){padding-right:32px}
body.hchc-on #advanced_search_map_list .hchc-field:hover,
body.hchc-on #advanced_search_map_list .map_icon:hover,
body.hchc-on #advanced_search_map_list .has_calendar:hover{background:var(--hc-soft)}
body.hchc-on #advanced_search_map_list .hchc-field:focus-within,
body.hchc-on #advanced_search_map_list .map_icon:focus-within,
body.hchc-on #advanced_search_map_list .has_calendar:focus-within{
  background:#fff;box-shadow:inset 0 0 0 1.5px var(--hc-navy)
}
body.hchc-on #advanced_search_map_list .hchc-field-where,
body.hchc-on #advanced_search_map_list .map_icon{grid-area:where}
body.hchc-on #advanced_search_map_list .hchc-field-cin{grid-area:cin}
body.hchc-on #advanced_search_map_list .hchc-field-cout{grid-area:cout}
body.hchc-on #advanced_search_map_list .hchc-field-guests{grid-area:guests}
body.hchc-on #advanced_search_map_list .hchc-field-beds{grid-area:beds}

/* Straight vertical dividers — not inset-on-radius, which looked like ghost pills */
body.hchc-on #advanced_search_map_list .hchc-field-cin,
body.hchc-on #advanced_search_map_list .hchc-field-cout,
body.hchc-on #advanced_search_map_list .hchc-field-guests,
body.hchc-on #advanced_search_map_list .hchc-field-beds{
  box-shadow:none;border-left:1px solid var(--hc-line);border-radius:0
}
body.hchc-on #advanced_search_map_list .hchc-field-cin:focus-within,
body.hchc-on #advanced_search_map_list .hchc-field-cout:focus-within,
body.hchc-on #advanced_search_map_list .hchc-field-guests:focus-within,
body.hchc-on #advanced_search_map_list .hchc-field-beds:focus-within{
  box-shadow:inset 0 0 0 1.5px var(--hc-navy);border-left-color:transparent;border-radius:18px
}

/* Labels above values */
body.hchc-on #advanced_search_map_list .hchc-flab{
  display:block;margin:0;padding:0;font:600 10.5px/1.2 var(--hc-sans);
  letter-spacing:.06em;text-transform:uppercase;color:var(--hc-muted)
}
body.hchc-on #advanced_search_map_list .filter_menu_trigger,
body.hchc-on #advanced_search_map_list input.form-control{
  display:block;width:100%;margin:0;padding:0;min-height:22px;height:auto;
  border:0!important;background:transparent!important;box-shadow:none!important;
  font:600 14.5px/1.3 var(--hc-sans)!important;color:var(--hc-navy)!important;
  text-align:left;cursor:pointer
}
body.hchc-on #advanced_search_map_list input.form-control::placeholder{color:#8b93a2;font-weight:500}
body.hchc-on #advanced_search_map_list .filter_menu_trigger .caret,
body.hchc-on #advanced_search_map_list .caret_filter{
  float:none;display:inline-block;margin-left:6px;opacity:.55;vertical-align:middle
}
/* Kill theme field icons (they live on ::after backgrounds) */
body.hchc-on #advanced_search_map_list .map_icon,
body.hchc-on #advanced_search_map_list .has_calendar,
body.hchc-on #advanced_search_map_list .calendar_icon,
body.hchc-on #advanced_search_map_list .guest_form,
body.hchc-on #advanced_search_map_list .bedrooms_icon,
body.hchc-on #advanced_search_map_list .form-control{
  background-image:none!important;background-color:transparent!important
}
body.hchc-on #advanced_search_map_list .map_icon::after,
body.hchc-on #advanced_search_map_list .map_icon::before,
body.hchc-on #advanced_search_map_list .calendar_icon::after,
body.hchc-on #advanced_search_map_list .calendar_icon::before,
body.hchc-on #advanced_search_map_list .has_calendar::after,
body.hchc-on #advanced_search_map_list .has_calendar::before,
body.hchc-on #advanced_search_map_list .guest_form::after,
body.hchc-on #advanced_search_map_list .guest_form::before,
body.hchc-on #advanced_search_map_list .bedrooms_icon::after,
body.hchc-on #advanced_search_map_list .bedrooms_icon::before,
body.hchc-on #advanced_search_map_list .filter_menu_trigger::after,
body.hchc-on #advanced_search_map_list .filter_menu_trigger::before,
body.hchc-on #advanced_search_map_list .form-control::after,
body.hchc-on #advanced_search_map_list .form-control::before{
  content:none!important;display:none!important;background:none!important;width:0!important;height:0!important
}
body.hchc-on #advanced_search_map_list .hchc-field .dropdown,
body.hchc-on #advanced_search_map_list .hchc-field .dropdown.form-control,
body.hchc-on #advanced_search_map_list .hchc-field .filter_menu_trigger{
  position:static!important
}
body.hchc-on #advanced_search_map_list .filter_menu_trigger{
  display:block!important;padding-right:0
}
body.hchc-on #advanced_search_map_list .hchc-field .caret,
body.hchc-on #advanced_search_map_list .hchc-field .caret_filter,
body.hchc-on #advanced_search_map_list .filter_menu_trigger .caret,
body.hchc-on #advanced_search_map_list .caret_filter{
  position:absolute!important;right:12px;top:50%;transform:translateY(-50%);
  float:none!important;display:inline-block;margin:0!important;opacity:.55;flex:none
}
body.hchc-on #advanced_search_map_list .dropdown.form-control{
  border:0;height:auto;min-height:0;padding:0;box-shadow:none
}

/* Dropdown menus stay above the pill */
body.hchc-on #advanced_search_map_list .dropdown-menu.filter_menu{
  z-index:1200;margin-top:8px;padding:8px 0;border:1px solid var(--hc-line);
  border-radius:14px;box-shadow:var(--hc-shh);font:500 14px var(--hc-sans);min-width:100%;max-height:min(50vh,280px);overflow:auto
}
body.hchc-on #advanced_search_map_list .dropdown-menu.filter_menu>li,
body.hchc-on #advanced_search_map_list .dropdown-menu.filter_menu>li>a{
  padding:8px 14px;cursor:pointer;color:var(--hc-ink)
}
body.hchc-on #advanced_search_map_list .dropdown-menu.filter_menu>li:hover,
body.hchc-on #advanced_search_map_list .dropdown-menu.filter_menu>li>a:hover{
  background:var(--hc-soft2);color:var(--hc-navy)
}
body.hchc-on #advanced_search_map_list .filter_menu_trigger:focus,
body.hchc-on #advanced_search_map_list .filter_menu_trigger:focus-visible{
  outline:none
}
body.hchc-on #advanced_search_map_list input.form-control:focus-visible{
  outline:2px solid var(--hc-gold);outline-offset:2px
}

/* Mobile sheet header (hidden on desktop) */
body.hchc-on #advanced_search_map_list .hchc-sheet-head{display:none}
body.hchc-on #advanced_search_map_list .hchc-sheet-handle{display:none}
body.hchc-sheet-open #advanced_search_map_list .hchc-sheet-head{
  display:grid;grid-template-columns:1fr auto;grid-template-areas:"handle handle" "title close";
  align-items:center;gap:0 8px;grid-area:head;position:sticky;top:0;z-index:3;
  background:#fff;padding:6px 0 12px;margin:0 0 4px;border-bottom:1px solid var(--hc-line)
}
body.hchc-sheet-open #advanced_search_map_list .hchc-sheet-handle{
  display:block;grid-area:handle;width:36px;height:4px;border-radius:999px;
  background:#c5cad3;justify-self:center;margin:2px 0 10px
}
body.hchc-sheet-open #advanced_search_map_list .hchc-sheet-title{
  grid-area:title;margin:0;font:600 17px/1.3 var(--hc-sans);color:var(--hc-navy)
}
body.hchc-sheet-open #advanced_search_map_list .hchc-sheet-close{
  grid-area:close;min-height:40px;padding:0 4px 0 12px;border:0;border-radius:10px;background:transparent;
  font:600 14px var(--hc-sans);color:var(--hc-blue);cursor:pointer;justify-self:end
}
body.hchc-sheet-open #advanced_search_map_list .hchc-sheet-close:focus-visible{outline:2px solid var(--hc-gold);outline-offset:2px}

/* Foot is display:contents on desktop so the button keeps grid-area:go */
body.hchc-on #advanced_search_map_list .hchc-sheet-foot{display:contents}

/* Primary Search button */
body.hchc-on #advanced_search_map_list .hchc-go{
  grid-area:go;align-self:center;justify-self:end;
  min-height:48px;min-width:48px;padding:0 20px;margin:4px 4px 4px 8px;
  border:0;border-radius:999px;background:var(--hc-navy);color:#fff;
  font:700 14.5px/1 var(--hc-sans);letter-spacing:.01em;cursor:pointer;
  box-shadow:0 1px 2px rgba(15,47,77,.2);transition:background .15s,transform .15s
}
body.hchc-on #advanced_search_map_list .hchc-go:hover,
body.hchc-on #advanced_search_map_list .hchc-go:focus-visible{background:var(--hc-blue-d)}
body.hchc-on #advanced_search_map_list .hchc-go:focus-visible{outline:2px solid var(--hc-gold);outline-offset:2px}
body.hchc-on #advanced_search_map_list .hchc-go:active{transform:translateY(1px)}

/* Calm hint — replaces the blinking red sentence (text set in JS) */
body.hchc-on #checkin_msg,
body.hchc-on #advanced_search_map_list #checkin_msg{
  grid-area:hint;display:block;padding:6px 14px 4px;margin:0;
  font:500 12.5px/1.4 var(--hc-sans)!important;color:var(--hc-muted)!important;
  font-weight:500!important;animation:none!important;letter-spacing:0
}


/* t912u: hide the theme's leftover "Search Options" bar on half-map results.
   #advanced_search_map_list_hidden is position:fixed; z-index:101; display:none
   until theme JS shows it after the sidebar scrolls 110px — it then layers over
   the cards. The v2.2 search box (#advanced_search_map_list) already replaces it,
   so this toggle (and the empty extended-filter panel it would open) is hidden
   only when that box is present. !important beats jQuery .show(). Kill switch
   (no body.hchc-on) restores the old toggle. */
body.hchc-on:has(#advanced_search_map_list) #advanced_search_map_list_hidden,
body.hchc-on:has(#advanced_search_map_list) #advanced_search_map_list_hidden .show_filters,
body.hchc-on:has(#advanced_search_map_list) #adv_extended_options_show_filters{
  display:none!important;visibility:hidden!important;pointer-events:none!important;
  position:static!important;z-index:auto!important;height:0!important;overflow:hidden!important;
  margin:0!important;padding:0!important;border:0!important
}
body.hchc-on #advanced_search_map_list.move_to_fixed{
  position:static!important;z-index:auto!important
}

/* t910u: restyle the half-map sales phone on advanced-search into a slim in-flow
   bar (not a floating pill, not hidden). HTML is left in place. Scoped so the
   kill switch (no body.hchc-on) and other phones are untouched. */
body.hchc-on.hchc-ctx-search #listing_ajax_container .hch_contact_phone_half_map{
  display:block;position:static!important;float:none;clear:both;flex:1 1 100%;
  max-width:100%;width:auto;box-sizing:border-box;margin:4px 10px 12px;padding:0!important;
  text-align:left;z-index:auto;background:transparent;box-shadow:none;inset:auto
}
body.hchc-on.hchc-ctx-search #listing_ajax_container .hch_contact_phone_half_map p{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:8px 10px;
  margin:0;padding:8px 14px;background:var(--hc-soft2);border:1px solid #dbe6f1;
  border-radius:var(--hc-r);box-shadow:none;font:500 13.5px/1.4 var(--hc-sans);color:var(--hc-muted)
}
body.hchc-on.hchc-ctx-search #listing_ajax_container .hch_contact_phone_half_map p::before{
  content:"Questions? Call our Houston team";order:1;flex:0 1 auto;
  font:500 13.5px/1.4 var(--hc-sans);color:var(--hc-muted)
}
body.hchc-on.hchc-ctx-search #listing_ajax_container .hch_contact_phone_half_map .fa-phone,
body.hchc-on.hchc-ctx-search #listing_ajax_container .hch_contact_phone_half_map i{
  order:2;color:var(--hc-blue);font-size:13px;width:1em;text-align:center
}
body.hchc-on.hchc-ctx-search #listing_ajax_container .hch_contact_phone_half_map a{
  order:3;color:var(--hc-navy)!important;font:700 13.5px/1.2 var(--hc-sans);
  text-decoration:none;letter-spacing:.01em
}
body.hchc-on.hchc-ctx-search #listing_ajax_container .hch_contact_phone_half_map a:hover{
  color:var(--hc-blue-d)!important;text-decoration:underline;text-underline-offset:2px
}
body.hchc-on.hchc-ctx-search #listing_ajax_container .hch_contact_phone_half_map a:focus-visible{
  outline:2px solid var(--hc-gold);outline-offset:2px;border-radius:4px
}
@media (max-width:767px){
  body.hchc-on.hchc-ctx-search #listing_ajax_container .hch_contact_phone_half_map{margin:4px 8px 10px}
  body.hchc-on.hchc-ctx-search #listing_ajax_container .hch_contact_phone_half_map p{
    justify-content:center;text-align:center;min-height:44px;padding:8px 12px
  }
  body.hchc-on.hchc-ctx-search #listing_ajax_container .hch_contact_phone_half_map p::before{
    flex:1 1 100%;text-align:center
  }
  body.hchc-on.hchc-ctx-search #listing_ajax_container .hch_contact_phone_half_map a{
    display:inline-flex;align-items:center;min-height:44px;padding:0 4px;font-size:16px!important
  }
}

/* Narrow sidebars: two-row card, not a cramped single pill */
@container hchcsearch (max-width: 640px){
  body.hchc-on #advanced_search_map_list .advanced_search_map_list_container_trigger{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr);
    grid-template-areas:"where cin cout" "guests beds go" "hint hint hint";
    border-radius:20px;padding:8px
  }
  body.hchc-on #advanced_search_map_list .hchc-field-guests{box-shadow:none;border-left:0}
  body.hchc-on #advanced_search_map_list .hchc-go{width:auto;min-width:120px;justify-self:stretch;align-self:center;height:48px;min-height:48px;width:100%;margin:4px}
}

/* Mobile: show the fields directly — no truncated summary pill, no bottom sheet. */
.hchc-search-sum,
.hchc-sheet-bg{display:none!important}
@media (max-width:767px){
  body.hchc-on #advanced_search_map_list{padding:8px 8px 0}
  body.hchc-on #advanced_search_map_list .hchc-sheet-head,
  body.hchc-on #advanced_search_map_list .hchc-sheet-handle,
  body.hchc-on .hchc-search-sum,
  body.hchc-sheet-open .hchc-sheet-bg,
  .hchc-sheet-bg{display:none!important}
  body.hchc-on #advanced_search_map_list .advanced_search_map_list_container_trigger,
  body.hchc-sheet-open #advanced_search_map_list .advanced_search_map_list_container_trigger{
    display:grid!important;
    position:static!important;
    left:auto;right:auto;bottom:auto;top:auto;z-index:auto;
    width:100%;max-width:100%;max-height:none;overflow:visible;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    grid-template-areas:"where where" "cin cout" "guests beds" "hint hint" "go go";
    column-gap:8px;row-gap:8px;
    padding:12px;margin:0 0 10px;border:1px solid var(--hc-line);
    border-radius:16px;box-shadow:var(--hc-sh);box-sizing:border-box
  }
  body.hchc-on #advanced_search_map_list .hchc-sheet-foot,
  body.hchc-sheet-open #advanced_search_map_list .hchc-sheet-foot{
    display:block;grid-area:go;position:static;margin:0;padding:0;
    background:transparent;box-shadow:none
  }
  body.hchc-on #advanced_search_map_list .hchc-field,
  body.hchc-on #advanced_search_map_list .map_icon,
  body.hchc-on #advanced_search_map_list .has_calendar,
  body.hchc-on #advanced_search_map_list .hchc-field-cin,
  body.hchc-on #advanced_search_map_list .hchc-field-cout,
  body.hchc-on #advanced_search_map_list .hchc-field-guests,
  body.hchc-on #advanced_search_map_list .hchc-field-beds,
  body.hchc-on #advanced_search_map_list .hchc-field-where{
    height:auto!important;min-height:56px!important;max-height:none!important;
    padding:10px 14px!important;margin:0!important;
    background:#fff!important;background-image:none!important;
    border:1px solid var(--hc-line)!important;border-radius:12px!important;
    box-shadow:none!important;box-sizing:border-box
  }
  body.hchc-on #advanced_search_map_list .hchc-field:has(.caret),
  body.hchc-on #advanced_search_map_list .hchc-field:has(.caret_filter){padding-right:36px!important}
  body.hchc-on #advanced_search_map_list .hchc-field:focus-within,
  body.hchc-on #advanced_search_map_list .map_icon:focus-within,
  body.hchc-on #advanced_search_map_list .has_calendar:focus-within{
    border-color:var(--hc-navy)!important;box-shadow:inset 0 0 0 1px var(--hc-navy)!important
  }
  body.hchc-on #advanced_search_map_list .hchc-flab{
    font:600 11px/1.2 var(--hc-sans);letter-spacing:.06em
  }
  body.hchc-on #advanced_search_map_list .filter_menu_trigger,
  body.hchc-on #advanced_search_map_list input.form-control{
    font:600 16px/1.3 var(--hc-sans)!important;
    white-space:nowrap;overflow:visible;text-overflow:clip;
    width:100%;min-width:0
  }
  body.hchc-on #advanced_search_map_list #checkin_msg,
  body.hchc-on #advanced_search_map_list .hchc-hint{
    padding:0 2px!important;margin:0;white-space:normal
  }
  body.hchc-on #advanced_search_map_list .hchc-go,
  body.hchc-sheet-open #advanced_search_map_list .hchc-go{
    display:block;width:100%;height:52px;min-height:52px;margin:0;padding:0 20px;
    border-radius:14px;background:var(--hc-navy);color:#fff;box-shadow:none;
    position:static;justify-self:stretch;font:700 16px/1 var(--hc-sans)
  }
  body.hchc-on #advanced_search_map_list .dropdown-menu.filter_menu{
    z-index:1205;margin-top:6px;max-height:min(40vh,240px);overflow:auto;
    border-radius:12px;background:#fff
  }
  body.hchc-on .datepicker,
  body.hchc-on .ui-datepicker,
  body.hchc-on #ui-datepicker-div{
    z-index:1300!important;max-width:calc(100vw - 24px)
  }
}

/* 768–991: keep the two-row card (container query also covers this). Touch targets ≥44px */
@media (min-width:768px) and (max-width:991px){
  body.hchc-on #advanced_search_map_list .hchc-field,
  body.hchc-on #advanced_search_map_list .map_icon,
  body.hchc-on #advanced_search_map_list .has_calendar{min-height:52px}
  /* Theme user-icon overflow guard already in 2.0.3 */
}

/* Datepicker / calendar above the bar */
body.hchc-on .datepicker,
body.hchc-on .datepicker-dropdown,
body.hchc-on .ui-datepicker{z-index:1300!important;border-radius:14px;border:1px solid var(--hc-line);box-shadow:var(--hc-shh);font-family:var(--hc-sans)}

/* Sort / Map / trust polish */
.hchc-sort,.hchc-maptg{transition:background .15s,color .15s,border-color .15s}
.hchc-sort:focus-visible,.hchc-maptg:focus-visible,.hchc-fab:focus-visible{outline:2px solid var(--hc-gold);outline-offset:2px}
.hchc-trust{padding:8px 14px}

/* Listing map block polish (apartment pages enqueue this CSS too) */
#hchx-location.hchlm-ready,#hchx-location{
  font-family:var(--hc-sans);color:var(--hc-ink)
}
#hchx-lo-h,#hchx-location h2{
  font-family:var(--hc-serif)!important;font-weight:500!important;letter-spacing:-.01em;color:var(--hc-navy)
}
#hchx-location .hchlm-actions,
#hchx-location .hchlm-btn-primary,
#hchx-location .hchlm-btn-secondary{border-radius:12px}
#hchx-location a.hchlm-btn-primary{
  background:var(--hc-navy);border-color:var(--hc-navy);color:#fff;font:700 13.5px var(--hc-sans)
}
#hchx-location a.hchlm-btn-primary:hover{background:var(--hc-blue-d);border-color:var(--hc-blue-d)}
#hchx-location a.hchlm-btn-secondary{
  background:#fff;border:1px solid var(--hc-line);color:var(--hc-navy);font:700 13.5px var(--hc-sans)
}
#hchx-location a.hchlm-btn-secondary:hover{border-color:var(--hc-navy)}
#hchx-location .hchlm-poi .google_poi,
#hchx-location .google_poi{
  border-radius:999px;border:1px solid var(--hc-line);background:#fff;font:600 12.5px var(--hc-sans);color:var(--hc-navy)
}
#hchx-location .hchlm-poi .google_poi:hover,
#hchx-location .google_poi.poi_active{border-color:var(--hc-navy);background:var(--hc-soft2)}


/* ================= 2.2 — t903u staging polish (16 Nov 2026) =================
   Presentation only. Field IDs, names, form params, JSON-LD and price DOM stay.
   Kill switch: uploads/hch-cards-v2/OFF (same as the rest of this file). */

/* 1. Hide the visible card price until both check-in and check-out are chosen.
   The .price_unit element stays in the DOM (sort + any hidden data attrs stay). */
body.hchc-on.hchc-nodates .property_unit_v2 .price_unit{
  position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;
  overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;border:0!important;
  white-space:nowrap!important;font-size:0!important;color:transparent!important
}
body.hchc-on .property_unit_v2 .hchc-choose-dates{display:none}
body.hchc-on.hchc-nodates .property_unit_v2 .hchc-choose-dates{
  display:inline-flex!important;align-items:center;gap:4px;margin:0;padding:0;border:0;background:none;
  font:600 14px/1.35 var(--hc-sans);color:var(--hc-blue);letter-spacing:0;cursor:pointer;text-align:left;
  text-decoration:none;border-radius:0;box-shadow:none
}
body.hchc-on.hchc-nodates .property_unit_v2 .hchc-choose-dates:hover,
body.hchc-on.hchc-nodates .property_unit_v2 .hchc-choose-dates:focus-visible{
  color:var(--hc-navy);text-decoration:underline;text-underline-offset:2px
}
body.hchc-on.hchc-nodates .property_unit_v2 .hchc-choose-dates:focus-visible{outline:2px solid var(--hc-gold);outline-offset:3px}
/* Cards that never printed a price already use a ::before placeholder — match the new wording. */
body.hchc-on.hchc-nodates .property_unit_v2 .title-container:not(:has(.price_unit_wrapper))::before{content:"Choose dates to see pricing";color:var(--hc-blue);font-weight:600;cursor:pointer}
body.hchc-on.hchc-nodates .property_unit_v2 .title-container:has(.hchc-choose-dates):not(:has(.price_unit_wrapper))::before{content:none;display:none;margin:0;padding:0;border:0}
body.hchc-on.hchc-hasdates .property_unit_v2 .hchc-choose-dates{display:none!important}

/* 3. Desktop half-map: a little more room for the cards (55 / 45). Map stays position:fixed / sticky.
   Theme default is sidebar 45% + map 55%. Mobile / ≤991 is unchanged. */
@media (min-width:992px){
  body.hchc-on.is_half_map:not(.hchc-nomap) #google_map_prop_list_sidebar{
    width:55%!important;max-width:55%
  }
  body.hchc-on.is_half_map:not(.hchc-nomap) #google_map_prop_list_wrapper{
    width:45%!important;max-width:45%
  }
  body.hchc-on.is_half_map.hchc-nomap #google_map_prop_list_sidebar{width:100%!important;max-width:100%}
  body.hchc-on.is_half_map.hchc-nomap #google_map_prop_list_wrapper{width:0!important;max-width:0;visibility:hidden;pointer-events:none}
}

/* 2. Search bar polish — slightly roomier fields, navy button already in 2.1.1, no leftover theme icons. */
body.hchc-on #advanced_search_map_list .hchc-field,
body.hchc-on #advanced_search_map_list .map_icon,
body.hchc-on #advanced_search_map_list .has_calendar{
  min-height:58px;height:58px;padding:8px 16px
}
body.hchc-on #advanced_search_map_list .hchc-flab{
  font:600 10px/1.2 var(--hc-sans);letter-spacing:.07em;color:#5b6573
}
body.hchc-on #advanced_search_map_list .filter_menu_trigger,
body.hchc-on #advanced_search_map_list input.form-control{
  font:600 14px/1.3 var(--hc-sans)!important
}
body.hchc-on #advanced_search_map_list .hchc-go{
  min-height:50px;padding:0 22px;margin:4px 4px 4px 10px;letter-spacing:.02em
}
/* Hide any leftover theme decorative control (the stray blue circle in the 2.1.1 bar). */
body.hchc-on #advanced_search_map_list .advanced_search_map_list_container_trigger > .wpestate_slider,
body.hchc-on #advanced_search_map_list .adv-search-submit,
body.hchc-on #advanced_search_map_list input[type="submit"],
body.hchc-on #advanced_search_map_list .search_wr_button{
  display:none!important
}

/* 4. Theme InfoBox (search / archive map markers) — match v2 cards. */
body.hchc-on .info_details,
body.hchc-on .hchc-ibx,
body.hchc-on .infoBox .info_details{
  width:240px;max-width:70vw;padding:0 0 12px;margin:0;background:#fff;border:1px solid var(--hc-line);
  border-radius:16px;box-shadow:var(--hc-shh);overflow:hidden;font-family:var(--hc-sans);color:var(--hc-ink);
  box-sizing:border-box
}
body.hchc-on .info_details .infogradient{display:none!important}
body.hchc-on .info_details .infoimage,
body.hchc-on .hchc-ibx .infoimage{
  width:100%;aspect-ratio:4/3;height:auto!important;min-height:0;background-size:cover;background-position:center;
  background-repeat:no-repeat;border-radius:16px 16px 0 0;margin:0
}
body.hchc-on .info_details #infobox_title,
body.hchc-on .hchc-ibx #infobox_title{
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;
  margin:10px 12px 2px;padding:0;font-family:var(--hc-serif)!important;font-weight:500!important;
  font-size:16px!important;line-height:1.3;letter-spacing:-.015em;color:var(--hc-navy)!important;
  text-decoration:none!important;text-transform:none
}
body.hchc-on .info_details .prop_detailsx,
body.hchc-on .hchc-ibx .prop_detailsx{
  margin:0 12px 6px;padding:0;font:500 12.5px/1.35 var(--hc-sans);color:var(--hc-muted);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
body.hchc-on .info_details .infodetails,
body.hchc-on .hchc-ibx .infodetails{
  display:flex;flex-wrap:wrap;gap:6px;margin:0 12px 8px;padding:0;font:600 11.5px/1.2 var(--hc-sans);color:var(--hc-navy)
}
body.hchc-on .info_details .infodetails span,
body.hchc-on .hchc-ibx .infodetails span,
body.hchc-on .info_details .custom_infobox_icon,
body.hchc-on .hchc-ibx .custom_infobox_icon{
  display:inline-flex;align-items:center;gap:4px;padding:3px 8px;background:var(--hc-soft2);
  border:1px solid var(--hc-line);border-radius:999px;font:600 11px/1.2 var(--hc-sans);color:var(--hc-navy)
}
body.hchc-on.hchc-nodates .info_details .prop_pricex,
body.hchc-on.hchc-nodates .hchc-ibx .prop_pricex{
  position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;
  clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;font-size:0!important;color:transparent!important
}
body.hchc-on .info_details .prop_pricex,
body.hchc-on .hchc-ibx .prop_pricex{
  margin:0 12px 8px;padding:0;font:800 16px/1.2 var(--hc-sans);color:var(--hc-navy)
}
body.hchc-on .info_details .hchc-choose-dates,
body.hchc-on .hchc-ibx .hchc-choose-dates{display:none;margin:0 12px 8px}
body.hchc-on.hchc-nodates .info_details .hchc-choose-dates,
body.hchc-on.hchc-nodates .hchc-ibx .hchc-choose-dates{
  display:inline-flex;padding:0;border:0;background:none;font:600 13px/1.35 var(--hc-sans);
  color:var(--hc-blue);cursor:pointer;text-align:left
}
body.hchc-on .info_details .hchc-ibx-go,
body.hchc-on .hchc-ibx .hchc-ibx-go,
body.hchc-on .info_details a.hchc-ibx-go{
  display:inline-flex;align-items:center;justify-content:center;margin:0 12px;padding:8px 14px;
  min-height:36px;border-radius:12px;border:1px solid var(--hc-navy);background:#fff;color:var(--hc-navy)!important;
  font:700 13px/1.2 var(--hc-sans);text-decoration:none!important;box-sizing:border-box
}
body.hchc-on .info_details .hchc-ibx-go:hover,
body.hchc-on .hchc-ibx .hchc-ibx-go:hover{background:var(--hc-navy);color:#fff!important}
body.hchc-on .info_details #infocloser,
body.hchc-on .hchc-ibx #infocloser{
  position:absolute;top:8px;right:8px;z-index:3;width:28px;height:28px;border-radius:50%;
  background:#fff;box-shadow:0 1px 4px rgba(15,47,77,.18);cursor:pointer
}
/* Open popup above cluster bubbles so the card isn't covered. */
body.hchc-on .infoBox{z-index:120!important}
body.hchc-on #google_map_prop_list img[src*="cluster"],
body.hchc-on #google_map_prop_list_wrapper img[src*="cluster"]{z-index:1}

/* 5. Listing chrome follow-ups (this CSS is also enqueued on apartment pages for Similar Listings).
   Scoped to body.hchx-v2 (the listing-v2 body class; the wrapper is div.hchx, not body.hchx). Same kill switch. */
body.hchx-v2{--hc-navy:#0f2f4d;--hc-blue:#1a5a96;--hc-blue-d:#134a7d;--hc-ink:#1d2733;--hc-muted:#4d5567;--hc-line:#dfe4ea;--hc-soft2:#eef3f8;
  --hc-serif:"Source Serif 4 Variable","Iowan Old Style","Palatino Linotype",Palatino,Georgia,serif;
  --hc-sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Open Sans",Arial,sans-serif}
/* Cyan "Choose dates" header (#00a2ff !important in the child theme) → calm typography. */
body.hchx-v2 #listing_main_image_price_id,
body.hchx-v2 .listing_main_image_price,
body.hchx-v2 #primary #listing_main_image_price_id{
  background:transparent!important;background-image:none!important;color:var(--hc-navy)!important;
  text-shadow:none!important;margin:0 0 8px!important;padding:0!important;border:0!important;
  border-radius:0!important;text-align:left!important;
  font-family:var(--hc-serif)!important;font-weight:600!important;font-size:22px!important;line-height:1.25;
  letter-spacing:-.015em;
  position:static!important;float:none!important;inset:auto!important;top:auto!important;left:auto!important;
  right:auto!important;bottom:auto!important;width:auto!important;height:auto!important;
  max-width:none!important;z-index:auto!important;transform:none!important
}
body.hchx-v2 #listing_main_image_price_id>div,
body.hchx-v2 #listing_main_image_price_id *{
  background:transparent!important;color:inherit!important;padding:0!important;margin:0!important;
  text-shadow:none!important;border:0!important;position:static!important
}
/* Theme $0-fee promo is a sibling with inline lime styles; keep it in flow under the heading. */
body.hchx-v2 .hchx-book > div[style*="d7ed77"]{
  margin:0 0 14px!important;max-width:100%!important;box-sizing:border-box!important;
  position:static!important;border-radius:10px
}
body.hchx-v2 .hchx-book > .hchx-incl-line{
  position:static!important;margin:0 0 6px!important
}
/* Booking box: no inner scrollbar — let the page scroll. */
body.hchx-v2 #primary.listingsidebar2{
  max-height:none!important;overflow:visible!important
}
/* Guest field: hide the leftover theme person-icon that overlaps the label. */
body.hchx-v2 #booking_form_request .guest_icon,
body.hchx-v2 #booking_form_request .has_calendar.guest_icon,
body.hchx-v2 #booking_form_request .guest_form{
  background-image:none!important;padding-left:12px!important
}
body.hchx-v2 #booking_form_request .guest_icon::before,
body.hchx-v2 #booking_form_request .guest_icon::after,
body.hchx-v2 #booking_form_request .guest_form::before,
body.hchx-v2 #booking_form_request .guest_form::after,
body.hchx-v2 #booking_form_request .has_calendar.guest_icon::before,
body.hchx-v2 #booking_form_request .has_calendar.guest_icon::after{
  content:none!important;display:none!important;background:none!important;width:0!important;height:0!important
}
/* Mobile sticky book bar: keep it from covering the bottom of the listing map. */
@media (max-width:767px){
  body.hchx-v2 #hchx-location,
  body.hchx-v2 #hchx-location.hchlm-ready{
    padding-bottom:calc(88px + env(safe-area-inset-bottom,0px))
  }
  body.hchx-v2 #colophon,
  body.hchx-v2 footer#colophon{
    padding-bottom:calc(24px + 72px + env(safe-area-inset-bottom,0px))
  }
}


/* 2.2b — owner feedback 16 Nov 2026 3:41 PM CT: never use the truncated mobile
   search pill; keep fields visible. CSS-only price fallback after Search/Explore
   with empty dates, even before JS re-wires the prompt buttons. */
body.hchc-on .hchc-search-sum,
.hchc-search-sum{display:none!important}

/* Prompt is visible from CSS alone if JS has not yet inserted the button. */
body.hchc-on.hchc-nodates .property_unit_v2 .price_unit_wrapper::after{
  content:"Choose dates to see pricing";
  font:600 14px/1.35 var(--hc-sans);color:var(--hc-blue)
}
body.hchc-on.hchc-nodates .property_unit_v2 .price_unit_wrapper:has(.hchc-choose-dates)::after,
body.hchc-on.hchc-hasdates .property_unit_v2 .price_unit_wrapper::after{
  content:none;display:none
}
/* Half-map cards are narrow — stack the prompt above "View apartment". */
body.hchc-on.hchc-nodates .property_unit_v2 .title-container>.price_unit_wrapper{grid-column:1 / -1}
body.hchc-on.hchc-nodates .property_unit_v2 .title-container::after{
  grid-column:1 / -1;grid-row:3;justify-content:flex-start;
  margin-top:4px;padding:4px 0 0;border-top:0
}

/* Theme InfoBox titles are position:absolute over the photo unless we put them back in flow. */
body.hchc-on .info_details,
body.hchc-on .hchc-ibx,
body.hchc-on .infoBox .info_details{position:relative;height:auto!important;max-height:none!important;min-height:0!important;overflow:hidden}
body.hchc-on .info_details .infoimage,
body.hchc-on .hchc-ibx .infoimage{position:relative!important;display:block;top:auto!important;left:auto!important;right:auto!important;bottom:auto!important}
body.hchc-on .info_details #infobox_title,
body.hchc-on .hchc-ibx #infobox_title,
body.hchc-on .info_details .prop_detailsx,
body.hchc-on .hchc-ibx .prop_detailsx,
body.hchc-on .info_details .infodetails,
body.hchc-on .hchc-ibx .infodetails,
body.hchc-on.hchc-hasdates .info_details .prop_pricex,
body.hchc-on.hchc-hasdates .hchc-ibx .prop_pricex{
  position:static!important;top:auto!important;left:auto!important;right:auto!important;bottom:auto!important
}
body.hchc-on.hchc-nodates .info_details:not(:has(.hchc-choose-dates))::after,
body.hchc-on.hchc-nodates .hchc-ibx:not(:has(.hchc-choose-dates))::after{
  content:"Choose dates to see pricing";
  display:block;margin:0 12px 8px;font:600 13px/1.35 var(--hc-sans);color:var(--hc-blue)
}
