.elementor-page .rbcc-entry__content > *:first-child,
.is-rbcc-elementor-fullwidth .rbcc-site-main > *:first-child {
  margin-top: 0;
}

.is-rbcc-elementor-fullwidth .rbcc-site-main {
  width: 100%;
  max-width: none;
  padding: 0;
}

.is-rbcc-elementor-fullwidth:not(.has-transparent-header) .rbcc-site-main {
  padding-top: var(--rbcc-header-height);
}

.is-rbcc-elementor-fullwidth.has-transparent-header .rbcc-site-main {
  padding-top: 0;
}

.is-rbcc-elementor-fullwidth .rbcc-site-main > .elementor {
  width: 100%;
  max-width: none;
}

.elementor-editor-active .rbcc-site-main { min-height: auto; }

/* Keep theme styles light around Elementor content. */
.is-rbcc-elementor-fullwidth .elementor-widget-container { max-width: 100%; }

/* Prevent horizontal scrollbar caused by 100vw full-bleed widget breakout.
   overflow-x: clip (unlike hidden) does not create a scroll container,
   so position: sticky children still work correctly. */
body.is-rbcc-elementor-fullwidth {
  overflow-x: clip;
}
