/* V1.9.3 — IA-driven mega menus with explicit mobile second-level toggles. */
header .nav{position:relative}

/* Products is the approved source of truth for the shared site header. Keep
   this geometry here so fallback routes such as Search do not depend on a
   page-specific stylesheet for their logo, container or navigation spacing. */
header.aerech-site-header{height:80px;background:rgba(255,255,255,.97);border-bottom:1px solid #edf1f6;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
header.aerech-site-header .nav.wide-container{width:min(1560px,95vw);height:80px;margin:0 auto;display:flex;align-items:center;gap:28px}
header.aerech-site-header .logo{flex:0 0 auto;font-size:30px;line-height:1;font-weight:900;letter-spacing:.04em;color:#0b3f91;white-space:nowrap}
header.aerech-site-header .navlinks{margin-left:auto;gap:34px;font-size:13px;font-weight:700;color:#34445f}
header.aerech-site-header .nav-actions{display:flex;align-items:center;gap:10px;margin-left:4px}
header.aerech-site-header .nav-actions>.btn.primary{min-height:46px;padding:0 21px;border:1px solid #082d68;border-radius:9px;background:#082d68;color:#fff;font-size:12px;font-weight:850}

/* Shared long-page header behaviour. The class is applied only to a header
   that owns the primary navigation, so article/section headers are excluded. */
header.aerech-site-header{position:sticky;top:0;z-index:900;transform:translate3d(0,0,0);transition:transform .24s cubic-bezier(.22,.61,.36,1),box-shadow .2s ease;will-change:transform}
header.aerech-site-header.is-scrolled{box-shadow:0 8px 24px rgba(10,47,112,.09)}
header.aerech-site-header.is-header-hidden{transform:translate3d(0,-101%,0);box-shadow:none;pointer-events:none}
header.aerech-site-header.is-header-visible{transform:translate3d(0,0,0);pointer-events:auto}
header.aerech-site-header.aerech-menu-open,header.aerech-site-header:has(:focus-visible){transform:translate3d(0,0,0);pointer-events:auto}
body.admin-bar header.aerech-site-header{top:32px}
@media screen and (max-width:782px){body.admin-bar header.aerech-site-header{top:46px}}
@media(prefers-reduced-motion:reduce){header.aerech-site-header{transition:none}}
header .navlinks{position:static}
header .aerech-nav-item{height:100%;display:flex;align-items:center;position:relative}
header .aerech-nav-item>.aerech-nav-trigger{height:100%;display:flex;align-items:center;position:relative;white-space:nowrap}
header button.aerech-nav-trigger{border:0;background:transparent;padding:0;color:inherit;font:inherit;font-weight:inherit;cursor:pointer}
header .aerech-nav-item.active>.aerech-nav-trigger{color:#0a2f70;font-weight:800}
header .aerech-mega-menu{display:none;position:absolute;z-index:120;left:50%;top:100%;margin-top:0;transform:translateX(-50%);width:min(1180px,94vw);background:#fff;border:1px solid #dce5ef;box-shadow:0 18px 38px rgba(14,45,92,.12);padding:26px 28px;color:#243b5a;text-align:left}
header .aerech-nav-item--mega:hover>.aerech-mega-menu,header .aerech-nav-item--mega:focus-within>.aerech-mega-menu,header .aerech-nav-item--mega.is-hover-open>.aerech-mega-menu{display:block}
header .aerech-mega-grid{display:grid;grid-template-columns:1.25fr 1.25fr 1fr 1fr 1fr;gap:20px}
header .aerech-mega-col{min-width:0}
header .aerech-mega-menu a,header .aerech-mega-menu a:hover{height:auto!important;min-height:0!important;display:block!important;position:static!important;border:0!important;background:none!important;padding:0!important;text-decoration:none}
header .aerech-mega-menu a:after{display:none!important}
header .aerech-mega-title{color:#10233e!important;font-size:14px!important;font-weight:850!important;line-height:1.35!important;margin-bottom:12px!important}
header .aerech-mega-title--secondary{margin-top:22px!important}
header .aerech-mega-section-label{display:block;font-size:10px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#74849a;margin-bottom:12px}
header .aerech-mega-subgroup{padding-top:10px;border-top:1px solid #e5ebf2;margin-top:10px}
header .aerech-mega-subgroup>strong{display:block;font-size:10px;color:#728198;text-transform:uppercase;letter-spacing:.06em;margin-bottom:8px}
header .aerech-mega-links{display:flex;flex-wrap:wrap;gap:7px 12px}
/* Final IA: these family names are separate destinations, not inline filters. */
header .aerech-mega-col--fiber .aerech-mega-links,
header .aerech-mega-col--xwdm .aerech-mega-links,
header .aerech-mega-col--media-converter .aerech-mega-links{display:grid;grid-template-columns:minmax(0,1fr);gap:0}
header .aerech-mega-col--fiber .aerech-mega-links a,
header .aerech-mega-col--xwdm .aerech-mega-links a,
header .aerech-mega-col--media-converter .aerech-mega-links a{width:100%;margin:5px 0!important}
header .aerech-mega-links a,header .aerech-mega-direct{color:#5e6d81!important;font-size:12px!important;font-weight:650!important;line-height:1.5!important;margin:7px 0!important}
header .aerech-mega-links a:hover,header .aerech-mega-direct:hover,header .aerech-mega-title:hover{color:#176ef5!important}
header .aerech-mega-footer{margin-top:20px;padding-top:14px;border-top:1px solid #e5ebf2;text-align:right}
header .aerech-mega-footer a{display:inline-block!important;color:#176ef5!important;font-size:12px!important;font-weight:800!important}
header .aerech-mega-menu--solutions{width:min(980px,92vw);padding:22px}
header .aerech-mega-menu--blog{width:260px;padding:12px;left:auto;right:0;transform:none}
header .aerech-blog-mega-grid{display:grid;gap:2px}
header .aerech-blog-mega-item{padding:11px 12px!important;border-radius:7px!important;color:#334b69;font-size:12px;font-weight:750}
header .aerech-blog-mega-item:hover,header .aerech-blog-mega-item:focus-visible{background:#f1f6fd!important;color:#176ef5}
header .aerech-blog-mega-item.is-draft{color:#7b8798}
header .aerech-mega-menu--products{transform:translateX(-51%)}
header .aerech-solution-mega-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:#e3e9f0}
header .aerech-solution-mega-item{background:#fff!important;padding:18px!important;min-height:116px!important}
header .aerech-solution-mega-item strong{display:block;color:#10233e;font-size:13px;margin-bottom:8px}
header .aerech-solution-mega-item span{display:block;color:#6b788b;font-size:11px;line-height:1.55}
header .aerech-solution-mega-item:hover strong{color:#176ef5}
header .aerech-mobile-submenu-toggle{display:none}
header .nav-actions .aerech-search-toggle{appearance:none;-webkit-appearance:none;margin:0;padding:0;width:40px;height:40px;min-width:40px;flex:0 0 40px;border:1px solid #dce5ef;border-radius:50%;display:grid!important;place-items:center;background:#fff;color:#233c5d;line-height:1;cursor:pointer;transition:border-color .18s ease,color .18s ease,box-shadow .18s ease}
header .nav-actions .aerech-search-toggle:hover,header .nav-actions .aerech-search-toggle:focus-visible{color:#176ef5;border-color:#b8cceb;box-shadow:0 7px 18px rgba(21,72,140,.10);outline:none}
header .nav-actions>.circle+.circle{display:none!important}
.aerech-search-panel{position:fixed;inset:0;z-index:1000;display:none}
.aerech-search-panel.is-open{display:block}
.aerech-search-backdrop{position:absolute;inset:0;width:100%;height:100%;border:0;background:rgba(8,27,55,.32);cursor:default}
.aerech-search-dialog{position:relative;width:min(960px,calc(100% - 40px));margin:92px auto 0;padding:22px;background:#fff;border:1px solid #dce5ef;border-radius:14px;box-shadow:0 26px 70px rgba(7,35,75,.22)}
.aerech-search-form{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:12px}
.aerech-search-form>.screen-reader-text{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.aerech-search-form__icon{display:grid;place-items:center;color:#65768d}
.aerech-search-form input[type=search]{width:100%;min-width:0;height:52px;border:0;border-bottom:2px solid #dce5ef;border-radius:0;background:#fff;color:#10233e;font:inherit;font-size:17px;padding:0 4px;outline:none}
.aerech-search-form input[type=search]:focus{border-bottom-color:#176ef5}
.aerech-search-form input[type=search]::placeholder{color:#7a899d;opacity:1}
.aerech-search-submit{height:44px;padding:0 22px;border:1px solid #0a2f70;border-radius:8px;background:#0a2f70;color:#fff;font:inherit;font-size:12px;font-weight:800;cursor:pointer}
.aerech-search-close{width:42px;height:42px;border:0;background:transparent;color:#5f7087;font-size:28px;line-height:1;cursor:pointer}
body.aerech-search-open{overflow:hidden}
@media(min-width:981px){
 header .navlinks{display:flex;align-items:center;height:80px}
 header .navlinks>a,header .navlinks>.aerech-nav-item{display:flex;align-items:center;flex:0 0 auto;height:80px;min-height:80px;margin:0}
 header .navlinks>a,header .navlinks>.aerech-nav-item>.aerech-nav-trigger{height:80px;min-height:80px;padding:0;line-height:80px;font-size:inherit;font-weight:inherit;color:inherit}
 header .navlinks>a:hover,header .navlinks>.aerech-nav-item>.aerech-nav-trigger:hover{color:#176ef5}
 header .aerech-nav-item.active>.aerech-nav-trigger:after{content:"";position:absolute;left:0;right:0;bottom:17px;height:2px;background:#176ef5}
 /* Products remains the visual source of truth. Solutions and Blog only
    select their column count and reuse the same shell, columns and typography. */
 header .aerech-mega-menu--solutions{
   width:min(1180px,94vw);
   padding:26px 28px;
 }
 header .aerech-mega-grid--solutions{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
 header .aerech-mega-description{margin:0;color:#5e6d81;font-size:12px;line-height:1.65}
 header .aerech-mega-menu--blog{width:min(620px,calc(100vw - 32px));padding:22px 24px}
 header .aerech-nav-item--blog>.aerech-mega-menu--blog{left:50%;right:auto;transform:translateX(-50%)}
 header .aerech-mega-grid--blog{grid-template-columns:repeat(3,minmax(0,1fr));gap:0 20px}
 header .aerech-mega-grid--blog .aerech-mega-col{padding:10px 0;border-top:1px solid #e5ebf2}
 header .aerech-mega-grid--blog .aerech-mega-title{margin:0!important;font-size:13px!important}
}
@media(min-width:981px) and (max-width:1100px){
 header .aerech-nav-item--blog>.aerech-mega-menu--blog{left:auto;right:0;transform:none}
}
@media(max-width:980px){
 header.aerech-site-header .nav.wide-container{width:92vw}
 header .nav-actions{display:flex!important;align-items:center;flex:0 0 auto}
 header .aerech-nav-item{height:auto;display:block}
 header .aerech-nav-item>.aerech-nav-trigger{height:auto;min-height:46px}
 header button.aerech-nav-trigger{width:100%;justify-content:flex-start;text-align:left}
 header .aerech-mobile-nav>.aerech-nav-item{position:relative;border-bottom:1px solid #eef2f6}
 header .aerech-mobile-nav>.aerech-nav-item>.aerech-nav-trigger{padding:0 52px 0 8px;border-bottom:0}
 header .aerech-mobile-submenu-toggle{display:grid;place-items:center;position:absolute;right:2px;top:2px;width:42px;height:42px;border:0;background:transparent;color:#176ef5;font-size:20px;line-height:1;cursor:pointer}
 header .aerech-mobile-submenu-toggle:after{content:"+"}
 header .aerech-nav-item--mega.is-open>.aerech-mobile-submenu-toggle:after{content:"−"}
 header .aerech-mobile-nav .aerech-mega-menu{display:none!important;position:static;transform:none;width:100%;box-shadow:none;border:0;border-top:1px solid #edf1f6;padding:12px 10px 16px;background:#fafbfd}
 header .aerech-mobile-nav .aerech-nav-item--mega.is-open>.aerech-mega-menu{display:block!important}
 header .aerech-mobile-nav .aerech-mega-grid{grid-template-columns:1fr;gap:16px}
 header .aerech-mobile-nav .aerech-mega-grid--solutions,
 header .aerech-mobile-nav .aerech-mega-grid--blog{grid-template-columns:1fr}
 header .aerech-mobile-nav .aerech-solution-mega-grid{grid-template-columns:1fr;background:transparent;gap:8px}
 header .aerech-mobile-nav .aerech-solution-mega-item{border:1px solid #e4eaf1!important;min-height:0!important}
 header .aerech-mobile-nav .aerech-mega-footer{text-align:left}
 .aerech-search-dialog{width:100%;margin:0;border:0;border-radius:0;padding:16px 14px;box-shadow:0 16px 36px rgba(7,35,75,.18)}
 .aerech-search-form{grid-template-columns:auto minmax(0,1fr) auto;gap:9px}
 .aerech-search-form__icon{grid-column:1;grid-row:1}
 .aerech-search-form input[type=search]{grid-column:2;grid-row:1}
 .aerech-search-submit{grid-column:2/3;grid-row:2;width:max-content;margin-top:2px}
 .aerech-search-close{grid-column:3;grid-row:1}
 .aerech-search-form input[type=search]{font-size:16px;height:48px}
}
@media(max-width:620px){
 header .nav{gap:8px!important}
 header .nav-actions{gap:8px!important;margin-left:0!important}
 header .nav-actions .aerech-search-toggle{width:38px;height:38px;min-width:38px;flex-basis:38px}
 header .nav-actions .btn.primary{display:inline-flex!important;min-width:0!important;min-height:40px!important;height:40px!important;padding:0 10px!important;font-size:9px!important;white-space:nowrap}
}
@media(max-width:350px){header .nav-actions .btn.primary{display:none!important}}

/* Canonical product directory: identical hierarchy on every product page. */
aside.aerech-unified-product-nav{background:#fff;border:1px solid #dce5ef;border-radius:10px;overflow-x:hidden;overflow-y:auto;max-height:calc(100vh - 112px);box-shadow:0 12px 32px rgba(12,43,83,.08);scrollbar-width:thin;scrollbar-color:#b9c7d9 transparent}
aside.aerech-unified-product-nav .sidebar-head,
aside.aerech-unified-product-nav .product-sidebar-head{position:sticky;top:0;z-index:2;margin:0;padding:20px 22px;background:#1747bd;color:#fff;font-size:19px;font-weight:850;line-height:1.25}
aside.aerech-unified-product-nav .side-item,
aside.aerech-unified-product-nav .product-side-item{display:flex;align-items:center;min-width:0;flex:1;margin:0;padding:15px 10px 15px 18px;border:0;border-radius:0;background:transparent;color:#10233e;font-size:13px;font-weight:800;line-height:1.35;text-decoration:none}
aside.aerech-unified-product-nav .side-item.active,
aside.aerech-unified-product-nav .product-side-item.active{background:#eaf2ff;color:#176ef5}
aside.aerech-unified-product-nav .aerech-product-nav-family{margin:0;padding:0;border:0}
aside.aerech-unified-product-nav .aerech-product-nav-family-head{display:flex;align-items:stretch;border-top:1px solid #e5ebf2;background:#fff}
aside.aerech-unified-product-nav .aerech-product-nav-family-head:has(.active){background:#eaf2ff}
aside.aerech-unified-product-nav .aerech-product-nav-toggle{display:grid;place-items:center;flex:0 0 48px;width:48px;margin:0;padding:0;border:0;background:transparent;color:#60738e;cursor:pointer}
aside.aerech-unified-product-nav .aerech-product-nav-toggle span{display:block;font-size:18px;font-weight:700;line-height:1;transition:transform .2s ease}
aside.aerech-unified-product-nav .aerech-product-nav-toggle[aria-expanded="true"] span{transform:rotate(90deg)}
aside.aerech-unified-product-nav .aerech-product-nav-toggle:hover,
aside.aerech-unified-product-nav .aerech-product-nav-toggle:focus-visible{background:#edf4ff;color:#176ef5;outline:2px solid transparent}
aside.aerech-unified-product-nav .aerech-product-nav-panel[hidden]{display:none!important}
aside.aerech-unified-product-nav .aerech-product-nav-group{padding:10px 16px 12px;border-top:1px solid #eef2f6;background:#fbfcfe}
aside.aerech-unified-product-nav .aerech-product-nav-group>strong{display:block;margin:0 0 6px;color:#6b7b91;font-size:10px;font-weight:850;line-height:1.4;letter-spacing:.055em;text-transform:uppercase}
aside.aerech-unified-product-nav .aerech-product-nav-links{display:grid;grid-template-columns:minmax(0,1fr);gap:1px}
aside.aerech-unified-product-nav .aerech-product-nav-links a{display:block;min-width:0;margin:0;padding:6px 5px;border-radius:5px;color:#435873;font-size:12px;font-weight:650;line-height:1.45;text-decoration:none;overflow-wrap:anywhere}
aside.aerech-unified-product-nav .aerech-product-nav-links a:hover,
aside.aerech-unified-product-nav .aerech-product-nav-links a:focus-visible{background:#edf4ff;color:#176ef5;outline:none}
@media(max-width:980px){
 aside.aerech-unified-product-nav{position:static!important;max-height:none;overflow:visible}
 aside.aerech-unified-product-nav .sidebar-head,
 aside.aerech-unified-product-nav .product-sidebar-head{position:static}
}
