/* Full-screen mobile navigation, using the editorial theme's existing palette. */
dialog.bf-mobile-menu {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  box-sizing: border-box;
  margin: 0;
  padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: #fff;
  color: #172033;
  overflow: hidden;
  overscroll-behavior: contain;
  font-family: inherit;
}
dialog.bf-mobile-menu[open] { display: flex; flex-direction: column; }
.bf-mobile-menu::backdrop { background: #fff; }
.bf-mobile-menu__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 56px;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  flex: 0 0 auto;
}
.bf-mobile-menu .bf-mobile-menu__title {
  margin: 0;
  color: #172033;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
  overflow-wrap: anywhere;
}
.bf-mobile-menu .bf-mobile-menu__control {
  min-width: 48px;
  min-height: 48px;
  padding: 8px 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #172033;
  box-shadow: none;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}
.bf-mobile-menu__content {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 16px 24px 32px;
  scrollbar-color: #a2a9b4 #fff;
}
.bf-mobile-menu .bf-mobile-menu__context {
  margin: 0 0 24px;
  font-size: 14px;
  line-height: 1.7;
  color: #5f6877;
  overflow-wrap: anywhere;
}
.bf-mobile-menu .bf-mobile-menu__list { list-style: none; margin: 0; padding: 0; }
.bf-mobile-menu__item { margin: 0; padding: 0; }
.bf-mobile-menu .bf-mobile-menu__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 60px;
  box-sizing: border-box;
  padding: 16px 12px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  color: #172033;
  text-align: left;
  text-decoration: none;
  font-family: inherit;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
}
.bf-mobile-menu__label { min-width: 0; overflow-wrap: anywhere; }
.bf-mobile-menu__group > summary { list-style: none; }
.bf-mobile-menu__group > summary::-webkit-details-marker { display: none; }
.bf-mobile-menu__group[open] > summary { background: #f6f7f9; }
.bf-mobile-menu__children { padding-left: 16px; }
.bf-mobile-menu__children .bf-mobile-menu__row { font-size: 16px; min-height: 48px; padding: 12px; }
.bf-mobile-menu__children .bf-mobile-menu__children .bf-mobile-menu__children .bf-mobile-menu__row { font-size: 15px; }
.bf-mobile-menu .bf-mobile-menu__overview {
  margin-bottom: 0;
  min-height: 48px;
  font-size: 15px;
  color: #5f6877;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.bf-mobile-menu .bf-mobile-menu__row[aria-current="page"] { color: #17305f; font-weight: 700; }
.bf-mobile-menu__status { flex-shrink: 0; color: #5f6877; font-size: 13px; font-weight: 500; }
.bf-mobile-menu__arrow {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background: currentColor;
  clip-path: polygon(32% 10%, 72% 50%, 32% 90%, 24% 82%, 56% 50%, 24% 18%);
  transform: rotate(90deg);
}
.bf-mobile-menu__group[open] > summary .bf-mobile-menu__arrow { transform: rotate(270deg); }
.bf-mobile-menu :is(a, button, summary):focus-visible { outline: 2px solid #17305f; outline-offset: 2px; }
.bf-mobile-menu .bf-mobile-menu__title:focus { outline: none; }
.bf-mobile-menu ::selection { color: #17305f; background: #e9edf3; }
