/* Classic Bakery — Option B: soft candle-glow halo and a 1px lift.
   Production-ready. No markup change. Do not alter classic-v8-navigation.js.
   Enqueue: classic-v8-nav-hover.css?ver=1.0.1 after classic-v8.css 8.1.15. */

#top.cb-v8-brand .cb-primary-links a,
#top.cb-v8-brand .cb-all-menu summary{
  position:relative;
  isolation:isolate;
}
#top.cb-v8-brand .cb-primary-links a::before,
#top.cb-v8-brand .cb-all-menu summary::before{
  content:"";
  position:absolute;
  left:-0.6em;
  right:-0.6em;
  top:3px;
  bottom:3px;
  border-radius:999px;
  background:radial-gradient(
    ellipse at 50% 55%,
    rgba(255,242,164,1) 0%,
    rgba(255,242,164,0.70) 36%,
    rgba(255,242,164,0.28) 60%,
    rgba(255,242,164,0) 78%
  );
  opacity:0;
  transform:scale(0.92);
  pointer-events:none;
  z-index:-1;
}

/* Submenu / More-panel items: same butter-yellow candle glow, row-shaped. */
#top.cb-v8-brand .cb-menu-panel a,
#top.cb-v8-brand .cb-menu-panel .cb-submenu-toggle{
  position:relative;
  isolation:isolate;
}
#top.cb-v8-brand .cb-menu-panel a::before,
#top.cb-v8-brand .cb-menu-panel .cb-submenu-toggle::before{
  content:"";
  position:absolute;
  left:4px;
  right:4px;
  top:3px;
  bottom:3px;
  border-radius:8px;
  background:radial-gradient(
    ellipse at 22% 50%,
    rgba(255,242,164,0.95) 0%,
    rgba(255,242,164,0.55) 42%,
    rgba(255,242,164,0.16) 70%,
    rgba(255,242,164,0) 86%
  );
  opacity:0;
  transform:translateY(1px);
  pointer-events:none;
  z-index:-1;
}

@media (hover:hover) and (pointer:fine){
  #top.cb-v8-brand .cb-primary-links a,
  #top.cb-v8-brand .cb-all-menu summary,
  #top.cb-v8-brand .cb-menu-panel a,
  #top.cb-v8-brand .cb-menu-panel .cb-submenu-toggle{
    transition:transform 280ms cubic-bezier(.2,.7,.2,1);
  }
  #top.cb-v8-brand .cb-primary-links a::before,
  #top.cb-v8-brand .cb-all-menu summary::before,
  #top.cb-v8-brand .cb-menu-panel a::before,
  #top.cb-v8-brand .cb-menu-panel .cb-submenu-toggle::before{
    transition:opacity 280ms cubic-bezier(.2,.7,.2,1), transform 280ms cubic-bezier(.2,.7,.2,1);
  }
  #top.cb-v8-brand .cb-primary-links a:hover,
  #top.cb-v8-brand .cb-primary-links a:focus-visible,
  #top.cb-v8-brand .cb-all-menu summary:hover,
  #top.cb-v8-brand .cb-all-menu summary:focus-visible,
  #top.cb-v8-brand .cb-primary-links a[aria-current="page"]{
    transform:translateY(-1px);
  }
  #top.cb-v8-brand .cb-primary-links a:hover::before,
  #top.cb-v8-brand .cb-primary-links a:focus-visible::before,
  #top.cb-v8-brand .cb-all-menu summary:hover::before,
  #top.cb-v8-brand .cb-all-menu summary:focus-visible::before,
  #top.cb-v8-brand .cb-primary-links a[aria-current="page"]::before{
    opacity:1;
    transform:scale(1);
  }
  #top.cb-v8-brand .cb-menu-panel a:hover,
  #top.cb-v8-brand .cb-menu-panel a:focus-visible,
  #top.cb-v8-brand .cb-menu-panel .cb-submenu-toggle:hover,
  #top.cb-v8-brand .cb-menu-panel .cb-submenu-toggle:focus-visible{
    transform:translateY(-1px);
  }
  #top.cb-v8-brand .cb-menu-panel a:hover::before,
  #top.cb-v8-brand .cb-menu-panel a:focus-visible::before,
  #top.cb-v8-brand .cb-menu-panel .cb-submenu-toggle:hover::before,
  #top.cb-v8-brand .cb-menu-panel .cb-submenu-toggle:focus-visible::before{
    opacity:1;
    transform:translateY(0);
  }
}

@media (prefers-reduced-motion:reduce){
  #top.cb-v8-brand .cb-primary-links a,
  #top.cb-v8-brand .cb-all-menu summary,
  #top.cb-v8-brand .cb-menu-panel a,
  #top.cb-v8-brand .cb-menu-panel .cb-submenu-toggle,
  #top.cb-v8-brand .cb-primary-links a::before,
  #top.cb-v8-brand .cb-all-menu summary::before,
  #top.cb-v8-brand .cb-menu-panel a::before,
  #top.cb-v8-brand .cb-menu-panel .cb-submenu-toggle::before{
    transition:none !important;
  }
}
