/* A single highlight travels beneath options instead of fading separate backgrounds. */
.has-hover-glide { isolation: isolate; }
.has-hover-glide::after, li.lgt-menu-current > ul.has-hover-glide::after {
 content: ""; display: block !important; position: absolute; z-index: 0; top: 0; left: 0; pointer-events: none;
 width: var(--hover-w); height: var(--hover-h); transform: translate(var(--hover-x), var(--hover-y));
 border: 0; border-radius: 7px; background: rgba(37,99,235,.08); opacity: 0;
 transition: transform .3s cubic-bezier(.34,1.4,.64,1), width .3s cubic-bezier(.34,1.4,.64,1), height .3s cubic-bezier(.34,1.4,.64,1), opacity .15s;
}
.has-hover-glide.is-hover-gliding::after, li.lgt-menu-current > ul.has-hover-glide.is-hover-gliding::after { opacity: 1; }
.has-hover-glide.is-glide-initial::after { transition: none; }
.has-hover-glide > *, .has-hover-glide > li > a { position: relative; z-index: 1; }
.lgt-ui .has-hover-glide .lgt-select-opt:hover,
.lgt-ui .has-hover-glide .lgt-select-opt.is-active,
.lgt-ui .has-hover-glide label:hover,
.lgt-ui .has-hover-glide .lgt-type-reset:hover,
.lgt-switcher--dropdown .has-hover-glide a:hover,
.lgt-switcher--dropdown .has-hover-glide a:focus-visible,
li.lgt-menu-current > ul.has-hover-glide > li > a:hover,
li.lgt-menu-current > ul.has-hover-glide > li > a:focus-visible { background: transparent !important; }
@media (max-width: 1024px) {
 li.lgt-menu-current > ul.has-hover-glide::after { display: none !important; }
}
@media (prefers-reduced-motion: reduce) { .has-hover-glide::after { transition: none !important; } }
