/* Bloques públicos y vista previa: un mismo diseño */
.cms-sections{width:100%;clear:both}.cms-block,.cms-article{box-sizing:border-box;max-width:1230px;margin:40px auto;padding:38px;border-radius:20px;background:#fff;color:#1e1932}.cms-block{display:grid;grid-template-columns:1fr 1fr;gap:34px;align-items:center;border:1px solid #dfebf2}.cms-block img{width:100%;max-height:460px;object-fit:contain;border-radius:14px;background:#fff}.cms-block h2{font-size:clamp(26px,2.5vw,38px);margin:8px 0 16px;line-height:1.15}.cms-copy{min-width:0}.cms-copy p,.cms-prose p{line-height:1.8;overflow-wrap:anywhere}.cms-eyebrow{text-transform:uppercase;font-size:12px;letter-spacing:.1em;color:#a10795;font-weight:700}.cms-button{display:inline-flex;background:#ba1fb5;color:#fff!important;padding:13px 20px;border-radius:10px;text-decoration:none;font-weight:700;margin-top:14px}.cms-block.tint{background:#f0faff}.cms-block.dark{background:#1e1932;color:white}.cms-block.dark h2,.cms-block.dark p{color:inherit}.cms-block.dark .cms-eyebrow{color:#82dded}.cms-text,.cms-cta,.cms-gallery{display:block}.cms-cta{background:#f4faff;text-align:center}.cms-cta>img{max-width:600px;display:block;margin:24px auto 0}.cms-image-left>img{order:-1}.cms-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:26px}.cms-gallery-grid figure{margin:0;min-width:0}.cms-gallery-grid img{aspect-ratio:4/3;object-fit:contain}.cms-gallery-grid figcaption{font-size:12px;line-height:1.6;margin-top:8px;color:#687485}.cms-article{max-width:960px}.cms-article h1{font-size:clamp(30px,3vw,48px);line-height:1.15}.cms-article>img{display:block;width:100%;max-height:600px;object-fit:contain;margin:30px auto}.cms-lead{font-size:18px;line-height:1.7}.cms-prose{max-width:760px;margin:auto}.cms-prose h2{margin-top:35px}.cms-blog-card{display:block;overflow:hidden;text-decoration:none}.cms-blog-card>img{width:100%;height:210px;object-fit:cover}.cms-blog-card>div{padding:20px}.cms-blog-card h3{line-height:1.25}.cms-blog-card p{font-size:14px;color:#6a7484;line-height:1.6}.cms-blog-card span{color:#a10795;font-weight:700}
/* Panel unificado */
.editor-shell{--ed-ink:#1e1932;--ed-line:#d9e6ee;display:grid;grid-template-columns:240px minmax(0,1fr);gap:26px;max-width:1480px;margin:28px auto 70px;padding:0 24px;color:var(--ed-ink)}.editor-shell *{box-sizing:border-box}.editor-side{position:sticky;top:175px;align-self:start;border:1px solid var(--ed-line);border-radius:16px;background:white;padding:20px}.editor-brand img{width:100%;height:auto}.editor-side>p{font-size:12px;color:#677588;margin:15px 0 22px}.editor-side nav{display:grid;gap:8px}.editor-side button{font:inherit;cursor:pointer}.editor-side nav button{padding:12px;border:0;border-radius:9px;text-align:left;color:#485469;background:transparent;font-size:13px;font-weight:700;line-height:1.4}.editor-side nav button.active{color:#9c148f;background:#fcf0fc}.editor-visit{display:block;margin-top:24px;padding-top:20px;border-top:1px solid var(--ed-line);color:#087f9b;font-weight:700;font-size:13px;text-decoration:none}.editor-side>button{margin-top:16px;border:0;background:none;color:#637083;font-size:12px}.editor-main{min-width:0}.editor-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.editor-header h1{font-size:32px;margin:4px 0 8px}.editor-header p{margin:0;color:#6a7586;font-size:13px}.editor-header .eyebrow{color:#a10795}.editor-header>span{font-size:12px;padding:8px 12px;border-radius:20px;background:#eaf8f1;color:#16734d}.editor-help{font-size:14px;line-height:1.8;color:#5f6d80;margin:18px 0 24px;max-width:900px}.editor-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:24px;align-items:start}.editor-form,.editor-preview,.editor-saved-title+#editorEntries,.editor-upload{min-width:0}.editor-form{padding:24px;background:#fff;border:1px solid var(--ed-line);border-radius:16px;display:grid;gap:18px}.editor-form-top h2{font-size:21px;margin:0}.editor-form-top p{font-size:12px;color:#6d7989}.editor-shell button,.editor-dialog button{cursor:pointer;border:1px solid #c9dce8;background:#fff;color:#286078;border-radius:8px;padding:10px 13px;font-size:12px;font-weight:700}.editor-shell button:disabled,.editor-dialog button:disabled{opacity:.5;cursor:not-allowed}.editor-form label,.editor-upload label,#editorLibrary>label{display:grid;gap:7px;font-size:13px;font-weight:700;color:#35435a;min-width:0}.editor-shell input,.editor-shell select,.editor-shell textarea,.editor-dialog input{width:100%;max-width:100%;min-width:0;padding:11px 12px;border:1px solid #cbdce7;background:white;color:#26354b;border-radius:9px;font:inherit;font-weight:400;font-size:14px}.editor-shell textarea{resize:vertical;line-height:1.7}.editor-shell input:focus,.editor-shell textarea:focus,.editor-shell select:focus{outline:3px solid #00a3c822;border-color:#00a3c8}.editor-shell label small{font-size:11px;color:#6e7a8a;font-weight:400}.editor-shell [hidden],.editor-dialog [hidden]{display:none!important}.editor-image{border:1px solid var(--ed-line);padding:18px;border-radius:12px;display:grid;gap:15px;min-width:0}.editor-image legend{font-size:13px;font-weight:700;padding:0 5px}.editor-inline{display:flex;gap:8px;flex-wrap:wrap}.editor-save{display:flex;flex-wrap:wrap;gap:9px;padding-top:16px;border-top:1px solid var(--ed-line)}.editor-primary,.editor-shell .editor-primary,.editor-dialog .editor-primary{display:inline-block;background:#ba1fb5;color:white;text-decoration:none;border:0;border-radius:9px;padding:12px 17px;font-weight:700;font-size:13px}.editor-preview{position:sticky;top:180px;border:1px solid #dce7ef;border-radius:16px;background:#f4f8fb;overflow:hidden}.editor-preview>div:first-child{padding:20px;border-bottom:1px solid #dce7ef}.editor-preview h2{font-size:19px;margin:0 0 8px}.editor-preview>div:first-child p{font-size:12px;color:#68768b;line-height:1.7}.editor-preview #editorPreview{padding:12px;max-height:650px;overflow:auto}.editor-preview .cms-block,.editor-preview .cms-article{display:block;padding:20px;margin:0;background:white}.editor-preview .cms-block h2{font-size:26px}.editor-preview .cms-block>img{margin-top:22px;max-height:260px}.editor-preview .cms-article h1{font-size:28px}.editor-preview .cms-gallery-grid{grid-template-columns:1fr 1fr}.editor-preview .cms-lead{font-size:15px}.editor-preview #editorPreview>img{max-width:100%}.editor-notice{padding:15px 18px;border:1px solid #c1e1ec;background:#eefaff;color:#13617b;border-radius:10px;font-size:13px;line-height:1.7}.editor-notice.error{background:#fff0f3;border-color:#f4c9d1;color:#9d2040}#editorGate{padding:24px;background:#eff9ff;border:1px solid #cfe7f2;border-radius:16px;margin-bottom:22px}#editorGate h2{margin:0;font-size:24px}#editorGate p{font-size:14px;line-height:1.8;color:#5a6c82}.editor-saved-title{font-size:23px;margin:35px 0 18px}#editorEntries{display:grid;gap:10px}#editorEntries article{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 18px;background:#fff;border:1px solid var(--ed-line);border-radius:11px}#editorEntries b,#editorEntries small{display:block}#editorEntries b{font-size:14px}#editorEntries small{font-size:11px;color:#6d798a;margin-top:6px}.editor-empty{padding:24px;background:#f4f8fb;border-radius:12px;color:#687587;font-size:13px;line-height:1.7}.editor-dialog{width:min(1100px,94vw);max-height:90vh;border:1px solid #d3e3ec;border-radius:18px;padding:24px;color:#1e1932}.editor-dialog::backdrop{background:#1e193270}.editor-dialog header{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:22px}.editor-dialog h2{margin:0;font-size:23px}.editor-dialog p{font-size:13px;line-height:1.7;color:#6c7888}.editor-upload{display:grid;grid-template-columns:1fr 1fr auto;gap:14px;align-items:end;padding:20px;background:#f4f9fc;border-radius:12px;margin:18px 0 24px}#editorMedia{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:22px 0}#editorMedia button{overflow:hidden;padding:0;text-align:left}#editorMedia img{display:block;width:100%;height:130px;object-fit:contain;background:#f6fafc}#editorMedia span{display:block;padding:10px;font-size:11px;line-height:1.5;overflow-wrap:anywhere}#editorGallery{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:15px}#editorGallery img{width:100%;height:100px;object-fit:contain}#editorGallery button{font-size:10px}#galleryFields>p{font-size:12px;line-height:1.7;color:#697689}#fullPreview{background:#f4f8fb;padding:20px}#fullPreview>.cms-article{background:#fff}.editor-form a{color:#087f9b}.editor-form [aria-invalid=true]{border-color:#a42040}
@media(max-width:1100px){.editor-shell{grid-template-columns:200px minmax(0,1fr);gap:18px;padding:0 16px}.editor-layout{grid-template-columns:1fr}.editor-preview{position:static}.editor-upload{grid-template-columns:1fr 1fr}.editor-upload button{grid-column:1/-1}.editor-preview .cms-block{display:grid;grid-template-columns:1fr 1fr}}
@media(max-width:700px){.cms-block,.cms-article{padding:24px;margin:26px 16px}.cms-block{grid-template-columns:1fr}.cms-gallery-grid{grid-template-columns:1fr 1fr}.cms-image-left>img{order:0}.cms-lead{font-size:16px}.editor-shell{display:block;margin-top:18px;padding:0 12px}.editor-side{position:static;padding:18px;margin-bottom:24px}.editor-brand img{width:170px}.editor-side nav{grid-template-columns:1fr 1fr;gap:6px}.editor-side nav button{padding:10px;font-size:12px}.editor-side>p{margin:10px 0}.editor-visit{margin-top:12px;padding-top:14px}.editor-header{align-items:flex-start}.editor-header h1{font-size:26px}.editor-header>span{display:none}.editor-form{padding:18px}.editor-preview .cms-block{display:block}.editor-preview .cms-block>img{margin-top:18px}.editor-save{display:grid;grid-template-columns:1fr}.editor-dialog{padding:18px}.editor-dialog header h2{font-size:18px}.editor-upload{grid-template-columns:1fr;padding:16px}#editorMedia{grid-template-columns:1fr 1fr;gap:10px}#editorMedia img{height:110px}#fullPreview{padding:0}.cms-article h1{font-size:32px}}

.cms-custom-hero{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:30px;background-image:none!important;align-items:center}.cms-header-photo{margin:0;min-width:0}.cms-header-photo img{display:block;width:100%;height:auto;max-height:420px;object-fit:contain;border-radius:16px}@media(max-width:700px){.cms-custom-hero{grid-template-columns:1fr!important;gap:24px}}
