/* Editable navigation and custom pages; isolated from the existing theme. */
.site-header .hb-desktop-navigation { max-width:none; flex:0 1 auto; }
.hb-menu-list { display:flex; align-items:center; gap:22px; padding:0; margin:0; list-style:none; }
.hb-menu-item { position:relative; list-style:none; }
.hb-menu-row { display:flex; align-items:center; gap:1px; }
.site-header .hb-menu-link { display:block; border-radius:0; font-size:13px; font-weight:500; color:inherit; padding:15px 0; line-height:1.45; }
.site-header .hb-menu-link[aria-current="page"] { color:var(--orange); }
.site-header .hb-submenu-trigger { display:flex; align-items:center; justify-content:center; min-width:30px; height:44px; border:0; border-radius:0; background:transparent; color:inherit; padding:0 5px; font:inherit; cursor:pointer; }
.site-header .hb-submenu-trigger svg { width:14px; height:14px; margin:0; transition:transform .2s; }
.site-header .hb-submenu-trigger[data-state="open"] svg { transform:rotate(180deg); }
.site-header .hb-group-trigger { gap:7px; font-size:13px; font-weight:500; }
.site-header .hb-menu-link:focus-visible, .site-header .hb-submenu-trigger:focus-visible { outline:2px solid var(--orange); outline-offset:4px; }
.site-header .hb-submenu-panel { position:absolute; left:0; top:100%; z-index:55; width:290px; max-width:calc(100vw - 40px); max-height:calc(100dvh - 130px); overflow-y:auto; margin:0; border:1px solid #d5e0e5; border-top:3px solid var(--orange); border-radius:0; padding:10px 18px; background:white; color:var(--ink); box-shadow:0 16px 36px #0a202b30; }
.hb-submenu-panel ul { list-style:none; margin:0; padding:0; }
.site-header .hb-submenu-panel .hb-menu-link { white-space:normal; overflow-wrap:anywhere; padding:12px 3px; font-size:14px; border-bottom:1px solid #e9eef0; }
.site-header .hb-submenu-panel li:last-child .hb-menu-link { border-bottom:0; }
.site-header .hb-submenu-panel .hb-menu-link:hover { color:var(--teal); background:#eff4f6; }
.hb-menu-item:last-child .hb-submenu-panel { left:auto; right:0; }
.hb-submenu-panel .hb-menu-link::after { display:none; }
.site-header.hb-compact-header .desktop-nav, .site-header.hb-compact-header .header-contact { display:none; }
.site-header.hb-compact-header .menu-button { display:flex; }
.site-header.hb-compact-header .language-switch { margin-left:auto; }
.mobile-menu { display:flex; flex-direction:column; overflow-y:auto; overscroll-behavior:contain; }
.mobile-menu .hb-mobile-navigation { display:block; min-height:0; flex:1; overflow-y:auto; margin-top:24px; padding:0 2px 20px; }
.hb-mobile-group { border-bottom:1px solid #ffffff24; }
.hb-mobile-row { display:flex; align-items:center; gap:10px; min-height:66px; }
.hb-mobile-number { flex:none; font-size:12px; color:var(--orange); width:20px; }
.mobile-menu .hb-mobile-row .hb-menu-link { flex:1; min-width:0; padding:16px 0; border:0; font-size:19px; overflow-wrap:anywhere; }
.hb-mobile-toggle { flex:none; display:flex; align-items:center; justify-content:center; gap:12px; min-width:44px; min-height:44px; border:0; color:inherit; background:none; cursor:pointer; }
.hb-mobile-group-title { flex:1; justify-content:space-between; text-align:left; font-size:19px; padding:16px 0; }
.hb-mobile-toggle[data-state="open"] svg { transform:rotate(180deg); }
.mobile-menu .hb-mobile-children { padding:0 0 14px 30px; }
.mobile-menu .hb-mobile-children .hb-menu-link { display:block; padding:12px 6px; font-size:16px; border:0; letter-spacing:0; overflow-wrap:anywhere; }
.mobile-menu .hb-menu-link[aria-current="page"] { color:var(--orange); }
.hb-mobile-toggle:focus-visible, .mobile-menu .hb-menu-link:focus-visible { outline:2px solid var(--orange); outline-offset:1px; }
.menu-editor-intro { color:#526671; line-height:1.7; max-width:900px; margin:0 0 24px; }
.menu-record-list .menu-record-child { padding-left:24px; gap:8px; }
.menu-record-child > svg { flex:none; color:var(--teal); }
.menu-record-list .record strong { overflow-wrap:anywhere; }
.record-editor .admin-field > label { font-size:14px; font-weight:600; }
.record-editor [data-slot="select-trigger"] { width:100%; min-height:46px; height:auto; text-align:left; border:1px solid #beced5; background:white; padding:11px 13px; border-radius:4px; font-size:14px; }
.record-editor [data-slot="select-value"] { white-space:normal; overflow-wrap:anywhere; }
.page-publish-options { border-top:1px solid #dce4e8; border-bottom:1px solid #dce4e8; padding:20px 0; margin:20px 0; }
.page-menu-actions { display:flex; align-items:center; flex-wrap:wrap; gap:12px; margin:20px 0; }
.page-menu-actions .button { font-size:14px; padding:12px 16px; }
.admin-page-link { display:inline-flex; gap:8px; align-items:center; color:var(--teal); font-size:14px; text-decoration:underline; text-underline-offset:4px; }
.hb-menu-details summary { cursor:pointer; padding:15px 0; }
.hb-menu-details .hb-submenu { position:absolute; top:100%; left:0; z-index:55; list-style:none; width:280px; max-width:calc(100vw - 40px); background:white; color:var(--ink); box-shadow:0 8px 30px #10212a33; margin:0; padding:12px 18px; }
.hb-server-navigation .hb-menu-list { flex-wrap:wrap; }
@media(max-width:1100px) {
 .site-header .hb-desktop-navigation { display:none; }
 .site-header .menu-button { display:flex; }
 .site-header .header-contact { display:none; }
 .site-header .language-switch { margin-left:auto; }
 .hb-server-navigation { display:block; width:100%; }
 .hb-server-navigation .hb-menu-list { gap:4px 15px; }
}
@media(prefers-reduced-motion:reduce) { .site-header .hb-submenu-trigger svg { transition:none; } }
