/* FUN v3.4.0 · Chrome contract: compact header + single Site Identity logo.
   This stylesheet deliberately loads AFTER the Builder's shared source CSS. */
@media (min-width:921px) {
  body.buffer-site .header {
    display:block!important; position:relative!important;
    box-sizing:border-box!important; width:100%!important;
    height:50px!important; min-height:50px!important; max-height:50px!important;
    padding:0!important; margin:0!important; border-bottom:1px solid #ebe8ee!important;
    overflow:visible!important; background:#fff!important;
  }
  body.buffer-site .header > .container.nav,
  body.buffer-site .header > .nav,
  body.buffer-site .header .container.nav {
    display:flex!important; flex-wrap:nowrap!important;
    height:49px!important; min-height:49px!important; max-height:49px!important;
    box-sizing:border-box!important; align-items:center!important;
    padding-top:0!important; padding-bottom:0!important; margin-top:0!important; margin-bottom:0!important;
  }
  body.buffer-site .header .navlinks {
    height:49px!important; min-height:49px!important; max-height:49px!important;
    align-items:center!important; margin-top:0!important; margin-bottom:0!important;
  }
  body.buffer-site .header .nav-item { height:100%!important; }
  body.buffer-site .header .brand {
    display:flex!important; height:38px!important; min-height:0!important;
    max-height:38px!important; padding:0!important; margin:0!important;
    align-items:center!important; flex-shrink:0!important; line-height:1!important;
  }
  body.buffer-site .header .brand img {
    display:block!important; width:auto!important; height:auto!important;
    max-width:185px!important; max-height:38px!important; object-fit:contain!important;
  }
  body.buffer-site .header .nav-trigger,
  body.buffer-site .header .nav-direct {
    padding-top:5px!important; padding-bottom:5px!important;
    line-height:1.2!important;
  }
  body.buffer-site .header .nav-actions {
    align-items:center!important; height:100%!important; max-height:49px!important;
    margin:0!important; padding:0!important;
  }
  body.buffer-site .header .nav-actions .btn {
    padding:7px 12px!important; min-height:0!important; line-height:1.2!important;
  }
  body.buffer-site .header .fun-header-search,
  body.buffer-site .header .fun-header-search form {
    display:flex!important; height:34px!important; max-height:34px!important; margin-top:0!important; margin-bottom:0!important;
    align-items:center!important;
  }
  body.buffer-site .header .fun-header-search input,
  body.buffer-site .header .fun-header-search button {
    height:34px!important; box-sizing:border-box!important;
    margin:0!important; padding-top:4px!important; padding-bottom:4px!important;
  }
  body.buffer-site .header .nav-dropdown { top:calc(100% - 1px)!important; }
}
@media (max-width:920px) {
  body.buffer-site .header:not(.menu-open) {
    box-sizing:border-box!important; height:54px!important; min-height:54px!important;
    max-height:54px!important; padding:0!important; margin:0!important; overflow:visible!important;
    border-bottom:1px solid #ebe8ee!important; background:#fff!important;
  }
  body.buffer-site .header:not(.menu-open) .container.nav {
    height:53px!important; min-height:53px!important; max-height:53px!important;
    box-sizing:border-box!important; padding-top:5px!important; padding-bottom:5px!important;
    margin-top:0!important; margin-bottom:0!important;
  }
  body.buffer-site .header.menu-open,
  body.buffer-site .header.menu-open .container.nav {
    height:auto!important; max-height:none!important; overflow:visible!important;
  }
  body.buffer-site .header .brand .buffer-custom-logo {
    max-height:36px!important; max-width:140px!important; width:auto!important; object-fit:contain!important;
  }
}
/* Footer image must keep its original colors; do not invert the Site Identity logo. */
body.buffer-site .footer .brand { display:inline-flex!important; align-items:center!important; margin:0!important; padding:0!important; }
body.buffer-site .footer .brand .buffer-custom-logo,
body.buffer-site .footer .brand .fun-site-logo {
  display:block!important; filter:none!important; opacity:1!important;
  height:auto!important; width:auto!important; max-height:48px!important;
  max-width:210px!important; object-fit:contain!important; object-position:left center!important;
}
body.buffer-site .footer-bottom { align-items:center!important; }


/* Home Page Base / BODY must start immediately after header, on a continuous lavender surface. */
body.buffer-site .home-hero,
body.buffer-site .buffer-builder-output > .home-hero:first-child {
  margin:0!important;border:0!important;border-radius:0!important;
  padding-top:0!important;background:#f2ecff!important;background-image:none!important;
}
body.buffer-site .home-hero .home-hero-inner {padding-top:24px!important;}
body.buffer-builder-page .buffer-builder-output,
body.buffer-builder-page .rvb-frontend-canvas {
  margin-top:0!important;padding-top:0!important;border-top:0!important;
}
body.buffer-site .header + .buffer-builder-output,
body.buffer-site .header + .rvb-frontend-canvas {margin-top:0!important;padding-top:0!important;}

/* Compact, legible, functional first-level menu icons; not decorative emoji. */
body.buffer-site .header .navlinks .nav-direct,
body.buffer-site .header .navlinks .nav-trigger {
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  white-space:nowrap;text-decoration:none;vertical-align:middle;
}
body.buffer-site .header .navlinks .fun-nav-icon {
  display:inline-block!important;flex:0 0 15px;width:15px;height:15px;
  stroke:currentColor;opacity:.78;overflow:visible;vertical-align:middle;
}
body.buffer-site .header .navlinks .fun-nav-label {font:inherit;white-space:nowrap;}
body.buffer-site .header .navlinks .nav-direct:hover .fun-nav-icon,
body.buffer-site .header .navlinks .nav-trigger:hover .fun-nav-icon {opacity:1;color:#6d48c9;}
@media(min-width:921px){
  body.buffer-site .header .navlinks{gap:15px!important;}
  body.buffer-site .header .navlinks .nav-direct,
  body.buffer-site .header .navlinks .nav-trigger {min-height:36px!important;padding:4px 0!important;line-height:20px!important;}
}
@media(max-width:920px){
  body.buffer-site .header .navlinks .nav-direct,
  body.buffer-site .header .navlinks .nav-trigger {justify-content:flex-start;width:100%;}
  body.buffer-site .header .navlinks .nav-plus {margin-left:auto;}
  body.buffer-site .home-hero .home-hero-inner {padding-top:20px!important;}
}
