/* profile-cards — trust pass (after 172752f). The /agent/:id property grid (app/components/agent-portfolio.tsx).
   Cards are the landing page's PropertyCard, so this file gives them the landing card's geometry and type
   (reference-layout.css / home-sections.css under .aw-reference-home): the 292:110 photo crop, padding,
   price/specs/address/locality sizes on the landing's own scale (--pf-r = the homepage's --r), badge and
   round Save control, plus the profile's grid (3 / 2 / 1 columns at the landing's breakpoints), the map
   selection ring, Sold price labels and fact lines, the listing-less placeholder card and Show more.
   Card surface, border, corners, shadow and hover belong to the shared card family in public-canvas.css. */
html[data-aw-theme] body.pm-public main .aw-pf{--pf-r:clamp(1px,calc(100vw / 992),1.28px)}

/* ===== Grid: nine cards (3 × 3) on desktop, equal heights within a row. ===== */
html[data-aw-theme] body.pm-public main .aw-pf-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:clamp(20px,calc(21 * var(--pf-r)),24px);row-gap:clamp(20px,calc(18 * var(--pf-r)),24px);align-items:stretch;margin:4px 0 0}
html[data-aw-theme] body.pm-public main .aw-pf-card{position:relative;display:flex;flex-direction:column;min-width:0;scroll-margin:96px 0 24px}
/* Chosen from the map: a ring just outside the card (it follows the card family's corners), never a second shadow. */
html[data-aw-theme] body.pm-public main .aw-pf-card[data-selected]>.aw-listing-card{outline:3px solid var(--ref-blue)!important;outline-offset:3px}

