/* Preserve the original header layout and blue identity. */
/* Legacy hover rules also recolor nested description spans white. */
#content .ss-feature-row .wpb_column:is(:hover,:focus-within,.ss-is-hovered) :is(p,p *),
#content .ss-feature-row .vc_column-inner:hover :is(p,p *){color:#334155!important;-webkit-text-fill-color:#334155!important;opacity:1!important;visibility:visible!important;text-shadow:none!important}
#content .ss-feature-row .wpb_column:is(:hover,:focus-within,.ss-is-hovered) :is(h3,h3 *,h4,h4 *),
#content .ss-feature-row .vc_column-inner:hover :is(h3,h3 *,h4,h4 *){color:#0c1420!important;-webkit-text-fill-color:#0c1420!important;text-shadow:none!important}
body .site-header,body.ss-header-scrolled .site-header{background:#ffffff!important;border-bottom:1px solid #edf0f3;box-shadow:0 6px 24px #112b4210;backdrop-filter:none;-webkit-backdrop-filter:none}
body.ss-header-scrolled header.site-header,body.ss-header-scrolled header.site-header>.wrap{background-color:#ffffff!important;background-image:none!important;opacity:1!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
body .site-header .brand-name{font-weight:750;letter-spacing:-.025em;line-height:1.2}
body .site-header .brand-name span{font-weight:600;letter-spacing:.04em}
body .site-header .main-nav a{font-weight:650;transition:color .2s ease,background .2s ease}
body .topbar{font-weight:550}
body .topbar .wrap{justify-content:flex-end}
body .topbar-tagline{order:-1;margin-right:auto;color:#fff;font-size:11px;font-weight:500;letter-spacing:.035em;line-height:1.4}
@media(max-width:1023px){body .topbar-tagline{display:none}}
body .site-header .brand-logo{box-shadow:0 5px 16px #163f6512,0 0 0 4px #0b6fe805}
body .site-header .header-quote{font-weight:700;box-shadow:0 6px 18px #0b6fe822,inset 0 1px 0 #ffffff25}
body .site-header .main-nav a:focus-visible,body .site-header .header-quote:focus-visible{outline:2px solid #0873dd;outline-offset:4px}

/* Header dropdowns: compact, readable panels for child navigation. */
@media(min-width:768px){
  body .site-header .main-nav{gap:4px}
  body .site-header .main-nav>li{position:relative;display:flex;margin:0;list-style:none}
  body .site-header .main-nav li{position:relative;list-style:none}
  body .site-header .main-nav .menu-item-has-children>a{padding-right:28px}
  body .site-header .main-nav .menu-item-has-children>a:before{content:'';position:absolute;right:12px;top:50%;width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-70%) rotate(45deg);transition:transform .2s ease}
  body .site-header .main-nav .menu-item-has-children:hover>a:before,body .site-header .main-nav .menu-item-has-children:focus-within>a:before{transform:translateY(-30%) rotate(225deg)}
  body .site-header .main-nav .sub-menu{position:absolute;z-index:100;top:calc(100% + 10px);left:0;display:block;min-width:238px;margin:0;padding:8px;border:1px solid #dbe6ef;border-radius:10px;background:#fff;box-shadow:0 18px 42px rgba(13,34,54,.18);opacity:0;visibility:hidden;transform:translateY(8px);pointer-events:none;transition:opacity .18s ease,transform .18s ease,visibility .18s}
  body .site-header .main-nav li:hover>.sub-menu,body .site-header .main-nav li:focus-within>.sub-menu{opacity:1;visibility:visible;transform:translateY(0);pointer-events:auto}
  body .site-header .main-nav .sub-menu:before{content:'';position:absolute;top:-6px;left:22px;width:10px;height:10px;border-top:1px solid #dbe6ef;border-left:1px solid #dbe6ef;background:#fff;transform:rotate(45deg)}
  body .site-header .main-nav .sub-menu li{display:block}
  body .site-header .main-nav .sub-menu a{width:100%;min-height:42px;padding:11px 13px;border-radius:6px;color:#1c3347;font-size:12px;font-weight:650;line-height:1.35;box-sizing:border-box}
  body .site-header .main-nav .sub-menu a:after{display:none}
  body .site-header .main-nav .sub-menu a:hover,body .site-header .main-nav .sub-menu .current-menu-item>a{background:#eef6ff;color:#0873dd;transform:none}
  body .site-header .main-nav .sub-menu .sub-menu{top:-9px;left:calc(100% + 9px)}
  body .site-header .main-nav .sub-menu .sub-menu:before{top:19px;left:-6px;border:0;border-bottom:1px solid #dbe6ef;border-left:1px solid #dbe6ef}
  body .site-header .ss-submenu-toggle{display:none}
}
@media(max-width:767px){
  .ss-mobile-panel-nav .menu-item-has-children{position:relative}
  .ss-mobile-panel-nav .menu-item-has-children>a{width:calc(100% - 50px);padding-right:10px}
  .ss-mobile-panel-nav .ss-submenu-toggle{position:absolute;z-index:2;top:0;right:0;width:48px;height:46px;border:0;border-radius:8px;background:#edf5fc;color:#176fbd;cursor:pointer}
  .ss-mobile-panel-nav .ss-submenu-toggle span{display:block;width:8px;height:8px;margin:auto;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:transform .2s ease}
  .ss-mobile-panel-nav .menu-item-has-children.is-submenu-open>.ss-submenu-toggle span{transform:translateY(2px) rotate(225deg)}
  .ss-mobile-panel-nav .sub-menu{display:none!important;margin:6px 0 8px 12px;padding:7px;border-left:2px solid #bcdcf8;background:#f7fbff}
  .ss-mobile-panel-nav .menu-item-has-children.is-submenu-open>.sub-menu{display:grid!important;gap:5px}
  .ss-mobile-panel-nav .sub-menu a{min-height:40px;background:#fff;font-size:12px}
}

/* Shared appearance controls: navigation remains readable with extra links. */
body[data-header-sticky="0"],body[data-header-sticky="0"].ss-sticky-ready{padding-top:0!important}
body[data-header-sticky="0"] :is(.topbar,.site-header){position:relative!important;top:auto!important}
body .topbar .wrap{flex-wrap:wrap;row-gap:8px;padding-top:7px;padding-bottom:7px;box-sizing:border-box}
.topbar-phone>i{color:#5ab0ff}.topbar-mail>i{color:#f5a623}.topbar-social-links{display:flex;align-items:center;gap:13px}.topbar-social-links a{display:inline-flex;align-items:center;justify-content:center;min-width:20px;min-height:24px}.topbar-social-links img{width:18px;height:18px;object-fit:contain}
.site-footer .footer-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.site-footer .footer-grid>div{min-width:0}.site-footer .footer-links a{overflow-wrap:anywhere}
@media(max-width:600px){body .topbar .wrap{column-gap:15px}.topbar-social-links{gap:10px}.topbar-utility{font-size:11px}.site-footer .footer-grid{grid-template-columns:1fr}}
