.hero-nav {
  position: sticky;
  top: var(--bc-shared-header-height, 66px);
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(0,1.17fr) minmax(0,.94fr) minmax(0,.97fr) minmax(0,1.7fr) minmax(0,.84fr);
  color: white;
  background: #fff;
  border-radius: 8px;
  font: 650 16px/1.2 Arial, sans-serif;
}
.hero-nav > a, .hero-nav summary {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
  height: 100%;
  min-height: 48px;
  padding: 9px 8px;
  text-decoration: none;
  color: white;
  background: linear-gradient(#646568, #525355);
  border-inline-end: 1px solid #939496;
  cursor: pointer;
  touch-action: manipulation;
}
.hero-nav > a:first-child {border-radius: 8px 0 0 8px}
.hero-nav > a[aria-current] {background: linear-gradient(#212326,#080909)}
.hero-nav > a:hover {background: #373c40}
.hero-nav details {position: static; min-width: 0; margin: 0}
.hero-nav summary {gap: 9px; border: 0; border-radius: 0 8px 8px 0; background: #153b56; list-style: none}
.hero-nav summary::-webkit-details-marker {display:none}
.hero-nav summary::after {content: ''; width: 7px; height: 7px; flex: none; transform: translateY(-2px) rotate(45deg); border: solid currentColor; border-width: 0 2px 2px 0}
.hero-nav details[open] summary::after {transform: translateY(2px) rotate(225deg)}
.hero-nav :is(a,summary):focus-visible {outline: 3px solid #56b5e5; outline-offset: -3px}
.hero-catalog {
  position: absolute; inset: 100% 0 auto auto; width: min(230px,100%);
  display: grid; padding: 4px; box-sizing: border-box; overflow-y: auto;
  max-height: calc(100dvh - var(--bc-shared-header-height,66px) - var(--hero-nav-height,48px) - 10px);
  border: 1px solid #bdcbd1; border-radius: 7px; background: white;
  box-shadow: 0 5px 16px #15374824; font: 600 16px/1.25 Arial,sans-serif;
}
.hero-catalog a {display:block; padding:12px; color:#184564; text-decoration:none; border-radius:4px}
.hero-catalog a:hover,.hero-catalog a:focus-visible {background:#edf3f6; text-decoration:underline}
.hero-stack .family, .home-heroes .family {scroll-margin-top:calc(var(--bc-shared-header-height,66px) + var(--hero-nav-height,48px) + 7px)}
.home-heroes .family[hidden] {display:none!important}
.home-heroes .family {margin: 0 auto}
.home-heroes {touch-action: pan-y pinch-zoom}
.home-hero-controls {display:flex;justify-content:center;align-items:center;gap:10px;margin:8px auto;color:#385266;font:600 14px/1.2 Arial,sans-serif}
.home-hero-controls button {background:#fff;color:#24465d;border:1px solid #c7d3da;border-radius:5px;min-height:36px;padding:6px 12px;cursor:pointer;font:inherit}
@media(max-width:730px){
  .hero-nav {font-size:14px}
  .hero-nav > a,.hero-nav summary {padding:7px 4px}
}
@media(max-width:560px){
  .hero-nav {grid-template-columns:repeat(4,minmax(0,1fr)); border-radius:6px; font-size:14px}
  .hero-nav > a:nth-child(-n+3) {grid-column:span 1}
  .hero-nav > a:nth-child(4) {grid-row:2;grid-column:1/4;min-height:38px;border-top:1px solid #929597;border-radius:0 0 0 6px}
  .hero-nav > a:nth-child(3) {border-radius:0}
  .hero-nav > a:first-child {border-radius:6px 0 0 0}
  .hero-nav details {grid-row:1/3;grid-column:4}
  .hero-nav summary {flex-direction:column;gap:5px;border-radius:0 6px 6px 0}
}

.home-hero-controls[hidden]{display:none}
