/* Shared WordPress menu, desktop mega menu and mobile drilldown. */
.kbs-hf-shell [hidden] { display: none !important; }
.kbs-hf-shell.has-modal { z-index: 100100; }
.kbs-hf-header { position: relative; z-index: 10001; backdrop-filter: none; -webkit-backdrop-filter: none; }
.kbs-hf-nav-list > li { position: static; }
.kbs-hf-nav-list > li > a { position: relative; font-weight: 500; }
.kbs-hf-nav-list .sub-menu { position: static; min-width: 0; margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; opacity: 1; pointer-events: auto; transform: none; transition: none; list-style: none; }
.kbs-hf-nav-list li:hover > .sub-menu,
.kbs-hf-nav-list li:focus-within > .sub-menu { transform: none; }
.kbs-hf-nav-list > li > .sub-menu {
  position: absolute; inset: 100% 0 auto; width: 100%; padding: 36px max(36px, calc((100vw - 1280px) / 2)) 48px;
  display: none; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px 40px;
  max-height: calc(100dvh - 120px); overflow-y: auto; overscroll-behavior: contain; background: #fff;
}
.kbs-hf-shell:not(.nav-ready) .kbs-hf-nav-list > li:hover > .sub-menu,
.kbs-hf-shell:not(.nav-ready) .kbs-hf-nav-list > li:focus-within > .sub-menu,
.kbs-hf-nav-list > li.is-expanded > .sub-menu { display: grid; }
.kbs-hf-nav-list > li.is-expanded > a::after { left: 0; right: 0; }
.kbs-hf-nav-list .sub-menu a { padding: 6px 0; font-size: 14px; line-height: 1.5; font-weight: 400; color: #707072; white-space: normal; overflow-wrap: anywhere; }
.kbs-hf-nav-list > li > .sub-menu > li > a { color: #111; font-size: 16px; font-weight: 500; margin-bottom: 12px; }
.kbs-hf-nav-list .sub-menu .sub-menu .sub-menu { padding-left: 14px; }
.kbs-hf-nav-list .sub-menu a:hover { color: #111; background: transparent; text-decoration: underline; text-underline-offset: 4px; }
.kbs-hf-nav-list > li > .sub-menu > .kbs-hf-view-all { grid-column: 1 / -1; }
.kbs-hf-nav-list > li > .sub-menu > .kbs-hf-view-all > a { margin: 0; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.kbs-hf-shell :is(a,button,input):focus-visible { outline: 2px solid #111 !important; outline-offset: 4px; }
.kbs-hf-drawer { width: min(400px, 80vw); height: 100dvh; padding: 14px 36px max(32px, env(safe-area-inset-bottom)); box-shadow: none; overscroll-behavior: contain; }
.kbs-hf-drawer-head { min-height: 44px; margin: 0 -12px 32px; gap: 12px; }
.kbs-hf-shell .kbs-hf-drawer-head button[data-kbs-hf-menu-close] { margin-left: auto !important; }
.kbs-hf-shell .kbs-hf-drawer-head button.kbs-hf-icon-button { width: 44px !important; min-width: 44px !important; height: 44px !important; padding: 12px !important; }
.kbs-hf-shell .kbs-hf-back { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; max-width: calc(100% - 56px); padding: 0; border: 0; border-radius: 0; background: transparent; color: #111; font: inherit; font-size: 16px; text-align: left; cursor: pointer; }
.kbs-hf-shell .kbs-hf-back:hover,.kbs-hf-shell .kbs-hf-back:focus { background: transparent; color: #111; }
.kbs-hf-shell .kbs-hf-back span { overflow-wrap: anywhere; }
.kbs-hf-shell .kbs-hf-back svg,.kbs-hf-panel svg { width: 20px; height: 20px; flex-shrink: 0; stroke-width: 1.6; }
.kbs-hf-panel ul { list-style: none; margin: 0; padding: 0; }
.kbs-hf-panel li { margin: 0; padding: 0; border: 0; }
.kbs-hf-shell .kbs-hf-panel a,.kbs-hf-shell .kbs-hf-panel button {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 48px; margin: 0; padding: 8px 0;
  color: #707072; border: 0; border-radius: 0; background: transparent; text-align: left; text-decoration: none;
  font: inherit; font-size: 18px; font-weight: 400; line-height: 1.4; letter-spacing: -.02em; cursor: pointer; overflow-wrap: anywhere;
}
.kbs-hf-shell .kbs-hf-panel a:hover,.kbs-hf-shell .kbs-hf-panel button:hover { color: #111; background: transparent; }
.kbs-hf-panel[data-level="0"] a,.kbs-hf-panel[data-level="0"] button { color: #111; font-size: 24px; }
.kbs-hf-panel h2 { margin: 0 0 24px; color: #111; font: inherit; font-size: 24px; font-weight: 500; line-height: 1.25; overflow-wrap: anywhere; }
.kbs-hf-shell .kbs-hf-panel a.kbs-hf-panel-all { margin-top: 20px; font-size: 16px; color: #111; text-decoration: underline; text-underline-offset: 4px; }
.kbs-hf-drawer-member { margin-top: 64px; }
.kbs-hf-drawer-member p { margin: 0 0 24px; color: #707072; font-size: 20px; line-height: 1.5; letter-spacing: -.02em; }
.kbs-hf-account-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.kbs-hf-shell .kbs-hf-account-pill,
.kbs-hf-shell .kbs-hf-account-pill:visited { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 9px 18px; margin: 0; border: 1px solid #111 !important; border-radius: 99px; background: #111 !important; color: #fff !important; font-size: 16px; font-weight: 600; line-height: 1.4; text-decoration: none; }
.kbs-hf-shell .kbs-hf-account-pill:hover { background: #333 !important; color: #fff !important; }
.kbs-hf-shell .kbs-hf-account-pill.kbs-hf-account-outline,
.kbs-hf-shell .kbs-hf-account-pill.kbs-hf-account-outline:visited { background: #fff !important; border-color: #ccc !important; color: #111 !important; }
.kbs-hf-shell .kbs-hf-account-pill.kbs-hf-account-outline:hover { border-color: #111 !important; background: #f5f5f5 !important; color: #111 !important; }
.kbs-hf-drawer-links { gap: 4px; margin-top: 24px; }
.kbs-hf-drawer-links a { display: flex; align-items: center; min-height: 44px; }
.kbs-hf-nojs-nav { padding: 24px; }
.kbs-hf-nojs-nav ul { list-style: none; padding-left: 16px; }
.kbs-hf-nojs-nav a { display: block; padding: 8px; color: #111; }
/* Hello's header stylesheet normally supplies this accessible skip-link rule. */
body.kbs-hf-active > a.skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (min-width: 1181px) { .kbs-hf-nojs-nav { display: none; } }
@media (max-width: 1180px) {
  .kbs-hf-header-inner { grid-template-columns: minmax(0,1fr) auto; }
  .kbs-hf-shell button.kbs-hf-action-menu { display: inline-flex !important; order: 4; }
}
@media (max-width: 390px) { .kbs-hf-drawer { width: calc(100vw - 56px); padding-left: 28px; padding-right: 28px; } }
@media (prefers-reduced-motion: reduce) { .kbs-hf-drawer { transition: none; } }

/* Keep theme button states from introducing accent fills, borders or tap flashes. */
.kbs-hf-shell .kbs-hf-drawer :is(button.kbs-hf-back, .kbs-hf-panel button),
.kbs-hf-shell .kbs-hf-drawer :is(button.kbs-hf-back, .kbs-hf-panel button):is(:hover, :focus, :active) {
  background: transparent;
  border: 0;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
}
.kbs-hf-shell .kbs-hf-drawer button.kbs-hf-back:is(:hover, :focus, :active) { color: #111; }
.kbs-hf-shell .kbs-hf-panel button:is(:hover, :focus, :active) { color: #111; }
.kbs-hf-shell.has-modal .kbs-hf-header { z-index: 0; }
