/* Shared hub navigation: desktop links, compact mobile disclosure, one sticky stack. */
body .rux-site-chrome {
  position: sticky; top: 0; z-index: 400; width: 100%;
  background: #36505e; box-shadow: 0 2px 8px #102b4030;
}
body .rux-site-chrome > header {
  position: relative !important; top: auto !important; z-index: auto !important;
  margin: 0; width: 100%; box-sizing: border-box;
}
body[data-rux-current-hub] :is(#hubNav, #drawer, #mobileNavOverlay, #mobileOverlay),
body .rux-site-chrome :is(.hamburger-btn, .hamburger, .header-divider-bottom) { display: none !important; }
body .rux-hubs {
  position: relative; background: #2c414d; color: #fff;
  border-block: 2px solid #b68d4c; padding: 8px 16px;
  font: 600 13px/1.35 'DM Sans', system-ui, sans-serif;
  box-sizing: border-box; text-align: center;
}
body .rux-hubs-desktop {
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 7px; max-width: 1060px; margin: 0 auto;
}
body .rux-hubs .rux-hub-choice {
  display: flex; justify-content: center; align-items: center; box-sizing: border-box;
  min-height: 34px; padding: 6px 9px; border-radius: 999px;
  background: var(--rux-hub-bg, #36505e); color: var(--rux-hub-ink, #fff);
  border: 1px solid #ffffff55; font: inherit; text-decoration: none;
  white-space: normal; overflow-wrap: normal; margin: 0; outline-offset: 2px;
}
body .rux-hubs .rux-hub-choice:hover { box-shadow: inset 0 0 0 2px #ffffff99; }
body .rux-hubs .rux-hub-choice[aria-current] {
  outline: 2px solid #ffcf5c; box-shadow: inset 0 -3px 0 #ffcf5c;
  text-decoration: underline; text-underline-offset: 4px; font-weight: 800;
}
body .rux-hubs :is(a, summary):focus-visible { outline: 3px solid white; outline-offset: 2px; box-shadow: 0 0 0 5px #1565c0; }
body .rux-hubs-mobile { display: none; }
body[data-rux-current-hub] [id] { scroll-margin-top: calc(var(--rux-chrome-height, 150px) + 18px); }
@media(max-width: 768px) {
  body .rux-hubs { padding: 4px 12px; }
  body .rux-hubs-desktop { display: none; }
  body .rux-hubs-mobile { display: block; position: relative; margin: 0; padding: 0; border: 0; background: none; }
  body .rux-hubs-mobile > summary {
    list-style: none; display: flex; justify-content: space-between; align-items: center;
    gap: 12px; min-height: 40px; padding: 2px 12px; border: 1px solid #ffcf5c;
    border-radius: 8px; cursor: pointer; font: 700 14px/1.3 'DM Sans', system-ui, sans-serif;
    background: var(--rux-hub-bg, #36505e); color: var(--rux-hub-ink, #fff);
  }
  body .rux-hubs-mobile > summary::-webkit-details-marker { display: none; }
  body .rux-hub-menu-label { font-size: 12px; font-weight: 600; }
  body .rux-hub-menu-caret { display: inline-block; margin-left: 5px; }
  body .rux-hubs-mobile[open] .rux-hub-menu-caret { transform: rotate(180deg); }
  body .rux-hubs-mobile-links {
    position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 1;
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
    max-height: calc(100vh - var(--rux-chrome-height, 160px) - 18px);
    max-height: calc(100dvh - var(--rux-chrome-height, 160px) - 18px);
    overflow-y: auto; overscroll-behavior: contain; box-sizing: border-box;
    padding: 12px; border-radius: 10px; border: 1px solid #b68d4c;
    background: #2c414d; box-shadow: 0 8px 22px #102b4066;
  }
  body .rux-hubs-mobile-links .rux-hub-choice { min-height: 44px; padding: 7px; white-space: normal; }
}
@media print { body .rux-site-chrome { display: none !important; } }
