/* Avicenne Plus v28 — one coherent, accessible, two-tier public navigation.
   No second horizontally scrolling universe bar; nested choices stay within eight clear thematic groups. */
.av-tiered-header{position:relative;z-index:90;overflow:visible;background:#fff;border-bottom:1px solid #d9e6ee}
.av-header-utility{background:linear-gradient(100deg,#084d82 0%,#087a91 100%);color:#fff}
.av-tiered-header .ap-container{max-width:1410px;width:calc(100% - 72px)}
.av-header-utility-inner{min-height:34px;display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:11px;font-weight:650;letter-spacing:.01em}
.av-utility-links{display:flex;gap:28px}
.av-utility-links a{color:#f4fdff;text-decoration:none;font-size:11px;font-weight:650}
.av-utility-links a:hover{text-decoration:underline;text-underline-offset:4px}
.av-tiered-header .av-main-navigation{min-height:88px;gap:18px;justify-content:space-between}
.av-tiered-header .av-main-brand img{width:165px;height:67px;object-fit:contain}
.av-primary-nav{display:flex;align-items:stretch;justify-content:center;gap:4px;flex:1;min-width:0;align-self:stretch}
.av-nav-group{position:relative;display:flex;align-items:stretch;margin:0;min-width:0}
.av-nav-group>summary{display:flex;align-items:center;gap:7px;cursor:pointer;list-style:none;padding:13px 10px;color:#163e59;font-size:12px;font-weight:750;white-space:nowrap;border-bottom:3px solid transparent;user-select:none}
.av-nav-group>summary::-webkit-details-marker{display:none}
.av-nav-group>summary::marker{content:""}
.av-nav-group[open]>summary,.av-nav-group>summary:hover{color:#045b8f;border-color:#08a0b4;background:#f1f8fc}
.av-nav-caret{color:#008a9e;font-weight:800;font-size:17px;line-height:1;transition:transform .18s}
.av-nav-group[open] .av-nav-caret{transform:rotate(180deg)}
.av-nav-panel{position:absolute;top:100%;left:0;width:330px;max-width:calc(100vw - 36px);background:#fff;border:1px solid #ccdfe8;box-shadow:0 20px 38px rgba(11,51,74,.16);padding:12px;display:grid;gap:1px;z-index:100}
.av-nav-group:nth-last-of-type(-n+3) .av-nav-panel{left:auto;right:0}
.av-nav-panel-title{margin:3px 9px 7px!important;font-size:11px!important;font-weight:800!important;letter-spacing:.06em;color:#0a788f!important;text-transform:uppercase}
.av-nav-panel a{display:block;padding:11px 12px;color:#123f5e;font-size:13px;font-weight:800;line-height:1.3;text-decoration:none;white-space:normal;border-left:3px solid transparent}
.av-nav-panel a span{display:block;margin-top:4px;color:#4f6d7c;font-size:11px;font-weight:500;line-height:1.4}
.av-nav-panel a:hover,.av-nav-panel a:focus-visible{background:#eaf6fa;color:#054875;border-left-color:#008ca1}
.av-tiered-header .av-header-actions{gap:12px;flex:0 0 auto}
.av-header-actions select{width:42px;min-width:42px}
.av-reserve-cta{display:inline-flex;justify-content:center;align-items:center;gap:9px;white-space:nowrap;background:#077f94;color:#fff!important;padding:10px 14px;min-height:44px;font-size:12px;font-weight:800}
.av-reserve-cta:hover{background:#056676;color:#fff}
.av-tiered-header .av-account-cta{min-height:44px;padding:10px 13px;font-size:12px;gap:7px}
.av-tiered-header .av-account-cta .av-icon{width:16px;height:16px}
.av-mobile-nav-actions,.av-tiered-header .av-mobile-profile,.av-tiered-header .av-mobile-menu-toggle{display:none}
.av-tiered-header :is(summary,a,button,select):focus-visible{outline:3px solid #e18b28;outline-offset:3px}
@media(min-width:1400px) and (max-width:1599px){
  .av-tiered-header .ap-container{width:calc(100% - 40px)}
  .av-nav-group>summary{padding-left:5px;padding-right:5px;font-size:11px;gap:4px}
  .av-tiered-header .av-main-navigation{gap:8px}
  .av-tiered-header .av-main-brand img{width:135px}
}
@media(max-width:1399px){
  .av-tiered-header .av-main-navigation{min-height:76px;gap:12px}
  .av-tiered-header .av-main-brand{margin-right:auto}
  .av-tiered-header .av-main-brand img{width:160px;height:64px}
  .av-tiered-header .av-header-actions{margin-left:auto}
  .av-tiered-header .av-header-actions .av-reserve-cta,
  .av-tiered-header .av-header-actions .av-account-cta{display:none}
  .av-tiered-header .av-mobile-profile,.av-tiered-header .av-mobile-menu-toggle{display:flex;align-items:center;justify-content:center}
  .av-tiered-header .av-mobile-profile{width:36px;height:40px;color:#064b82}
  .av-tiered-header .av-mobile-menu-toggle{width:42px;height:42px;background:#fff;border:1px solid #aec8d8;padding:0;color:#064b82}
  .av-primary-nav{display:none;position:absolute;top:100%;left:0;right:0;max-height:calc(100dvh - 105px);overflow-y:auto;background:#fff;box-shadow:0 19px 28px rgba(10,48,75,.14);border-top:1px solid #dce8ee;padding:8px max(20px,calc((100% - 960px)/2)) 21px;z-index:100}
  .av-primary-nav.is-open{display:block}
  .av-nav-group{display:block;border-bottom:1px solid #deeaef}
  .av-nav-group>summary{min-height:55px;padding:15px 6px;justify-content:space-between;font-size:14px;border-bottom:0}
  .av-nav-group[open]>summary{background:#ecf7fa}
  .av-nav-panel{position:static;width:100%;max-width:none;border:0;box-shadow:none;border-left:3px solid #0a9da8;background:#f5fafc;padding:7px 10px 13px;margin-bottom:12px}
  .av-nav-panel a{font-size:14px;padding:13px 10px}
  .av-nav-panel a span{font-size:12px}
  .av-mobile-nav-actions{display:grid;gap:9px;padding-top:18px}
  .av-mobile-nav-actions a{display:flex;align-items:center;justify-content:center;min-height:48px;font-size:13px;font-weight:800;background:#064b82;color:#fff}
  .av-mobile-nav-actions a:first-child{background:#087f93}
}
@media(max-width:767px){
  .av-tiered-header .ap-container{width:calc(100% - 30px)}
  .av-header-utility-inner{min-height:29px;gap:8px;font-size:9px}
  .av-utility-links{gap:10px}
  .av-utility-links a{font-size:9px}
  .av-utility-links a:first-child{display:none}
  .av-tiered-header .av-main-navigation{min-height:70px}
  .av-tiered-header .av-main-brand img{width:141px;height:59px}
  .av-tiered-header .av-header-actions select{width:37px;min-width:37px;font-size:11px}
  .av-tiered-header .av-mobile-profile{width:31px}
  .av-tiered-header .av-mobile-menu-toggle{width:38px;height:38px}
  .av-primary-nav{padding:8px 15px 18px;max-height:calc(100dvh - 100px)}
}
@media(prefers-reduced-motion:reduce){.av-nav-caret{transition:none}}

/* v29 — blood donation, pharmacy and insurance remain prominent independent menus. */
.av-nav-group-highlight>summary{color:#064b82;font-weight:800}
.av-nav-group-highlight>summary:hover,.av-nav-group-highlight[open]>summary{color:#006e85}
@media(min-width:1600px){
  .av-tiered-header .av-main-navigation{gap:12px}
  .av-primary-nav{gap:1px}
  .av-nav-group>summary{padding:13px 10px}
}
@media(min-width:1400px) and (max-width:1599px){
  .av-tiered-header .av-header-actions{gap:8px}
  .av-tiered-header .av-account-cta{padding-left:10px;padding-right:10px}
  .av-tiered-header .av-reserve-cta{font-size:11px;padding:9px 10px}
  .av-nav-group>summary{white-space:nowrap;font-weight:750}
  .av-primary-nav{gap:0}
}

/* v35 — consolidated menu refinements, formerly in hero-fusion-v33.css.
   Layout and primary menu behavior unchanged; maintain one navigation stylesheet. */
.av-tiered-header{box-shadow:0 5px 20px rgba(5,34,75,.055)}
.av-tiered-header .av-header-utility{background:linear-gradient(95deg,#0b1f66,#07377d 56%,#065b8c)}
.av-tiered-header .av-header-utility-inner{min-height:38px;font-size:11px;letter-spacing:.015em}
.av-tiered-header .av-main-navigation{min-height:94px}
.av-tiered-header .av-main-brand{border-right:1px solid #d6e5ed;padding-right:15px}
.av-tiered-header .av-primary-nav{align-items:stretch;gap:0}
.av-tiered-header .av-nav-group>summary,
.av-tiered-header .av-nav-direct{font-size:12px;font-weight:800;line-height:1.35;color:#0b1f66;padding:13px 9px;border-bottom:3px solid transparent;text-decoration:none;display:flex;align-items:center;gap:6px;white-space:nowrap}
.av-tiered-header .av-nav-direct:hover,
.av-tiered-header .av-nav-direct:focus-visible,
.av-tiered-header .av-nav-group>summary:hover,
.av-tiered-header .av-nav-group[open]>summary{color:#07377d;background:#eef8fa;border-bottom-color:#f64e03}
.av-tiered-header .av-nav-group-highlight>summary{color:#07377d}
.av-tiered-header .av-nav-group-highlight>summary::after{content:"";width:3px;height:3px;position:absolute;bottom:6px;left:calc(50% - 2px);background:#f64e03}
.av-tiered-header .av-nav-panel{width:345px;border:1px solid #d6e5ec;border-top:4px solid #05a6b7;box-shadow:0 24px 45px rgba(9,31,72,.18);padding:14px}
.av-tiered-header .av-nav-panel-title{color:#07377d!important;font-size:11px!important;letter-spacing:.1em}
.av-tiered-header .av-nav-panel a{border-left:3px solid transparent;padding:12px}
.av-tiered-header .av-nav-panel a:hover,
.av-tiered-header .av-nav-panel a:focus-visible{border-left-color:#f64e03;background:#f0f8fa}
.av-tiered-header .av-reserve-cta{background:#f64e03!important;border-color:#f64e03!important;color:#fff!important;font-weight:850}
.av-tiered-header .av-reserve-cta:hover{background:#c93c00!important;border-color:#c93c00!important}
.av-tiered-header .av-account-cta{background:#0b1f66!important;border-color:#0b1f66!important}
@media(min-width:1400px) and (max-width:1660px){
  .av-tiered-header .ap-container{width:calc(100% - 28px)}
  .av-tiered-header .av-main-navigation{gap:8px}
  .av-tiered-header .av-main-brand{min-width:130px;max-width:155px;padding-right:9px}
  .av-tiered-header .av-nav-group>summary,
  .av-tiered-header .av-nav-direct{font-size:11px;padding-inline:5px;gap:3px}
  .av-tiered-header .av-header-actions{gap:7px}
  .av-tiered-header .av-reserve-cta{padding:10px}
}
@media(max-width:1399px){
  .av-tiered-header .av-main-brand{border-right:0}
  .av-tiered-header .av-primary-nav .av-nav-direct{display:flex;min-height:52px;padding:14px 6px;border-bottom:1px solid #deeaef;font-size:14px;align-items:center}
  .av-tiered-header .av-nav-group-highlight>summary::after{display:none}
  .av-tiered-header .av-nav-panel{width:100%;border-top:0;box-shadow:none}
}

/* Orientation: highlight the current public universe, including keyboard readers. */
.av-tiered-header .av-nav-group.is-current>summary{color:#07377d;border-bottom-color:#f64e03;background:#f2fafb}
@media(max-width:1399px){.av-tiered-header .av-nav-group.is-current>summary{border-left:3px solid #f64e03;border-bottom:0;padding-left:12px}}
