/* Apple review only: dual contrast outline, no geographic collision offsets. */
.apple-location-pin{display:block;width:30px;height:40px;min-width:30px;min-height:40px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;cursor:pointer;transform-origin:50% 100%;filter:drop-shadow(0 2px 2px #0006)}
.apple-location-pin svg{display:block;width:30px;height:40px;overflow:visible;pointer-events:none}
.apple-location-pin:hover,.apple-location-pin[aria-pressed=true]{z-index:3;filter:drop-shadow(0 2px 3px #0009) drop-shadow(0 0 2px #fff)}
.apple-location-pin[aria-pressed=true] svg circle{fill:#fff;stroke:#17212b;stroke-width:2.5}
.apple-location-pin:focus-visible{outline:3px solid #fff;outline-offset:3px;filter:drop-shadow(0 0 2px #17212b) drop-shadow(0 0 3px #17212b);z-index:4}

.apple-review-zoom{position:absolute;right:10px;bottom:10px;z-index:4;display:flex;border:1px solid #8888;border-radius:8px;overflow:hidden;box-shadow:0 1px 5px #0003}
.apple-review-zoom button{width:40px;height:40px;min-width:40px;min-height:40px;padding:0;border:0;border-radius:0;background:#fff;color:#17212b;font:25px/1 Arial,sans-serif;cursor:pointer}
.apple-review-zoom button+button{border-left:1px solid #8885}
.apple-review-zoom button:hover{background:#eee}
.apple-review-zoom button:focus-visible{outline:3px solid #ff653b;outline-offset:-3px}
html[data-theme=dark] .apple-review-zoom button{background:#292a2d;color:#fff}
html[data-theme=dark] .apple-review-zoom button:hover{background:#404247}

/* Directory popup: twice the previous desktop width/photo height, safely clamped. */
.portfolio-map .property-map-tag{padding:48px 16px 12px;overflow:hidden;font-size:16px;line-height:1.4;border-radius:12px}
.portfolio-map .property-map-tag:has(.property-map-tag-gallery){padding-top:48px}
.portfolio-map .apple-property-tag-body{overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.portfolio-map .property-map-tag strong{font-size:20px;line-height:1.3;white-space:normal;overflow-wrap:anywhere}
.portfolio-map .property-map-tag p{font-size:15px;line-height:1.4;white-space:normal;margin-top:6px}
.portfolio-map .property-map-tag a{font-size:16px;min-height:44px;white-space:normal}
.portfolio-map .property-map-tag-close{top:3px;right:4px;width:44px;height:44px;min-width:44px;min-height:44px;font-size:28px;z-index:2}
.portfolio-map .property-map-tag-gallery{margin:0 0 12px;border-radius:8px}
.portfolio-map .property-map-tag-count{font-size:13px;padding:4px 8px}
/* Listing graphics may include text: always show the complete source image. */
.portfolio-map .property-map-tag-gallery img{object-fit:contain;background:var(--surface)}
/* Full-bleed stable preview; the image button opens the uncropped original. */
.portfolio-map .property-map-tag,.portfolio-map .property-map-tag:has(.property-map-tag-gallery){padding:0}
.portfolio-map .apple-property-tag-body{scrollbar-gutter:auto}
.portfolio-map .property-map-tag-gallery{margin:0;border-radius:10px 10px 0 0}
.portfolio-map .property-map-tag-gallery img{object-fit:cover}
.portfolio-map .property-map-tag strong{padding:10px 14px 0;font-size:18px;line-height:1.25}
.portfolio-map .property-map-tag p{margin:4px 14px 0;font-size:14px;line-height:1.3}
.portfolio-map .property-map-tag a{padding:0 14px 5px;min-height:38px;font-size:15px}
.portfolio-map .property-map-tag-close{top:6px;right:6px;border-radius:50%;background:#fff;color:#17212b;box-shadow:0 1px 5px #0006;z-index:5}
.portfolio-map .property-map-tag-gallery button.apple-popup-full-image{inset:0;width:100%;height:100%;transform:none;border-radius:0;background:transparent;z-index:1}
.portfolio-map .property-map-tag-gallery button.apple-popup-full-image::before{display:none}
.portfolio-map .property-map-photo-previous,.portfolio-map .property-map-photo-next{z-index:3}
.portfolio-map .property-map-tag-count{z-index:4;pointer-events:none}

.apple-map-loading{height:100%;min-height:300px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:24px;text-align:center;box-sizing:border-box;background:var(--surface,#f4f5f6);color:var(--text,#202225)}
.apple-map-loading p{max-width:32em;margin:0;line-height:1.5}
.apple-map-loading button{border:1px solid currentColor;border-radius:10px;padding:10px 16px;background:transparent;color:inherit;font:inherit;cursor:pointer}
.apple-map-loading button[hidden]{display:none}
