/*
 * Elementor content runs full width: page.php, single-service.php and
 * template-parts/footer-layout-custom.php leave out the 1170px .container for it
 * (see nusakapit_is_elementor_full_width()).
 *
 * Top-level sections that are not stretched keep the content width the
 * .container used to give them: 100% minus its 15px gutters, at most 1170px.
 * Stretched and full-width sections need nothing here; they already span the
 * page, so Elementor's stretch script measures them where they are and moves
 * nothing. Before this, they painted boxed and jumped wide when that script ran.
 *
 * Only the document's own top-level sections: `> .elementor >` skips templates
 * nested inside a widget.
 *
 * A file of its own, not style.css: Hide My WP serves stylesheets without their
 * ?ver, so a changed style.css could stay cached beside the new markup.
 */
.content-container-elementor .entry-content > .elementor > .elementor-top-section:not(.elementor-section-stretched),
.footer-custom-inner > .elementor > .elementor-top-section:not(.elementor-section-stretched) {
    width: calc(100% - 30px);
    max-width: 1170px;
    margin-left: auto;
    margin-right: auto;
}
