/* Brokerage typography and native, accessible whole-card profile links. */
body[data-site="brokerage"] main p{text-wrap:pretty;word-break:normal}
body[data-site="brokerage"] :is(.photo-hero p,.section-intro,.lead){max-width:62ch}
body[data-site="brokerage"] .listing-intro-next{display:block;margin-top:.2em}
body[data-site="brokerage"] :is(.agent-info h3,.directory-person h3){text-wrap:balance}
body[data-site="brokerage"] .streeteasy-card{position:relative;isolation:isolate;cursor:pointer;transition:background-color .18s,border-color .18s,box-shadow .18s,transform .18s}
body[data-site="brokerage"] .streeteasy-card:is(:hover,:focus-within){background:#f0f5ef;border-color:#436954;box-shadow:0 9px 24px #18342f1c;transform:translateY(-3px)}
body[data-site="brokerage"] .streeteasy-card .streeteasy-card-link{position:static!important;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;margin-top:18px;padding:13px 15px;border:1px solid #234c42;border-radius:7px;background:#234c42;color:#fffdf6;font-weight:600;line-height:1.5;text-decoration:none;transform:none!important;filter:none!important;box-shadow:none!important;transition:background-color .18s,border-color .18s}
body[data-site="brokerage"] .streeteasy-card .streeteasy-card-link::after{content:"";position:absolute;inset:0;z-index:1;border-radius:inherit}
body[data-site="brokerage"] .streeteasy-card:is(:hover,:focus-within) .streeteasy-card-link{background:#183b31;color:#fffdf6;border-color:#183b31;text-decoration:none}
body[data-site="brokerage"] .streeteasy-card a:not(.streeteasy-card-link){position:relative;z-index:2}
body[data-site="brokerage"] .streeteasy-card .streeteasy-card-link:focus-visible{outline:none}
body[data-site="brokerage"] .streeteasy-card:has(.streeteasy-card-link:focus-visible){outline:3px solid #94763f;outline-offset:4px}
@media(prefers-reduced-motion:reduce){body[data-site="brokerage"] .streeteasy-card,body[data-site="brokerage"] .streeteasy-card .streeteasy-card-link{transition:none;transform:none}}

/* Supplied Alex portrait: crop only in layout, retaining the original photo. */
.alex-photo{overflow:hidden;flex-shrink:0}
.alex-photo>img{display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:53% 30%;transform:scale(1.85);transform-origin:53% 30%}
