
/* RoboCoach Sticky Header Booster (global selectors) */
.wp-site-blocks > header,
header.wp-block-template-part,
header.site-header,
#masthead,
.site-header,
.elementor-location-header {
  position: sticky !important;
  top: 0;
  z-index: 10000;
  background: color-mix(in srgb, var(--rc-bg, #e1d3d0) 96%, transparent);
  -webkit-backdrop-filter: saturate(140%) blur(4px);
  backdrop-filter: saturate(140%) blur(4px);
  box-shadow: 0 1px 0 var(--rc-panel-border, rgba(0,0,0,.08));
}

/* Ensure ancestors don’t break sticky with overflow */
.wp-site-blocks,
.site,
.site-content,
html,
body {
  overflow: visible !important;
}

/* Admin bar offset */
html.admin-bar .wp-site-blocks > header,
html.admin-bar header.site-header,
html.admin-bar #masthead,
html.admin-bar .elementor-location-header {
  top: 32px;
}
@media (max-width: 782px) {
  html.admin-bar .wp-site-blocks > header,
  html.admin-bar header.site-header,
  html.admin-bar #masthead,
  html.admin-bar .elementor-location-header {
    top: 46px;
  }
}
