/* BUM global navigation. One implementation, one set of labels and spacing. */
body header .menu-icon, body header #main-menu,
body .bum-shared-header__desktop, body .bum-shared-header__mobile,
body .bum-journal-header__menu, body .bum-films-header__menu { display:none !important; }
body .bum-global-navigation__theme-clone { position:relative; display:flex; justify-content:center; align-items:center; min-height:94px; padding:22px 80px 22px 25px; max-width:100%; background:#eeece8; }
body .bum-global-navigation__theme-clone .site-logo { position:relative !important; inset:auto !important; float:none !important; margin:0; padding:0; height:auto; width: min(270px, 62vw); max-width:100%; }
body .bum-global-navigation__theme-clone .site-logo a { display:block; }
body .bum-global-navigation__theme-clone .site-logo svg { display:block; width:100%; max-width:100%; height:auto; }
body .bum-global-navigation__theme-clone .bum-global-navigation__logo-fallback { font-family:serif; font-size:34px; color:#25231f; text-decoration:none; }
body .bum-global-navigation { position:fixed !important; z-index:2147482000 !important; top:0; right:0; width:0; height:0; font-family:'Zen Maru Gothic','Hiragino Maru Gothic ProN',sans-serif; }
body .bum-global-navigation, body .bum-global-navigation * { box-sizing:border-box; }
body .bum-global-navigation__trigger {
  position:fixed !important; top:max(10px, env(safe-area-inset-top, 0px)); right:max(10px, env(safe-area-inset-right, 0px));
  z-index:2147482002 !important; width:64px; height:64px; margin:0; padding:15px; border:0; border-radius:0;
  display:flex; align-items:center; justify-content:center; background:transparent !important; box-shadow:none !important;
  color:#161616; -webkit-text-fill-color:#161616; cursor:pointer; appearance:none;
}
body .bum-global-navigation__bars { display:flex; flex-direction:column; justify-content:space-between; height:24px; width:34px; }
body .bum-global-navigation__bars i { display:block; width:100%; height:2px; border:0; background:currentColor; transform-origin:center; transition:transform .2s ease,opacity .2s ease; }
body .bum-global-navigation.is-open .bum-global-navigation__trigger { color:#f8f5f0; -webkit-text-fill-color:#f8f5f0; }
body .bum-global-navigation.is-open .bum-global-navigation__bars i:nth-child(1) { transform:translateY(11px) rotate(45deg); }
body .bum-global-navigation.is-open .bum-global-navigation__bars i:nth-child(2) { opacity:0; }
body .bum-global-navigation.is-open .bum-global-navigation__bars i:nth-child(3) { transform:translateY(-11px) rotate(-45deg); }
body .bum-global-navigation__panel[hidden] { display:none !important; }
body .bum-global-navigation__panel {
  position:fixed !important; z-index:2147482001 !important; top:0; right:0; bottom:0;
  display:block; width:min(430px, 88vw); min-width:0; height:100vh; height:100dvh; max-height:100dvh;
  overflow-x:hidden; overflow-y:auto; overscroll-behavior:contain;
  padding: max(91px, calc(env(safe-area-inset-top, 0px) + 81px)) 28px max(42px, env(safe-area-inset-bottom, 0px));
  background:rgba(22,22,22,.97); color:#f8f5f0; -webkit-overflow-scrolling:touch;
  box-shadow:-10px 0 32px rgba(0,0,0,.12); isolation:isolate;
}
body .bum-global-navigation__inner { display:flex; flex-direction:column; align-items:stretch; gap:0; padding:0; margin:0; max-width:100%; }
body .bum-global-navigation__panel a,
body .bum-global-navigation__panel summary {
  display:block; width:100%; margin:0; min-height:46px; padding:12px 3px;
  border:0; border-bottom:1px solid rgba(255,255,255,.2); background:transparent;
  color:#f8f5f0 !important; -webkit-text-fill-color:#f8f5f0 !important;
  text-align:left; font-family:'Zen Maru Gothic','Hiragino Maru Gothic ProN',sans-serif !important;
  font-size:15px !important; font-weight:500; line-height:1.55; letter-spacing:.045em !important; text-decoration:none;
  white-space:normal; overflow-wrap:anywhere; cursor:pointer; opacity:1;
}
body .bum-global-navigation__panel a:hover { opacity:.7; }
body .bum-global-navigation__panel a[aria-current="page"] { text-decoration:underline; text-underline-offset:5px; }
body .bum-global-navigation__group { position:static !important; display:block; width:100%; padding:0; margin:0; background:transparent; border:0; }
body .bum-global-navigation__group > summary { display:flex; align-items:center; justify-content:space-between; list-style:none; }
body .bum-global-navigation__group > summary::-webkit-details-marker { display:none; }
body .bum-global-navigation__group > summary::marker { content:''; }
body .bum-global-navigation__group > summary span { transition:transform .15s ease; }
body .bum-global-navigation__group[open] > summary span { transform:rotate(180deg); }
body .bum-global-navigation__submenu { display:grid; gap:0; padding:0 0 9px 20px; }
body .bum-global-navigation__submenu a { min-height:42px; padding:10px 3px; font-size:14px !important; border-bottom:1px solid rgba(255,255,255,.09); }
body .bum-global-navigation__panel :focus-visible,
body .bum-global-navigation__trigger:focus-visible { outline:2px solid #d9c7a8; outline-offset:3px; }
@media (max-width:600px) {
  body .bum-global-navigation__trigger { width:68px; height:68px; right:max(10px,env(safe-area-inset-right,0px)); top:max(10px,env(safe-area-inset-top,0px)); }
  body .bum-global-navigation__panel { width:min(380px,91vw); padding-left:24px; padding-right:24px; }
  body .bum-global-navigation__theme-clone { min-height:78px; padding-top:16px; padding-bottom:16px; }
  body .bum-global-navigation__theme-clone .site-logo { width:min(230px,58vw); }
}
body.admin-bar .bum-global-navigation__trigger { top:max(36px, env(safe-area-inset-top,0px)); }
@media (max-width:782px) { body.admin-bar .bum-global-navigation__trigger { top:max(50px,env(safe-area-inset-top,0px)); } }
@media (prefers-reduced-motion:reduce) { body .bum-global-navigation__bars i { transition:none; } }
