.vb-nav { position: relative; z-index: 20; overflow: visible; background: var(--vb-blue); color: #fff; }
.vb-nav__inner { overflow: visible; }
.vb-menu { position: static; flex: 0 0 auto; }
.vb-menu summary { position: relative; display: flex; align-items: center; gap: 2px; cursor: pointer; list-style: none; white-space: nowrap; }
.vb-menu summary::-webkit-details-marker { display: none; }
.vb-nav .vb-nav__link, .vb-nav .vb-menu > summary { color: #fff; font-weight: 500; }
.vb-nav .vb-nav__link::after, .vb-menu summary::after { display: none; }
.vb-nav .vb-nav__link:hover, .vb-nav .vb-nav__link:focus-visible, .vb-menu summary:hover, .vb-menu[open] > summary { background: transparent; box-shadow: none; }
.vb-menu__arrow { width: 0; height: 0; border-inline: 4px solid transparent; border-top: 5px solid currentColor; }
.vb-menu[open] .vb-menu__arrow { transform: rotate(180deg); }
.vb-nav .vb-menu__panel { position: absolute; top: 100%; left: 0; right: 0; z-index: 30; width: 100%; min-height: min(548px, calc(100dvh - 160px)); max-height: calc(100dvh - 160px); padding: 0; overflow-y: auto; transform: none; border: 0; box-shadow: none; color: #fff; background: linear-gradient(98.36deg, #3e3d8b 1.08%, #1f1e4d 98.06%); }
.vb-menu__panel::before { content: ''; position: absolute; inset: 0; background: url('../img/figma-home/bg-buildings.svg') center bottom / cover no-repeat; opacity: .25; pointer-events: none; }
.vb-menu__inner { position: relative; width: calc(100% - 100px); max-width: 1340px; margin: 0 auto; padding: 58px 0 72px; }
.vb-menu__title { margin: 0 0 46px; color: #fff; font: 700 35px/1.2 var(--vb-serif); }
.vb-menu__layout { display: grid; grid-template-columns: 260px minmax(0, 620px); gap: 40px; align-items: start; }
.vb-menu__categories, .vb-menu__content, .vb-menu__group, .vb-menu__links > section { min-width: 0; }
.vb-menu__categories, .vb-menu__column, .vb-menu__links > section { max-height: max(140px, calc(100dvh - 390px)); overflow-y: auto; overscroll-behavior-y: contain; scrollbar-width: thin; scrollbar-color: #a8a7cf transparent; padding-right: 24px; }
.vb-menu__category { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 53px; padding: 12px 0; border: 0; border-bottom: 1px solid #ffffff7a; color: #fff; background: transparent; font: 600 18px/1.35 var(--vb-sans); text-align: left; cursor: pointer; }
.vb-menu__category::after { content: ''; width: 32px; height: 10px; flex: 0 0 auto; background: currentColor; clip-path: polygon(0 45%,78% 45%,78% 0,100% 50%,78% 100%,78% 55%,0 55%); visibility: hidden; }
.vb-menu__category[aria-selected='true']::after, .vb-menu__category:hover::after { visibility: visible; }
.vb-menu__category[aria-selected='true'], .vb-menu__category:hover { color: var(--vb-red); }
.vb-menu__group { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.vb-menu__group[hidden] { display: none; }
.vb-nav .vb-menu__panel a { display: flex; align-items: center; justify-content: flex-start; min-height: 53px; padding: 12px 0; border-bottom: 1px solid #ffffff7a; color: #fff; background: transparent; font: 400 18px/1.35 var(--vb-sans); letter-spacing: 0; text-transform: none; text-align: left; white-space: normal; overflow-wrap: anywhere; }
.vb-nav .vb-menu__panel a::after { display: none; }
.vb-nav .vb-menu__panel a:hover, .vb-nav .vb-menu__panel a:focus-visible, .vb-nav .vb-menu__panel a[aria-current='page'] { color: var(--vb-red); background: transparent; }
.vb-menu__category:last-child, .vb-nav .vb-menu__panel a:last-child { border-bottom: 0; }
.vb-menu__links { display: grid; grid-template-columns: repeat(3, minmax(0, 280px)); gap: 40px; align-items: start; }
.vb-menu__panel--single .vb-menu__links { max-width: 940px; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 60px; }
.vb-menu__panel--single .vb-menu__links > a { min-width: 0; }
@media (max-width: 1023.98px) {
    .vb-nav .vb-menu__panel { position: relative; top: auto; width: 100%; min-height: 0; max-height: none; overflow: visible; transform: none; }
    .vb-menu__inner { width: auto; padding: 24px; }
    .vb-menu__title { margin-bottom: 24px; font-size: 28px; }
    .vb-menu__layout, .vb-menu__group, .vb-menu__links, .vb-menu__panel--single .vb-menu__links { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .vb-menu__categories, .vb-menu__column, .vb-menu__links > section { max-height: 45dvh; padding-right: 12px; }
    .vb-nav .vb-menu__panel a { font-size: 18px; }
}
