/* The mobile entry wordmark is the menu. Leave the native header's dimensions
   in the document for the previously accepted wordmark alignment calculations. */
@media (max-width:767px) {
  html[data-mobile-wordmark-nav-ready] #header { visibility:hidden!important; pointer-events:none!important; }
  html[data-mobile-wordmark-nav-ready] #header * { visibility:hidden!important; pointer-events:none!important; }
  html[data-mobile-wordmark-nav-ready] [data-mobile-wordmark-trigger] {cursor:pointer; -webkit-tap-highlight-color:transparent;}
  html[data-mobile-wordmark-nav-ready] [data-mobile-wordmark-trigger]:focus-visible { outline:1px solid #fff!important;outline-offset:-4px!important; }
  html[data-mobile-wordmark-menu-open] { overflow:hidden; }
  #mobile-wordmark-fallback,#mobile-wordmark-menu .mobile-wordmark-close {
    display:block; border:0; box-shadow:none; padding:0; margin:0;
    width:100%; min-height:44px; background:transparent; cursor:pointer;
  }
  #mobile-wordmark-fallback { margin-top:max(12px,env(safe-area-inset-top));margin-bottom:18px; }
  #mobile-wordmark-fallback img,#mobile-wordmark-menu .mobile-wordmark-close img { width:100%;height:auto;aspect-ratio:5000/700;object-fit:contain;display:block; }
  #mobile-wordmark-menu {
    box-sizing:border-box; position:fixed; inset:0; width:100%; height:100vh;height:100dvh;
    max-width:none;max-height:none;border:0;padding:0 0 max(24px,env(safe-area-inset-bottom));margin:0;
    overscroll-behavior:contain; overflow-y:auto; background:#000; color:#fff; text-align:center;
    font-family:"Gilda Display","PT Serif",Georgia,serif;
  }
  #mobile-wordmark-menu::backdrop { background:#000; }
  #mobile-wordmark-menu:not([open]) { display:none!important; }
  #mobile-wordmark-menu .mobile-wordmark-close { margin-top:max(32px,env(safe-area-inset-top)); }
  #mobile-wordmark-menu nav {
    display:grid; justify-items:center; gap:3px; margin:clamp(32px,6vh,72px) 18px 0;
  }
  #mobile-wordmark-menu nav:focus { outline:0; }
  #mobile-wordmark-menu nav a {
    box-sizing:border-box; display:flex; justify-content:center; align-items:center;min-height:46px;
    max-width:100%; padding:5px 22px; color:#fff; background:transparent; text-decoration:none;
    font:400 clamp(20px,6vw,27px)/1.2 "Gilda Display","PT Serif",Georgia,serif; letter-spacing:normal;
    scale:1; transition:none!important; text-align:center; overflow-wrap:anywhere;
  }
  #mobile-wordmark-menu nav a[aria-current="page"] { color:#fff; text-decoration:underline;text-underline-offset:5px; text-decoration-thickness:1px; }
  #mobile-wordmark-menu :is(a,button):focus-visible { outline:1px solid #fff!important;outline-offset:-3px!important; }
}
@media (min-width:768px) {
  #mobile-wordmark-menu,#mobile-wordmark-fallback { display:none!important; }
}
