/* GNB highlight flicker guard for Insight pages
   Hide highlight until JS confirms the correct item,
   then .ti-nav-ready on <body> re-enables theme highlight styles. */

/* Neutralize active states on Insight single & archive until ready */
body.single-insight:not(.ti-nav-ready) #Top_bar .menu > li.current-menu-item > a,
body.single-insight:not(.ti-nav-ready) #Top_bar .menu > li.current-menu-parent > a,
body.single-insight:not(.ti-nav-ready) #Top_bar .menu > li.current-menu-ancestor > a,
body.post-type-archive-insight:not(.ti-nav-ready) #Top_bar .menu > li.current-menu-item > a,
body.post-type-archive-insight:not(.ti-nav-ready) #Top_bar .menu > li.current-menu-parent > a,
body.post-type-archive-insight:not(.ti-nav-ready) #Top_bar .menu > li.current-menu-ancestor > a {
  color: inherit !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.single-insight:not(.ti-nav-ready) #Top_bar .menu > li.current-menu-item > a:after,
body.single-insight:not(.ti-nav-ready) #Top_bar .menu > li.current-menu-parent > a:after,
body.single-insight:not(.ti-nav-ready) #Top_bar .menu > li.current-menu-ancestor > a:after,
body.post-type-archive-insight:not(.ti-nav-ready) #Top_bar .menu > li.current-menu-item > a:after,
body.post-type-archive-insight:not(.ti-nav-ready) #Top_bar .menu > li.current-menu-parent > a:after,
body.post-type-archive-insight:not(.ti-nav-ready) #Top_bar .menu > li.current-menu-ancestor > a:after {
  opacity: 0 !important;
  content: none !important;
  transform: none !important;
  width: 0 !important;
  height: 0 !important;
}

