/* One mobile navigation treatment for the homepage and WordPress pages. */
.global-nav .mtr-mobile-only { display:none; }
.mtr-menu-backdrop { display:none; }

@media (max-width:1000px) {
  html.mtr-menu-locked { overflow:hidden; scroll-behavior:auto; }
  body.mtr-menu-locked { position:fixed; top:var(--mtr-scroll-top); left:0; width:var(--mtr-page-width); overflow:hidden; }
  .mtr-menu-ready:is(.site-header,.mt-header) {
    z-index:2000; background:#fffdf7; backdrop-filter:none;
  }
  .mtr-menu-ready.mtr-menu-open:is(.site-header,.mt-header) {
    position:fixed; top:var(--mtr-header-top,0px); left:0; width:var(--mtr-page-width);
  }
  .mtr-menu-ready :is(.header-inner,.mt-header-inner) {
    width:calc(100% - 32px); min-height:72px; padding:10px 0;
    display:flex; flex-wrap:nowrap; justify-content:space-between; gap:16px;
  }
  .mtr-menu-ready :is(.brand,.mt-brand) { flex:0 1 180px; min-width:0; }
  .mtr-menu-ready :is(.brand,.mt-brand) img { display:block; width:180px; max-width:100%; height:auto; }
  .mtr-menu-ready .header-link { display:none; }
  .mtr-menu-ready :is(.menu-toggle,.mt-menu-toggle) {
    display:flex; flex:0 0 auto; align-items:center; justify-content:center;
    min-width:96px; min-height:48px; gap:10px; margin:0; padding:8px 10px;
    border:1px solid #d8e4dc; border-radius:10px; background:#fffdf7; color:#183d35;
    cursor:pointer; order:0;
  }
  .mtr-menu-ready .menu-toggle-label { margin:0; font-size:12px; font-weight:700; line-height:1.5; }
  .mtr-menu-ready .menu-toggle-lines { display:grid; width:20px; gap:4px; margin:0; }
  .mtr-menu-ready .menu-toggle-lines i { display:block; width:20px; height:2px; background:#183d35; transition:transform .16s,opacity .16s; }
  .mtr-menu-open .menu-toggle-lines i:nth-child(1) { transform:translateY(6px) rotate(45deg); }
  .mtr-menu-open .menu-toggle-lines i:nth-child(2) { opacity:0; }
  .mtr-menu-open .menu-toggle-lines i:nth-child(3) { transform:translateY(-6px) rotate(-45deg); }
  .mtr-menu-ready :is(.global-nav,.mt-navigation) {
    display:none; position:absolute; top:100%; left:0; right:0; width:100%;
    flex:none; margin:0; padding:16px 24px max(24px,env(safe-area-inset-bottom));
    max-height:calc(100vh - var(--mtr-header-bottom,72px));
    max-height:calc(100dvh - var(--mtr-header-bottom,72px));
    overflow-x:hidden; overflow-y:auto; overscroll-behavior:contain;
    flex-direction:column; align-items:stretch; justify-content:flex-start; gap:0;
    background:#fffdf7; border:0; border-top:1px solid #d8e4dc;
    border-radius:0 0 20px 20px; box-shadow:0 12px 20px #183d3514;
    opacity:1; white-space:normal; transition:none; box-sizing:border-box;
  }
  .mtr-menu-ready.mtr-menu-open :is(.global-nav,.mt-navigation) { display:flex; }
  .mtr-menu-ready :is(.global-nav,.mt-navigation) a {
    display:flex; position:relative; flex:none; align-items:center; justify-content:space-between;
    min-height:54px; margin:0; padding:14px 6px; gap:16px;
    border:0; border-bottom:1px solid #d8e4dc; border-radius:0;
    font-size:16px; font-weight:700; line-height:1.6; letter-spacing:.025em;
    color:#183d35; text-align:left; text-decoration:none; white-space:normal;
  }
  .mtr-menu-ready :is(.global-nav,.mt-navigation) a::after {
    content:""; position:static; display:block; flex:0 0 7px; width:7px; height:7px;
    border-top:2px solid #678279; border-right:2px solid #678279;
    background:none; transform:rotate(45deg); transition:none;
  }
  .mtr-menu-ready :is(.global-nav,.mt-navigation) a:hover,
  .mtr-menu-ready :is(.global-nav,.mt-navigation) a[aria-current] { background:#edf3eb; }
  .mtr-menu-ready :is(.global-nav,.mt-navigation) .mt-parents-link {
    margin-top:18px; padding:12px 16px; border:1px solid #cbd8cb; border-radius:10px;
    background:#f0f4e9; text-align:left;
  }
  .mtr-menu-ready :is(a,button):focus-visible { outline:3px solid #ad6500; outline-offset:2px; }
  .mtr-menu-backdrop:not([hidden]) {
    display:block; position:fixed; inset:0; z-index:1999; background:#183d354d;
  }
}
@media (prefers-reduced-motion:reduce) {
  .mtr-menu-ready .menu-toggle-lines i { transition:none; }
}
