/* Singles con Hijos · FINAL MASTER 2.0.3
   One last layout authority. Presentation only; Marga logic/values untouched. */

/* === 1. Public editorial pages: one canvas, one rhythm === */
body.sch-wow-2.vmon-editorial-route:not(.vmon-marga-page){overflow-x:hidden;background:#fff}
body.sch-wow-2.vmon-editorial-route:not(.vmon-marga-page) :where(.vmon-shell,.cth-shell){
  box-sizing:border-box!important;
  width:min(calc(100% - 40px),1180px)!important;
  max-width:1180px!important;
  margin-left:auto!important;margin-right:auto!important;
}
body.sch-wow-2.cth-standard-page :where(.vmon380-story__frame,.cth-native-editorial__content,.vmon-editorial__content--legacy-safe){
  box-sizing:border-box!important;
  width:100%!important;max-width:920px!important;
  margin-left:auto!important;margin-right:auto!important;
}
body.sch-wow-2.cth-standard-page :where(.vmon380-story__copy,.cth-native-editorial__content,.vmon-editorial__content--legacy-safe){
  width:100%!important;max-width:820px!important;
  margin-left:auto!important;margin-right:auto!important;
  color:#33445d!important;font-size:clamp(1rem,.96rem + .18vw,1.09rem)!important;line-height:1.78!important;
}
body.sch-wow-2.cth-standard-page :where(.vmon380-story__copy,.cth-native-editorial__content,.vmon-editorial__content--legacy-safe) :where(h2,h3,h4){
  color:#071a3e!important;letter-spacing:-.035em!important;text-wrap:balance;margin-left:0!important;margin-right:0!important;
}
body.sch-wow-2.cth-standard-page :where(.vmon380-story__copy,.cth-native-editorial__content,.vmon-editorial__content--legacy-safe) h2{font-size:clamp(2rem,4vw,3.65rem)!important;line-height:1!important;margin-top:1.35em!important;margin-bottom:.42em!important}
body.sch-wow-2.cth-standard-page :where(.vmon380-story__copy,.cth-native-editorial__content,.vmon-editorial__content--legacy-safe) h3{font-size:clamp(1.5rem,2.5vw,2.25rem)!important;line-height:1.05!important;margin-top:1.45em!important;margin-bottom:.45em!important}
body.sch-wow-2.cth-standard-page :where(.vmon380-story__copy,.cth-native-editorial__content,.vmon-editorial__content--legacy-safe) :where(p,ul,ol,blockquote){max-width:72ch!important}
body.sch-wow-2.cth-standard-page :where(.vmon380-story__copy,.cth-native-editorial__content,.vmon-editorial__content--legacy-safe) p{margin:0 0 1.35em!important}

/* Old Colibri geometry becomes content, never the canvas. */
body.sch-wow-2.cth-standard-page :where(.vmon380-story__copy,.cth-native-editorial__content,.vmon-editorial__content--legacy-safe) :where(
 .h-section,.h-section-grid-container,.h-row-container,.h-row,.h-column,.h-column-container,.h-column__inner,.h-column__content,
 .h-y-container,.h-x-container,.h-x-container-inner,.wp-block-group,.wp-block-columns,.wp-block-column
){position:static!important;float:none!important;left:auto!important;right:auto!important;transform:none!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
body.sch-wow-2.cth-standard-page :where(.vmon380-story__copy,.cth-native-editorial__content,.vmon-editorial__content--legacy-safe) :where(.alignleft,.alignright){float:none!important;margin:1.7em auto!important}
body.sch-wow-2.cth-standard-page :where(.vmon380-story__copy,.cth-native-editorial__content,.vmon-editorial__content--legacy-safe) :where(img,figure,video,iframe){display:block!important;float:none!important;max-width:100%!important;height:auto!important;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box!important}
body.sch-wow-2.cth-standard-page :where(.vmon380-story__copy,.cth-native-editorial__content,.vmon-editorial__content--legacy-safe) img{border-radius:22px!important}
body.sch-wow-2.cth-standard-page .vmon380-story{padding:clamp(50px,6vw,82px) 0!important}
body.sch-wow-2.cth-standard-page .vmon380-story:nth-child(even){background:#f6f8fc!important}

/* Hero consistency */
body.sch-wow-2 .vmon-editorial-hero{padding:clamp(52px,7vw,88px) 0!important}
body.sch-wow-2 .vmon-editorial-hero__grid{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(300px,.82fr)!important;gap:clamp(30px,5vw,64px)!important;align-items:center!important}
body.sch-wow-2 .vmon-editorial-hero h1{max-width:14ch!important;font-size:clamp(3rem,5.6vw,5.9rem)!important;line-height:.9!important;letter-spacing:-.06em!important}
body.sch-wow-2 .vmon-editorial-hero__media{width:100%!important;max-width:560px!important;aspect-ratio:4/3!important;border-radius:24px!important;overflow:hidden!important}
body.sch-wow-2 .vmon-editorial-hero__media img{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:0!important}

/* === 2. CONTACT PAGE — exact public slug now routes here === */
body.sch-wow-2.vmon-contact-route main#main{background:#f5f8fb!important;padding:0 0 clamp(54px,7vw,92px)!important}
body.sch-wow-2.vmon-contact-route .vmon380-contact-page{width:100%!important;max-width:none!important;margin:0!important;float:none!important}
body.sch-wow-2.vmon-contact-route .vmon380-compact-hero{padding:clamp(50px,6vw,82px) 0 34px!important}
body.sch-wow-2.vmon-contact-route .vmon380-contact-form{display:block!important;width:100%!important;clear:both!important;padding:0!important}
body.sch-wow-2.vmon-contact-route .vmon380-contact-form .vmon-shell{width:min(calc(100% - 40px),1180px)!important;max-width:1180px!important;margin:0 auto!important}
body.sch-wow-2.vmon-contact-route .vmon380-contact-form__surface{display:block!important;width:100%!important;max-width:980px!important;margin:0 auto!important;padding:clamp(18px,2.6vw,30px)!important;background:#fff!important;border:1px solid rgba(7,26,62,.1)!important;border-radius:26px!important;box-shadow:0 18px 55px rgba(7,26,62,.08)!important;overflow:visible!important}
body.sch-wow-2.vmon-contact-route .vmon-marga--contact{display:block!important;width:100%!important;max-width:none!important;margin:0!important;float:none!important;clear:both!important}
body.sch-wow-2.vmon-contact-route #contacto-form{display:block!important;position:static!important;float:none!important;clear:both!important;width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;padding:clamp(18px,2.6vw,30px)!important;box-sizing:border-box!important;background:#fff!important;border:0!important;border-radius:18px!important;transform:none!important}
body.sch-wow-2.vmon-contact-route #contacto-form :where(.h-section,.h-section-grid-container,.h-row-container,.h-row,.row){width:100%!important;max-width:100%!important;min-width:0!important;margin-left:0!important;margin-right:0!important;box-sizing:border-box!important}
body.sch-wow-2.vmon-contact-route #contacto-form :where(.h-row,.row){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px 18px!important;align-items:start!important}
body.sch-wow-2.vmon-contact-route #contacto-form :where(.h-row,.row)>*{float:none!important;width:auto!important;max-width:none!important;min-width:0!important;margin:0!important;padding:0!important;box-sizing:border-box!important}
body.sch-wow-2.vmon-contact-route #contacto-form :where(.h-row,.row)>:only-child{grid-column:1/-1!important}
body.sch-wow-2.vmon-contact-route #contacto-form :where(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]),select,textarea,.select2-container){display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
body.sch-wow-2.vmon-contact-route #contacto-form textarea{min-height:150px!important}
body.sch-wow-2.vmon-contact-route #contacto-form :where(button,input[type=submit],.md-btn){min-height:48px!important}

/* === 3. Nested Marga trip contact: never left of trip media === */
body.sch-wow-2.cth-marga-trip-contact :where(.md-template,.h-section-grid-container,.h-row-container,.h-row):has(#contacto-form){display:block!important;width:100%!important;max-width:1240px!important;margin-left:auto!important;margin-right:auto!important;float:none!important;clear:both!important}
body.sch-wow-2.cth-marga-trip-contact :where(.h-column,.h-column-container,.h-column__inner,.h-column__content,.h-y-container):has(#contacto-form){display:block!important;position:static!important;float:none!important;clear:both!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:0!important;transform:none!important}
body.sch-wow-2.cth-marga-trip-contact #contacto-form{display:block!important;position:static!important;float:none!important;clear:both!important;width:min(calc(100% - 32px),980px)!important;max-width:980px!important;margin:34px auto 72px!important;padding:clamp(22px,3vw,38px)!important;background:#fff!important;border:1px solid rgba(7,26,62,.1)!important;border-radius:24px!important;box-shadow:0 18px 52px rgba(7,26,62,.08)!important;transform:none!important;box-sizing:border-box!important}
body.sch-wow-2.cth-marga-trip-contact #contacto-form :where(.h-row,.row){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px 18px!important;width:100%!important;max-width:100%!important;margin:0 0 14px!important}
body.sch-wow-2.cth-marga-trip-contact #contacto-form :where(.h-row,.row)>*{float:none!important;width:auto!important;max-width:none!important;min-width:0!important;margin:0!important;padding:0!important}
body.sch-wow-2.cth-marga-trip-contact #contacto-form :where(.h-row,.row)>:only-child{grid-column:1/-1!important}
body.sch-wow-2.cth-marga-trip-contact #contacto-form :where(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]),select,textarea,.select2-container){width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}

@media(max-width:900px){
 body.sch-wow-2 .vmon-editorial-hero__grid{grid-template-columns:1fr!important}
 body.sch-wow-2 .vmon-editorial-hero__media{max-width:720px!important}
}
@media(max-width:700px){
 body.sch-wow-2.vmon-editorial-route:not(.vmon-marga-page) :where(.vmon-shell,.cth-shell){width:min(calc(100% - 24px),1180px)!important}
 body.sch-wow-2.vmon-contact-route .vmon380-contact-form .vmon-shell{width:min(calc(100% - 20px),1180px)!important}
 body.sch-wow-2.vmon-contact-route .vmon380-contact-form__surface{padding:8px!important;border-radius:18px!important}
 body.sch-wow-2.vmon-contact-route #contacto-form,
 body.sch-wow-2.cth-marga-trip-contact #contacto-form{padding:18px 14px 22px!important;border-radius:18px!important}
 body.sch-wow-2.vmon-contact-route #contacto-form :where(.h-row,.row),
 body.sch-wow-2.cth-marga-trip-contact #contacto-form :where(.h-row,.row){grid-template-columns:1fr!important;gap:12px!important}
 body.sch-wow-2 .vmon-editorial-hero{padding:42px 0 50px!important}
 body.sch-wow-2 .vmon-editorial-hero h1{font-size:clamp(2.55rem,12vw,4rem)!important}
}
