/* Selected-fun artwork has its own safe canvas and built-in tilt. */
.bh-logo img.bh-brand-wordmark{display:block;width:220px;height:auto;max-width:none;object-fit:contain}
.bh-refresh .bh-logo img.bh-brand-wordmark{width:220px!important;height:auto!important}
.bh-footer-brand img.bh-brand-wordmark{display:block;width:220px;height:auto;max-width:100%}
.footer-brand .logo.bh-brand-footer-link{display:block;flex:none;width:220px;height:auto;overflow:visible;border-radius:0}
.footer-brand .logo.bh-brand-footer-link img{display:block;width:100%;height:auto;object-fit:contain}
@media(max-width:1023px){
 .bh-logo img.bh-brand-wordmark{width:180px}
 .bh-refresh .bh-logo img.bh-brand-wordmark{width:180px!important}
}
@media(max-width:389px){
 .bh-logo img.bh-brand-wordmark{width:160px}
 .bh-refresh .bh-logo img.bh-brand-wordmark{width:160px!important}
 .bh-header-row>.bh-logo{left:calc(50% - 4px)}
}
@media(max-width:359px){
 .bh-homepage .bh-site-header .bh-container{width:calc(100% - 24px)}
 .bh-header-row .bh-icon-button{width:30px}
 .bh-header-row>.bh-logo{left:calc(50% - 8px)}
}

/* Mobile navigation is a reading surface above the translucent site header. */
#bh-menu-dialog.bh-menu-sheet {
  position:fixed; inset:0 auto auto 0; box-sizing:border-box; margin:0; padding:0;
  width:min(400px,calc(100% - 28px)); max-width:none;
  height:100vh; height:100dvh; max-height:none; overflow:hidden;
  border:0; border-radius:0; background:#fff; color:#252925; font:inherit;
}
.bh-menu-sheet[open] { display:flex; flex-direction:column; }
.bh-menu-sheet::backdrop { background:rgb(25 29 23 / 36%); }
html.bh-menu-locked { overflow:hidden; overscroll-behavior:none; }
html.bh-menu-locked body { position:fixed; top:var(--bh-menu-scroll-offset); inset-inline:0; width:100%; }
.bh-menu-sheet .bh-sheet-heading,
.bh-menu-sheet .bh-sheet-scroll {
  padding-inline:max(20px,env(safe-area-inset-left)) max(20px,env(safe-area-inset-right));
}
.bh-menu-sheet .bh-sheet-heading {
  display:flex; align-items:center; justify-content:space-between; flex:none;
  padding-top:calc(10px + env(safe-area-inset-top)); padding-bottom:10px;
  border-bottom:1px solid #e3e3d9;
}
.bh-menu-sheet .bh-sheet-heading h2 { margin:0; font-size:23px; font-weight:700; line-height:1.25; }
.bh-menu-sheet .bh-sheet-scroll {
  min-height:0; flex:1; overflow-y:auto; overscroll-behavior:contain;
  padding-top:18px; padding-bottom:calc(20px + env(safe-area-inset-bottom));
}
.bh-menu-sheet button { display:inline-grid; place-items:center; min-width:44px; min-height:44px; padding:0; border:0; background:transparent; color:inherit; }
.bh-menu-sheet .bh-icon { display:block; width:22px; height:22px; }
.bh-menu-sheet .bh-search-form { display:flex; align-items:center; padding:0 3px 0 12px; border:1px solid #b9bcb6; border-radius:6px; background:#fff; }
.bh-menu-sheet .bh-search-form input[type=search] { flex:1; width:100%; min-width:0; padding:10px 0; border:0; background:#fff; color:#252925; font:inherit; font-size:16px; }
.bh-menu-sheet .bh-visually-hidden { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.bh-menu-sheet nav { margin:16px 0 22px; }
.bh-menu-sheet .bh-menu, .bh-menu-sheet .sub-menu { list-style:none; padding:0; margin:0; }
.bh-menu-sheet .bh-menu > li { border-bottom:1px solid #e3e3d9; }
.bh-menu-sheet .bh-menu a {
  display:flex; align-items:center; min-height:46px; padding:6px 2px; box-sizing:border-box;
  color:#252925; text-decoration:none; font-size:16px; font-weight:600; line-height:1.4;
}
.bh-menu-sheet .menu-item-has-children { display:grid; grid-template-columns:minmax(0,1fr) 44px; }
.bh-menu-sheet .bh-submenu-toggle { margin:0; color:#96263d; font-size:21px; }
.bh-menu-sheet .sub-menu { display:none; grid-column:1/-1; padding:0 0 8px 16px; }
.bh-menu-sheet li.is-expanded > .sub-menu { display:block; }
.bh-menu-sheet .sub-menu a { min-height:44px; font-size:15px; font-weight:400; }
.bh-menu-sheet .bh-sheet-actions { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.bh-menu-sheet .bh-sheet-actions a {
  display:flex; align-items:center; justify-content:center; min-height:46px;
  border:1px solid #b9bcb6; border-radius:6px; color:#252925;
  font-size:15px; font-weight:600; text-decoration:none;
}
.bh-menu-sheet .bh-sheet-actions a:last-child { border-color:#96263d; background:#96263d; color:#fff; }
.bh-menu-sheet :is(a,button,input):focus-visible { outline:2px solid #96263d; outline-offset:2px; }
