@font-face{font-family:Mangi Raleway;src:url(raleway-medium.woff2) format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:Mangi Garamond;src:url("/wp-content/uploads/2023/06/Garamond-Regular.ttf") format("truetype");font-weight:400;font-style:normal;font-display:swap}
.mangi-editorial{--mgi-paper:#fffefa;--mgi-tan:#c9ad94;--mgi-cream:#f4f4e7;--mgi-red:#a73e3e;--mgi-sky:#74aecf;--mgi-ink:#151512;--mgi-serif:"Mangi Garamond",Garamond,Georgia,serif;--mgi-sans:"Mangi Raleway",Raleway,Arial,sans-serif;--mgi-gutter:clamp(28px,8.5vw,120px);--mgi-reading:510px}
body.mangi-editorial,body.mangi-editorial :is(#page,#content,.site-content,.ast-container,.site-main,.ast-article-single,.entry-content,.elementor-location-single){background-color:var(--mgi-paper)!important;color:var(--mgi-ink)}
.mangi-editorial:has(.mgi-header) .elementor-location-header{display:none!important}
.mgi-header,.mgi-cover,.mgi-index,.mgi-header *,.mgi-cover *{box-sizing:border-box}
.mgi-header{background:var(--mgi-tan);border-block:4px solid var(--mgi-red);border-bottom:1px solid var(--mgi-ink);color:var(--mgi-ink);position:relative;z-index:51}
.mgi-header-inner{max-width:1800px;margin:auto;min-height:84px;padding:8px clamp(18px,3vw,54px);display:flex;align-items:center;justify-content:space-between;gap:24px}
.mgi-brand{display:inline-flex!important;align-items:center;gap:14px;min-width:0;color:var(--mgi-ink)!important;text-decoration:none!important}
.mgi-header .mgi-seal{width:58px;height:61px;object-fit:contain;display:block;max-width:none}
.mgi-name{font:400 clamp(25px,2.7vw,46px)/1 var(--mgi-serif);color:var(--mgi-ink);white-space:nowrap;letter-spacing:0}
.mgi-desktop-nav{display:flex;align-items:center;gap:clamp(17px,2.3vw,42px)}
.mgi-header nav a,.mangi-editorial .mgi-index a{color:var(--mgi-ink)!important;font:500 12px/1.45 var(--mgi-sans)!important;letter-spacing:1.1px!important;text-transform:uppercase;text-decoration:none!important}
.mgi-header nav a:hover,.mgi-header nav a[aria-current],.mangi-editorial .mgi-index a:hover{text-decoration:underline!important;text-underline-offset:4px}
.mgi-mobile-nav{display:none}
.mgi-index{background:var(--mgi-cream);border-bottom:1px solid #d5d4c7;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:32px;padding:16px}
.mgi-cover{background:var(--mgi-paper);color:var(--mgi-ink);width:100%}
.mgi-cover>a{display:block;line-height:0}
.mgi-cover>a>img{display:block;width:100%;height:clamp(360px,61vh,740px);object-fit:cover;object-position:50% 49%}
.mgi-cover-text{max-width:1480px;margin:auto;display:grid;grid-template-columns:1fr 1fr;gap:9%;padding:38px var(--mgi-gutter) 48px;align-items:start}
.mgi-cover-text p{font:400 18px/1.46 var(--mgi-serif);letter-spacing:0;margin:0 0 12px;color:var(--mgi-ink)}
.mgi-cover-text .mgi-kicker{font:500 13px/1.45 var(--mgi-sans);letter-spacing:1.8px;text-transform:uppercase}
.mgi-cover-text .mgi-cover-name{font:400 clamp(30px,3vw,46px)/1.1 var(--mgi-serif)}
.mgi-cover a.mgi-link,.mangi-editorial .entry-content :is(p,li,.elementor-widget-text-editor) a:not(.elementor-button):not(:has(img)),.mangi-editorial .elementor-accordion .elementor-tab-content a{font:inherit!important;color:var(--mgi-red)!important;letter-spacing:inherit!important;text-decoration:underline!important;text-decoration-thickness:1px!important;text-underline-offset:3px}
.mgi-cover a.mgi-link{font:400 17px/25px var(--mgi-serif)!important}
.mgi-cover a.mgi-link:hover,.mangi-editorial .entry-content :is(p,li,.elementor-widget-text-editor) a:hover{text-decoration-thickness:2px!important}
.mangi-editorial :is(.mgi-header,.mgi-cover,.mgi-index,.entry-content,.elementor-location-footer) :is(a,button,summary,input,textarea,select):focus-visible{outline:2px solid #7d2729!important;outline-offset:3px}
.mangi-editorial:has(.mgi-cover) .elementor-6 .elementor-element-f6bd244{display:none!important}
.mangi-editorial .entry-content{font:400 17px/25px var(--mgi-serif);letter-spacing:0}
.mangi-editorial .entry-content :is(.elementor-widget-text-editor,.elementor-widget-theme-post-content,.elementor-tab-content,.elementor-accordion .elementor-tab-content,.elementor-widget-text-editor .elementor-widget-container,p,li),
.mangi-editorial .entry-content :is(.elementor-widget-text-editor p,.elementor-tab-content p,.elementor-widget-text-editor span):not([class*="icon"]){font-family:var(--mgi-serif)!important;font-size:17px!important;line-height:25px!important;font-weight:400!important;letter-spacing:0!important;color:var(--mgi-ink)!important}
.mangi-editorial .entry-content .elementor-widget-text-editor p,.mangi-editorial .entry-content .elementor-tab-content p{margin-block:0 13px}
.mangi-editorial .entry-content :is(p,li) :is(b,strong){font-weight:700!important}
.mangi-editorial :is(.entry-content,.entry-header) :is(h1,h2,h3,h4),.mangi-editorial .entry-content .elementor-widget-heading .elementor-heading-title,.mangi-editorial .entry-content .elementor-widget-text-editor :is(h1,h2,h3,h4) span,.mangi-editorial .entry-content .elementor-widget-heading .elementor-heading-title span,.mangi-editorial .entry-header .entry-title{font-family:var(--mgi-sans)!important;font-weight:500!important;text-transform:uppercase!important;color:var(--mgi-ink)!important;letter-spacing:2px!important;line-height:1.43!important}
.mangi-editorial .entry-content :is(h1,h1.elementor-heading-title),.mangi-editorial .entry-header .entry-title{font-size:26px!important;line-height:35px!important;letter-spacing:2.6px!important}
.mangi-editorial .entry-content :is(h2,h2.elementor-heading-title){font-size:20px!important;line-height:29px!important}
.mangi-editorial .entry-content :is(h3,h4,h3.elementor-heading-title,h4.elementor-heading-title){font-size:17px!important;line-height:25px!important;letter-spacing:1.45px!important}
.mangi-editorial .entry-content .elementor-widget-heading .mgi-number,.mangi-editorial .entry-content .elementor-widget-heading .mgi-number span{font:400 48px/1.08 var(--mgi-serif)!important;letter-spacing:0!important;color:var(--mgi-red)!important}
.mangi-editorial .entry-content .elementor-widget-text-editor :is(figcaption,.wp-caption-text),.mangi-editorial .entry-content :is(figcaption,.widget-image-caption){font:400 14px/20px var(--mgi-serif)!important;color:#494943!important}
.mangi-editorial .entry-content .elementor-button {background-color:var(--mgi-red)!important;color:#fffefa!important;border:1px solid var(--mgi-red)!important;border-radius:0!important;font:500 12px/18px var(--mgi-sans)!important;letter-spacing:1px!important;text-transform:uppercase;text-decoration:none!important;padding:12px 19px!important}
.mangi-editorial .entry-content .elementor-button .elementor-button-text{font:inherit!important;color:inherit!important}
.mangi-editorial .entry-content .elementor-accordion-item{border-color:#cccac0!important}
.mangi-editorial .entry-content .elementor-tab-title,.mangi-editorial .entry-content .elementor-tab-content{background-color:var(--mgi-paper)!important}
.mangi-editorial .entry-content .elementor-accordion-title{font:500 15px/1.5 var(--mgi-sans)!important;letter-spacing:.55px!important;color:var(--mgi-ink)!important}
.mangi-editorial .entry-content :is(.elementor-top-section,.e-con.e-parent){background-color:transparent!important}
.mangi-editorial .entry-content .mgi-textrow>.elementor-container,.mangi-editorial .entry-content .mgi-titlerow>.elementor-container{width:min(calc(100% - 2 * var(--mgi-gutter)),1166px)!important;margin-inline:auto!important;max-width:none!important}
.mangi-editorial .entry-content .mgi-textrow .elementor-widget-text-editor{width:min(100%,var(--mgi-reading))!important;max-width:100%!important;margin-inline:auto!important;align-self:center}
.mangi-editorial .entry-content .mgi-textrow .elementor-widget-text-editor,.mangi-editorial .entry-content .mgi-textrow .elementor-widget-text-editor :is(p,li){text-align:left!important}
.mangi-editorial .entry-content .mgi-textrow .elementor-widget-text-editor>.elementor-widget-container{padding-inline:0!important;margin-inline:0!important}
.mangi-editorial .entry-content .mgi-textrow>.elementor-container>.elementor-column>.elementor-widget-wrap,.mangi-editorial .entry-content .mgi-titlerow>.elementor-container>.elementor-column>.elementor-widget-wrap{padding-inline:0!important}
.mangi-editorial .entry-content .mgi-titlerow{margin-block:0!important;padding-block:0!important}
.mangi-editorial .entry-content .mgi-titlerow .elementor-heading-title{width:min(100%,var(--mgi-reading));margin-inline:auto;text-align:left!important}
.mangi-editorial .entry-content .mgi-titlerow .elementor-widget-heading>.elementor-widget-container{padding:0!important;margin:0!important}
.mangi-editorial .entry-content .mgi-space{margin:0!important;padding:0!important;height:clamp(40px,6vw,80px)!important;min-height:0!important}
.mangi-editorial .entry-content .mgi-space>.elementor-container{display:none!important}
.mangi-editorial .entry-content .mgi-space+.mgi-space{display:none!important}
.mangi-editorial .entry-content .mgi-anchor,.mangi-editorial .entry-content [id^="mgi-"]{scroll-margin-top:38px}
.mangi-editorial .entry-content .mgi-phasegrid>.elementor-container{max-width:1166px;width:calc(100% - 2 * var(--mgi-gutter))}
.mangi-editorial .entry-content .mgi-phase-layout{display:grid;grid-template-columns:minmax(0,510px) minmax(0,1fr);align-items:center;gap:clamp(35px,8vw,110px)}
.mgi-phase-layout figure{margin:0}.mgi-phase-layout img{width:100%;height:auto;display:block}
.mangi-editorial .entry-content .mgi-phase-layout figcaption{margin-top:7px}
.mangi-editorial .entry-content .mgi-phasegrid .elementor-widget-text-editor{width:100%!important;max-width:none!important}
.mangi-editorial .entry-content .mgi-pair{width:min(calc(100% - 2 * var(--mgi-gutter)),1166px)!important;margin:clamp(44px,6vw,80px) auto!important}
.mangi-editorial .entry-content .mgi-pair>.elementor-container{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.88fr);gap:clamp(32px,8vw,118px);align-items:start;max-width:none;width:100%}
.mangi-editorial .entry-content .mgi-pair>.elementor-container>.elementor-column{width:100%!important}
.mangi-editorial .entry-content .mgi-pair>.elementor-container>.elementor-column:nth-child(2){margin-top:clamp(48px,9vw,148px)}
.mangi-editorial .entry-content .mgi-pair .elementor-widget-wrap{padding:0!important}
.mangi-editorial .entry-content .mgi-pair .elementor-widget-image>.elementor-widget-container{margin:0!important;padding:0!important}
.mgi-pair-dots{display:none}
.mangi-editorial .mgi-project-lead{width:min(calc(100% - 2 * var(--mgi-gutter)),1166px);margin:18px auto 28px;text-align:left}
.mangi-editorial .entry-content .mgi-project-lead p{margin:0;max-width:670px}
.mangi-editorial .entry-content .mgi-open-photo{width:min(calc(100% - 2 * var(--mgi-gutter)),1166px)!important;margin:30px auto!important}
.mangi-editorial .entry-content .mgi-open-photo .elementor-container{max-width:none;width:100%}
.mangi-editorial .entry-content .mgi-open-photo :is(.elementor-widget-wrap,.elementor-widget-container){padding:0!important;margin:0!important}
.mangi-editorial .mgi-open-photo img{width:100%!important;height:auto}
.mangi-editorial .elementor-location-footer,.mangi-editorial .elementor-location-footer :is(.elementor-section,.elementor-widget-wrap,.elementor-widget-container){background-color:var(--mgi-sky)!important}
.mangi-editorial .elementor-location-footer :is(p,a,span.elementor-icon-list-text){font:400 14px/21px var(--mgi-serif)!important;color:#111!important;letter-spacing:0!important}
.mangi-editorial .elementor-location-footer a:focus-visible{outline-color:#111!important}
.mangi-editorial .elementor-location-footer a:hover{text-decoration:underline}
.mangi-editorial .elementor-location-footer svg{fill:currentColor}
@media(max-width:850px){
 .mgi-header-inner{min-height:68px;padding:7px 18px;gap:8px}.mgi-header .mgi-seal{width:44px;height:46px}.mgi-brand{gap:9px}.mgi-name{font-size:clamp(21px,5.5vw,31px)}
 .mgi-desktop-nav{display:none}.mgi-mobile-nav{display:block}.mgi-mobile-nav summary{width:44px;height:44px;display:grid;align-content:center;justify-items:center;gap:4px;cursor:pointer;list-style:none}
 .mgi-mobile-nav summary::-webkit-details-marker{display:none}.mgi-mobile-nav summary span{width:22px;height:1.5px;background:#141411}
 .mgi-mobile-nav nav{position:absolute;inset:auto 0 auto;background:var(--mgi-cream);top:100%;border-block:1px solid #59554c;padding:9px 22px 14px}
 .mgi-mobile-nav nav a{display:block;padding:12px 9px}.mgi-index{gap:8px 18px;padding:13px 15px}.mangi-editorial .mgi-index a{font-size:10px!important;letter-spacing:.7px!important}
}
@media(max-width:767px){
 .mangi-editorial{--mgi-gutter:clamp(22px,7.6vw,30px)}
 .mgi-cover>a>img{height:auto;aspect-ratio:4/3;object-fit:cover}
 .mgi-cover-text{grid-template-columns:1fr;gap:15px;padding:26px var(--mgi-gutter) 30px}
 .mgi-cover-text p,.mgi-cover a.mgi-link{font-size:16px!important;line-height:24px!important}.mgi-cover-text .mgi-kicker{font:500 12px/17px var(--mgi-sans)!important}.mgi-cover-text .mgi-cover-name{font:400 32px/36px var(--mgi-serif)!important;margin-bottom:0}
 .mangi-editorial .entry-content :is(.elementor-widget-text-editor,.elementor-widget-theme-post-content,.elementor-tab-content,.elementor-accordion .elementor-tab-content,.elementor-widget-text-editor .elementor-widget-container,p,li),.mangi-editorial .entry-content :is(.elementor-widget-text-editor p,.elementor-tab-content p,.elementor-widget-text-editor span):not([class*="icon"]){font-size:16px!important;line-height:24px!important}
 .mangi-editorial .entry-content :is(h1,h1.elementor-heading-title),.mangi-editorial .entry-header .entry-title{font-size:19px!important;line-height:27px!important;letter-spacing:1.8px!important}
 .mangi-editorial .entry-content :is(h2,h2.elementor-heading-title){font-size:16px!important;line-height:24px!important;letter-spacing:1.4px!important}
 .mangi-editorial .entry-content :is(h3,h4,h3.elementor-heading-title,h4.elementor-heading-title){font-size:15px!important;line-height:23px!important;letter-spacing:1.2px!important}
 .mangi-editorial .entry-content .elementor-widget-heading .mgi-number,.mangi-editorial .entry-content .elementor-widget-heading .mgi-number span{font-size:36px!important}
 .mangi-editorial .entry-content .mgi-phase-layout{grid-template-columns:1fr;gap:20px}
 .mangi-editorial .entry-content .mgi-pair>.elementor-container{display:flex;flex-flow:row nowrap;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:thin;gap:12px}
 .mangi-editorial .entry-content .mgi-pair>.elementor-container>.elementor-column{flex:none;width:100%!important;scroll-snap-align:start}
 .mangi-editorial .entry-content .mgi-pair>.elementor-container>.elementor-column:nth-child(2){margin-top:0}
 .mgi-pair-dots{display:flex;justify-content:center;gap:0}.mgi-pair-dots button{width:44px;height:44px;display:grid;place-items:center;background:transparent!important;padding:0;border:0}
 .mgi-pair-dots button::after{content:"";width:8px;height:8px;border:1px solid #555;border-radius:100%}.mgi-pair-dots button[aria-current=true]::after{background:var(--mgi-red);border-color:var(--mgi-red)}
 .mangi-editorial .entry-content .mgi-space{height:44px!important}
 body.mangi-editorial:is(.page-id-404,.page-id-412) .entry-content .elementor-element-4fdb0ea.elementor-hidden-mobile{display:block!important}
}
@media(prefers-reduced-motion:reduce){.mangi-editorial .mgi-pair *,.mangi-editorial .mgi-cover *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}


/* Jerarquía de lectura compartida por Elementor, Astra y los bloques de WordPress. */
body.mangi-editorial #content {
  --mgi-title-size: 26px; --mgi-title-leading: 35px;
  --mgi-section-size: 20px; --mgi-section-leading: 29px;
  --mgi-sub-size: 17px; --mgi-sub-leading: 25px;
}
body.mangi-editorial #content #primary :is(h1,h2,h3,h4):not(.mgi-number),
body.mangi-editorial #content #primary :is(h1,h2,h3,h4):not(.mgi-number) :is(span,strong,em) {
  font-family: var(--mgi-sans) !important; font-weight: 500 !important;
}
body.mangi-editorial #content #primary h1:not(.mgi-number) { font-size:var(--mgi-title-size)!important; line-height:var(--mgi-title-leading)!important; letter-spacing:.095em!important; }
body.mangi-editorial #content #primary h2:not(.mgi-number) { font-size:var(--mgi-section-size)!important; line-height:var(--mgi-section-leading)!important; letter-spacing:.09em!important; }
body.mangi-editorial #content #primary :is(h3,h4):not(.mgi-number) { font-size:var(--mgi-sub-size)!important; line-height:var(--mgi-sub-leading)!important; letter-spacing:.075em!important; }
body.mangi-editorial #content #primary :is(h1,h2,h3,h4):not(.mgi-number) :is(span,strong,em) { font-size:inherit!important; line-height:inherit!important; letter-spacing:inherit!important; }
body.mangi-editorial #primary .mgi-document-title { width:min(calc(100% - 56px),var(--mgi-reading)); margin:clamp(35px,5vw,70px) auto 22px; color:var(--mgi-ink); text-transform:uppercase; }
body.mangi-editorial #primary .post-navigation { margin:30px auto 70px; padding:16px 0 0; width:min(calc(100% - 56px),980px); border-top:1px solid #c9c4b8; }
body.mangi-editorial #primary :is(.post-navigation,.comment-respond) a { font:400 16px/24px var(--mgi-serif)!important; color:var(--mgi-red)!important; text-decoration:underline; text-underline-offset:3px; }
body.mangi-editorial #primary .post-navigation a span { font:inherit!important; color:inherit!important; }
body.mangi-editorial #primary .comment-respond :is(p,label,textarea) { font:400 16px/24px var(--mgi-serif); color:var(--mgi-ink); }
body.mangi-editorial #post-1825 .entry-content :is(p,h2) { max-width:var(--mgi-reading); }
body.mangi-editorial #post-1825 .entry-content figcaption { font:400 14px/20px var(--mgi-serif)!important; }
body.mangi-editorial #post-1316 .entry-content h2 { border-top:1px solid #c9c4b8; padding-top:18px; }
body.mangi-editorial #content #primary .elementor-form :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]),select,textarea) {
  font:400 17px/1.45 var(--mgi-serif)!important; color:var(--mgi-ink)!important; background:var(--mgi-paper)!important; border:1px solid #928b7c!important; border-radius:0!important; padding:10px 14px!important; min-height:46px;
}
body.mangi-editorial #primary .elementor-form ::placeholder { color:#56524c; opacity:1; }
body.mangi-editorial #primary .elementor-form .elementor-field-option a { font:inherit!important; color:var(--mgi-red)!important; text-decoration:underline!important; text-underline-offset:3px; }
body.mangi-editorial #primary .elementor-form :is(input[type=checkbox],input[type=radio]) { accent-color:var(--mgi-red); }
/* Las dos casas principales forman una doble página. Las estancias llevan el título al pie. */
body.mangi-editorial #post-13 .elementor-widget-text-editor:has(.mb-casas-destacadas) { width:min(100%,1080px)!important; }
body.mangi-editorial #post-13 .mb-casas-destacadas { display:grid!important; grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr); gap:clamp(30px,6vw,84px)!important; margin:0 auto 60px; }
body.mangi-editorial #post-13 .mb-casas-destacadas > div { width:100%!important; min-width:0!important; }
body.mangi-editorial #post-13 .mb-casas-destacadas > div:nth-child(2) { margin-top:clamp(32px,5vw,80px); }
body.mangi-editorial #post-13 .mb-casas-destacadas > div h2 { margin:16px 0 10px; }
body.mangi-editorial #post-13 .elementor-widget-container:has(> .mb-casas-destacadas) > :is(h2,p) { max-width:var(--mgi-reading); margin-inline:auto; }
body.mangi-editorial #post-13 .anwp-pg-simple-grid { display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(32px,4vw,56px) clamp(24px,4vw,62px); margin:0!important; }
body.mangi-editorial #post-13 .anwp-pg-post-teaser { width:auto!important; margin:0!important; padding:0!important; min-width:0; }
body.mangi-editorial #post-13 .anwp-pg-post-teaser__thumbnail { height:auto!important; }
body.mangi-editorial #post-13 .anwp-pg-post-teaser__thumbnail-img { width:100%!important; height:auto!important; aspect-ratio:4/3; object-fit:cover; }
body.mangi-editorial #post-13 :is(.anwp-pg-post-teaser__top-meta,.anwp-pg-post-teaser__muted_bg,.anwp-pg-post-teaser__thumbnail-bg) { display:none!important; }
body.mangi-editorial #post-13 .anwp-pg-post-teaser__content { position:static!important; height:auto!important; background:transparent!important; }
body.mangi-editorial #post-13 .anwp-pg-post-teaser__bottom-block { width:100%!important; background:transparent!important; margin:0!important; padding:12px 0 0!important; }
body.mangi-editorial #post-13 .anwp-pg-post-teaser__title { text-align:left!important; font:500 14px/21px var(--mgi-sans)!important; letter-spacing:.075em!important; color:var(--mgi-ink)!important; padding:0!important; white-space:normal!important; }
body.mangi-editorial #post-13 .anwp-pg-post-teaser:is(:hover,:focus-within) .anwp-pg-post-teaser__title { color:var(--mgi-red)!important; text-decoration:underline; text-underline-offset:3px; }
/* El enlace de cada fotografía conserva el visor original de Elementor. */
body.mangi-editorial #primary .mgi-room-gallery { display:grid!important; grid-template-columns:minmax(0,1fr) minmax(0,.88fr)!important; gap:clamp(35px,5vw,72px); height:auto!important; padding:0!important; align-items:start; }
body.mangi-editorial #primary .mgi-room-gallery > .e-gallery-item { position:relative!important; inset:auto!important; transform:none!important; width:100%!important; height:auto!important; padding:0!important; min-height:0; display:block; }
body.mangi-editorial #primary .mgi-room-gallery > .e-gallery-item:nth-child(even) { margin-top:clamp(30px,4vw,62px); }
body.mangi-editorial #primary .mgi-room-gallery > .e-gallery-item:only-child { grid-column:1/-1; max-width:800px; margin-inline:auto; }
body.mangi-editorial #primary .mgi-room-gallery .e-gallery-image { display:none!important; }
body.mangi-editorial #primary .mgi-room-photo { display:block; width:100%; height:auto; }
body.mangi-editorial #primary article:has(.mgi-room-gallery) .entry-header:has(h1) { width:min(100%,980px); margin:0 auto clamp(28px,4vw,58px); }
@media (max-width:767px) {
  body.mangi-editorial #content { --mgi-title-size:19px; --mgi-title-leading:27px; --mgi-section-size:16px; --mgi-section-leading:24px; --mgi-sub-size:15px; --mgi-sub-leading:22px; }
  body.mangi-editorial #post-13 :is(.mb-casas-destacadas,.anwp-pg-simple-grid), body.mangi-editorial #primary .mgi-room-gallery { grid-template-columns:minmax(0,1fr)!important; gap:34px!important; }
  body.mangi-editorial #post-13 .mb-casas-destacadas > div:nth-child(2), body.mangi-editorial #primary .mgi-room-gallery > .e-gallery-item:nth-child(even) { margin-top:0; }
  body.mangi-editorial #primary .mgi-document-title { margin-top:32px; }
}

.mangi-editorial .mgi-room-controls { display:none; }
@media (max-width:767px) {
  body.mangi-editorial #primary .mgi-room-gallery:has(+ .mgi-room-controls) { display:flex!important; flex-wrap:nowrap!important; gap:12px!important; overflow-x:auto!important; scroll-snap-type:x mandatory; scrollbar-width:thin; align-items:start; }
  body.mangi-editorial #primary .mgi-room-gallery:has(+ .mgi-room-controls) > .e-gallery-item { flex:0 0 100%; max-width:100%; min-width:0; scroll-snap-align:start; }
  body.mangi-editorial #primary .mgi-room-controls { display:flex; flex-wrap:wrap; justify-content:center; align-items:center; }
  body.mangi-editorial #primary .mgi-room-controls button { display:grid; place-items:center; padding:0!important; width:44px; height:44px; border:0!important; border-radius:0; background:transparent!important; }
  body.mangi-editorial #primary .mgi-room-controls button::after { content:''; display:block; width:8px; height:8px; border:1px solid #6b635b; border-radius:50%; }
  body.mangi-editorial #primary .mgi-room-controls button[aria-current=true]::after { background:var(--mgi-red); border-color:var(--mgi-red); }
}


/* Portada: fotografías y pies del carrusel. */
#mgi-portada {
  margin:0 auto 4rem!important;
  max-width:none!important;
  width:100%!important;
  background:#fffefa;
  color:#191814;
}

#mgi-portada figure {
  margin:0;
  padding:0;
  max-width:none;
}

#mgi-portada figure[hidden] {
  display:none!important;
}

#mgi-portada .mb-escena {
  display:block;
  width:100%;
  height:clamp(340px,51vw,74svh);
  object-fit:cover;
}

#mgi-portada .mb-lower {
  width:min(88%,1210px);
  margin:0 auto;
  padding:24px 0 0;
  display:grid;
  grid-template-columns: minmax(0,1.05fr) minmax(0,1fr);
  column-gap:9%;
  align-items:start;
}

#mgi-portada .mb-label {
  display:block;
  font:500 11px/1.6 'Mangi Raleway',Raleway,Arial,sans-serif;
  letter-spacing:1.6px;
  text-transform:uppercase;
  margin-bottom:6px;
}

#mgi-portada .mb-title {
  font:500 clamp(20px,2.2vw,29px)/1.35 'Mangi Raleway',Raleway,Arial,sans-serif;
  letter-spacing: .075em;
  text-transform:uppercase;
}

#mgi-portada .mb-copy,#mgi-portada .mb-copy a {
  font:400 18px/1.42 'Mangi Garamond',Garamond,Georgia,serif;
}

