/* ServicesDictionary 3.3.0 — compact, grouped mega navigation. */
#masthead.sd-site-header{z-index:800}
#masthead .sd-header-utility .sd-header-frame{justify-content:space-between;min-height:31px;font-size:10px;letter-spacing:.025em}
#masthead .sd-header-utility .sd-header-frame>span{margin:0;color:#eaf4fc}
#masthead .sd-header-utility a{margin-left:auto;font-size:10px}
#masthead .sd-header-main{background:rgba(255,255,255,.97);backdrop-filter:saturate(150%) blur(12px)}
#masthead .sd-header-row{min-height:82px;gap:clamp(12px,1.4vw,22px)}
#masthead .sd-header-logo{width:clamp(190px,17vw,232px)}
#masthead .sd-header-nav{justify-content:center}
#masthead .sd-primary-menu{gap:5px}
#masthead .sd-primary-menu>li>a{min-height:43px;padding:10px 13px;border-radius:11px;font-size:12px;font-weight:750;color:#29445f!important}
#masthead .sd-primary-menu>li>a:hover,
#masthead .sd-primary-menu>li.current-menu-item>a,
#masthead .sd-primary-menu>li.current_page_item>a,
#masthead .sd-primary-menu>li.current-menu-ancestor>a{background:#edf6ff!important;color:#176db5!important}
#masthead .sd-primary-menu>.sd-nav-mega>a:after{content:"";display:inline-block;width:6px;height:6px;margin-left:10px;border-right:1.7px solid currentColor;border-bottom:1.7px solid currentColor;transform:rotate(45deg) translateY(-2px);opacity:.65}
#masthead .sd-primary-menu .sd-mega-menu{top:calc(100% + 12px);left:50%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;width:min(670px,calc(100vw - 36px));min-width:540px;padding:13px!important;border:1px solid #e5edf5;border-radius:19px;background:#fff!important;box-shadow:0 26px 64px rgba(16,43,72,.18);transform:translate(-50%,8px)}
#masthead .sd-primary-menu li:hover>.sd-mega-menu,
#masthead .sd-primary-menu li:focus-within>.sd-mega-menu{transform:translate(-50%,0)}
#masthead .sd-primary-menu .sd-mega-menu>li{min-width:0}
#masthead .sd-primary-menu .sd-mega-menu>li>a{display:flex;align-items:center;gap:12px;min-height:70px;padding:11px 12px;border:1px solid transparent;border-radius:12px;color:#263f59!important;background:#fff!important;white-space:normal}
#masthead .sd-primary-menu .sd-mega-menu>li>a:hover{border-color:#dcebf8;background:#f5faff!important;color:#146db3!important}
#masthead .sd-mega-icon{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:12px;background:linear-gradient(145deg,#eaf4ff,#effaf3);color:#1877b9;font-size:15px}
#masthead .sd-mega-menu a>span:last-child{display:grid;gap:4px;min-width:0}
#masthead .sd-mega-menu strong{color:#203a56;font-size:12px;font-weight:800;line-height:1.25}
#masthead .sd-mega-menu small{color:#788a9d;font-size:10px;font-weight:550;line-height:1.45}
#masthead .sd-header-actions{gap:10px}
#masthead .sd-header-quote{min-height:44px;padding-inline:14px}
#masthead .sd-header-auth{gap:10px}
#masthead .sd-header-provider{min-height:42px}
#masthead .sd-header-account{margin-left:1px}
#masthead .sd-submenu-toggle{display:none}
@media(max-width:1220px){
  #masthead .sd-header-row{gap:10px}
  #masthead .sd-header-logo{width:190px}
  #masthead .sd-primary-menu{gap:1px}
  #masthead .sd-primary-menu>li>a{padding-inline:9px;font-size:11px}
  #masthead .sd-header-quote{padding-inline:10px}
}
@media(max-width:1080px){
  #masthead .sd-header-row{min-height:76px}
  #masthead .sd-header-logo{width:210px}
  #masthead .sd-header-nav{order:3;flex:0 0 auto;justify-content:flex-end}
  #masthead .sd-header-menu-toggle{display:flex}
  #masthead .sd-primary-menu{position:absolute;top:calc(100% + 11px);right:0;left:auto;z-index:850;display:none;width:min(430px,calc(100vw - 28px));max-height:min(78vh,700px);overflow:auto;align-items:stretch;flex-direction:column;gap:4px;padding:12px!important;border:1px solid #e1eaf2;border-radius:18px;background:#fff!important;box-shadow:0 24px 60px rgba(12,35,61,.2)}
  #masthead .sd-header-nav.is-open .sd-primary-menu{display:flex}
  #masthead .sd-primary-menu>li{width:100%}
  #masthead .sd-primary-menu>li>a{justify-content:space-between;min-height:46px;padding:12px 13px;font-size:13px}
  #masthead .sd-primary-menu>.sd-nav-mega>a:after{margin-left:auto;margin-right:10px}
  #masthead .sd-primary-menu .sd-mega-menu{position:static;display:none;width:100%;min-width:0;margin:2px 0 8px!important;padding:6px!important;grid-template-columns:1fr;gap:3px;border:0;border-radius:12px;background:#f5f9fd!important;box-shadow:none;opacity:1;visibility:visible;transform:none}
  #masthead .sd-primary-menu .sd-nav-mega.sd-submenu-open>.sd-mega-menu{display:grid}
  #masthead .sd-primary-menu .sd-mega-menu>li>a{min-height:57px;padding:9px 10px}
  #masthead .sd-mega-icon{width:34px;height:34px;flex-basis:34px}
  #masthead .sd-primary-menu .menu-item-has-children{display:grid;grid-template-columns:minmax(0,1fr) 38px;align-items:center}
  #masthead .sd-primary-menu .menu-item-has-children>.sub-menu{grid-column:1/-1;grid-row:2}
  #masthead .sd-primary-menu .menu-item-has-children>.sd-submenu-toggle{display:flex;grid-column:2;grid-row:1;width:34px;height:34px;margin:0}
  #masthead .sd-header-panel-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0 0;padding:12px 3px 3px;border-top:1px solid #eaf0f5}
  #masthead .sd-header-panel-actions a{display:flex;align-items:center;justify-content:center;min-height:42px;padding:9px 10px;border-radius:9px;font-size:12px;font-weight:750;text-decoration:none}
  #masthead .sd-panel-login{border:1px solid #dce7f0;color:#29445f!important}
  #masthead .sd-panel-join{background:#218f49;color:#fff!important}
}
@media(max-width:760px){
  #masthead .sd-header-auth{display:none}
  #masthead .sd-account-name{display:none}
}
@media(max-width:640px){
  #masthead .sd-header-utility{display:none}
  #masthead .sd-header-frame{width:calc(100% - 28px)}
  #masthead .sd-header-row{min-height:70px;gap:8px}
  #masthead .sd-header-logo{width:clamp(150px,43vw,190px)}
  #masthead .sd-header-logo img{max-height:52px}
  #masthead .sd-header-actions{gap:7px}
  #masthead .sd-header-quote{min-height:41px;gap:7px;padding:0 10px;border-radius:10px;font-size:11px}
  #masthead .sd-quote-icon{width:23px;height:23px}
  #masthead .sd-quote-arrow{display:none}
  #masthead .sd-account-name,#masthead .sd-account-toggle>i{display:none}
  #masthead .sd-account-toggle{width:42px;height:42px;justify-content:center;padding:3px}
  #masthead .sd-account-avatar,#masthead .sd-account-avatar img{width:32px;height:32px}
  #masthead .sd-header-menu-toggle{width:42px;height:42px}
  #masthead .sd-primary-menu{top:calc(100% + 9px);right:-2px;width:min(420px,calc(100vw - 28px))}
  #masthead .sd-account-dropdown{right:-48px}
}
@media(max-width:380px){#masthead .sd-header-logo{width:135px}#masthead .sd-header-quote{min-height:39px;padding-inline:8px;font-size:10px}#masthead .sd-header-row{gap:6px}}
@media(prefers-reduced-motion:reduce){#masthead *,#masthead *:before,#masthead *:after{scroll-behavior:auto!important;transition:none!important}}
@media(max-width:1080px){
  /* The desktop hover transform must not push an expanded mobile submenu off-canvas. */
  #masthead .sd-primary-menu li:hover>.sd-mega-menu,
  #masthead .sd-primary-menu li:focus-within>.sd-mega-menu,
  #masthead .sd-primary-menu .sd-mega-menu{left:auto!important;transform:none!important}
}