/* ===== The card itself: the landing card's geometry. ===== */
html[data-aw-theme] body.pm-public main .aw-pf-grid .aw-listing-card{position:relative;display:flex!important;flex:1 1 auto;flex-direction:column;height:auto!important;min-height:0!important;margin:0!important;overflow:hidden;transform:none!important}
html[data-aw-theme] body.pm-public main .aw-pf-grid .aw-listing-media{position:relative!important;flex:none;aspect-ratio:292/110!important;width:100%;height:auto!important;min-height:0!important;margin:0!important;border-radius:0!important;overflow:hidden;background:var(--ref-soft)}
html[data-aw-theme] body.pm-public main .aw-pf-grid .aw-listing-media>a{display:block;width:100%;height:100%}
html[data-aw-theme] body.pm-public main .aw-pf-grid .aw-listing-media>a>img{display:block;width:100%!important;height:100%!important;object-fit:cover;border-radius:0!important;transform:none!important}
html[data-aw-theme] body.pm-public main .aw-pf-grid .aw-listing-no-photo{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;width:100%;height:100%;color:var(--ref-muted);font-size:max(13px,calc(12.5 * var(--pf-r)))}
html[data-aw-theme] body.pm-public main .aw-pf-grid .aw-listing-no-photo img{width:28px!important;height:28px!important;opacity:.55}
html[data-aw-theme] body.pm-public main .aw-pf-grid .aw-listing-information{display:flex!important;flex:1 1 auto;flex-direction:column;gap:0!important;min-width:0;min-height:0!important;padding:calc(7 * var(--pf-r)) calc(12 * var(--pf-r)) calc(7 * var(--pf-r))!important;color:var(--ref-ink)!important;text-decoration:none!important}
html[data-aw-theme] body.pm-public main .aw-pf-grid .aw-listing-price{margin:0 0 calc(2 * var(--pf-r))!important;font-size:calc(18 * var(--pf-r))!important;font-weight:700!important;line-height:1.15!important;letter-spacing:-.005em!important;color:var(--ref-ink)!important}
html[data-aw-theme] body.pm-public main .aw-pf-grid .aw-listing-specs{display:flex!important;flex-wrap:wrap;font-size:max(12.5px,calc(12.5 * var(--pf-r)))!important;line-height:1.3!important;color:var(--ref-muted)!important}
html[data-aw-theme] body.pm-public main .aw-pf-grid .aw-listing-specs strong{font-weight:400!important;color:inherit!important}
html[data-aw-theme] body.pm-public main .aw-pf-grid .aw-listing-address{margin:calc(1 * var(--pf-r)) 0 0!important;font-size:max(13px,calc(13 * var(--pf-r)))!important;font-weight:500!important;line-height:1.3!important;color:var(--ref-ink)!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html[data-aw-theme] body.pm-public main .aw-pf-grid .aw-listing-locality{margin:0!important;font-size:max(12.5px,calc(12.5 * var(--pf-r)))!important;line-height:1.3!important;color:var(--ref-muted)!important}
html[data-aw-theme] body.pm-public main .aw-pf-grid .aw-listing-status{display:none!important}
/* Badges and Save over the photo, as on the landing. */
html[data-aw-theme] body.pm-public main .aw-pf-grid .aw-listing-badges{position:absolute!important;top:calc(7 * var(--pf-r))!important;left:calc(9 * var(--pf-r))!important;right:auto!important;display:flex!important;gap:6px;z-index:2}
html[data-aw-theme] body.pm-public main .aw-pf-grid .aw-listing-badges>span{display:inline-flex!important;align-items:center;height:calc(23 * var(--pf-r))!important;min-height:0!important;padding:0 calc(10 * var(--pf-r))!important;border:0!important;border-radius:calc(4 * var(--pf-r))!important;background:#fff!important;color:#151b25!important;box-shadow:0 1px 3px #00000024!important;font:600 max(12px,calc(12.5 * var(--pf-r)))/1 'Source Sans 3',system-ui,sans-serif!important}
html[data-aw-theme] body.pm-public main .aw-pf-grid .aw-listing-badges>span:is([data-status=active],[data-status=under],[data-status=sold],[data-sponsored]){background:var(--ref-badge)!important;color:#fff!important}
html[data-aw-theme] body.pm-public main .aw-pf-grid .aw-listing-media .aw-save-wrap{position:absolute!important;inset:calc(7 * var(--pf-r)) calc(8 * var(--pf-r)) auto auto!important;z-index:3;display:block!important}
html[data-aw-theme] body.pm-public main .aw-pf-grid .aw-listing-media .premium-save{position:static!important;display:grid!important;place-items:center;width:36px!important;height:36px!important;min-width:0;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;background:#fffffff0!important;color:#1d2430!important;box-shadow:0 1px 4px #00000033!important;filter:none!important;cursor:pointer}
html[data-aw-theme] body.pm-public main .aw-pf-grid .aw-listing-media .premium-save svg{width:20px;height:20px}
html[data-aw-theme] body.pm-public main .aw-pf-grid .aw-listing-media .premium-save:hover{background:#fff!important;box-shadow:0 2px 8px #00000040!important}
html[data-aw-theme] body.pm-public main .aw-pf-grid .aw-listing-media .premium-save:focus-visible{outline:2px solid var(--ref-blue)!important;outline-offset:2px}
html[data-aw-theme] body.pm-public main .aw-pf-grid .aw-listing-media .premium-save:disabled{opacity:.75;cursor:progress}
html[data-aw-theme] body.pm-public main .aw-pf-grid .aw-listing-media .premium-save::after{content:none!important}
html[data-aw-theme] body.pm-public main .aw-pf-grid .aw-listing-media .aw-save-problem{position:absolute;top:calc(100% + 6px);right:0;width:max-content;max-width:220px;padding:6px 9px;border-radius:5px;background:var(--ref-badge);color:#fff;font-size:12.5px;line-height:1.35}
/* Keyboard focus on a card's links: drawn inside the link (the global 3 px outside offset would be clipped by the card's rounded overflow). */
html[data-aw-theme] body.pm-public main .aw-pf-grid .aw-listing-card a:focus-visible{outline:3px solid var(--ref-blue)!important;outline-offset:-3px!important}

/* ===== Sold facts: what the price is, and what is (not) confirmed about the closing. ===== */
html[data-aw-theme] body.pm-public main .aw-pf-grid .aw-listing-price-label{display:block;margin:0 0 1px;font-size:max(12.5px,calc(12 * var(--pf-r)));font-weight:600;line-height:1.25;color:var(--ref-muted)}
html[data-aw-theme] body.pm-public main .aw-pf-grid .aw-listing-note{display:block;margin-top:calc(4 * var(--pf-r));font-size:max(13px,calc(12.5 * var(--pf-r)));line-height:1.35;color:var(--ref-text)}
html[data-aw-theme] body.pm-public main .aw-pf-grid .aw-listing-note>span{display:block}
/* No authorized pin: the card's last line says so (inside the card, so card bottoms align across a row). */
html[data-aw-theme] body.pm-public main .aw-pf-grid .aw-listing-note>.aw-pf-unpinned{margin-top:2px;font-size:max(12.5px,calc(12 * var(--pf-r)));color:var(--ref-muted)}

/* ===== Show more ===== */
html[data-aw-theme] body.pm-public main .aw-pf-more{display:flex;flex-direction:column;align-items:center;gap:6px;margin-top:6px}
html[data-aw-theme] body.pm-public main .aw-pf-more small{font-size:14px;color:var(--ref-muted)}
html[data-aw-theme] body.pm-public main .aw-pf-more button[aria-busy]{cursor:progress}

@media(max-width:899px){html[data-aw-theme] body.pm-public main .aw-pf-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){
 html[data-aw-theme] body.pm-public main .aw-pf-grid{grid-template-columns:minmax(0,1fr);gap:14px}
 html[data-aw-theme] body.pm-public main .aw-pf-grid .aw-listing-media{aspect-ratio:2.1!important}
 html[data-aw-theme] body.pm-public main .aw-pf-grid .aw-listing-price{font-size:20px!important}
 html[data-aw-theme] body.pm-public main .aw-pf-grid .aw-listing-address{font-size:15px!important}
 html[data-aw-theme] body.pm-public main .aw-pf-grid :is(.aw-listing-specs,.aw-listing-locality,.aw-listing-note){font-size:14px!important}
}
@media(prefers-reduced-motion:reduce){html[data-aw-theme] body.pm-public main .aw-pf-card{transition:none}}
