/* One opaque mobile menu surface across the story and standalone documents. */
.menu-surface,
.wp-site-header .wp-mobile-nav {
  box-sizing: border-box;
  width: min(220px, calc(100vw - 40px));
  max-height: calc(100dvh - 88px - env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 10px;
  background: #fff;
  color: #0e0e0e;
  color-scheme: light;
  border: 1px solid #e8e8e8;
  box-shadow: 0 8px 30px #00000014;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", system-ui, "Segoe UI", Roboto, sans-serif;
}
.menu-link,
.menu-sub-link,
.wp-site-header .wp-mobile-nav a {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  color: #56524f;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0;
  text-decoration: none;
  border-radius: 6px;
}
.menu-sub-link,
.wp-site-header .wp-mobile-nav .wp-child-link {
  min-height: 36px;
  padding: 6px 12px 6px 24px;
  font-size: 14px;
}
.menu-link:hover,
.menu-sub-link:hover,
.wp-site-header .wp-mobile-nav a:hover {color: #0e0e0e; background: #f5f5f5}
.menu-link[aria-current="page"],
.menu-sub-link[aria-current="page"],
.wp-site-header .wp-mobile-nav a[aria-current="page"] {color: #0e0e0e; font-weight: 500}
