/* ACE Platform Navigation 1.0.5 */
.ace-platform-header{display:block;position:relative;z-index:999;background:#fff;color:#202334;border-bottom:1px solid #e7e8ee;width:100%;font-family:inherit}
.ace-platform-header-inner{max-width:1440px;min-height:72px;margin:0 auto;padding:10px 24px;display:flex;align-items:center;gap:26px}
.ace-platform-brand{display:flex;align-items:center;flex:0 0 125px;max-width:150px}
.ace-platform-brand img{display:block;width:100%;height:auto;max-height:52px;object-fit:contain}
.ace-platform-nav{display:flex;align-items:center;gap:clamp(12px,1.7vw,26px);width:100%;min-width:0}
.ace-platform-nav>a{color:#25283a;text-decoration:none;font-size:14px;font-weight:500;white-space:nowrap}
.ace-platform-nav>a:hover{color:#df2337}
.ace-platform-search{height:46px;border:1px solid #d5d8e3;border-radius:28px;display:flex;align-items:center;gap:10px;padding:0 16px;flex:1;min-width:130px;margin:0}
.ace-platform-search>span{font-size:25px;line-height:1;color:#283044}
.ace-platform-search input{border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;width:100%;min-width:0;font-size:13px;color:#24283a;padding:0!important}
.ace-platform-search input::placeholder{color:#85899a}
.ace-platform-academic{font-size:13px!important}
.ace-platform-auth{display:flex;align-items:center;gap:8px;margin-left:auto;white-space:nowrap}
.ace-platform-auth a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 17px;border:1px solid #df2337;border-radius:9px;text-decoration:none;font-size:13px;font-weight:700}
.ace-platform-auth .ace-platform-login{color:#d92337;background:#fff}
.ace-platform-auth .ace-platform-signup{color:#fff;background:#df2337}
.ace-platform-header-flix{background:#090b10;color:#fff;border-color:#292c34}
.ace-platform-header-flix .ace-platform-nav>a{color:#f4f4f6}
.ace-platform-header-flix .ace-platform-nav>a:hover{color:#ff5368}
.ace-platform-header-flix .ace-platform-auth .ace-platform-login{background:transparent;color:#fff;border-color:#777}
.ace-platform-header-flix .ace-platform-auth .ace-platform-signup{background:#e9233b;border-color:#e9233b;color:#fff}
.ace-platform-mobile-toggle{display:none;background:transparent;border:1px solid #d8dbe4;border-radius:8px;padding:9px}
.ace-platform-mobile-toggle span:not(.screen-reader-text){display:block;width:19px;height:2px;background:currentColor;margin:4px 0}
@media(max-width:1024px){
 .ace-platform-header-inner{gap:16px;padding:10px 18px}
 .ace-platform-nav{gap:12px}
 .ace-platform-nav>a{font-size:13px}
 .ace-platform-auth a{padding:0 12px}
}
@media(max-width:767px){
 .ace-platform-header-inner{min-height:64px;justify-content:space-between;flex-wrap:wrap;padding:9px 14px;gap:10px}
 .ace-platform-brand{flex:0 0 116px;max-width:116px}
 .ace-platform-brand img{max-height:44px}
 .ace-platform-mobile-toggle{display:block;margin-left:auto;color:#222}
 .ace-platform-nav{display:none;flex:0 0 100%;width:100%;flex-direction:column;align-items:stretch;gap:0;padding:8px 0 5px}
 .ace-platform-nav.is-open{display:flex}
 .ace-platform-nav>a{padding:12px 7px;border-top:1px solid #eceef2;font-size:14px}
 .ace-platform-search{order:10;flex:none;width:100%;height:43px;margin:8px 0}
 .ace-platform-auth{order:20;margin:8px 0 0;width:100%;display:grid;grid-template-columns:1fr 1fr}
 .ace-platform-auth a{width:100%;min-height:43px}
 .ace-platform-header-flix .ace-platform-mobile-toggle{color:#fff;border-color:#555}
}

/* Keep the global ACE menu visible in the white strip above ACE Flix. */
.ace-platform-header-main{min-height:72px;background:#fff!important;color:#202334!important;}
.ace-platform-header-main .ace-platform-header-inner{min-height:72px;}
