/* Independent mobile navigation; existing desktop sitemap keeps its layout. */
.cb-menu-trigger { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.cb-mobile-menu[hidden] { display: none !important; }
.cb-mobile-menu { position: fixed; inset: 0; z-index: 100000; height: 100vh; height: 100dvh; width: 100%; background: #fff; color: #222; display: flex; flex-direction: column; text-align: left; }
.cb-mobile-menu * { box-sizing: border-box; }
.cb-menu-header { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: calc(12px + env(safe-area-inset-top, 0px)) 20px 12px; border-bottom: 1px solid #eee; background: #fff; }
.cb-menu-logo { display: block; max-width: 250px; min-width: 0; }
.cb-menu-logo img { display: block; width: 100%; height: auto; }
.cb-menu-close { flex: 0 0 44px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 6px; background: #f5f6f8; color: #222; cursor: pointer; appearance: none; }
.cb-menu-close > span { position: relative; display: block; width: 20px; height: 20px; font-size: 0; line-height: 0; }
.cb-menu-close > span::before, .cb-menu-close > span::after { content: ""; position: absolute; top: 50%; left: 50%; width: 22px; height: 2px; border-radius: 1px; background: currentColor; transform: translate(-50%, -50%) rotate(45deg); }
.cb-menu-close > span::after { transform: translate(-50%, -50%) rotate(-45deg); }
.cb-menu-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 12px 20px calc(24px + env(safe-area-inset-bottom, 0px)); overflow-anchor: none; }
.cb-menu-groups { list-style: none; padding: 0; margin: 0 auto; width: 100%; max-width: 720px; }
.cb-menu-group { border-bottom: 1px solid #e8e8e8; }
.cb-menu-toggle, .cb-menu-direct { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; min-height: 64px; padding: 16px 4px; border: 0; background: none; color: #222; font-family: inherit; font-size: 21px; font-weight: 700; line-height: 1.5; text-align: left; cursor: pointer; }
.cb-menu-chevron { flex: 0 0 9px; width: 9px; height: 9px; margin: 0 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform 120ms ease; }
.cb-menu-toggle[aria-expanded="true"] { color: #0064c5; }
.cb-menu-toggle[aria-expanded="true"] .cb-menu-chevron { transform: rotate(225deg); }
.cb-menu-sub { list-style: none; margin: 0 0 16px; padding: 6px 12px; border-radius: 8px; background: #f5f7f9; }
.cb-menu-sub[hidden] { display: none; }
.cb-menu-sub a { display: block; min-height: 48px; padding: 12px; color: #444; font-size: 16px; line-height: 1.5; word-break: keep-all; overflow-wrap: anywhere; }
.cb-menu-sub a[aria-current="page"] { color: #0064c5; font-weight: 700; background: #e7f0fa; border-radius: 4px; }
.cb-mobile-menu :focus-visible, .cb-menu-trigger:focus-visible { outline: 2px solid #0064c5; outline-offset: 2px; }
@media (max-width: 1024px) {
    .wrap .header #cb-desktop-menu { display: none !important; }
}
@media (min-width: 1025px) {
    .cb-mobile-menu { display: none !important; }
    #cb-desktop-menu .submenu { display: block; }
}
@media (prefers-reduced-motion: reduce) {
    .cb-menu-chevron { transition: none; }
}
