/* Homepage community map block (staging). Custom SVG map, no Google APIs. */
.lcm{position:relative;max-width:1240px;margin:0 auto}
.lcm-stage{position:relative;overflow:hidden;width:100%;aspect-ratio:1007/710;border-radius:18px;background:var(--bg-f1ebdf);border:1px solid var(--line,#dcd6cc);box-shadow:0 30px 60px -36px rgba(14,36,56,.5);touch-action:pan-y}
@media (max-width:899px){.lcm{max-width:560px}.lcm-stage{aspect-ratio:613/710;border-radius:12px}}
@media (max-width:699px){.lcm{margin-left:calc(var(--gutter,20px) * -1 + 6px);margin-right:calc(var(--gutter,20px) * -1 + 6px)}}
.lcm-canvas{position:absolute;left:0;top:0;transform-origin:0 0}
.lcm-base{position:absolute;inset:0;width:100%;height:100%;display:block;border-radius:inherit;font-family:var(--sans,system-ui,sans-serif)}
.lcm-lines{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:1;overflow:visible}
.lcm-leader-case{stroke:#fff;stroke-width:4;stroke-opacity:.9;stroke-linecap:round}
.lcm-leader{stroke:#081826;stroke-width:2;stroke-opacity:1;stroke-linecap:round;transition:stroke .2s,stroke-width .2s}
.lcm-lmlabel{font-family:var(--sans,system-ui,sans-serif)}
.lcm-leader.is-active{stroke:#c8a96a;stroke-width:2.6;stroke-opacity:1}
.lcm-pins{position:absolute;inset:0;pointer-events:none;z-index:2}
.lcm-pin{position:absolute;width:11px;height:11px;margin:-5.5px 0 0 -5.5px;border-radius:50%;background:#c8a96a;border:2px solid var(--navy-ink);box-shadow:0 0 0 2px #fff,0 2px 4px rgba(0,0,0,.35);box-sizing:border-box;transition:transform .2s}
.lcm-pin.is-active{transform:scale(1.35)}
.lcm-thumbs{position:absolute;inset:0;z-index:3}
.lcm:not(.lcm-ready) .lcm-thumbs,.lcm:not(.lcm-ready) .lcm-pins{visibility:hidden}
.lcm-thumb[hidden],.lcm-pin[hidden]{display:none}
.lcm-thumb{position:absolute;left:0;top:0;display:flex;flex-direction:column;align-items:stretch;min-width:var(--lcm-tw,96px);max-width:150px;padding:0;margin:0;border:0;border-radius:10px;background:var(--surface);color:var(--navy-ink);cursor:pointer;font:inherit;box-shadow:0 0 0 1px rgba(14,36,56,.18),0 8px 18px -8px rgba(14,36,56,.55);transition:transform .22s var(--ease,ease),box-shadow .22s;-webkit-tap-highlight-color:transparent}
.lcm-ph{display:block;width:100%;height:calc(var(--lcm-tw,96px) * .62);border-radius:10px 10px 0 0;background-color:#0e2438;background-size:cover;background-repeat:no-repeat}
.lcm-nm{display:block;padding:4px 7px 5px;font-family:var(--sans,system-ui,sans-serif);font-size:.7rem;font-weight:700;line-height:1.15;letter-spacing:.01em;white-space:nowrap;text-align:center;color:var(--navy-ink)}
.lcm-thumb:hover,.lcm-thumb:focus-visible,.lcm-thumb.is-active{transform:translateY(-2px) scale(1.05);box-shadow:0 0 0 2px #c8a96a,0 14px 26px -10px rgba(14,36,56,.6);z-index:5;outline:none}
.lcm--m .lcm-thumb{flex-direction:row;align-items:center;min-width:0;max-width:none;border-radius:999px;padding:2px 8px 2px 2px}
.lcm--m .lcm-thumb::after{content:"";position:absolute;inset:-3px}
.lcm--m .lcm-ph{width:22px;height:22px;flex:none;border-radius:50%}
.lcm--m .lcm-nm{padding:0 0 0 4px;font-size:9.6px;line-height:1.05;white-space:normal;width:min-content;text-align:left}
.lcm--m .lcm-thumb:hover,.lcm--m .lcm-thumb.is-active{transform:scale(1.06)}
/* desktop: same clean photo pills as mobile, sized for the larger map */
.lcm--d .lcm-thumb{flex-direction:row;align-items:center;min-width:0;max-width:none;border-radius:999px;padding:3px 13px 3px 3px;box-shadow:0 0 0 1px rgba(14,36,56,.16),0 6px 14px -6px rgba(14,36,56,.5)}
.lcm--d .lcm-ph{width:34px;height:34px;flex:none;border-radius:50%}
.lcm--d .lcm-nm{padding:0 0 0 7px;font-size:13px;line-height:1.08;white-space:normal;width:min-content;text-align:left}
.lcm--d .lcm-thumb:hover,.lcm--d .lcm-thumb:focus-visible,.lcm--d .lcm-thumb.is-active{transform:scale(1.06)}
.lcm-attr{position:absolute;right:10px;bottom:3px;margin:0;z-index:2;font-size:9px;line-height:1.4;color:var(--ink-soft);letter-spacing:.02em}
.lcm-attr a{color:inherit}
/* full tile popover (desktop hover) */
.lcm-pop{position:absolute;z-index:30;box-sizing:border-box;padding:8px;background:var(--surface);border-radius:14px;box-shadow:0 0 0 1px rgba(14,36,56,.12),0 30px 60px -20px rgba(14,36,56,.6);animation:lcmPopIn .24s cubic-bezier(.2,.8,.2,1) both}
.lcm-pop.is-closing{animation:lcmPopOut .16s ease-in both;pointer-events:none}
@keyframes lcmPopIn{from{opacity:0;transform:scale(.55)}to{opacity:1;transform:none}}
@keyframes lcmPopOut{to{opacity:0;transform:scale(.7)}}
.lcm-pop-col{gap:8px}
.lcm-pop-col .tile--community{aspect-ratio:4/3;padding:18px 20px;border-radius:8px}
.lcm-pop-col .tile-slices{border-radius:8px;overflow:hidden}
.lcm-pop .lcm-pop-col .tile-label{font-size:1.75rem}
.lcm-pop .lcm-pop-col .tile-slices b.jl,.lcm-pop .lcm-pop-col .tile-slices b.jl.jlw{font-size:.82rem}
/* full tile modal (touch / phone) */
.lcm-modal{position:fixed;inset:0;z-index:2147483100;display:flex;align-items:center;justify-content:center;padding:28px 18px;background:rgba(14,36,56,.62);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);animation:lcmFade .2s ease both}
.lcm-modal.is-closing{animation:lcmFadeOut .18s ease both}
.lcm-modal-card{position:relative;width:min(400px,100%);box-sizing:border-box;padding:8px;background:var(--surface);border-radius:16px;box-shadow:0 30px 70px -20px rgba(0,0,0,.6);animation:lcmPopIn .26s cubic-bezier(.2,.8,.2,1) both}
.lcm-modal .lcm-pop-col .tile--community{aspect-ratio:4/3;padding:18px 20px}
.lcm-modal .lcm-pop-col .tile-label{font-size:1.7rem}
.lcm-close{position:absolute;top:-16px;right:-12px;z-index:3;width:44px;height:44px;padding:0;border-radius:50%;border:2px solid #fff;background:#0e2438;color:#fff;font-size:26px;line-height:1;cursor:pointer;box-shadow:0 6px 16px rgba(0,0,0,.4)}
.lcm-close:focus-visible{outline:2px solid #c8a96a;outline-offset:2px}
@keyframes lcmFade{from{opacity:0}to{opacity:1}}
@keyframes lcmFadeOut{to{opacity:0}}
html.lcm-modal-open #tawkchat-container,html.lcm-modal-open iframe[title*="chat" i]{visibility:hidden!important}
@media (prefers-reduced-motion:reduce){.lcm-pop,.lcm-modal,.lcm-modal-card{animation:none}.lcm-thumb{transition:none}}
/* Lake Area Communities map stays visible; list bar below toggles the tile list */
.lcm-wrap{margin:0}
.lcm-wrap[hidden]{display:none}

/* map open by default; community tiles stay collapsed until the List view bar is opened */
.js .section--communities:not(.is-list-open) .community-grid{display:none}
.lcm-stage.is-panning,.lcm-stage.is-panning *{cursor:grabbing!important;user-select:none}
.lcm-stage.is-zoomed{cursor:grab;touch-action:none}
.lcm-zoom{position:absolute;top:10px;right:10px;z-index:6;display:flex;flex-direction:column;border:1.5px solid var(--navy-ink);border-radius:10px;overflow:hidden;background:var(--surface);box-shadow:0 6px 16px -8px rgba(14,36,56,.55)}
.lcm-zoom button{width:36px;height:36px;padding:0;border:0;border-bottom:1px solid var(--line,#dcd6cc);background:var(--surface);color:var(--navy-ink);font-size:22px;line-height:1;font-weight:600;cursor:pointer}
.lcm-zoom button:last-child{border-bottom:0}
.lcm-zoom button:hover,.lcm-zoom button:focus-visible{background:var(--gold,#c8a96a);outline:none}
.lcm-zoom button:disabled{opacity:.38;cursor:default;background:var(--surface)}
@media (max-width:560px){.lcm-zoom button{width:34px;height:34px}}
/* full-width navy bar with a thin gold edge; centered gold pill (matches selected SD chips) */
.section--communities{overflow-x:clip}
.lcm-list-bar{display:flex;align-items:center;justify-content:center;width:100vw;max-width:100vw;box-sizing:border-box;margin:16px 0 0;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);padding:14px 16px;background:var(--navy,#0e2438);border-top:1px solid var(--gold,#c8a96a);border-bottom:1px solid var(--gold,#c8a96a)}
.section--communities.is-list-open .lcm-list-bar{margin-bottom:clamp(16px,2.2vw,28px)}
.lcm-list-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;max-width:100%;box-sizing:border-box;margin:0;padding:14px 26px;min-height:52px;border:2px solid #fff;border-radius:999px;background:var(--gold,#c8a96a);color:var(--navy,#0e2438);font-family:var(--sans,system-ui,sans-serif);font-size:15px;font-weight:700;letter-spacing:.01em;line-height:1.15;white-space:nowrap;cursor:pointer;box-shadow:inset 0 -2px 0 rgba(14,36,56,.55);-webkit-tap-highlight-color:transparent}
.lcm-list-btn:hover,.lcm-list-btn:focus-visible{background:#d4b67a;outline:none}
.lcm-list-bar-label{min-width:0}
.lcm-list-bar-ind{flex:none;display:block;transition:transform .2s}
.lcm-list-btn.is-open .lcm-list-bar-ind,.lcm-list-bar.is-open .lcm-list-bar-ind{transform:rotate(180deg)}
@media (max-width:400px){.lcm-list-bar{padding:12px 10px}.lcm-list-btn{padding:13px 16px;min-height:48px;font-size:14px;gap:8px}}
@media (prefers-reduced-motion:reduce){.lcm-list-bar-ind{transition:none}}
