/* Photo-first cards beside the map. Scoped to search pages on both sites. */
/* Phones focus on one surface at a time; property details still sit above the map. */
@media(max-width:768px){
 html body.photo-map-feed.pf-phone-map:is(body,#pf-style-scope){overflow:hidden!important}
 html body.photo-map-feed.pf-phone-map:is(body,#pf-style-scope) #homes-explorer.is-map-mode{position:fixed!important;inset:0!important;z-index:1000!important;height:100dvh!important;width:100%!important;margin:0!important;padding:0!important;border-radius:0!important;background:#fff!important}
 html body.photo-map-feed.pf-phone-map:is(body,#pf-style-scope) #homes-explorer.is-map-mode #homes-map-wrap{height:100%!important;min-height:0!important;max-height:none!important;border:0!important;border-radius:0!important;padding:0!important;margin:0!important}
 html body.photo-map-feed.pf-phone-map:is(body,#pf-style-scope) #homes-explorer.is-map-mode .zillow-list-col{display:none!important}
 html body.photo-map-feed.pf-phone-map:is(body,#pf-style-scope) #homes-explorer.is-map-mode .homes-map-shell{flex:1 1 0!important;min-height:0!important;position:relative!important}
 html body.photo-map-feed.pf-phone-map:is(body,#pf-style-scope) #homes-explorer.is-map-mode #homes-map{height:100%!important}
 html body.photo-map-feed.pf-phone-map:is(body,#pf-style-scope) #homes-explorer.is-map-mode .pf-mobile-back{display:block!important;position:absolute!important;bottom:calc(24px + env(safe-area-inset-bottom,0px))!important;left:50%!important;transform:translateX(-50%)!important;z-index:1100!important;margin:0!important;padding:12px 24px!important;min-height:48px!important;border-radius:28px!important;background:var(--pf-accent)!important;color:#fff!important;box-shadow:0 4px 18px #0003!important;font-weight:700!important;white-space:nowrap!important}
 html body.photo-map-feed.pf-phone-map:is(body,#pf-style-scope) #homes-map-status{font-size:12px!important;line-height:1.4!important;margin:0!important;padding:8px 12px!important}
 html body.photo-map-feed.pf-phone-map:is(body,#pf-style-scope) #expert-cta-bar{display:none!important}
 html body.photo-map-feed.pf-phone-map:is(body,#pf-style-scope) .jordan-contact-pill{display:none!important}
 html body.photo-map-feed.pf-phone-map:is(body,#pf-style-scope) .leaflet-control-attribution{max-width:100%!important}
}
html body #listing-modal .pf-map-return{min-height:44px!important;padding:8px 14px!important;background:#fff!important;color:var(--pf-accent,#24594b)!important;border:1px solid currentColor!important;border-radius:8px!important;font:inherit!important;font-weight:700!important;white-space:nowrap!important;flex:none!important}
html body #listing-modal .pf-map-return[hidden]{display:none!important}
html body.photo-map-feed:is(body,#pf-style-scope){--pf-ink:#173c32;--pf-accent:#24594b;--pf-surface:#f4f7f5;--pf-line:#d5e1da}
html body.photo-map-feed:is(body,#pf-style-scope)[data-photo-feed-brand=jordan]{--pf-ink:#302936;--pf-accent:#735494;--pf-surface:#f5f1f8;--pf-line:#d9cde3}
html body.photo-map-feed:is(body,#pf-style-scope) #homes-explorer .pf-feed-caption{margin:0!important;padding:13px 16px!important;background:#fff!important;color:var(--pf-ink)!important;font-size:14px!important;font-weight:700!important;flex:none!important;border-bottom:1px solid var(--pf-line)}
html body.photo-map-feed:is(body,#pf-style-scope) #homes-list>article.premium-card{display:flex!important;flex-direction:column!important;align-self:start!important;width:100%!important;min-width:0!important;height:max-content!important;min-height:0!important;max-height:none!important;overflow:hidden!important;margin:0!important;border:1px solid var(--pf-line)!important;border-radius:12px!important;background:#fff!important;box-shadow:0 2px 8px #0000000c!important}
html body.photo-map-feed:is(body,#pf-style-scope) #homes-list>article.premium-card .listing-card-photo-wrap{position:relative!important;display:block!important;width:100%!important;min-width:0!important;max-width:none!important;aspect-ratio:4/3!important;height:auto!important;min-height:0!important;max-height:none!important;flex:0 0 auto!important;background:var(--pf-surface)!important}
html body.photo-map-feed:is(body,#pf-style-scope) #homes-list>article.premium-card .listing-card-photo-hit{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;aspect-ratio:auto!important}
html body.photo-map-feed:is(body,#pf-style-scope) #homes-list>article.premium-card img.listing-card-photo-img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;object-fit:contain!important;object-position:center!important;transform:none!important;background:var(--pf-surface)!important}
html body.photo-map-feed:is(body,#pf-style-scope) #homes-list>article.premium-card .listing-card-photo-wrap:after,html body.photo-map-feed:is(body,#pf-style-scope) #homes-list>article.premium-card .listing-card-photo-hit:after{display:none!important}
html body.photo-map-feed:is(body,#pf-style-scope) #homes-list .pf-home-facts{display:flex!important;flex-direction:column!important;gap:5px!important;position:relative!important;inset:auto!important;background:#fff!important;color:var(--pf-ink)!important;padding:13px 14px!important;text-decoration:none!important;text-shadow:none!important;min-height:112px!important;box-sizing:border-box!important}
html body.photo-map-feed:is(body,#pf-style-scope) #homes-list .pf-home-facts p{position:static!important;display:block!important;margin:0!important;color:var(--pf-ink)!important;text-shadow:none!important;white-space:normal!important;-webkit-line-clamp:unset!important;overflow:visible!important;line-height:1.4!important}
html body.photo-map-feed:is(body,#pf-style-scope) #homes-list .pf-home-facts .zillow-card-price{font-size:23px!important;font-weight:800!important;order:0}
html body.photo-map-feed:is(body,#pf-style-scope) #homes-list .pf-home-facts .zillow-card-meta{font-size:13px!important;order:1}
html body.photo-map-feed:is(body,#pf-style-scope) #homes-list .pf-home-facts .zillow-card-address{font-size:13px!important;font-weight:500!important;order:2}
html body.photo-map-feed:is(body,#pf-style-scope) #homes-list .pf-home-facts .listing-card-price-drop{font-size:12px!important;order:3}
html body.photo-map-feed:is(body,#pf-style-scope) #homes-list>article .listing-card-actions{display:flex!important;flex-direction:row!important;gap:8px!important;padding:8px 12px 12px!important;min-height:0!important;flex:none!important}
html body.photo-map-feed:is(body,#pf-style-scope) #homes-list>article .listing-card-actions>*{flex:1 1 0!important;width:auto!important;min-width:0!important;min-height:38px!important;padding:7px 6px!important;font-size:12px!important;line-height:1.4!important}
html body.photo-map-feed:is(body,#pf-style-scope) #homes-list>article .jux-compare-toggle{position:static!important;margin:0 12px 10px!important;align-self:flex-start!important}
html body.photo-map-feed:is(body,#pf-style-scope) #homes-explorer.is-map-mode .homes-page-status{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important}
html body.photo-map-feed:is(body,#pf-style-scope) #homes-explorer.is-map-mode .homes-pagination{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;flex:none!important;padding:10px 12px!important;background:#fff!important;margin:0!important;border-top:1px solid var(--pf-line)!important}
html body.photo-map-feed:is(body,#pf-style-scope) #homes-explorer.is-map-mode .homes-pagination button{min-height:42px!important}
html body.photo-map-feed:is(body,#pf-style-scope) #homes-list .pf-home-facts:focus-visible{outline:3px solid var(--pf-accent)!important;outline-offset:-3px}
html body.photo-map-feed:is(body,#pf-style-scope) #homes-list .pf-home-facts .premium-card-courtesy{font-size:11px!important;line-height:1.5!important;color:#58615c!important;order:4}
html body.photo-map-feed:is(body,#pf-style-scope) #homes-list .pf-home-facts .zillow-card-info{gap:4px!important}
html body.photo-map-feed:is(body,#pf-style-scope) #homes-list>article .jux-compare-toggle{font-size:11px!important;min-height:30px!important;padding:5px 10px!important}
html body.photo-map-feed:is(body,#pf-style-scope):has(#homes-explorer.is-map-mode) #homes-list-sub{position:absolute!important;width:1px!important;height:1px!important;clip-path:inset(50%)!important;overflow:hidden!important}
html body.photo-map-feed:is(body,#pf-style-scope) .pf-mobile-back{display:none!important}
@media(min-width:769px){
 html body.photo-map-feed:is(body,#pf-style-scope) #search-results>.section-inner{max-width:1920px!important;width:100%!important;padding-inline:24px!important;box-sizing:border-box}
 html body.photo-map-feed:is(body,#pf-style-scope) #homes-explorer.zillow-explorer.is-map-mode{display:grid!important;grid-template-columns:minmax(0,50fr) minmax(350px,50fr)!important;grid-template-areas:'map feed'!important;gap:0!important;height:clamp(560px,78vh,1000px)!important;min-height:560px!important;max-height:1000px!important;border-radius:14px!important;overflow:hidden!important;border:1px solid var(--pf-line)!important}
 html body.photo-map-feed:is(body,#pf-style-scope) #homes-explorer.is-map-mode #homes-map-wrap{display:flex!important;grid-area:map!important;position:relative!important;top:auto!important;width:auto!important;max-width:none!important;height:100%!important;min-height:0!important;max-height:100%!important;flex-direction:column!important;border:0!important;border-radius:0!important}
 html body.photo-map-feed:is(body,#pf-style-scope) #homes-explorer.is-map-mode .homes-map-shell{flex:1 1 0!important;height:auto!important;min-height:0!important;max-height:none!important}
 html body.photo-map-feed:is(body,#pf-style-scope) #homes-explorer.is-map-mode #homes-map{height:100%!important;min-height:0!important;border-radius:0!important}
 html body.photo-map-feed:is(body,#pf-style-scope) #homes-explorer.is-map-mode .zillow-list-col{display:flex!important;grid-area:feed!important;flex-direction:column!important;min-width:0!important;width:100%!important;height:100%!important;max-height:100%!important;min-height:0!important;overflow:hidden!important;border:0!important;border-left:1px solid var(--pf-line)!important;background:var(--pf-surface)!important}
 html body.photo-map-feed:is(body,#pf-style-scope) #homes-explorer.is-map-mode #homes-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:none!important;grid-auto-rows:max-content!important;align-content:start!important;gap:12px!important;padding:14px!important;flex:1 1 0!important;width:100%!important;min-height:0!important;height:auto!important;max-height:none!important;overflow:auto!important;box-sizing:border-box;overscroll-behavior:contain}
 html body.photo-map-feed:is(body,#pf-style-scope):has(#homes-explorer.is-map-mode) #expert-cta-bar{display:none!important}
}
@media(min-width:769px) and (max-width:1099px){html body.photo-map-feed:is(body,#pf-style-scope) #homes-explorer.is-map-mode #homes-list{grid-template-columns:minmax(0,1fr)!important}}
@media(max-width:768px){
 html body.photo-map-feed:is(body,#pf-style-scope) #homes-explorer.is-map-mode .listing-card-actions,html body.photo-map-feed:is(body,#pf-style-scope) #homes-explorer.is-map-mode .jux-compare-toggle{display:none!important}
 html body.photo-map-feed:is(body,#pf-style-scope) #homes-explorer.is-map-mode{display:block!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important}
 html body.photo-map-feed:is(body,#pf-style-scope) #homes-explorer.is-map-mode #homes-map-wrap{display:flex!important;position:relative!important;top:auto!important;flex-direction:column!important;width:100%!important;height:48svh!important;min-height:290px!important;max-height:500px!important;scroll-margin-top:76px}
 html body.photo-map-feed:is(body,#pf-style-scope) #homes-explorer.is-map-mode .homes-map-shell{flex:1 1 0!important;min-height:0!important;height:auto!important}
 html body.photo-map-feed:is(body,#pf-style-scope) #homes-explorer.is-map-mode #homes-map{height:100%!important;min-height:0!important}
 html body.photo-map-feed:is(body,#pf-style-scope) #homes-explorer.is-map-mode .zillow-list-col{display:flex!important;flex-direction:column!important;height:375px!important;min-height:0!important;max-height:375px!important;width:100%!important;overflow:hidden!important;background:var(--pf-surface)!important}
 html body.photo-map-feed:is(body,#pf-style-scope) #homes-explorer.is-map-mode #homes-list{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;gap:12px!important;overflow-x:auto!important;overflow-y:hidden!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;flex:1 1 0!important;padding:12px!important;box-sizing:border-box;scroll-snap-type:x proximity}
 html body.photo-map-feed:is(body,#pf-style-scope) #homes-explorer.is-map-mode #homes-list>article.premium-card{flex:0 0 82vw!important;width:82vw!important;height:max-content!important;scroll-snap-align:start}
 html body.photo-map-feed:is(body,#pf-style-scope) #homes-explorer.is-map-mode #homes-list>article .listing-card-photo-wrap{height:130px!important;min-height:130px!important;aspect-ratio:auto!important}
 html body.photo-map-feed:is(body,#pf-style-scope) #homes-explorer.is-map-mode #homes-list .pf-home-facts{padding:9px 12px!important;min-height:96px!important}
 html body.photo-map-feed:is(body,#pf-style-scope) #homes-explorer.is-map-mode .pf-feed-caption{padding:9px 12px!important;font-size:12px!important}
 html body.photo-map-feed:is(body,#pf-style-scope) #homes-explorer.is-map-mode .pf-mobile-back{display:block!important;align-self:flex-start;border:1px solid var(--pf-accent);border-radius:8px;background:#fff;color:var(--pf-accent);font:inherit;padding:8px 12px;margin:8px;min-height:40px}
 html body.photo-map-feed:is(body,#pf-style-scope) #homes-explorer.is-map-mode [data-map-list]{display:none!important}
 html body.photo-map-feed:is(body,#pf-style-scope) #homes-explorer.is-map-mode .homes-pagination{padding:6px 10px!important}
 html body.photo-map-feed:is(body,#pf-style-scope) #homes-explorer.is-map-mode .homes-pagination button{min-height:36px!important;font-size:12px!important}
}
