[data-edit]{font:inherit!important;color:inherit!important;letter-spacing:inherit!important}
.cpt-admin-link{display:block;background:#031724;color:#adc6d8;text-align:center;padding:10px;font:12px system-ui;text-decoration:none}
.cpt-editor-bar{position:sticky;top:0;z-index:160;display:flex;align-items:center;flex-wrap:wrap;gap:10px 20px;background:#fff9e9;border-bottom:2px solid #d9a927;padding:12px 22px;font:14px system-ui;color:#15344e;box-shadow:0 3px 20px #0001}
.cpt-editor-bar div{display:flex;align-items:center;gap:10px;margin-left:auto;flex-wrap:wrap}.cpt-editor-bar a{color:#075b9d;font-weight:650}.cpt-editor-bar button{border:1px solid #173d59;border-radius:8px;background:white;color:#173d59;padding:9px 12px;cursor:pointer;font:inherit;font-weight:700}.cpt-editor-bar #publishInline{background:#173d59;color:#fff}.cpt-editor-bar #editStatus{font-size:12px;color:#68572a}
[contenteditable]{outline:1px dashed #b58d2280;outline-offset:3px;cursor:text;white-space:pre-wrap;overflow-wrap:anywhere}[contenteditable]:hover,[contenteditable]:focus{outline:2px solid #d3a42d;background:#fff5c13d;border-radius:2px}
.cpt-media-editable{position:relative}.cpt-media-button{position:absolute;bottom:8px;left:8px;z-index:30;border:1px solid #fff9;border-radius:8px;background:#062a46;color:#fff;padding:9px;cursor:pointer;font:12px system-ui;box-shadow:0 2px 12px #0003}
.cpt-property-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.property-art.cpt-has-photo::before,.property-art.cpt-has-photo::after{display:none}.cpt-hero-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.hero-stage.cpt-has-photo>.sun,.hero-stage.cpt-has-photo>.mountain,.hero-stage.cpt-has-photo>.house-card{display:none}
.cpt-video-overlay{position:absolute;inset:0;z-index:20;background:#062454}.cpt-video-overlay video{width:100%;height:100%;object-fit:contain}
.cpt-gallery{position:absolute;z-index:5;top:45%;border:0;background:#062a46db;color:white;font-size:32px;border-radius:50%;width:40px;height:40px;line-height:30px;cursor:pointer}.cpt-gallery.prev{left:12px}.cpt-gallery.next{right:12px}
@media(max-width:700px){.cpt-editor-bar{position:relative;padding:10px;font-size:12px}.cpt-editor-bar div{margin:0}.cpt-editor-bar button{font-size:12px;padding:8px}}

/* Descripciones organizadas por secciones, también en pantallas pequeñas. */
#detailText{line-height:1.7;overflow-wrap:anywhere}
#detailText h3{font-family:inherit;font-size:1.16rem;line-height:1.35;margin:1.6rem 0 .65rem;letter-spacing:normal}
#detailText>:first-child{margin-top:0}
#detailText p{margin:0 0 1rem}
#detailText ul{margin:.5rem 0 1.25rem;padding-left:1.4rem}
#detailText li{margin:.4rem 0}
.property-body>p{white-space:pre-line;overflow-wrap:anywhere}

.cpt-description{line-height:1.7;overflow-wrap:anywhere;text-align:left}
.cpt-description p{margin:0 0 1em;white-space:pre-line}
.cpt-description h3{font-family:inherit;font-weight:700;font-size:1.1em;line-height:1.4;margin:1.4em 0 .6em}
.cpt-description ul{display:block;padding-left:1.5em;margin:.6em 0 1.2em;list-style:disc outside}
.cpt-description li{display:list-item;margin:.4em 0}
.property-body .cpt-description{font-size:14px}
.cpt-section-image{display:block;width:min(100%,1180px);max-height:420px;object-fit:cover;border-radius:18px;margin:20px auto;grid-column:1/-1}
[data-edit]{white-space:pre-line;overflow-wrap:anywhere}

.property{cursor:default}.cpt-detail-button{margin-top:18px;width:100%;white-space:normal;text-align:center}.cpt-detail-button:focus-visible{outline:3px solid #075b9d;outline-offset:4px}.property-summary{line-height:1.6}

/* Editor visual: todas las herramientas se mantienen fuera del contenido público. */
.cpt-visual-editing .reveal{opacity:1!important;transform:none!important;transition:none!important}
.cpt-visual-editing [data-edit],.cpt-visual-editing .property-body>*,.cpt-visual-editing .property-art,.cpt-visual-editing .brand img,.cpt-visual-editing .hero-stage,.cpt-visual-editing .portrait,.cpt-visual-editing .cpt-section-image{cursor:pointer;outline:1px dashed #075b9d66;outline-offset:3px}
.cpt-visual-editing .ve-selected{outline:3px solid #d3a42d!important;outline-offset:5px;background-color:#fff5c12b}
#visualEditor{position:fixed;top:80px;bottom:0;right:0;width:340px;max-width:95vw;background:#fff;color:#15344e;border-left:1px solid #c8d5dd;box-shadow:-8px 0 32px #062a461f;z-index:155;padding:18px;overflow-y:auto;font:14px/1.5 system-ui,Segoe UI,sans-serif;text-align:left}
#visualEditor *{box-sizing:border-box}#visualEditor h3{font:700 16px/1.4 system-ui;margin:20px 0 12px;letter-spacing:normal}#visualEditor h4{font:700 14px/1.4 system-ui;margin:18px 0 10px}#visualEditor p{font-size:12px;line-height:1.5;margin:10px 0;color:#526b7f}#visualEditor label{display:flex;flex-direction:column;gap:5px;margin:10px 0;font:600 12px/1.4 system-ui}#visualEditor input,#visualEditor textarea,#visualEditor select{width:100%;min-width:0;border:1px solid #b9cbd8;background:#fff;color:#15344e;border-radius:7px;padding:8px;font:14px/1.5 system-ui}#visualEditor textarea{resize:vertical;white-space:pre-wrap}#visualEditor button,#veReopen{cursor:pointer;border:1px solid #b9cbd8;border-radius:7px;background:#eff5f8;color:#15344e;font:600 12px/1.4 system-ui;padding:9px 12px;white-space:normal}#visualEditor .ve-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}#visualEditor .ve-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}#visualEditor .ve-check{display:flex;flex-direction:row;align-items:center}#visualEditor .ve-check input{width:auto}#visualEditor #veImagePreview{display:block;max-width:100%;max-height:180px;object-fit:contain;margin:12px auto}#visualEditor [hidden],#veReopen[hidden]{display:none!important}#veReopen{position:fixed;right:16px;top:100px;z-index:155;background:#fff9e9}body.ve-panel-open{padding-right:340px}.cpt-portrait-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.portrait{position:relative;overflow:hidden}.cpt-portrait-has-photo .portrait-monogram{visibility:hidden}.cpt-editor-bar{z-index:170}.cpt-visual-editing .modal.open .modal-card{max-width:min(880px,calc(100vw - 400px))}
@media(max-width:900px){body.ve-panel-open{padding-right:0}#visualEditor{top:auto;height:48vh;width:100%;max-width:100%;border-top:2px solid #d3a42d;bottom:0}body.ve-panel-open{padding-bottom:48vh}.cpt-visual-editing .modal.open .modal-card{max-width:100%;max-height:45vh}.cpt-editor-bar{position:sticky;top:0}}

/* Herramientas superpuestas: conservan las medidas de la página publicada. */
body.cpt-visual-editing,body.cpt-visual-editing.ve-panel-open{padding-right:0;padding-bottom:0}
.cpt-admin-mode .cpt-editor-bar{position:fixed;top:auto;bottom:12px;left:12px;right:12px;width:auto;max-height:30vh;overflow:auto;border:1px solid #d9a927;border-radius:12px;z-index:170;padding:10px 14px}
#visualEditor{top:90px;right:16px;bottom:110px;width:340px;max-width:calc(100vw - 32px);height:auto;border:1px solid #c8d5dd;border-radius:14px;box-shadow:0 12px 48px #062a4633}
#visualEditor.ve-left{left:16px;right:auto}#visualEditor .ve-heading{flex-wrap:wrap}#visualEditor #veMove{font-size:11px;padding:6px}
#veReopen{top:auto;bottom:95px;right:16px;border:1px solid #d9a927;box-shadow:0 4px 16px #0002}
.cpt-visual-editing [data-edit],.cpt-visual-editing .property-body>*,.cpt-visual-editing .property-art,.cpt-visual-editing .brand img,.cpt-visual-editing .hero-stage,.cpt-visual-editing .portrait,.cpt-visual-editing .cpt-section-image{outline:none}
.cpt-visual-editing [data-edit]:hover,.cpt-visual-editing .property-art:hover,.cpt-visual-editing .hero-stage:hover,.cpt-visual-editing .portrait:hover{outline:1px dashed #075b9d;outline-offset:3px}
.cpt-visual-editing .modal.open .modal-card{max-width:100%;max-height:90vh}
@media(max-width:900px){#visualEditor,#visualEditor.ve-left{top:auto;left:10px;right:10px;bottom:135px;max-height:46vh;width:auto;max-width:none;height:auto}.cpt-admin-mode .cpt-editor-bar{left:8px;right:8px;bottom:8px;max-height:120px;font-size:11px;gap:8px;padding:8px}#veReopen{bottom:140px}.cpt-visual-editing .modal.open .modal-card{max-height:90vh}}

/* Imagen principal completa, sin recortes ni avisos superpuestos. */
.hero>*{min-width:0}
@media(min-width:901px){.hero{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr)}}
.hero-stage.cpt-has-photo{min-height:0;height:auto;background:#f5f2e9;align-self:center}
.hero-stage.cpt-has-photo>.cpt-hero-photo{position:relative;inset:auto;display:block;width:100%;max-width:100%;height:auto;object-fit:contain}
.hero-stage.cpt-has-photo>.hero-note,.hero-stage.cpt-has-photo>.floating-stat{display:none}

/* La cobertura admite nuevas ciudades también en celular. */
.hero-proof>span{max-width:100%;overflow-wrap:anywhere}
.hero-proof[hidden]{display:none}
