/* v1.2.1 — Global chrome and card layout corrections.
   Header/footer belong to theme, not editable page content. */
:root { --ao-chrome-height: 78px; }
body .ao-header {
    display:block!important; visibility:visible!important; opacity:1!important;
    position:relative; z-index:999; width:100%; min-height:var(--ao-chrome-height);
    background:var(--ao-user-header,#ffffff); border-bottom:1px solid #e9dee6;
}
body .ao-header-row { display:flex!important; align-items:center; width:100%; min-height:var(--ao-chrome-height); }
body .ao-header .ao-site-brand { display:flex!important; flex:0 0 auto; opacity:1!important; }
body .ao-header .ao-site-brand img { display:block!important; height:auto!important; width:min(250px,42vw); max-width:100%; }
body .ao-footer {
    display:block!important; visibility:visible!important; opacity:1!important;
    position:relative; width:100%; clear:both; background:var(--ao-user-footer,#211c27);
    color:#f1eaf0; padding-top:56px; padding-bottom:22px;
}
body .ao-footer .ao-footer-main { display:grid!important; align-items:start; }
body .ao-footer .ao-footer-meta { display:flex; }
/* Fix blank space under price strip in cards of differing content length. */
body.page-template-landing-formacion .ao-services-grid {align-items:stretch!important}
body.page-template-landing-formacion .ao-service-col {display:flex!important;align-self:stretch;min-width:0}
body.page-template-landing-formacion .ao-service-card {
    width:100%;height:100%!important;display:grid!important;
    grid-template-rows:minmax(0,1fr) auto!important; align-content:stretch;
    overflow:hidden;
}
body.page-template-landing-formacion .ao-service-card > .ao-card-main {grid-row:1;min-height:0}
body.page-template-landing-formacion .ao-service-card > .ao-card-foot {
    grid-row:2;align-self:end;width:100%;min-height:0;
    margin:0!important;padding-bottom:25px!important; background:#fff7fb!important;
    border-top:1px solid #eadde7;
}
body.page-template-landing-formacion .ao-card-foot .ao-price-box {margin:0!important}
body.page-template-landing-formacion .ao-card-foot .ao-price {margin:4px 0 0!important}
body.page-template-landing-formacion .ao-card-foot .ao-card-cta {margin-top:0!important}
/* Readable and fully visible consent / action button. */
body .ao-cf7-form input[type=submit],body .ao-cf7-form .ao-form-submit {
    display:block!important;width:100%!important; background:#87476d!important;
    color:#fff!important;opacity:1!important;visibility:visible!important;
    border:0!important;min-height:56px;cursor:pointer;font-weight:800;
}
body .ao-cf7-form input[type=submit]:hover,body .ao-cf7-form .ao-form-submit:hover{background:#68304f!important}
@media(max-width:800px){
 :root{--ao-chrome-height:72px}
 body .ao-header-row {flex-wrap:wrap}
 body .ao-nav-toggle {display:inline-flex!important;margin-left:auto}
 body .ao-navigation {order:3;flex:0 0 100%;display:none}
 body .ao-navigation[data-open=true] {display:block!important}
 body .ao-footer .ao-footer-main {grid-template-columns:1fr 1fr!important}
 body .ao-footer .ao-footer-about {grid-column:1/-1}
}
@media(max-width:550px){
 body .ao-site-brand img{max-width:190px!important}
 body .ao-footer .ao-footer-main{grid-template-columns:1fr!important;gap:25px!important}
 body .ao-footer .ao-footer-about{grid-column:auto!important}
 body .ao-footer{padding:40px 0 24px}
 body.page-template-landing-formacion .ao-services-grid{gap:18px!important}
}
