/*
 * WQSB AI Framework v2: WordPress layout
 *
 * Hand-written for the plugin; the framework's own styles (framework.css) come
 * from v2/framework-v2.css and are not edited here.
 *
 * Full width: the framework's background runs from one edge of the window to the
 * other, so its title band and dark mode are not boxed in by the page's margins.
 * The framework centres its own content column, so nothing else is needed here.
 * Screen only: printing uses the framework's own print layout.
 */

.wqsb-aif2-host {
    display: block;
    margin: 0;
    padding: 0;
}

@media screen {
    .wqsb-aif2-full-width > #wqsb-ai-root:not(.wqsb-fullscreen-active) {
        /* Set by the plugin's inline script; the fallbacks assume a centred page column */
        width: var(--wqsb-aif2-bleed-width, 100vw);
        max-width: none;
        margin-left: var(--wqsb-aif2-bleed-margin, calc(50% - 50vw));
        margin-right: 0;
    }
}
