/**
 * Theme Builder compatibility layer.
 *
 * Loaded alongside the theme's stylesheet on every front-end request. It only
 * carries the rules the Theme Builder locations need, so it stays independent
 * of assets/css/elementor-compat.css, which restores native element styling
 * inside builder-built pages.
 */

/*
 * Drop the fixed-header offset when the builder owns the header.
 *
 * The theme's own bar is `fixed`, so <main> carries a 5rem top padding that
 * header.php writes as a utility class. A builder header is the site owner's
 * own markup and may be static, taller or shorter, so the offset is removed
 * instead of guessed at and the template stops emitting the class.
 *
 * `!important` is deliberate: the padding arrives as a Tailwind utility on the
 * same element, and this rule only ever applies when a Theme Builder header
 * template is assigned, where the theme's own offset is wrong by definition.
 */
body.rts-elementor-header main#rts-content {
	padding-top: 0 !important;
}
