/* Wolf Forge Elementor Page Generator — r2.2.2
 * Only loaded on pages generated by this plugin.
 * Removes the theme's outer post-content max-width while leaving each
 * Elementor section's own content_width/max-width settings intact.
 */
body.wfebpg-generated-page #content,
body.wfebpg-generated-page .site-content,
body.wfebpg-generated-page .content-area,
body.wfebpg-generated-page .site-main,
body.wfebpg-generated-page .entry-content,
body.wfebpg-generated-page .elementor-location-single {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Astra/common theme wrapper */
body.wfebpg-generated-page .site-content > .ast-container,
body.wfebpg-generated-page .site-content .ast-container,
body.wfebpg-generated-page #content > .ast-container,
body.wfebpg-generated-page .ast-container {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Common generic theme containers */
body.wfebpg-generated-page .container,
body.wfebpg-generated-page .container-fluid,
body.wfebpg-generated-page .elementor {
    width: 100% !important;
    max-width: none !important;
}

/* Elementor remains responsible for the width of boxed content inside each
 * section. Full-width sections are allowed to reach the viewport. */
body.wfebpg-generated-page .elementor-section.elementor-section-full_width,
body.wfebpg-generated-page .elementor-section.elementor-section-full_width > .elementor-container {
    width: 100% !important;
    max-width: none !important;
}

/* Remove only the outer theme gutters; do not alter Elementor section padding. */
body.wfebpg-generated-page .site-main,
body.wfebpg-generated-page .entry-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
}


/* Center partial repeatable card groups as a whole. Column widths are set by
 * the generator from the configured widgets-per-section limit. */
body.wfebpg-generated-page .elementor-section.wfebpg-partial-centered > .elementor-container {
    justify-content: center !important;
}
@media (max-width: 767px) {
    body.wfebpg-generated-page .elementor-section.wfebpg-partial-centered > .elementor-container > .elementor-column {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}