#mgi-portada .mb-copy a {
  display:table;
  color:#873836;
  text-decoration:underline;
  text-underline-offset:3px;
  margin-top:8px;
}

#mgi-portada .mb-controls {
  width:min(88%,1210px);
  margin:15px auto 0;
  display:flex;
  align-items:center;
  gap:8px;
}

#mgi-portada button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  min-width:42px;
  padding:3px 8px;
  background:transparent;
  color:#24221f;
  border:1px solid #bcae9e;
  border-radius:0;
  font:500 13px/1.3 'Mangi Raleway',Arial,sans-serif;
}

#mgi-portada button:hover,#mgi-portada button:focus-visible {
  background:#ede2d7;
}

#mgi-portada [data-num] {
  font:14px/1.2 'Mangi Garamond',Georgia,serif;
  min-width:33px;
  text-align:center;
}

#mgi-portada .mb-enter {
  animation:mgi-portada-entrada .65s ease-out;
}

@keyframes mgi-portada-entrada {
  from {
    opacity:.55;
  }
  to {
    opacity:1;
  }
}

@media(max-width:700px) {
  #mgi-portada .mb-escena {
    height:auto;
    aspect-ratio:4/3;
  }
  #mgi-portada .mb-lower {
    width:calc(100% - 56px);
    grid-template-columns:1fr;
    gap:9px;
    padding-top:20px;
  }
  #mgi-portada .mb-controls {
    width:calc(100% - 56px);
  }
  #mgi-portada .mb-copy,#mgi-portada .mb-copy a {
    font-size:16px;
  }
}

@media(prefers-reduced-motion:reduce) {
  #mgi-portada .mb-enter {
    animation:none;
  }
}

#mgi-portada .mb-controls[hidden] { display: none !important; }
