/* Shared property listing and detail formatting. */
.content-page.portfolio-list-page .listing-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:46px 30px}
.content-page.portfolio-list-page .listing-card{display:flex;flex-direction:column;min-width:0}
.content-page.portfolio-list-page .listing-card .image-window{display:block;width:100%;aspect-ratio:1.55;flex-shrink:0;overflow:hidden;margin-bottom:22px}
.content-page.portfolio-list-page .listing-card .image-window img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;aspect-ratio:auto}
.content-page.portfolio-list-page .listing-card .text-link{align-self:flex-start;margin-top:auto}
body.property-detail-page .property-gallery-stage{aspect-ratio:1.55}
body.property-detail-page .property-thumbnails{flex-wrap:wrap}
body.property-detail-page .property-detail-copy{min-width:0}
body.property-detail-page .property-description{margin:25px 0 28px;overflow-wrap:anywhere}
body.property-detail-page .property-description>:last-child{margin-bottom:0}
body.property-detail-page .property-description img{display:block;max-width:100%;height:auto}
@media(max-width:1023px){.content-page.portfolio-list-page .listing-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:40px 26px}}
@media(max-width:760px){.content-page.portfolio-list-page .listing-grid{grid-template-columns:minmax(0,1fr);gap:38px}}

/* Portfolio actions follow the full photograph width. */
body.portfolio-list-page.listing-button-style main .listing-card>.text-link{display:flex;align-self:stretch;justify-self:stretch;width:100%;max-width:100%;min-width:0;box-sizing:border-box;padding:12px 16px;text-align:center}
