.gallery-open{position:relative;display:block;width:100%;padding:0;border:0;background:var(--ivory);color:white;cursor:zoom-in;text-align:initial}
.gallery-open .gallery-main{display:block}
.gallery-open-label{position:absolute;right:16px;bottom:16px;padding:10px 16px;border:1px solid #dac57c;background:#0d1b2aeb;color:#fff;font-size:.9375rem;font-weight:700;box-shadow:0 4px 12px #0002}
.gallery-open:hover .gallery-open-label{background:#20364c}
.gallery-caption{font-size:.875rem;line-height:1.6;min-height:1.4em}
.gallery-thumbs button{min-width:48px;min-height:48px}
body.gallery-modal-open{overflow:hidden}
.gallery-lightbox{width:calc(100vw - 32px);max-width:1500px;height:calc(100dvh - 32px);max-height:none;margin:auto;padding:0;border:1px solid #34475a;border-radius:6px;background:#081420;color:#fff;overflow:hidden;box-shadow:0 24px 90px #0008}
.gallery-lightbox:not([open]){display:none}
.gallery-lightbox[open]{display:flex;flex-direction:column}
.gallery-lightbox::backdrop{background:#02070de8}
.lightbox-toolbar{display:flex;align-items:center;gap:18px;flex-wrap:wrap;padding:14px 18px;background:#0d1b2a;border-bottom:1px solid #354250;flex-shrink:0}
.lightbox-info{display:flex;flex-direction:column;gap:4px;min-width:120px;flex:1;font-size:1rem;line-height:1.35}
.lightbox-info strong{max-width:400px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lightbox-count{font-size:.875rem;color:#d6c377}
.lightbox-controls{display:flex;align-items:center;gap:8px}
.gallery-lightbox button,.lightbox-bottom a{min-height:44px;padding:8px 13px;border:1px solid #596a7c;border-radius:3px;background:#16283a;color:#fff;font-size:.9375rem;line-height:1.25;white-space:nowrap}
.gallery-lightbox button:hover:not(:disabled),.lightbox-bottom a:hover{background:#2c435b;color:#fff}
.gallery-lightbox button:disabled{opacity:.45;cursor:default}
.gallery-lightbox .lightbox-close{border-color:#d4af37;color:#efd480}
.lightbox-zoom-label{min-width:45px;text-align:center;font-size:.875rem}
.lightbox-stage{position:relative;flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;background:#081420}
.lightbox-canvas{display:flex;align-items:center;justify-content:center;min-width:100%;min-height:100%;padding:16px;box-sizing:border-box}
.lightbox-image{flex-shrink:0;max-width:none;max-height:none;object-fit:contain;display:block}
.lightbox-error{font-size:1rem;line-height:1.6;padding:2rem;max-width:600px}
.lightbox-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 18px;border-top:1px solid #354250;background:#0d1b2a;flex-shrink:0}
.lightbox-bottom p{margin:0;color:#d7dee5;font-size:.875rem;line-height:1.5;max-height:4.5em;overflow:auto}
.lightbox-bottom a{display:inline-flex;align-items:center;flex-shrink:0}
.gallery-lightbox :focus-visible{outline:3px solid #f0d777;outline-offset:3px}
.property-location{margin-top:32px;border-top:1px solid var(--line);padding-top:8px}
.property-location .button{margin-top:16px;font-size:1rem;white-space:normal;text-align:center;line-height:1.5}
.property-location p.property-extra-note,.property-extra-note{font-size:.875rem;line-height:1.65;color:#596672}
.property-price-label{display:block;font-size:.875rem;color:#596672;margin-top:12px}
.pre-sale-comparison{border:1px solid #dedccf;border-top:3px solid var(--gold);padding:30px;background:#faf9f5;margin:0 0 40px}
.property-extra-kicker{display:block;font-size:.875rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:#81631c;margin-bottom:10px}
.pre-sale-comparison h2{font-size:clamp(1.8rem,3vw,2.5rem);letter-spacing:-.025em;margin-bottom:24px}
.pre-sale-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:0 0 18px}
.pre-sale-grid.has-savings{grid-template-columns:repeat(3,minmax(0,1fr))}
.pre-sale-grid>div{padding:20px;background:#fff;border:1px solid #e3e3dd;min-width:0}
.pre-sale-grid dt{font-size:.9375rem;line-height:1.5;color:#596672}
.pre-sale-grid dd{font-family:var(--serif);font-size:clamp(1.4rem,2.1vw,1.9rem);line-height:1.3;letter-spacing:-.02em;margin:10px 0 0;overflow-wrap:anywhere}
.pre-sale-grid .pre-sale-saving{background:var(--navy);border-color:var(--navy);color:#fff}
.pre-sale-saving dt{color:#e3cb79}
.pre-sale-saving span{display:block;font-size:.875rem;line-height:1.5;margin-top:8px;color:#d3dce5}
.property-videos{margin-top:55px}
.property-videos>h2{font-size:clamp(1.8rem,3vw,2.5rem);margin-bottom:26px}
.property-video-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
.property-video-grid.single{grid-template-columns:1fr;max-width:900px}
.property-video-card{min-width:0}
.property-video-player{aspect-ratio:16/9;background:var(--navy);overflow:hidden;border:1px solid #24394d}
.property-video-play{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;width:100%;height:100%;border:0;background:linear-gradient(135deg,#102236,#1c354c);color:#fff;padding:24px;text-align:center;font-size:1.125rem;line-height:1.5}
.property-video-play .property-video-poster{position:absolute;inset:0;z-index:-2;width:100%;height:100%;max-width:none;object-fit:cover;pointer-events:none}
.property-video-poster[hidden]{display:none}
.property-video-play::before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#08142022,#08142099);pointer-events:none;transition:background .2s}
.property-video-play:hover::before{background:#08142066}
.property-video-play:focus-visible{outline:3px solid var(--gold);outline-offset:-4px}
.property-video-play:hover{background:#233e56}
.property-video-icon{display:flex;align-items:center;justify-content:center;width:58px;height:58px;border-radius:50%;border:1px solid #d4af37;background:#0d1b2acc;color:#ecd179;padding-left:4px;font-size:1.4rem;flex-shrink:0}
.property-video-play small{font-size:.875rem;color:#cbd6e0}
.property-video-player iframe{display:block;width:100%;height:100%;border:0}
.property-video-card h3{font-family:var(--serif);font-size:1.35rem;line-height:1.4;margin:14px 0 12px}
.property-video-card .text-link{font-size:.9375rem}
@media(max-width:900px){.lightbox-toolbar{gap:12px}.lightbox-info{flex-basis:calc(100% - 110px);order:0}.lightbox-close{order:1}.lightbox-controls{order:2}.pre-sale-grid.has-savings{grid-template-columns:1fr 1fr}.pre-sale-saving{grid-column:1/-1}}
@media(max-width:600px){.gallery-lightbox{width:100vw;height:100dvh;border:0;border-radius:0}.lightbox-toolbar{padding:12px;gap:10px}.lightbox-info strong{max-width:230px;font-size:.9375rem}.lightbox-controls{gap:5px}.gallery-lightbox button{padding:7px 10px}.lightbox-bottom{padding:10px 12px;gap:10px;flex-wrap:wrap}.lightbox-bottom p{flex-basis:100%}.lightbox-bottom a{font-size:.875rem;padding:7px 10px;min-height:40px}.gallery-open-label{right:10px;bottom:10px;font-size:.875rem;padding:9px 12px}.pre-sale-comparison{padding:22px 18px}.pre-sale-grid,.pre-sale-grid.has-savings{grid-template-columns:1fr}.pre-sale-grid dd{font-size:1.8rem}.pre-sale-saving{grid-column:auto}.property-video-grid{grid-template-columns:1fr}.property-location .button{width:100%}}
@media print{.gallery-open-label,.gallery-lightbox,.property-video-play,.property-video-player iframe{display:none!important}.gallery-open{border:0}.pre-sale-comparison{break-inside:avoid}}
