.seo-header .bm-menu {display:none}
@media (max-width:950px) {
  .seo-page .seo-header:has(.bm-menu) {
    position:relative;z-index:22;display:flex;flex-flow:row nowrap;justify-content:space-between;
    align-items:center;gap:10px;padding:10px clamp(12px,4vw,30px);background:#faf7f2;
  }
  .seo-page .seo-header:has(.bm-menu)>.wordmark {flex:1 1 auto;min-width:0}
  .seo-page .seo-header:has(.bm-menu)>.wordmark small {max-width:26ch;line-height:1.2}
  .seo-page .seo-header:has(.bm-menu)>nav {display:none}
  .seo-header .bm-menu {display:block;flex:0 0 auto}
  .bm-menu summary {
    display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:2px 13px;box-sizing:border-box;
    cursor:pointer;list-style:none;border:1px solid #a49476;border-radius:6px 13px 6px 6px;font-size:14px;font-weight:700;color:#294437;background:#fcf9f2;
  }
  .bm-menu summary::-webkit-details-marker{display:none}
  .bm-menu summary i {position:relative;display:inline-block;width:17px;height:12px;color:currentColor}
  .bm-menu summary i::before,.bm-menu summary i::after {content:"";position:absolute;left:0;top:2px;width:17px;height:2px;background:currentColor}
  .bm-menu summary i::after {top:8px;width:12px}
  .bm-menu[open] summary {color:white;background:#294638}
  .bm-menu[open] summary i::before,.bm-menu[open] summary i::after {width:17px;top:5px;transform:rotate(45deg)}
  .bm-menu[open] summary i::after {transform:rotate(-45deg)}
  .seo-page .seo-header .bm-menu nav {
    box-sizing:border-box;position:absolute;inset:auto clamp(8px,3vw,24px);top:calc(100% + 2px);z-index:2;
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 8px;padding:12px;
    max-height:min(68vh,440px);overflow:auto;overscroll-behavior:contain;
    border:1px solid #c6b69f;border-radius:8px 8px 17px 8px;background:#fffcf7;box-shadow:0 12px 30px #33271a25;
  }
  .seo-page .bm-menu nav a {min-width:0;display:flex;align-items:center;gap:7px;padding:4px 6px;min-height:44px;
    box-sizing:border-box;font-size:13px;line-height:1.22;color:#293d32;border-radius:6px;text-decoration:none}
  .bm-menu nav a::before {--bp-icon-size:24px}
  .bm-menu nav a:is(:hover,[aria-current]) {background:#eae3d5}
  .bm-menu nav a[aria-current] {box-shadow:inset 3px 0 #8a724a;font-weight:700}
  .bm-menu :is(summary,a):focus-visible {outline:2px solid #845738;outline-offset:2px}
}
@media (prefers-reduced-motion:no-preference) {
  html:not([data-motion="off"]) .bm-menu summary i::before,html:not([data-motion="off"]) .bm-menu summary i::after {transition:transform .15s ease,width .15s ease}
}
@media print {
  .seo-page .seo-header .bm-menu {display:none}
}
