/* Shared sticky journey navigation for every primary pillar. */
body.wg-hub-page #hero + .container.my-4 {
  position: sticky !important;
  z-index: 700 !important;
  isolation: isolate;
  top: 126px;
  max-width: 1320px;
  margin-top: -35px !important;
  margin-bottom: 0 !important;
}

body.wg-hub-page #hero + .container.my-4 > .row,
body.wg-hub-page #hero + .container.my-4 > .row > [class*="col-"] {
  width: 100%;
  margin: 0;
}

body.wg-hub-page #hero + .container.my-4 .toc-container {
  position: relative;
  overflow: hidden;
  margin: 0 !important;
  padding: 12px 17px 16px !important;
  border: 1px solid rgba(7,31,53,.11) !important;
  border-radius: 19px !important;
  background: rgba(255,255,255,.94) !important;
  box-shadow: 0 15px 40px rgba(7,31,53,.12) !important;
  backdrop-filter: blur(18px);
}

body.wg-hub-page #hero + .container.my-4 .toc-links {
  width: 100%;
  display: flex !important;
  grid-template-columns: none !important;
  flex-flow: row nowrap !important;
  justify-content: flex-start !important;
  gap: 5px !important;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}

body.wg-hub-page #hero + .container.my-4 .toc-links::-webkit-scrollbar {
  display: none;
}

body.wg-hub-page #hero + .container.my-4 .toc-link {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 8px 10px;
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center;
  gap: 6px !important;
  color: #4e6173 !important;
  border-radius: 9px;
  font-size: .72rem;
  font-weight: 750;
  white-space: nowrap;
  transition: color .2s ease, background-color .2s ease;
}

body.wg-hub-page #hero + .container.my-4 .toc-link i {
  margin: 0 !important;
  color: #123f68;
  font-size: .95rem !important;
}

body.wg-hub-page #hero + .container.my-4 .toc-link:hover,
body.wg-hub-page #hero + .container.my-4 .toc-link.is-active {
  color: #fff !important;
  background: #071f35 !important;
}

body.wg-hub-page #hero + .container.my-4 .toc-link:hover span,
body.wg-hub-page #hero + .container.my-4 .toc-link.is-active span {
  color: #fff !important;
}

body.wg-hub-page #hero + .container.my-4 .toc-link:hover i,
body.wg-hub-page #hero + .container.my-4 .toc-link.is-active i {
  color: #ffcc00 !important;
}

body.wg-hub-page main > section[id]:not(#hero) {
  scroll-margin-top: 215px;
}

@media (max-width: 767px) {
  body.wg-hub-page #hero + .container.my-4 {
    top: 82px;
    margin-top: -20px !important;
    padding-inline: 8px;
  }

  body.wg-hub-page #hero + .container.my-4 .toc-container {
    padding: 9px 12px 13px !important;
    border-radius: 15px !important;
  }

  body.wg-hub-page #hero + .container.my-4 .toc-link {
    padding: 8px 9px;
  }

  body.wg-hub-page main > section[id]:not(#hero) {
    scroll-margin-top: 155px;
  }
}
