.bfa-mh{
  --bfa-mh-max-width:1440px;--bfa-mh-shell-height:78px;--bfa-mh-radius:18px;--bfa-mh-nav-gap:7px;--bfa-mh-panel-cols:3;
  --bfa-mh-dark-surface:color-mix(in srgb,var(--bfa-foreground,#111827) 94%,#000 6%);--bfa-mh-on-dark:var(--bfa-background,#fff);
  position:relative;z-index:90;width:100%;font-family:inherit;color:var(--bfa-foreground,#111827);font-size:16px;line-height:1.65
}
html[data-bfa-theme="dark"] .bfa-mh{--bfa-mh-dark-surface:color-mix(in srgb,var(--bfa-card,#111317) 78%,#000 22%);--bfa-mh-on-dark:var(--bfa-foreground,#fafafa)}
.bfa-mh *{box-sizing:border-box}.bfa-mh svg{width:1.15em;height:1.15em;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.bfa-mh.is-sticky{position:sticky;top:var(--wp-admin--admin-bar--height,0px)}
.bfa-mh__utility{background:var(--bfa-mh-dark-surface);color:var(--bfa-mh-on-dark);border-top:3px solid var(--bfa-primary,#facc15)}
.bfa-mh__utility-inner{max-width:var(--bfa-mh-max-width);min-height:39px;margin:auto;padding:0 26px;display:flex;align-items:center;justify-content:flex-start;gap:0}
.bfa-mh__utility-link{color:inherit;text-decoration:none;font-size:13px;font-weight:600;opacity:.84;padding:6px 15px;border-inline-end:1px solid color-mix(in srgb,currentColor 18%,transparent);transition:opacity .18s ease,color .18s ease}.bfa-mh__utility-link:first-child{padding-inline-start:0}.bfa-mh__utility-link:last-child{border:0}.bfa-mh__utility-link:hover,.bfa-mh__utility-link:focus-visible{color:var(--bfa-primary,#facc15);opacity:1;outline:0}
.bfa-mh__stage{padding:13px 22px 15px;background:linear-gradient(180deg,color-mix(in srgb,var(--bfa-background,#fff) 90%,var(--bfa-primary,#facc15) 10%) 0%,var(--bfa-background,#fff) 100%)}
.bfa-mh__shell,.bfa-mh__panel-clip{max-width:var(--bfa-mh-max-width);margin-inline:auto;background:var(--bfa-card,#fff);border:1px solid var(--bfa-border,#e5e7eb)}
.bfa-mh__shell{min-height:var(--bfa-mh-shell-height);border-radius:var(--bfa-mh-radius);padding:0 19px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"brand nav actions";align-items:center;gap:20px;position:relative;z-index:3;box-shadow:0 12px 34px color-mix(in srgb,var(--bfa-foreground,#111827) 7%,transparent)}
.bfa-mh__brand{grid-area:brand;display:flex;align-items:center;gap:11px;min-width:max-content;color:var(--bfa-foreground,#111827);text-decoration:none}.bfa-mh__brand img{display:block;max-height:44px;max-width:200px;width:auto;border-radius:var(--bfa-logo-radius,7px)}.bfa-mh__brand-mark{width:40px;height:40px;border-radius:var(--bfa-logo-radius,7px);background:var(--bfa-primary,#facc15);color:var(--bfa-primary-foreground,#111827);display:grid;place-items:center;font-weight:900;font-size:18px;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--bfa-primary-foreground,#111827) 12%,transparent)}.bfa-mh__brand-copy{display:grid;gap:0}.bfa-mh__brand-copy b{font-size:18px;line-height:1.2;letter-spacing:-.02em}.bfa-mh__brand-copy small{color:var(--bfa-muted-foreground,#6b7280);font-size:12px;font-weight:550;margin-top:3px}
.bfa-mh__desktop-nav{grid-area:nav;display:flex;align-items:center;justify-content:center;gap:var(--bfa-mh-nav-gap);min-width:0}.bfa-mh__trigger,.bfa-mh__direct{appearance:none;border:0;background:transparent;color:var(--bfa-foreground,#111827);font:inherit;font-size:15.5px;font-weight:700;text-decoration:none;display:inline-flex;align-items:center;gap:7px;min-height:50px;padding:0 14px;border-radius:11px;cursor:pointer;white-space:nowrap;transition:background .18s ease,color .18s ease,box-shadow .18s ease}.bfa-mh__trigger svg{width:13px;height:13px;transition:transform .22s ease}.bfa-mh__trigger:hover,.bfa-mh__trigger:focus-visible,.bfa-mh__direct:hover,.bfa-mh__direct:focus-visible,.bfa-mh__trigger.is-active{background:color-mix(in srgb,var(--bfa-primary,#facc15) 12%,var(--bfa-muted,#f3f4f6));color:var(--bfa-foreground,#111827);outline:0}.bfa-mh__trigger.is-active{box-shadow:inset 0 -3px 0 var(--bfa-primary,#facc15)}.bfa-mh__trigger.is-active svg{transform:rotate(180deg)}
.bfa-mh__actions{grid-area:actions;display:flex;align-items:center;justify-content:flex-start;gap:8px}.bfa-mh__action,.bfa-mh__mobile-toggle{width:44px;height:44px;border-radius:12px;border:1px solid var(--bfa-border,#e5e7eb);background:var(--bfa-card,#fff);color:var(--bfa-foreground,#111827);display:grid;place-items:center;text-decoration:none;cursor:pointer;padding:0;transition:background .18s ease,border-color .18s ease,transform .18s ease}.bfa-mh__action:hover,.bfa-mh__action:focus-visible,.bfa-mh__mobile-toggle:hover,.bfa-mh__mobile-toggle:focus-visible{background:var(--bfa-accent,#fde68a);border-color:color-mix(in srgb,var(--bfa-primary,#facc15) 58%,var(--bfa-border,#e5e7eb));outline:0}.bfa-mh__action:active,.bfa-mh__mobile-toggle:active{transform:scale(.96)}.bfa-mh__theme{display:inline-flex}
.bfa-mh__panel-wrap{max-width:var(--bfa-mh-max-width);margin-inline:auto;display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows .48s cubic-bezier(.22,1,.36,1),opacity .18s ease .1s;position:relative;z-index:2}.bfa-mh.has-open-panel .bfa-mh__panel-wrap{grid-template-rows:1fr;opacity:1}.bfa-mh__panel-clip{min-height:0;overflow:hidden;border-top:0;border-radius:0 0 var(--bfa-mh-radius) var(--bfa-mh-radius);box-shadow:0 22px 50px color-mix(in srgb,var(--bfa-foreground,#111827) 11%,transparent)}.bfa-mh.has-open-panel .bfa-mh__shell{border-radius:var(--bfa-mh-radius) var(--bfa-mh-radius) 0 0;box-shadow:none}.bfa-mh__panel{display:none}.bfa-mh__panel.is-active{display:block}.bfa-mh__panel-inner{padding:24px}.bfa-mh__panel-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(270px,330px);gap:22px;align-items:stretch}.bfa-mh__cards{display:grid;grid-template-columns:repeat(var(--bfa-mh-panel-cols),minmax(0,1fr));gap:11px;align-content:start}
.bfa-mh__card{position:relative;display:grid;grid-template-columns:46px minmax(0,1fr) 22px;align-items:center;gap:12px;min-height:84px;padding:14px;border:1px solid var(--bfa-border,#e5e7eb);border-radius:13px;background:color-mix(in srgb,var(--bfa-card,#fff) 94%,var(--bfa-muted,#f3f4f6) 6%);color:var(--bfa-foreground,#111827);text-decoration:none;transition:background .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease}.bfa-mh__card:hover,.bfa-mh__card:focus-visible{background:var(--bfa-card,#fff);border-color:color-mix(in srgb,var(--bfa-primary,#facc15) 62%,var(--bfa-border,#e5e7eb));box-shadow:0 10px 26px color-mix(in srgb,var(--bfa-foreground,#111827) 8%,transparent);transform:translateY(-1px);outline:0}.bfa-mh__card-icon{width:46px;height:46px;border:1px solid var(--bfa-border,#e5e7eb);border-radius:12px;display:grid;place-items:center;background:color-mix(in srgb,var(--bfa-primary,#facc15) 8%,var(--bfa-card,#fff));color:var(--bfa-foreground,#111827)}.bfa-mh__card-icon svg{width:21px;height:21px}.bfa-mh__card-copy{display:grid;gap:3px;min-width:0}.bfa-mh__card-title{font-weight:750;font-size:15px;line-height:1.45;display:flex;align-items:center;gap:6px}.bfa-mh__card-title em{font-style:normal;font-size:11px;background:var(--bfa-primary,#facc15);color:var(--bfa-primary-foreground,#111827);padding:1px 6px;border-radius:999px}.bfa-mh__card-desc{font-size:13px;line-height:1.7;color:var(--bfa-muted-foreground,#6b7280)}.bfa-mh__card-arrow{display:grid;place-items:center;color:var(--bfa-muted-foreground,#6b7280)}.bfa-mh__card-arrow svg{width:18px;height:18px;transform:rotate(180deg)}
.bfa-mh__feature{position:relative;overflow:hidden;border-radius:15px;background:var(--bfa-mh-dark-surface);color:var(--bfa-mh-on-dark);text-decoration:none;display:grid;grid-template-rows:minmax(130px,1fr) auto;min-height:100%;border:1px solid color-mix(in srgb,var(--bfa-primary,#facc15) 32%,transparent)}.bfa-mh__feature-media{display:block;min-height:150px;overflow:hidden;background:var(--bfa-muted,#f3f4f6)}.bfa-mh__feature-media img{display:block;width:100%;height:100%;object-fit:cover}.bfa-mh__feature-art{position:relative;display:grid;place-items:center;min-height:150px;background:linear-gradient(145deg,color-mix(in srgb,var(--bfa-mh-dark-surface) 88%,var(--bfa-primary,#facc15) 12%),var(--bfa-mh-dark-surface));overflow:hidden}.bfa-mh__feature-art:before,.bfa-mh__feature-art:after,.bfa-mh__feature-art i{content:"";position:absolute;border:1px solid color-mix(in srgb,var(--bfa-primary,#facc15) 44%,transparent);border-radius:999px}.bfa-mh__feature-art:before{width:240px;height:240px;right:-70px;top:-120px}.bfa-mh__feature-art:after{width:160px;height:160px;left:-40px;bottom:-100px}.bfa-mh__feature-art i:nth-child(1){width:10px;height:10px;background:var(--bfa-primary,#facc15);border:0;top:28%;left:24%}.bfa-mh__feature-art i:nth-child(2){width:6px;height:6px;background:var(--bfa-mh-on-dark);border:0;bottom:30%;right:24%}.bfa-mh__feature-art i:nth-child(3){width:80px;height:1px;border:0;border-top:1px dashed color-mix(in srgb,var(--bfa-mh-on-dark) 28%,transparent);transform:rotate(-25deg)}.bfa-mh__feature-art b{position:relative;z-index:2;font-size:22px;color:var(--bfa-primary,#facc15)}.bfa-mh__feature-body{display:grid;gap:8px;padding:17px}.bfa-mh__feature-body strong{font-size:16px;line-height:1.5}.bfa-mh__feature-body>span{font-size:13px;color:color-mix(in srgb,var(--bfa-mh-on-dark) 78%,transparent);line-height:1.75}.bfa-mh__feature-body>b{margin-top:4px;display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--bfa-primary,#facc15);font-size:13px}.bfa-mh__feature-body>b svg{width:18px;height:18px;transform:rotate(180deg)}
.bfa-mh__mobile-toggle,.bfa-mh__mobile{display:none}.bfa-mh__mobile-toggle .is-close{display:none}.bfa-mh__mobile{background:var(--bfa-card,#fff);border-top:1px solid var(--bfa-border,#e5e7eb)}
html[data-bfa-theme="dark"] .bfa-mh__stage{background:linear-gradient(180deg,color-mix(in srgb,var(--bfa-background,#09090b) 92%,var(--bfa-primary,#facc15) 8%),var(--bfa-background,#09090b))}html[data-bfa-theme="dark"] .bfa-mh__shell,html[data-bfa-theme="dark"] .bfa-mh__panel-clip{box-shadow:0 16px 45px rgba(0,0,0,.2)}
@media(max-width:1100px){.bfa-mh__desktop-nav{display:none}.bfa-mh__mobile-toggle{display:grid}.bfa-mh__shell{grid-template-columns:auto 1fr auto;grid-template-areas:"brand . actions"}.bfa-mh__actions .bfa-mh__action:nth-child(1),.bfa-mh__actions .bfa-mh__action:nth-child(2){display:none}.bfa-mh__panel-wrap{display:none!important}.bfa-mh__mobile[hidden]{display:none}.bfa-mh__mobile.is-open{display:block;position:fixed;z-index:120;inset-inline:0;top:calc(var(--wp-admin--admin-bar--height,0px) + var(--bfa-mh-mobile-top,84px));bottom:0;overflow:hidden;background:color-mix(in srgb,var(--bfa-background,#fff) 96%,var(--bfa-primary,#facc15) 4%);border-top:1px solid var(--bfa-border,#e5e7eb)}.bfa-mh__mobile-inner{height:100%;max-width:var(--bfa-mh-max-width);margin:auto;padding:18px 20px 28px;overflow:auto;position:relative}.bfa-mh__mobile-view{display:grid;gap:9px;animation:bfaMhIn .26s ease}.bfa-mh__mobile-view[hidden]{display:none}.bfa-mh__mobile-nav{width:100%;min-height:60px;border:1px solid var(--bfa-border,#e5e7eb);border-radius:13px;background:var(--bfa-card,#fff);color:var(--bfa-foreground,#111827);font:inherit;font-size:15px;font-weight:750;text-decoration:none;padding:0 16px;display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer}.bfa-mh__mobile-nav svg{width:18px;height:18px;transform:rotate(180deg)}.bfa-mh__mobile-cta{min-height:52px;border-radius:13px;background:var(--bfa-primary,#facc15);color:var(--bfa-primary-foreground,#111827);display:grid;place-items:center;text-decoration:none;font-weight:800;margin-top:8px}.bfa-mh__mobile-back{appearance:none;border:0;background:transparent;color:var(--bfa-muted-foreground,#6b7280);display:flex;align-items:center;gap:7px;font:inherit;font-size:14px;font-weight:650;justify-self:start;padding:8px 0;cursor:pointer}.bfa-mh__mobile-back svg{transform:rotate(180deg)}.bfa-mh__mobile-title{font-size:19px;margin-bottom:4px}.bfa-mh__mobile-card{display:grid;grid-template-columns:46px minmax(0,1fr) 20px;align-items:center;gap:11px;padding:13px;border:1px solid var(--bfa-border,#e5e7eb);border-radius:13px;background:var(--bfa-card,#fff);text-decoration:none;color:var(--bfa-foreground,#111827)}.bfa-mh__mobile-card b{font-size:15px}.bfa-mh__mobile-card>span:nth-child(2){display:grid;gap:2px}.bfa-mh__mobile-card small{color:var(--bfa-muted-foreground,#6b7280);font-size:12.5px;line-height:1.65}.bfa-mh__mobile-card>svg{transform:rotate(180deg)}.bfa-mh.is-mobile-open .bfa-mh__mobile-toggle .is-menu{display:none}.bfa-mh.is-mobile-open .bfa-mh__mobile-toggle .is-close{display:grid}@keyframes bfaMhIn{from{opacity:0;transform:translateX(-12px)}to{opacity:1;transform:none}}}
@media(max-width:680px){.bfa-mh{font-size:15px}.bfa-mh__utility{display:none}.bfa-mh__stage{padding:8px 10px}.bfa-mh__shell{min-height:64px;border-radius:14px;padding:0 10px;gap:8px}.bfa-mh__brand-mark{width:35px;height:35px;border-radius:var(--bfa-logo-radius,7px)}.bfa-mh__brand-copy b{font-size:16px}.bfa-mh__brand-copy small{display:none}.bfa-mh__actions{gap:5px}.bfa-mh__action,.bfa-mh__mobile-toggle{width:39px;height:39px;border-radius:10px}.bfa-mh__theme{display:none}.bfa-mh__mobile.is-open{top:calc(var(--wp-admin--admin-bar--height,0px) + 80px)}}
@media(prefers-reduced-motion:reduce){.bfa-mh *{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}
html.bfa-mh-lock{overflow:hidden}

/* BricksFA Mega Header R3: compact desktop geometry + quieter hover language. */
@media(min-width:1101px){
  .bfa-mh{
    --bfa-mh-max-width:1480px;
    --bfa-mh-shell-height:72px;
    --bfa-mh-radius:17px;
    --bfa-mh-nav-gap:5px;
  }
  .bfa-mh__stage{padding:10px 22px 12px}
  .bfa-mh__shell{padding-inline:18px;gap:18px}
  .bfa-mh__trigger,.bfa-mh__direct{
    min-height:46px;
    padding-inline:13px;
    border-radius:10px;
    transition:background .16s ease,color .16s ease,box-shadow .16s ease
  }
  .bfa-mh__trigger:hover,.bfa-mh__trigger:focus-visible,
  .bfa-mh__direct:hover,.bfa-mh__direct:focus-visible{
    background:color-mix(in srgb,var(--bfa-muted,#f3f4f6) 74%,var(--bfa-card,#fff) 26%);
    color:var(--bfa-foreground,#111827);
    box-shadow:none
  }
  .bfa-mh__trigger:hover svg,.bfa-mh__trigger:focus-visible svg{color:var(--bfa-primary,#facc15)}
  .bfa-mh__trigger.is-active{
    background:color-mix(in srgb,var(--bfa-primary,#facc15) 7%,var(--bfa-card,#fff));
    color:var(--bfa-foreground,#111827);
    box-shadow:inset 0 -2px 0 var(--bfa-primary,#facc15)
  }
  .bfa-mh__action:hover,.bfa-mh__action:focus-visible,
  .bfa-mh__mobile-toggle:hover,.bfa-mh__mobile-toggle:focus-visible{
    background:color-mix(in srgb,var(--bfa-muted,#f3f4f6) 78%,var(--bfa-card,#fff) 22%);
    border-color:color-mix(in srgb,var(--bfa-primary,#facc15) 42%,var(--bfa-border,#e5e7eb));
    color:var(--bfa-foreground,#111827)
  }
  .bfa-mh__panel-inner{padding:18px 20px 20px}
  .bfa-mh__panel-layout{grid-template-columns:minmax(0,1fr) minmax(260px,300px);gap:18px;align-items:start}
  .bfa-mh__cards{gap:9px}
  .bfa-mh__card{
    grid-template-columns:42px minmax(0,1fr) 20px;
    gap:10px;
    min-height:72px;
    padding:11px 12px;
    border-radius:12px
  }
  .bfa-mh__card-icon{width:42px;height:42px;border-radius:11px}
  .bfa-mh__card-icon svg{width:19px;height:19px}
  .bfa-mh__card-title{font-size:14.5px;line-height:1.4}
  .bfa-mh__card-desc{font-size:12.5px;line-height:1.55}
  .bfa-mh__feature{grid-template-rows:120px auto;min-height:0;border-radius:14px;align-self:start}
  .bfa-mh__feature-media,.bfa-mh__feature-art{min-height:120px;height:120px}
  .bfa-mh__feature-art b{font-size:20px}
  .bfa-mh__feature-body{gap:6px;padding:14px 15px}
  .bfa-mh__feature-body strong{font-size:15px;line-height:1.45}
  .bfa-mh__feature-body>span{font-size:12.5px;line-height:1.65}
  .bfa-mh__feature-body>b{font-size:12.5px;margin-top:2px}
  .bfa-mh__panel-clip{max-height:min(310px,calc(100vh - 150px));overflow:auto;overscroll-behavior:contain}
  .bfa-mh__panel-clip::-webkit-scrollbar{width:7px}
  .bfa-mh__panel-clip::-webkit-scrollbar-thumb{background:color-mix(in srgb,var(--bfa-border,#e5e7eb) 72%,var(--bfa-primary,#facc15) 28%);border-radius:999px}
}

/* BricksFA Mega Header R4 — shadcnspace-inspired shell, BricksFA identity preserved. */
.bfa-mh.is-shad-shell{
  --bfa-mh-shell-height:76px;
  --bfa-mh-radius:0px;
  --bfa-mh-nav-gap:2px;
  background:transparent;
}
.bfa-mh.is-shad-shell .bfa-mh__utility{
  border-top:0;
  background:color-mix(in srgb,var(--bfa-foreground,#111827) 95%,#000 5%);
  color:var(--bfa-mh-on-dark,#fff);
}
.bfa-mh.is-shad-shell .bfa-mh__utility-inner{
  min-height:44px;
  padding-inline:24px;
  justify-content:center;
}
.bfa-mh__announce{
  width:100%;
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  font-size:13.5px;
  line-height:1.45;
  white-space:nowrap;
}
.bfa-mh__announce-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:24px;
  padding:2px 10px;
  border-radius:999px;
  background:color-mix(in srgb,var(--bfa-primary,#facc15) 18%,transparent);
  border:1px solid color-mix(in srgb,var(--bfa-primary,#facc15) 52%,transparent);
  color:var(--bfa-primary,#facc15);
  font-size:11.5px;
  font-weight:800;
}
.bfa-mh__announce-text{font-weight:560;color:inherit;opacity:.96;overflow:hidden;text-overflow:ellipsis}
.bfa-mh__announce-cta{
  display:inline-flex;
  align-items:center;
  gap:5px;
  min-height:28px;
  padding:3px 11px;
  border-radius:999px;
  background:var(--bfa-mh-on-dark,#fff);
  color:var(--bfa-mh-dark-surface,#111827);
  text-decoration:none;
  font-size:11.5px;
  font-weight:750;
  transition:background .16s ease,color .16s ease,transform .16s ease;
}
.bfa-mh__announce-cta svg{width:13px;height:13px;transform:rotate(180deg)}
.bfa-mh__announce-cta:hover,.bfa-mh__announce-cta:focus-visible{background:var(--bfa-primary,#facc15);color:var(--bfa-primary-foreground,#111827);outline:0}

.bfa-mh.is-shad-shell .bfa-mh__stage{
  padding:0;
  background:var(--bfa-card,#fff);
  border-bottom:1px solid var(--bfa-border,#e5e7eb);
}
.bfa-mh.is-shad-shell .bfa-mh__shell{
  min-height:var(--bfa-mh-shell-height);
  padding-inline:24px;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  gap:24px;
}
.bfa-mh.is-shad-shell .bfa-mh__brand{
  gap:12px;
  padding-inline-end:22px;
  border-inline-end:1px solid var(--bfa-border,#e5e7eb);
}
.bfa-mh.is-shad-shell .bfa-mh__brand-mark{
  width:50px;
  height:50px;
  border-radius:var(--bfa-logo-radius,7px);
  font-size:19px;
  box-shadow:none;
}
.bfa-mh.is-shad-shell .bfa-mh__brand-copy b{
  font-size:21px;
  font-weight:820;
  letter-spacing:-.035em;
}
.bfa-mh.is-shad-shell .bfa-mh__brand-copy small{display:none}
.bfa-mh.is-shad-shell .bfa-mh__desktop-nav{
  justify-content:flex-start;
  gap:var(--bfa-mh-nav-gap);
}
.bfa-mh.is-shad-shell .bfa-mh__trigger,
.bfa-mh.is-shad-shell .bfa-mh__direct{
  min-height:44px;
  padding-inline:12px;
  border-radius:8px;
  background:transparent;
  font-size:15.5px;
  font-weight:600;
  letter-spacing:-.015em;
  color:color-mix(in srgb,var(--bfa-foreground,#111827) 88%,var(--bfa-muted-foreground,#6b7280) 12%);
  box-shadow:none;
}
.bfa-mh.is-shad-shell .bfa-mh__trigger:hover,
.bfa-mh.is-shad-shell .bfa-mh__trigger:focus-visible,
.bfa-mh.is-shad-shell .bfa-mh__direct:hover,
.bfa-mh.is-shad-shell .bfa-mh__direct:focus-visible{
  background:transparent;
  color:var(--bfa-foreground,#111827);
}
.bfa-mh.is-shad-shell .bfa-mh__trigger:hover:after,
.bfa-mh.is-shad-shell .bfa-mh__trigger:focus-visible:after,
.bfa-mh.is-shad-shell .bfa-mh__direct:hover:after,
.bfa-mh.is-shad-shell .bfa-mh__direct:focus-visible:after{
  transform:scaleX(1);
  opacity:.42;
}
.bfa-mh.is-shad-shell .bfa-mh__trigger,
.bfa-mh.is-shad-shell .bfa-mh__direct{position:relative}
.bfa-mh.is-shad-shell .bfa-mh__trigger:after,
.bfa-mh.is-shad-shell .bfa-mh__direct:after{
  content:"";
  position:absolute;
  inset-inline:12px;
  bottom:5px;
  height:2px;
  border-radius:999px;
  background:var(--bfa-primary,#facc15);
  transform:scaleX(.28);
  opacity:0;
  transition:transform .16s ease,opacity .16s ease;
}
.bfa-mh.is-shad-shell .bfa-mh__trigger.is-active{
  background:transparent;
  color:var(--bfa-foreground,#111827);
  box-shadow:none;
}
.bfa-mh.is-shad-shell .bfa-mh__trigger.is-active:after{transform:scaleX(1);opacity:1}
.bfa-mh.is-shad-shell .bfa-mh__trigger.is-active svg,
.bfa-mh.is-shad-shell .bfa-mh__trigger:hover svg{color:var(--bfa-primary,#facc15)}

.bfa-mh.is-shad-shell .bfa-mh__actions{gap:8px}
.bfa-mh.is-shad-shell .bfa-mh__action--icon{
  width:38px;
  height:38px;
  border:0;
  border-radius:9px;
  background:transparent;
}
.bfa-mh.is-shad-shell .bfa-mh__action--icon:hover,
.bfa-mh.is-shad-shell .bfa-mh__action--icon:focus-visible{
  background:var(--bfa-muted,#f3f4f6);
  border-color:transparent;
  color:var(--bfa-foreground,#111827);
}
.bfa-mh__account-btn,
.bfa-mh__pro-cta{
  min-height:40px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding:0 15px;
  border-radius:9px;
  text-decoration:none;
  white-space:nowrap;
  font-size:14.5px;
  font-weight:700;
  transition:background .16s ease,border-color .16s ease,color .16s ease,transform .16s ease;
}
.bfa-mh__account-btn{
  border:1px solid var(--bfa-border,#e5e7eb);
  background:var(--bfa-card,#fff);
  color:var(--bfa-foreground,#111827);
}
.bfa-mh__account-btn:hover,.bfa-mh__account-btn:focus-visible{
  background:var(--bfa-muted,#f3f4f6);
  border-color:color-mix(in srgb,var(--bfa-primary,#facc15) 38%,var(--bfa-border,#e5e7eb));
  outline:0;
}
.bfa-mh__pro-cta{
  border:1px solid color-mix(in srgb,var(--bfa-primary,#facc15) 75%,var(--bfa-foreground,#111827) 25%);
  background:var(--bfa-primary,#facc15);
  color:var(--bfa-primary-foreground,#111827);
  box-shadow:0 4px 14px color-mix(in srgb,var(--bfa-primary,#facc15) 18%,transparent);
}
.bfa-mh__pro-cta:hover,.bfa-mh__pro-cta:focus-visible{transform:translateY(-1px);background:color-mix(in srgb,var(--bfa-primary,#facc15) 88%,#fff 12%);outline:0}

/* Keep the R3 mega panels, only re-anchor them under the flatter shadcn-style shell. */
.bfa-mh.is-shad-shell .bfa-mh__panel-wrap{margin-top:0}
.bfa-mh.is-shad-shell .bfa-mh__panel-clip{
  border-top:1px solid var(--bfa-border,#e5e7eb);
  border-radius:0 0 16px 16px;
  box-shadow:0 24px 55px color-mix(in srgb,var(--bfa-foreground,#111827) 10%,transparent);
}
.bfa-mh.is-shad-shell.has-open-panel .bfa-mh__shell{border-radius:0;box-shadow:none}

/* Builder safety: runtime fallback is disabled in PHP/JS, and the real element stays easy to select. */
body.bricks-is-builder .bfa-mh.is-sticky,
body.bricks-builder .bfa-mh.is-sticky{position:relative!important;top:auto!important}
body.bricks-is-builder .bfa-mh,
body.bricks-builder .bfa-mh{z-index:2}

@media(max-width:1100px){
  .bfa-mh.is-shad-shell .bfa-mh__stage{padding:0}
  .bfa-mh.is-shad-shell .bfa-mh__shell{padding-inline:16px;border-radius:0;gap:12px}
  .bfa-mh.is-shad-shell .bfa-mh__brand{padding-inline-end:0;border-inline-end:0}
  .bfa-mh.is-shad-shell .bfa-mh__brand-mark{width:43px;height:43px;font-size:17px}
  .bfa-mh.is-shad-shell .bfa-mh__brand-copy b{font-size:18px}
  .bfa-mh__account-btn,.bfa-mh__pro-cta{display:none}
}
@media(max-width:680px){
  .bfa-mh__announce{font-size:12px;gap:7px}
  .bfa-mh__announce-text{max-width:56vw}
  .bfa-mh__announce-badge{font-size:10.5px;padding-inline:8px}
  .bfa-mh__announce-cta{display:none}
  .bfa-mh.is-shad-shell .bfa-mh__utility{display:flex}
  .bfa-mh.is-shad-shell .bfa-mh__utility-inner{min-height:38px;padding-inline:12px}
  .bfa-mh.is-shad-shell .bfa-mh__shell{min-height:62px;padding-inline:12px}
  .bfa-mh.is-shad-shell .bfa-mh__brand-mark{width:40px;height:40px}
}


/* ==========================================================================\n   Phase 6 R4 — Modular Builder-editable header\n   --------------------------------------------------------------------------\n   The legacy all-in-one element remains supported. The new `.bfa-mhb` shell\n   is composed of real Bricks child elements so Brand, Nav, Actions and each\n   Mega Panel are independently selectable in the Structure panel.\n   ========================================================================== */
.bfa-mhb{--bfa-mh-max-width:1480px;--bfa-mh-shell-height:76px;--bfa-mh-panel-cols:3;position:relative;width:100%;font-family:inherit;color:var(--bfa-foreground,#111827);z-index:80;background:var(--bfa-card,#fff)}
.bfa-mhb.is-sticky{position:sticky;top:var(--wp-admin--admin-bar--height,0px)}
.bfa-mhb__inner{max-width:var(--bfa-mh-max-width);margin-inline:auto;display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"announcement announcement announcement" "actions nav brand" "panel panel panel";align-items:center;direction:ltr;position:relative;background:var(--bfa-card,#fff);border-bottom:1px solid var(--bfa-border,#e5e7eb)}
.bfa-mhb__inner>*{direction:rtl}
.bfa-mhb__announcement{grid-area:announcement;min-height:44px;display:flex;align-items:center;justify-content:center;gap:12px;padding:7px 18px;background:#0f172a;color:#fff;box-shadow:0 0 0 100vmax #0f172a;clip-path:inset(0 -100vmax);font-size:13px;font-weight:650}
html[data-bfa-theme="dark"] .bfa-mhb__announcement{background:#070b12;box-shadow:0 0 0 100vmax #070b12}
.bfa-mhb__brand{grid-area:brand;justify-self:end;min-height:var(--bfa-mh-shell-height);display:flex;align-items:center;gap:12px;color:var(--bfa-foreground,#111827);text-decoration:none;padding-inline-start:22px;border-inline-start:1px solid var(--bfa-border,#e5e7eb);min-width:max-content}
.bfa-mhb__brand img{max-height:48px;max-width:210px;width:auto;display:block;border-radius:var(--bfa-logo-radius,7px)}.bfa-mhb__brand .bfa-mh__brand-mark{width:50px;height:50px;border-radius:var(--bfa-logo-radius,7px);background:var(--bfa-primary,#facc15);color:var(--bfa-primary-foreground,#111827);display:grid;place-items:center;font-size:19px;font-weight:900}.bfa-mhb__brand .bfa-mh__brand-copy b{font-size:21px;font-weight:820;letter-spacing:-.035em;white-space:nowrap}
.bfa-mhb__nav{grid-area:nav;justify-self:center;min-height:var(--bfa-mh-shell-height);display:flex;align-items:center;justify-content:center;gap:var(--bfa-mh-nav-gap,5px)}
.bfa-mhb__nav .bfa-mh__trigger,.bfa-mhb__nav .bfa-mh__direct{appearance:none;border:0;background:transparent;color:color-mix(in srgb,var(--bfa-foreground,#111827) 90%,var(--bfa-muted-foreground,#6b7280) 10%);min-height:44px;padding-inline:12px;border-radius:8px;font:inherit;font-size:15.5px;font-weight:650;display:inline-flex;align-items:center;gap:7px;text-decoration:none;cursor:pointer;position:relative;white-space:nowrap}.bfa-mhb__nav .bfa-mh__trigger svg{width:15px;height:15px;stroke:currentColor;stroke-width:1.8}.bfa-mhb__nav .bfa-mh__trigger:after,.bfa-mhb__nav .bfa-mh__direct:after{content:"";position:absolute;inset-inline:12px;bottom:4px;height:2px;border-radius:99px;background:var(--bfa-primary,#facc15);transform:scaleX(.3);opacity:0;transition:transform .16s ease,opacity .16s ease}.bfa-mhb__nav .bfa-mh__trigger:hover,.bfa-mhb__nav .bfa-mh__trigger:focus-visible,.bfa-mhb__nav .bfa-mh__direct:hover,.bfa-mhb__nav .bfa-mh__direct:focus-visible,.bfa-mhb__nav .bfa-mh__trigger.is-active{color:var(--bfa-foreground,#111827);outline:0}.bfa-mhb__nav .bfa-mh__trigger:hover:after,.bfa-mhb__nav .bfa-mh__trigger:focus-visible:after,.bfa-mhb__nav .bfa-mh__direct:hover:after,.bfa-mhb__nav .bfa-mh__direct:focus-visible:after{transform:scaleX(1);opacity:.45}.bfa-mhb__nav .bfa-mh__trigger.is-active:after{transform:scaleX(1);opacity:1}.bfa-mhb__nav .bfa-mh__trigger.is-active svg,.bfa-mhb__nav .bfa-mh__trigger:hover svg{color:var(--bfa-primary,#facc15)}
.bfa-mhb__actions{grid-area:actions;justify-self:start;min-height:var(--bfa-mh-shell-height);display:flex;align-items:center;gap:8px;direction:rtl;min-width:max-content}.bfa-mhb__actions .bfa-mh__action--icon{width:38px;height:38px;border:0;border-radius:9px;background:transparent}.bfa-mhb__actions .bfa-mh__action--icon:hover,.bfa-mhb__actions .bfa-mh__action--icon:focus-visible{background:var(--bfa-muted,#f3f4f6);outline:0}
.bfa-mhb__panel{grid-area:panel;width:100%;display:none;border-top:1px solid var(--bfa-border,#e5e7eb);background:var(--bfa-card,#fff);box-shadow:0 22px 50px color-mix(in srgb,var(--bfa-foreground,#111827) 9%,transparent);z-index:5}.bfa-mhb__panel.is-active{display:block;animation:bfaMhbPanelIn .22s cubic-bezier(.22,1,.36,1)}.bfa-mhb__panel .bfa-mh__panel-inner{padding:22px 24px 24px}.bfa-mhb__panel .bfa-mh__panel-layout{grid-template-columns:minmax(0,1fr) minmax(260px,320px);gap:20px}.bfa-mhb__panel .bfa-mh__cards{grid-template-columns:repeat(var(--bfa-mh-panel-cols),minmax(0,1fr));gap:10px}.bfa-mhb__panel .bfa-mh__card{min-height:76px;padding:11px 13px}.bfa-mhb__panel .bfa-mh__feature{min-height:100%;max-height:260px}
@keyframes bfaMhbPanelIn{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:none}}
.bfa-mhb__mobile[hidden]{display:none}

/* Builder: every module remains individually clickable/selectable. */
body.bricks-is-builder .bfa-mhb,body.bricks-builder .bfa-mhb{position:relative!important;top:auto!important;z-index:2}.bricks-is-builder .bfa-mhb__panel[hidden],.bricks-builder .bfa-mhb__panel[hidden]{display:block!important;opacity:.22;max-height:70px;overflow:hidden;border:1px dashed color-mix(in srgb,var(--bfa-primary,#facc15) 55%,var(--bfa-border,#e5e7eb));margin-block:3px}.bricks-is-builder .bfa-mhb__panel.is-active,.bricks-builder .bfa-mhb__panel.is-active{opacity:1;max-height:none}

@media(max-width:1100px){
  .bfa-mhb__inner{grid-template-columns:auto 1fr auto;grid-template-areas:"announcement announcement announcement" "actions . brand" "panel panel panel";padding-inline:16px}
  .bfa-mhb__nav{display:none}.bfa-mhb__brand{padding-inline-start:0;border-inline-start:0}.bfa-mhb__brand .bfa-mh__brand-mark{width:43px;height:43px;font-size:17px}.bfa-mhb__brand .bfa-mh__brand-copy b{font-size:18px}.bfa-mhb__actions .bfa-mh__account-btn,.bfa-mhb__actions .bfa-mh__pro-cta{display:none}.bfa-mhb__panel{display:none!important}
  .bfa-mhb__mobile.is-open{display:block;position:fixed;z-index:120;inset-inline:0;top:calc(var(--wp-admin--admin-bar--height,0px) + var(--bfa-mh-mobile-top,80px));bottom:0;overflow:hidden;background:var(--bfa-background,#fff);border-top:1px solid var(--bfa-border,#e5e7eb)}
}
@media(max-width:680px){.bfa-mhb__announcement{min-height:38px;font-size:12px;gap:7px;padding-inline:10px}.bfa-mhb__announcement .bfa-mh__announce-text{max-width:58vw;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bfa-mhb__announcement .bfa-mh__announce-cta{display:none}.bfa-mhb__inner{padding-inline:12px}.bfa-mhb__brand .bfa-mh__brand-mark{width:40px;height:40px}.bfa-mhb__brand .bfa-mh__brand-copy b{font-size:17px}.bfa-mhb__actions{gap:5px}}


/* BricksFA Phase 6 R5 — 100% native Bricks editable header tree. */
.bfa-mh-native{--bfa-mh-max-width:1480px;--bfa-mh-shell-height:76px;--bfa-mh-panel-cols:3}
.bfa-mh-native>.bfa-mh__utility,.bfa-mh-native>.bfa-mh__stage{width:100%}
.bfa-mh-native .bfa-mh__shell{direction:ltr;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"actions nav brand";max-width:var(--bfa-mh-max-width)}
.bfa-mh-native .bfa-mh__shell>*{direction:rtl}
.bfa-mh-native .bfa-mh__brand{grid-area:brand;justify-self:end;padding-inline-start:18px;border-inline-start:1px solid var(--bfa-border,#e5e7eb)}
.bfa-mh-native .bfa-mh__desktop-nav{grid-area:nav;justify-self:center}
.bfa-mh-native .bfa-mh__actions{grid-area:actions;justify-self:start;direction:rtl}
.bfa-mh-native .bfa-mh__trigger.brxe-button{box-shadow:none!important;border:0!important;background:transparent!important;color:var(--bfa-foreground,#111827)!important;min-width:0!important;width:auto!important;margin:0!important}
.bfa-mh-native .bfa-mh__trigger.brxe-button:hover,.bfa-mh-native .bfa-mh__trigger.brxe-button:focus-visible{background:transparent!important}
.bfa-mh-native .bfa-mh__trigger:before{content:"⌄";display:inline-block;margin-inline-end:3px;color:var(--bfa-muted-foreground,#6b7280);font-size:13px;line-height:1;transition:transform .18s ease,color .18s ease}
.bfa-mh-native .bfa-mh__trigger.is-active:before{transform:rotate(180deg);color:var(--bfa-primary,#facc15)}
.bfa-mh-native .bfa-mh__action.brxe-text-link,.bfa-mh-native .bfa-mh__action.brxe-button{padding:0!important;min-width:38px!important;width:38px!important;min-height:38px!important;height:38px!important;line-height:1!important;font-size:20px!important;text-decoration:none!important}
.bfa-mh-native .bfa-mh__pro-cta.brxe-text-link,.bfa-mh-native .bfa-mh__account-btn.brxe-text-link{text-decoration:none!important}
.bfa-mh-native .bfa-mh__panel-wrap{width:100%}
.bfa-mh-native .bfa-mh__panel[hidden]{display:none}
.bfa-mh-native .bfa-mh__panel.is-active{display:block}
.bfa-mh-native .bfa-mh__card.brxe-div,.bfa-mh-native .bfa-mh__feature.brxe-div{text-decoration:none!important}
.bfa-mh-native .bfa-mh__card-icon.brxe-text-basic,.bfa-mh-native .bfa-mh__card-arrow.brxe-text-basic{margin:0!important}
.bfa-mh-native .bfa-mh__feature-art>.brxe-text-basic{position:relative;z-index:2;color:var(--bfa-primary,#facc15);font-size:22px;font-weight:800}
.bfa-mh-native .bfa-mh__feature-body>.brxe-text-basic:first-child{font-size:16px;font-weight:800;color:inherit}
.bfa-mh-native .bfa-mh__feature-body>.brxe-text-basic:nth-child(2){font-size:13px;color:color-mix(in srgb,var(--bfa-mh-on-dark) 78%,transparent);line-height:1.75}
.bfa-mh-native .bfa-mh__feature-body>.brxe-text-basic:last-child{color:var(--bfa-primary,#facc15);font-size:13px;font-weight:750}
body.bricks-is-builder .bfa-mh-native,body.bricks-builder .bfa-mh-native,.brx-body .bfa-mh-native{position:relative!important;top:auto!important;z-index:2!important}
body.bricks-is-builder .bfa-mh-native .bfa-mh__panel[hidden],body.bricks-builder .bfa-mh-native .bfa-mh__panel[hidden],.brx-body .bfa-mh-native .bfa-mh__panel[hidden]{display:block!important;opacity:.22;max-height:76px;overflow:hidden;border:1px dashed color-mix(in srgb,var(--bfa-primary,#facc15) 55%,var(--bfa-border,#e5e7eb));margin-block:3px}
body.bricks-is-builder .bfa-mh-native .bfa-mh__panel.is-active,body.bricks-builder .bfa-mh-native .bfa-mh__panel.is-active,.brx-body .bfa-mh-native .bfa-mh__panel.is-active{opacity:1;max-height:none}
@media(max-width:1100px){.bfa-mh-native .bfa-mh__shell{grid-template-columns:auto 1fr auto;grid-template-areas:"actions . brand"}.bfa-mh-native .bfa-mh__desktop-nav{display:none}.bfa-mh-native .bfa-mh__brand{padding-inline-start:0;border-inline-start:0}}
