/* Elysium Builder — styles for the site chrome built from elements (Theme Options ›
   Header & footer › Built from elements): the burger button and the mobile
   menu it opens (ebb-runtime.js toggles .is-open). Loaded after
   ebb-layout.css and before the site's theme.css on every page and in the
   builder canvas. */

.ebb-site-header .ebb-burger-wrap { display: none; }
.ebb-site-header .ebb-logo, .ebb-site-header .ebb-logo__link { display: block; line-height: 0; } /* no line-box gap: the header is logo + padding */
.ebb-burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; margin: 0; border: 0; border-radius: 4px; background: transparent; cursor: pointer; color: inherit; }
.ebb-burger span { display: block; height: 2px; width: 24px; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s; }
.ebb-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ebb-burger.is-open span:nth-child(2) { opacity: 0; }
.ebb-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.ebb-burger:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
@media (max-width: 849px) {
  .ebb-site-header .ebb-burger-wrap { display: block; order: 10; }
  .ebb-site-header .ebb-menu { display: none !important; }
  .ebb-site-header .ebb-menu.is-open { display: flex !important; position: fixed; left: 0; right: 0; top: var(--ebb-header-h, 70px); bottom: 0; z-index: 998; overflow: auto; flex-direction: column !important; justify-content: flex-start !important; align-items: stretch !important; gap: 0 !important; padding: 10px 0 40px; background: var(--eb-color-surface, #fff); color: var(--eb-fg, #111); text-align: center; animation: ebb-nav-in .2s ease-out; }
  .ebb-site-header .ebb-menu.is-open > * { width: 100%; margin: 0 !important; }
  .ebb-site-header .ebb-menu.is-open .ebb-btn { display: block; width: 100%; margin: 0 !important; padding: 14px 20px; border: 0; border-bottom: 1px solid rgba(0,0,0,.08); border-radius: 0; background: none; box-shadow: none; color: inherit; font-size: 1em; text-align: center; }
  .ebb-dark.ebb-site-header .ebb-menu.is-open { background: var(--eb-color-ink, #111); color: #fff; }
  .ebb-dark.ebb-site-header .ebb-menu.is-open .ebb-btn { border-bottom-color: rgba(255,255,255,.12); }
  .ebb-site-header.is-nav-open, .ebb-site-header.is-nav-open > .ebb-section__content { z-index: 999; }
  html.ebb-nav-open { overflow: hidden; }
}
@keyframes ebb-nav-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
