.fbmenu{position:relative;isolation:isolate;width:100%;min-height:var(--fbm-height);background:var(--fbm-bg);color:var(--fbm-text);border-bottom:var(--fbm-border-width) solid var(--fbm-border);border-radius:var(--fbm-radius);font-family:var(--fbm-font);font-size:var(--fbm-size);font-weight:var(--fbm-weight);line-height:var(--fbm-line);letter-spacing:var(--fbm-letter);box-sizing:border-box}.fbmenu *{box-sizing:border-box}.fbmenu--full{width:100vw;max-width:none;position:relative;left:50%;margin-left:-50vw;margin-right:-50vw}.fbmenu--sticky{position:sticky;top:var(--wp-admin--admin-bar--height,0px);z-index:1000}.fbmenu__media,.fbmenu__overlay{position:absolute;inset:0;width:100%;height:100%;z-index:-1}.fbmenu__media{object-fit:cover;background-size:cover;background-repeat:no-repeat}.fbmenu__overlay{background:var(--fbm-overlay);opacity:var(--fbm-opacity)}.fbmenu__inner{max-width:var(--fbm-width);min-height:var(--fbm-height);margin:auto;padding:var(--fbm-py) var(--fbm-px);display:flex;align-items:center;justify-content:space-between;gap:var(--fbm-gap)}.fbmenu--full .fbmenu__inner{max-width:var(--fbm-width)}.fbmenu__brand{display:inline-flex;align-items:center;gap:.75rem;min-width:0;color:var(--fbm-text)!important;text-decoration:none;font-family:var(--fbm-brand-font);font-size:var(--fbm-brand-size);font-weight:var(--fbm-brand-weight)}.fbmenu__brand-text{display:flex;flex-direction:column}.fbmenu__brand small{font-size:.55em;font-weight:400}.fbmenu__logo{display:block;max-width:180px;max-height:70px;width:auto;height:auto}.fbmenu__list,.fbmenu__list ul{list-style:none;margin:0;padding:0}.fbmenu__list{display:flex;align-items:center;gap:var(--fbm-gap);flex-wrap:wrap}.fbmenu__list li{position:relative}.fbmenu__list a{display:block;color:var(--fbm-text)!important;text-decoration:none;padding:.5rem .15rem}.fbmenu__list a:hover,.fbmenu__list a:focus-visible,.fbmenu__list .current-menu-item>a{color:var(--fbm-hover)!important}.fbmenu__list ul{display:none;position:absolute;top:100%;left:0;min-width:190px;padding:.5rem;background:var(--fbm-bg);box-shadow:0 6px 22px #0002;z-index:5}.fbmenu__list li:hover>ul,.fbmenu__list li:focus-within>ul{display:block}.fbmenu__toggle{display:none;align-items:center;gap:.5rem;background:var(--fbm-mobile-bg);color:var(--fbm-mobile-text);border:1px solid currentColor;border-radius:5px;padding:.55rem .8rem;font:inherit;cursor:pointer}.fbmenu__mobile[hidden]{display:none!important}.fbmenu__mobile{display:none}.fbmenu :focus-visible{outline:3px solid var(--fbm-hover);outline-offset:3px}.fbmenu-hide-theme-header .site-header.header-builder{display:none!important}@media(max-width:800px){.fbmenu__desktop{display:none!important}.fbmenu__toggle{display:inline-flex}.fbmenu__inner{flex-wrap:wrap}.fbmenu__mobile:not([hidden]){display:block;width:100%;background:var(--fbm-mobile-bg);color:var(--fbm-mobile-text)}.fbmenu__mobile .fbmenu__list{display:flex;flex-direction:column;align-items:stretch;gap:0}.fbmenu__mobile .fbmenu__list a{color:var(--fbm-mobile-text)!important;padding:.75rem}.fbmenu__mobile .fbmenu__list ul{display:block;position:static;box-shadow:none;padding-left:1rem;background:transparent}.fbmenu__logo{max-width:120px}}@media(prefers-reduced-motion:reduce){.fbmenu video{display:none}}.editor-styles-wrapper .fbmenu{pointer-events:none}

/* Brand display options */
.fbmenu__brand{gap:var(--fbm-logo-gap,12px);flex-shrink:0}.fbmenu__logo{width:var(--fbm-logo-width,160px);max-width:100%;max-height:none;height:auto;object-fit:contain}.fbmenu__brand-text{min-width:0;overflow-wrap:anywhere}@media(max-width:800px){.fbmenu__logo{width:var(--fbm-logo-mobile-width,110px);max-width:100%}}

/* 1.1.1: Dropdowns must paint above subsequent Gutenberg blocks.
   Elevate the block wrapper AND its enclosing layout groups, not only the submenu. */
.wp-block-fb-menu,
.wp-block-group:has(> .wp-block-fb-menu),
.wp-block-columns:has(.wp-block-fb-menu),
.wp-block-column:has(.wp-block-fb-menu),
.wp-block-cover:has(.wp-block-fb-menu) {
  position: relative;
  z-index: 20;
  overflow: visible;
}
.wp-block-group:has(.fbmenu),
.wp-block-cover:has(.fbmenu) {
  overflow: visible;
}
.fbmenu {
  z-index: 20;
  isolation: auto;
  overflow: visible;
}
.fbmenu--sticky { z-index: 1000; }
.fbmenu__inner,
.fbmenu__nav,
.fbmenu__desktop,
.fbmenu__list,
.fbmenu__list li { overflow: visible; }
.fbmenu__nav { position: relative; z-index: 2; }
.fbmenu__list ul { z-index: 1001; }
.fbmenu__list ul ul { top: 0; left: 100%; }
.fbmenu__media, .fbmenu__overlay { pointer-events: none; }
.fbmenu__media, .fbmenu__overlay { z-index: 0; }
.fbmenu__inner { position: relative; z-index: 1; }
@media (max-width: 800px) {
  .fbmenu__list ul ul { top: auto; left: auto; }
}

/* Submenu indicators: after the label, only for entries that actually own a submenu.
   CSS-only decorative icons are ignored by screen readers. */
.fbmenu__list li.menu-item-has-children > a {
  display: inline-flex;
  align-items: center;
  gap: var(--fbm-arrow-gap,7px);
}
.fbmenu__list li.menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  flex: 0 0 auto;
  width: var(--fbm-arrow-size,12px);
  height: var(--fbm-arrow-size,12px);
  background: var(--fbm-arrow-color,currentColor);
  -webkit-mask: var(--fbm-arrow-mask) center / contain no-repeat;
  mask: var(--fbm-arrow-mask) center / contain no-repeat;
}
.fbmenu--arrow-chevron { --fbm-arrow-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 9 7 7 7-7' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.fbmenu--arrow-triangle { --fbm-arrow-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 7h18l-9 11z' fill='black'/%3E%3C/svg%3E"); }
.fbmenu--arrow-plus { --fbm-arrow-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3v18M3 12h18' stroke='black' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E"); }
.fbmenu--arrow-double { --fbm-arrow-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m4 5 7 7-7 7m8-14 7 7-7 7' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.fbmenu--arrow-none .fbmenu__list li.menu-item-has-children > a::after { display:none; }
@media(max-width:800px) {
  .fbmenu__mobile .fbmenu__list li.menu-item-has-children > a { display:inline-flex; }
}

/* 1.2.2: independent border sides; bottom border doubles as header divider. */
.fbmenu {
 border-width: var(--fbm-border-top-width,0px) var(--fbm-border-right-width,0px) var(--fbm-border-bottom-width,1px) var(--fbm-border-left-width,0px);
 border-style: var(--fbm-border-style,solid);
 border-color: var(--fbm-border-top-color,#e5e7eb) var(--fbm-border-right-color,#e5e7eb) var(--fbm-border-bottom-color,#e5e7eb) var(--fbm-border-left-color,#e5e7eb);
}

/* 1.3.0: responsive controls and theme-token colors */
@media (min-width:801px) and (max-width:1024px) {
 .fbmenu__inner {min-height:var(--fbm-tablet-height);padding-left:var(--fbm-tablet-px);padding-right:var(--fbm-tablet-px);gap:var(--fbm-tablet-gap)}
 .fbmenu__nav {font-size:calc(1em * var(--fbm-tablet-font-scale))}
 .fbmenu__brand {font-size:calc(var(--fbm-brand-size) * var(--fbm-tablet-brand-scale))}
}
@media (max-width:800px) {
 .fbmenu__inner {min-height:var(--fbm-mobile-height);padding-left:var(--fbm-mobile-px);padding-right:var(--fbm-mobile-px);gap:var(--fbm-mobile-gap)}
 .fbmenu__nav {font-size:calc(1em * var(--fbm-mobile-font-scale))}
 .fbmenu__brand {font-size:calc(var(--fbm-brand-size) * var(--fbm-mobile-brand-scale))}
}

/* 1.3.2: full-bleed uses a margin offset rather than left:50% or transforms.
   This preserves the containing block for position:sticky in editor and frontend. */
.fbmenu.fbmenu--full,
.editor-styles-wrapper .fbmenu.fbmenu--full {
  box-sizing: border-box;
  width: 100vw;
  max-width: none;
  left: auto;
  right: auto;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  transform: none;
}
.fbmenu.fbmenu--full.fbmenu--sticky,
.editor-styles-wrapper .fbmenu.fbmenu--full.fbmenu--sticky {
  position: sticky;
  top: var(--wp-admin--admin-bar--height, 0px);
  left: auto;
  right: auto;
  transform: none;
}

/* 1.3.3: transparent overlay header. Keep 1.3.2 full-bleed rules intact.
   Negative bottom margin lets the next hero start behind the header without
   taking the header out of normal flow (important for sticky positioning). */
.fbmenu.fbmenu--transparent {
  background: color-mix(in srgb, var(--fbm-bg) calc(var(--fbm-transparent-opacity,0) * 100%), transparent);
  margin-bottom: calc(-1 * var(--fbm-height));
  z-index: 100;
  isolation: auto;
}
.fbmenu.fbmenu--transparent .fbmenu__inner {
  height: var(--fbm-height);
  min-height: 0;
}
.fbmenu.fbmenu--transparent .fbmenu__overlay,
.fbmenu.fbmenu--transparent .fbmenu__media { display: none; }
.fbmenu.fbmenu--transparent.fbmenu--sticky { z-index: 1000; }
@media (min-width:801px) and (max-width:1024px) {
 .fbmenu.fbmenu--transparent { margin-bottom: calc(-1 * var(--fbm-tablet-height)); }
 .fbmenu.fbmenu--transparent .fbmenu__inner { height: var(--fbm-tablet-height); min-height:0; }
}
@media (max-width:800px) {
 .fbmenu.fbmenu--transparent { margin-bottom: calc(-1 * var(--fbm-mobile-height)); }
 .fbmenu.fbmenu--transparent .fbmenu__inner { height: var(--fbm-mobile-height); min-height:0; }
}
/* Preserve the overlay effect in editor previews as well. */
.editor-styles-wrapper .fbmenu.fbmenu--transparent { z-index:100; }
@supports not (background: color-mix(in srgb, white 50%, transparent)) {
 .fbmenu.fbmenu--transparent { background: transparent; }
}
