/* Residential detail: compact photo and readable information in one overview. */
[data-ec-section=mr_property]:not(.catalog-browse){max-width:1240px;margin-inline:auto;padding-top:32px;padding-bottom:48px}
.ec-residential-overview{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:40px;align-items:start}
.ec-residential-overview.has-no-image{grid-template-columns:1fr;max-width:700px}
.ec-residential-media,.ec-residential-summary{min-width:0}
.ec-residential-photo{margin:0}
.ec-residential-photo button{display:block;width:100%;padding:0;background:var(--ivory-deep);border:0;cursor:zoom-in}
.ec-residential-photo img{display:block;width:100%;height:340px;object-fit:contain}
.ec-residential-photo figcaption{font-size:12px;line-height:1.5;color:var(--stone);margin-top:8px}
.ec-residential-media .coast-detail-gallery{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px;padding:0}
.ec-residential-media .coast-detail-gallery button{flex:0 0 76px;width:76px;min-height:0;padding:0;background:var(--ivory-deep)}
.ec-residential-media .coast-detail-gallery img{display:block;width:76px;height:56px;object-fit:cover}
.ec-residential-summary h1{font:500 clamp(24px,2.2vw,30px)/1.25 Manrope,sans-serif;letter-spacing:-.025em;margin:0;overflow-wrap:anywhere;max-width:30ch}
.ec-residential-price{font-size:24px;line-height:1.4;margin:14px 0 18px}
.ec-residential-summary .profile-facts{margin:0}
.ec-residential-summary .profile-facts>div{display:grid;grid-template-columns:minmax(110px,.8fr) minmax(0,1.2fr);gap:16px;padding:9px 0;font-size:13px;line-height:1.5}
.ec-residential-summary .profile-facts dt,.ec-residential-summary .profile-facts dd{margin:0;font-size:inherit;line-height:inherit;overflow-wrap:anywhere}
.ec-residential-summary .ec-detail-actions{display:flex;max-width:none;margin-top:18px}
.ec-mls-detail-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;margin:32px 0}.ec-mls-detail-groups h2,.ec-mls-floor-areas h2,.ec-mls-rooms h2{font-size:22px;line-height:1.4;margin:0 0 16px}.ec-mls-detail-groups .profile-facts,.ec-mls-floor-areas .profile-facts{margin:0}.ec-mls-detail-groups .profile-facts>div,.ec-mls-floor-areas .profile-facts>div{display:grid;grid-template-columns:minmax(110px,.7fr) minmax(0,1.3fr);gap:16px;padding:9px 0;border-bottom:1px solid var(--line);font-size:14px;line-height:1.6}.ec-mls-detail-groups dt,.ec-mls-detail-groups dd,.ec-mls-floor-areas dt,.ec-mls-floor-areas dd{margin:0;overflow-wrap:anywhere}.ec-mls-detail-groups dt,.ec-mls-floor-areas dt{color:var(--stone)}.ec-mls-floor-areas,.ec-mls-rooms{margin:32px 0}.ec-mls-room-scroll{max-width:100%;overflow:auto}.ec-mls-rooms table{width:100%;border-collapse:collapse;text-align:start;font-size:14px;line-height:1.6}.ec-mls-rooms th,.ec-mls-rooms td{padding:10px 16px 10px 0;border-bottom:1px solid var(--line);text-align:start}.ec-mls-rooms th{font-weight:500;color:var(--stone)}.ec-mls-rooms td:last-child{white-space:nowrap}.ec-mls-room-scroll:focus-visible{outline:2px solid var(--ec-choice,var(--ink));outline-offset:3px}@media(max-width:760px){.ec-mls-detail-groups{grid-template-columns:1fr;gap:24px}.ec-mls-detail-groups .profile-facts>div,.ec-mls-floor-areas .profile-facts>div{grid-template-columns:minmax(100px,.7fr) minmax(0,1.3fr);gap:12px}}
.ec-residential-summary .ec-detail-actions :is(button,.ec-card-viewing){flex:1 1 0;flex-direction:column;font-size:12px;min-height:52px}
.ec-residential-summary .ec-detail-actions .ec-card-viewing:hover{border-color:var(--ec-choice,var(--ink))}
.ec-residential-summary .mrs-contact-links{margin-top:16px;font-size:13px;gap:12px}
.ec-residential-description{margin-top:32px;padding-top:24px;border-top:1px solid var(--line);max-width:none;width:100%}
.ec-residential-description h2{font-size:21px;line-height:1.4;margin:0 0 12px}
.ec-residential-description .rich-text{font-size:14px;line-height:1.85}
.ec-residential-description .rich-text p{margin:0 0 16px;font-size:inherit;line-height:inherit}
@media(max-width:800px){.ec-residential-overview{gap:24px}.ec-residential-photo img{height:280px}}
@media(max-width:640px){[data-ec-section=mr_property]:not(.catalog-browse){padding-top:24px}.ec-residential-overview{grid-template-columns:1fr;gap:24px}.ec-residential-photo img{height:auto;max-height:260px}.ec-residential-summary h1{font-size:24px}.ec-residential-price{font-size:22px}.ec-residential-description{margin-top:24px}}

