/* AMD navigation v2. Desktop institutional masthead + mobile drawer.
   Last stylesheet in the load order; keep nav rules scoped to the header. */
.amd-header{position:relative;z-index:150;border-bottom:0!important;box-shadow:0 7px 24px rgba(4,45,80,.07)}
.amd-header .amd-header-brand-row{min-height:96px!important;gap:16px}
.amd-header .amd-brand-name{max-width:540px;font-size:clamp(.94rem,1.3vw,1.17rem);line-height:1.3}
.amd-header-actions{gap:12px}
.amd-nav-outer,.amd-nav-outer .amd-nav-wrap{background:#086eaf!important}
.amd-nav-outer{border-top:1px solid #d9edf9}
.amd-header .amd-nav-wrap{min-height:60px;gap:12px}
.amd-header .amd-nav{width:auto;flex:1;min-width:0}
.amd-header .amd-nav>.amd-fallback-menu{display:flex;align-items:center;flex-wrap:nowrap;gap:5px;margin:0;padding:0}
.amd-header .amd-nav>ul>li{border:0!important;flex:none}
.amd-header .amd-nav>ul>li>a{display:flex;position:relative;align-items:center;justify-content:center;gap:9px;min-height:45px;padding:10px clamp(9px,1.35vw,18px);border-radius:9px;border:1px solid transparent;color:#eefaff!important;text-decoration:none!important;font-size:clamp(.76rem,.98vw,.88rem);font-weight:750;line-height:1.3;white-space:nowrap;transition:background .16s,border-color .16s}
.amd-header .amd-nav>ul>li>a:hover,.amd-header .amd-nav>ul>li>a:focus-visible{background:#ffffff1d!important;border-color:#ffffff38!important;color:#fff!important}
.amd-header .amd-nav>ul>li.current-menu-item>a{background:#fff!important;color:#075a97!important;border-color:#fff!important;box-shadow:0 4px 12px #06385e2c}
.amd-header .amd-nav .amd-nav-item-icon{display:inline-flex;align-items:center;justify-content:center;flex:none;line-height:0}
.amd-header .amd-nav-item-current{display:none}
.amd-header .amd-nav-side{display:flex;align-items:center;flex:none}
.amd-header .amd-nav-alert-link{display:inline-flex!important;align-items:center;gap:8px;min-height:42px;padding:9px 15px!important;border:1px solid #ffffff75;border-radius:9px;color:#fff!important;background:#ffffff14!important;text-decoration:none!important;font-size:.78rem;font-weight:800;white-space:nowrap}
.amd-header .amd-nav-alert-link:hover{background:#ffffff30!important}
.amd-nav-mobile-head,.amd-nav-close,.amd-nav-backdrop{display:none}
.amd-header :is(.amd-nav-toggle,.amd-nav-close,.amd-nav a,.amd-nav-alert-link,.amd-language-trigger):focus-visible{outline:3px solid #ffda67!important;outline-offset:3px}
@media(max-width:1060px){
  .amd-header .amd-header-brand-row{min-height:79px!important;flex-wrap:nowrap!important;gap:9px}
  .amd-header .amd-brand{flex:1 1 auto;min-width:0}
  .amd-header .amd-brand-name{max-width:260px;font-size:clamp(12px,2.5vw,16px)!important;line-height:1.28}
  .amd-header .amd-header-actions{width:auto;flex:0 0 auto;gap:8px;justify-content:flex-end}
  .amd-header .amd-nav-toggle{display:inline-flex!important;align-items:center;gap:8px;justify-content:center;border:1px solid #cde5f5;border-radius:12px;background:#eef8ff!important;color:#075a98!important;min-width:46px;min-height:46px;padding:8px 11px;box-shadow:0 3px 11px #144b7612;position:relative;z-index:1}
  .amd-header .amd-menu-close-icon{display:none}
  .amd-header .amd-menu-label{font-size:12px;font-weight:750}
  .amd-header .amd-nav-outer{position:fixed;z-index:202;inset-block:0;right:0;left:auto;width:min(385px,calc(100vw - 30px));height:100vh;height:100dvh;overflow:hidden;visibility:hidden;transform:translateX(105%);transition:transform .26s ease,visibility .26s;background:#fff!important;border:0;box-shadow:-16px 0 65px #052b5370;pointer-events:none}
  .amd-header.amd-nav-expanded .amd-nav-outer{visibility:visible;transform:translateX(0);pointer-events:auto}
  .amd-header .amd-nav-outer .amd-nav-wrap{display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:0;padding:0!important;max-width:none;min-height:0;height:100%;width:100%;overflow-y:auto;overscroll-behavior:contain;background:#fff!important}
  .amd-header .amd-nav{display:block!important;position:static!important;inset:auto!important;box-shadow:none!important;padding:0 15px!important;border:0!important;width:100%;flex:0 0 auto;background:#fff!important}
  .amd-header .amd-nav-mobile-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:23px 8px 18px;border-bottom:1px solid #dceaf5;margin-bottom:14px}
  .amd-nav-mobile-title{display:grid;grid-template-columns:38px 1fr;column-gap:11px;align-items:center;min-width:0}
  .amd-nav-mobile-symbol{display:grid;place-items:center;width:38px;height:38px;grid-row:1 / 3;border-radius:10px;background:#e9f5ff;color:#05639d;font-weight:700;font-size:20px}
  .amd-nav-mobile-title strong{display:block;font-size:18px;color:#083e6e;line-height:1.2}
  .amd-nav-mobile-title>span:last-child{display:block;font-size:11px;color:#52748b;line-height:1.4}
  .amd-header .amd-nav-close{display:grid;place-items:center;width:42px;height:42px;flex:none;border:1px solid #d5e6f2;background:#f2f9ff;color:#0c598f;border-radius:11px}
  .amd-header .amd-nav>.amd-fallback-menu{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px;padding:0!important}
  .amd-header .amd-nav>ul>li{width:100%;margin:0!important}
  .amd-header .amd-nav>ul>li>a{color:#18496c!important;background:#fff!important;justify-content:flex-start;min-height:57px;padding:13px 15px;font-size:15px;border:1px solid #e1ecf5;border-radius:12px;white-space:normal;gap:14px}
  .amd-header .amd-nav>ul>li>a:hover,.amd-header .amd-nav>ul>li>a:focus-visible{color:#07568b!important;background:#eaf6ff!important;border-color:#b4d9ef!important}
  .amd-header .amd-nav>ul>li.current-menu-item>a{background:#e5f3ff!important;color:#075c96!important;border-color:#a4d1ee!important;box-shadow:inset 3px 0 0 #0783d0}
  .amd-header .amd-nav-item-icon{width:25px;height:25px;color:#167ab9}
  .amd-header .amd-nav-item-text{flex:1}
  .amd-header .amd-nav-item-current{display:block;width:7px;height:7px;border-radius:50%;background:#0b88d3}
  .amd-header .amd-nav-side{display:block;flex:none;width:100%;padding:15px 17px 28px;margin-top:14px;border-top:1px solid #e5eef6}
  .amd-header .amd-nav-alert-link{display:flex!important;justify-content:center;min-height:49px;border:1px solid #b2d8f2!important;background:#eff8ff!important;color:#095c94!important;font-size:13px;white-space:normal}
  .amd-header .amd-nav-backdrop:not([hidden]){display:block;position:fixed;inset:0;width:100vw;height:100vh;height:100dvh;background:#061b31aa;border:0;z-index:201;cursor:pointer}
  body.amd-menu-active{overflow:hidden}
  html[dir=rtl] .amd-header .amd-header-brand-row{direction:rtl}
  html[dir=rtl] .amd-header .amd-header-actions{direction:rtl}
  html[dir=rtl] .amd-header .amd-nav-outer{right:auto;left:0;transform:translateX(-105%);box-shadow:16px 0 65px #052b5370}
  html[dir=rtl] .amd-header.amd-nav-expanded .amd-nav-outer{transform:translateX(0)}
  html[dir=rtl] .amd-header .amd-nav>ul>li>a{direction:rtl;text-align:right}
  html[dir=rtl] .amd-header .amd-nav>ul>li.current-menu-item>a{box-shadow:inset -3px 0 0 #0783d0}
  html[dir=rtl] .amd-nav-mobile-title{text-align:right}
}
@media(max-width:680px){
  .amd-header .amd-header-brand-row{flex-wrap:nowrap!important;gap:7px!important;padding-left:13px!important;padding-right:13px!important}
  .amd-header .amd-header-actions{flex:0 0 auto!important;width:auto!important;gap:6px}
  .amd-header .amd-brand-icon{width:45px!important;height:45px!important}
  .amd-header .amd-brand-name{font-size:clamp(11px,3.5vw,14px)!important;max-width:175px}
  .amd-header .amd-language-trigger{min-height:44px;min-width:56px;padding:7px 8px;gap:4px;border-radius:11px}
  .amd-header .amd-nav-toggle{min-width:44px;min-height:44px;padding:7px!important}
  .amd-header .amd-menu-label{display:none}
  .amd-header .amd-nav-mobile-head{margin-top:3px}
}
@media(max-width:360px){
  .amd-header .amd-brand-icon{width:40px!important;height:40px!important}
  .amd-header .amd-brand-name{font-size:11px!important;max-width:150px}
  .amd-header .amd-language-trigger{min-width:43px;padding:6px}
  .amd-header .amd-language-chevron{display:none}
}
@media(prefers-reduced-motion:reduce){
  .amd-header .amd-nav-outer,.amd-header .amd-nav a{transition:none!important}
}
