/* Academia OPE v1.5.0 | Compact single-row header, editorial balance & check motif */
:root{--ao-muted:#536572;--ao-container:1180px;--ao-radius:14px;--ao-space:clamp(52px,6.8vw,86px)}
body{font-weight:400;color:var(--ao-dark)}
.ao-front h1,.ao-landing h1{font-weight:700;letter-spacing:-.04em}
.ao-front h2,.ao-landing h2,.ao-front h3,.ao-landing h3{font-weight:700;letter-spacing:-.035em}
.ao-front .ao-eyebrow,.ao-landing .ao-eyebrow{font-weight:650}
.ao-front .ao-text-link,.ao-front .ao-areas-v13 .ao-text-link,.ao-person-body .ao-text-link{font-weight:650}
.ao-button,.ao-header-cta,.wp-block-button__link{font-weight:650}
/* One row: real custom logo + editable WP menu + platform link. */
.ao-site-header.ao-header-v15{position:sticky;top:0;z-index:300;background:#fff;border-bottom:1px solid #e3e5e9;box-shadow:0 2px 12px rgba(17,38,50,.055);transition:box-shadow .15s}
.ao-site-header.ao-header-v15.is-scrolled{box-shadow:0 9px 26px rgba(22,41,51,.14)}
.admin-bar .ao-site-header.ao-header-v15{top:32px}
.ao-header-one-row{display:flex;align-items:center;gap:clamp(15px,2vw,26px);min-height:82px}
.ao-header-v15 .ao-brand{flex-shrink:0}
.ao-header-v15 .ao-logo img,.ao-header-v15 .custom-logo{width:min(var(--ao-logo-width,210px),100%);height:auto;max-height:68px;object-fit:contain}
.ao-header-v15 .ao-nav{margin:0 0 0 auto;flex:0 1 auto;min-width:0}
.ao-header-v15 .ao-menu{display:flex;align-items:center;gap:clamp(12px,1.45vw,23px);flex-wrap:nowrap}
.ao-header-v15 .ao-menu>li{flex:0 0 auto}
.ao-header-v15 .ao-menu>li>a{font-size:clamp(.85rem,1vw,.94rem);font-weight:600;line-height:1.35;padding:29px 0;color:var(--ao-dark);white-space:nowrap}
.ao-header-v15 .ao-menu>li>a:hover,.ao-header-v15 .ao-menu .current-menu-item>a{color:var(--ao-primary)}
.ao-header-v15 .ao-menu .sub-menu{min-width:218px;background:#fff;border-color:#e7e6e9}
.ao-header-v15 .ao-menu .sub-menu a{color:var(--ao-dark);font-size:.93rem;font-weight:550;white-space:normal;padding:12px 14px}
.ao-header-v15 .ao-menu .sub-menu a:hover{background:#fbecf4}
.ao-header-v15 .ao-platform-cta{display:inline-flex!important;gap:8px;flex-shrink:0;background:var(--ao-primary);border-color:var(--ao-primary);color:white!important;border-radius:9px;padding:13px 16px;font-size:.88rem;font-weight:650;letter-spacing:0;text-transform:none;white-space:nowrap;margin:0}
.ao-header-v15 .ao-platform-cta:hover{background:var(--ao-primary-dark);border-color:var(--ao-primary-dark)}
.ao-header-v15 .ao-menu-toggle{display:none}
/* Fix visibility of hero even if a plugin/theme style applies generic dark colors. */
.ao-front .ao-hero h1,.ao-front .ao-hero .ao-hero-copy h1,.ao-landing .ao-hero h1{color:#fff!important;opacity:1!important;visibility:visible!important}
.ao-front .ao-hero .ao-lead,.ao-front .ao-hero .ao-hero-copy p:not(.ao-eyebrow){color:#e9eff3!important;opacity:1!important;visibility:visible!important}
.ao-front .ao-hero .ao-eyebrow,.ao-landing .ao-hero .ao-eyebrow{color:#f4acd0!important;opacity:1!important}
.ao-front .ao-hero .ao-hero-visual *{visibility:visible}
/* The brand check replaces decorative circles. */
.ao-front .ao-hero::before,.ao-landing .ao-hero::before{content:''!important;position:absolute!important;inset:auto 1% 6% auto!important;width:min(25vw,290px)!important;height:min(25vw,290px)!important;background:url('../images/ao-check.svg') center / contain no-repeat!important;opacity:.105!important;border:0!important;border-radius:0!important;box-shadow:none!important;transform:rotate(-10deg);pointer-events:none!important}
.ao-front .ao-hero::after,.ao-landing .ao-hero::after{content:none!important}
.ao-hero-visual::after{content:'✓'!important;color:var(--ao-primary)!important;font-size:60px!important;font-weight:600!important}
.ao-areas-grid .ao-area-card::before{content:''!important;position:absolute!important;top:10px!important;right:14px!important;width:110px!important;height:110px!important;background:url('../images/ao-check.svg') center / contain no-repeat!important;border:none!important;border-radius:0!important;opacity:.16!important;z-index:0!important}
.ao-areas-grid .ao-area-card::after{content:none!important}
.ao-areas-grid .ao-area-card>*{position:relative;z-index:1}
.ao-sar-grid .ao-sar-step::before{content:'✓'!important;border:0!important;border-radius:0!important;color:#f0b2d0!important;font-size:54px!important;font-weight:600!important;opacity:.38!important;top:12px!important;right:20px!important}
.ao-front .ao-home-benefits::after{content:'✓'!important;font-size:260px!important;color:rgba(204,102,153,.19)!important}
.ao-landing .ao-signup::after{content:none!important}
/* Lower vertical repetition and align the home to a clear rhythm */
.ao-front .ao-body>.wp-block-group:not(.ao-hero){padding-block:var(--ao-space)!important}
.ao-front .ao-body>.ao-home-benefits{padding-block:clamp(50px,6.5vw,78px)!important}
.ao-front .ao-hero{min-height:min(650px,80vh)!important;padding-block:clamp(64px,7vw,95px)!important}
.ao-front .ao-formation-v13>h2{font-size:clamp(32px,3.6vw,49px)!important;max-width:760px}
.ao-front .ao-areas-v13{margin-top:32px;gap:18px}
.ao-front .ao-areas-v13>.ao-area-card-v13{min-height:470px;padding:28px!important}
.ao-front .ao-areas-v13 .ao-area-card-v13 h3{margin:42px 0 12px!important;font-size:clamp(28px,2.45vw,36px)!important}
.ao-front .ao-home-benefits .ao-benefit{min-height:195px;padding:25px}
.ao-front .ao-home-benefits .ao-benefit-number{margin-bottom:18px}
.ao-front .ao-sar-grid .ao-sar-step{min-height:185px;padding:24px}
.ao-front .ao-team-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important;overflow:visible!important;scroll-snap-type:none!important;padding:0!important}
.ao-front .ao-team-grid>.ao-person-card{width:100%!important;min-width:0!important;flex:none!important;scroll-snap-align:none!important}
.ao-front .ao-team-grid .ao-person-photo{height:235px!important;object-fit:cover}
.ao-front .ao-person-body{padding:22px!important}
.ao-front .ao-person-body h3{font-size:1.12rem!important}
.ao-front .ao-person-role{font-size:.94rem!important;font-weight:650!important;line-height:1.45}
.ao-front .ao-person-body>p:not(.ao-person-role){font-size:1rem!important;line-height:1.55!important}
.ao-front .ao-person-body .ao-text-link{font-size:.95rem!important;white-space:normal;max-width:100%}
.ao-carousel-actions{display:none!important}
/* Footer: quiet editorial four-column layout with visible legal links */
.ao-footer.ao-footer-v15{background:#172a37!important;color:#e6edf2!important;padding:58px 0 24px}
.ao-footer-v15 .ao-footer-top{display:grid;grid-template-columns:1.6fr 1fr 1fr .92fr;gap:clamp(25px,4vw,52px);align-items:start}
.ao-footer-v15 .ao-footer-identity{max-width:320px}
.ao-footer-v15 .ao-footer-logo{margin-bottom:18px}
.ao-footer-v15 .ao-footer-logo img{filter:brightness(0) invert(1);max-width:210px;margin:0}
.ao-footer-v15 .ao-footer-identity p{color:#bdcbd5;font-size:1rem;line-height:1.65;margin:0 0 16px}
.ao-footer-v15 h2{font-weight:650;font-size:1rem;color:#fff;margin-bottom:15px}
.ao-footer-v15 .ao-footer-column a{color:#dce6ec;font-size:.95rem;line-height:1.5}
.ao-footer-v15 .ao-footer-column li{margin:0 0 12px}
.ao-footer-v15 .ao-footer-contact{display:inline-block;color:#f1a8cc!important;font-size:.95rem;font-weight:600}
.ao-footer-v15 .ao-footer-bottom{border-top:1px solid rgba(255,255,255,.16);margin-top:42px;padding-top:18px;font-size:.82rem}
.ao-footer-v15 .ao-legal-nav{gap:18px}
.ao-footer-v15 .ao-legal-nav a{color:#cad4dd}
@media(max-width:1160px){.ao-header-one-row{gap:14px}.ao-header-v15 .ao-menu{gap:13px}.ao-header-v15 .ao-logo img,.ao-header-v15 .custom-logo{width:min(var(--ao-logo-width-tablet,175px),100%)}.ao-header-v15 .ao-platform-cta{padding:11px 12px;font-size:.83rem}}
@media(max-width:990px){
 .ao-header-one-row{min-height:72px;justify-content:space-between;gap:12px}
 .ao-header-v15 .ao-nav{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;border-bottom:1px solid #e4e7ea;box-shadow:0 22px 28px rgba(20,33,43,.14);padding:10px 20px 22px;max-height:calc(100dvh - 78px);overflow:auto;margin:0}
 .ao-header-v15 .ao-nav.ao-nav-open{display:block}
 .ao-header-v15 .ao-menu{display:block;gap:0}
 .ao-header-v15 .ao-menu>li{border-bottom:1px solid #e5e9ed}
 .ao-header-v15 .ao-menu>li>a{color:var(--ao-dark);display:inline-flex;font-size:1rem;padding:14px 9px;white-space:normal}
 .ao-header-v15 .ao-menu-toggle{display:inline-flex;order:3;margin:0;color:var(--ao-dark);background:#fff;border:1px solid #dce3e7;font-size:.92rem;font-weight:600}
 .ao-header-v15 .ao-nav .sub-menu{position:static;box-shadow:none;border:0;display:none;opacity:1;visibility:visible;transform:none;padding:0 0 12px 15px}
 .ao-header-v15 .ao-nav .ao-item-open>.sub-menu{display:block}
 .ao-header-v15 .ao-nav .ao-submenu-toggle{display:inline-flex;color:var(--ao-dark)}
 .ao-header-v15 .ao-platform-cta{margin-left:auto}
 .ao-footer-v15 .ao-footer-top{grid-template-columns:1.35fr 1fr;gap:36px}
 .ao-front .ao-team-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .ao-front .ao-areas-v13>.ao-area-card-v13{min-height:430px}
}
@media(max-width:782px){.admin-bar .ao-site-header.ao-header-v15{top:46px}}
@media(max-width:670px){
 .ao-header-one-row{min-height:66px}
 .ao-header-v15 .ao-logo img,.ao-header-v15 .custom-logo{width:min(var(--ao-logo-width-mobile,157px),100%);max-width:145px}
 .ao-header-v15 .ao-platform-cta{font-size:.76rem;line-height:1.2;padding:10px 9px;border-radius:7px;white-space:normal;max-width:142px}
 .ao-header-v15 .ao-menu-toggle{font-size:.83rem;padding:9px}
 .ao-front .ao-hero{min-height:0!important;padding-block:65px!important}
 .ao-front .ao-body>.wp-block-group:not(.ao-hero){padding-block:55px!important}
 .ao-front .ao-areas-v13{grid-template-columns:1fr!important}
 .ao-front .ao-areas-v13>.ao-area-card-v13{min-height:0;padding:28px!important}
 .ao-front .ao-home-benefits-grid{grid-template-columns:1fr}
 .ao-front .ao-team-grid{grid-template-columns:1fr!important;gap:22px!important}
 .ao-front .ao-team-grid .ao-person-photo{height:280px!important}
 .ao-footer-v15 .ao-footer-top{grid-template-columns:1fr;gap:25px}
 .ao-footer-v15 .ao-footer-bottom{margin-top:28px}
 .ao-front .ao-hero::before,.ao-landing .ao-hero::before{width:110px!important;height:110px!important;right:-28px!important;top:10px!important}
}
@media(max-width:380px){.ao-header-v15 .ao-platform-cta{max-width:117px}.ao-header-v15 .ao-logo img,.ao-header-v15 .custom-logo{max-width:120px}.ao-header-v15 .ao-menu-toggle span:last-child{display:none}}
@media(prefers-reduced-motion:reduce){.ao-site-header.ao-header-v15{transition:none}}
/* Constrain all three header elements on narrow phones (no viewport overflow). */
@media(max-width:670px){
 .ao-header-one-row{gap:8px}
 .ao-header-v15 .ao-brand{min-width:0;flex:0 1 128px}
 .ao-header-v15 .ao-logo img,.ao-header-v15 .custom-logo{max-width:125px}
 .ao-header-v15 .ao-platform-cta{min-width:0;flex:0 1 126px;max-width:126px;font-size:.7rem;padding:9px 7px;gap:3px}
 .ao-header-v15 .ao-menu-toggle{flex:0 0 auto;max-width:57px}
}