.mr-property-map{margin-top:28px;max-width:none;width:100%;border-top:1px solid var(--line);padding-top:20px}
.mr-property-map header{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:14px;flex-wrap:wrap}
.mr-property-map h2{margin:0;font-size:21px}.mr-property-map a{font-size:13px}
.mr-map-load{display:block;width:100%;min-height:72px;padding:20px;background:var(--ivory-deep);color:var(--ink);border:1px solid var(--line);font:14px/1.5 Manrope,sans-serif;cursor:pointer}
.mr-property-map iframe{display:block;width:100%;height:280px;border:0;background:var(--ivory-deep)}
.mr-map-load:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.ec-residential-description,.ec-residential-detail .mr-property-map{width:100%;max-width:none}
body:has(.ec-residential-detail) #contact{max-width:1240px;width:100%;padding-inline:var(--margin);gap:48px}
body:has(.ec-residential-detail) #contact .contact-copy h2{font-size:36px;line-height:1.15}
.ec-residential-photo{position:relative}
.ec-photo-controls{position:absolute;inset:0 0 auto;height:340px;pointer-events:none;display:flex;align-items:center;justify-content:space-between;padding:12px}
.ec-residential-photo .ec-photo-controls button{pointer-events:auto;display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:0;border:1px solid #ffffff55;border-radius:50%;background:#181b1dcc;color:#fff;font:22px/1 Arial,sans-serif;cursor:pointer}
.ec-residential-photo .ec-photo-controls .ec-photo-pause{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);font-size:15px}
.coast-detail-gallery button[aria-current=true]{outline:2px solid var(--ec-choice,var(--ink));outline-offset:3px}
.mr-detail-map-canvas{width:100%;height:320px;background:var(--ivory-deep)}
.mr-detail-map-pin{width:20px;height:20px;border:3px solid var(--ivory);border-radius:50%;background:var(--ec-choice,#9cc7ff);box-shadow:0 2px 8px #0004}
.mr-detail-marker{display:flex;align-items:center;gap:8px;white-space:nowrap}
.mr-detail-map-pin{display:block;flex:0 0 24px;width:24px;height:24px;border:3px solid #fff;border-radius:50% 50% 50% 0;transform:rotate(-45deg)}
.mr-detail-map-label{display:block;background:var(--ec-choice,#9cc7ff);color:var(--ec-choice-ink,#14202b);padding:6px 10px;border-radius:4px;font:600 13px/1.4 Manrope,sans-serif;box-shadow:0 2px 8px #0003}
@media(max-width:800px){.ec-photo-controls{height:280px}}
@media(max-width:640px){body:has(.ec-residential-detail) #contact{padding-inline:20px;gap:28px}.ec-residential-photo img{height:260px;max-height:none}.ec-photo-controls{height:260px}}

[data-ec-section=mr_commercial]:not(.catalog-browse),[data-ec-section=mr_development]:not(.catalog-browse){max-width:1240px;margin-inline:auto}
.ec-source-detail .ec-residential-photo img{object-fit:contain;background:var(--ivory-deep);max-width:100%}
.ec-source-detail .ec-residential-summary h1{max-width:32ch}
.ec-source-detail .ec-residential-photo figcaption{display:none}
.ec-journal-tabs{display:flex;gap:12px;flex-wrap:wrap;margin:0 0 28px}.ec-journal-tabs a{padding:10px 16px;border:1px solid var(--line);font-size:14px}.ec-journal-tabs a[aria-current=page]{background:var(--ec-choice);color:var(--ec-choice-ink)}
