/* Shared mobile masthead. Desktop continues to use each page's existing header. */
#gm-site-mobile-header {display:none;--gm-admin-offset:0px;}
@media (max-width:959px) {
 #gm-site-mobile-header {display:block;height:0;}
 #gm-site-mobile-header.is-admin,body.gm-editorial-page.admin-bar #gearmono-real-content {--gm-admin-offset:32px;}
 /* Keep SWELL's measurable spacer so its anchor-offset calculation includes 56px.
  * Apply only when the replacement was actually rendered by wp_body_open. */
 body:has(> #gm-site-mobile-header) #header {visibility:hidden !important;height:56px !important;min-height:56px !important;padding:0 !important;border:0 !important;}
 body:has(> #gm-site-mobile-header) #header > * {display:none !important;}
 body:has(> #gm-site-mobile-header) .l-fixHeader {display:none !important;}
 #gearmono-real-content .gm-home-header {padding-top:56px;}
 :is(#gearmono-real-content,#gm-site-mobile-header) .gm-mobile-surface.gm-mast {
  --gm-paper:#fff;--gm-ink:#171a1d;--gm-line:#e0e4e8;--gm-muted:#5e666d;--gm-blue:#2453cc;
  position:fixed;top:var(--gm-admin-offset,0px);left:0;right:0;z-index:10000;
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  height:56px;margin:0;padding:6px 18px;border:0;background:#000;color:#fff;
  font-family:-apple-system,BlinkMacSystemFont,'Hiragino Kaku Gothic ProN','Yu Gothic',sans-serif;
  font-size:14px;line-height:1.75;letter-spacing:normal;color-scheme:light;
 }
 :is(#gearmono-real-content,#gm-site-mobile-header) .gm-mobile-surface,
 :is(#gearmono-real-content,#gm-site-mobile-header) .gm-mobile-surface * {box-sizing:border-box;}
 :is(#gearmono-real-content,#gm-site-mobile-header) .gm-mobile-surface a {color:inherit;text-decoration:none;}
 :is(#gearmono-real-content,#gm-site-mobile-header) .gm-mobile-surface a:focus-visible {outline:3px solid var(--gm-blue);outline-offset:5px;}
 :is(#gearmono-real-content,#gm-site-mobile-header) .gm-mobile-surface .gm-logoframe {
  position:relative;display:block;overflow:hidden;flex:none;width:116px;height:auto;
  aspect-ratio:2321/784;margin:0;padding:0;border:0;background:none;box-shadow:none;
 }
 :is(#gearmono-real-content,#gm-site-mobile-header) .gm-mobile-surface .gm-logoframe.gm-logo-morphing {overflow:visible;}
 :is(#gearmono-real-content,#gm-site-mobile-header) .gm-mobile-surface .gm-logo {
  position:absolute;display:block;width:176.475657%;max-width:none;height:auto;max-height:none;
  left:-38.647135%;top:-56.760204%;margin:0;padding:0;border:0;border-radius:0;object-fit:fill;
 }
 :is(#gearmono-real-content,#gm-site-mobile-header) .gm-mobile-surface .gm-nav {display:none;}
 :is(#gearmono-real-content,#gm-site-mobile-header) .gm-mobile-surface .gm-mobile-menu {display:block;margin:0;padding:0;border:0;}
 :is(#gearmono-real-content,#gm-site-mobile-header) .gm-mobile-surface summary {
  display:flex;align-items:center;justify-content:center;gap:9px;min-width:88px;min-height:44px;
  margin:0;padding:0;border:0;background:none;color:inherit;cursor:pointer;list-style:none;
  font:inherit;font-size:11px;font-weight:700;user-select:none;
 }
 :is(#gearmono-real-content,#gm-site-mobile-header) .gm-mobile-surface summary::-webkit-details-marker {display:none;}
 :is(#gearmono-real-content,#gm-site-mobile-header) .gm-mobile-surface summary:focus-visible {outline:3px solid #fff;outline-offset:1px;}
 :is(#gearmono-real-content,#gm-site-mobile-header) .gm-mobile-surface .gm-menu-icon {position:relative;width:20px;height:2px;background:currentColor;}
 :is(#gearmono-real-content,#gm-site-mobile-header) .gm-mobile-surface .gm-menu-icon::before,
 :is(#gearmono-real-content,#gm-site-mobile-header) .gm-mobile-surface .gm-menu-icon::after {content:"";position:absolute;left:0;width:20px;height:2px;background:currentColor;}
 :is(#gearmono-real-content,#gm-site-mobile-header) .gm-mobile-surface .gm-menu-icon::before {top:-6px;}
 :is(#gearmono-real-content,#gm-site-mobile-header) .gm-mobile-surface .gm-menu-icon::after {top:6px;}
 :is(#gearmono-real-content,#gm-site-mobile-header) .gm-mobile-surface .gm-mobile-menu[open] .gm-menu-icon {background:transparent;}
 :is(#gearmono-real-content,#gm-site-mobile-header) .gm-mobile-surface .gm-mobile-menu[open] .gm-menu-icon::before {top:0;transform:rotate(45deg);}
 :is(#gearmono-real-content,#gm-site-mobile-header) .gm-mobile-surface .gm-mobile-menu[open] .gm-menu-icon::after {top:0;transform:rotate(-45deg);}
 :is(#gearmono-real-content,#gm-site-mobile-header) .gm-mobile-surface .gm-mobile-menu nav {
  position:absolute;top:100%;left:0;right:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:0 24px;margin:0;padding:8px 18px 16px;background:var(--gm-paper);color:var(--gm-ink);
  border:0;border-bottom:2px solid var(--gm-ink);border-radius:0;box-shadow:0 8px 18px rgb(0 0 0 / 12%);
  max-height:calc(100vh - 56px - var(--gm-admin-offset,0px));max-height:calc(100dvh - 56px - var(--gm-admin-offset,0px));
  overflow-y:auto;overscroll-behavior:contain;
 }
 :is(#gearmono-real-content,#gm-site-mobile-header) .gm-mobile-surface .gm-mobile-menu:not([open]) nav {display:none;}
 :is(#gearmono-real-content,#gm-site-mobile-header) .gm-mobile-surface .gm-mobile-menu nav a {
  display:flex;align-items:center;min-height:52px;margin:0;padding:12px 0;
  border:0;border-bottom:1px solid var(--gm-line);font-size:13px;font-weight:700;
 }
 :is(#gearmono-real-content,#gm-site-mobile-header) .gm-mobile-surface .gm-mobile-menu nav a:hover {color:var(--gm-blue);}
 :is(#gearmono-real-content,#gm-site-mobile-header) .gm-mobile-surface .gm-mobile-menu nav .gm-menu-info {color:var(--gm-muted);font-size:12px;}
 #gearmono-real-content #gm-main,#gearmono-real-content #gm-news {scroll-margin-top:calc(72px + var(--gm-admin-offset));}
 #gearmono-real-content .gm-skip {position:fixed;top:0;}
 #gearmono-real-content .gm-skip:focus {top:var(--gm-admin-offset);}
}
@media (max-width:782px) {
 #gm-site-mobile-header.is-admin,body.gm-editorial-page.admin-bar #gearmono-real-content {--gm-admin-offset:46px;}
}
@media (max-width:600px) {
 /* Keep WordPress's toolbar and the masthead offset together when scrolling. */
 body.gm-editorial-page.admin-bar #wpadminbar,
 body:has(> #gm-site-mobile-header.is-admin) #wpadminbar {position:fixed;}
}
