/* QS_ContentBuilder — view.css (public pages and in-place editing).
   The wrapper carries both classes (<div class="qs-cb is-wrapper">), so selectors are compound, not descendant.
   Makes ContentBox sections behave inside a themed DNN page:
   - a section without an explicit height class is as tall as its content, not a full screen;
   - section background classes keep a readable text color in both themes. */
.qs-cb.is-wrapper div.is-section:not([class*="is-section-"]) { min-height: 0; }
/* The runtime paints every section white. Let the theme's page background show through instead, so
   dark mode stays readable; sections with a background class or an overlay keep their own color. */
.qs-cb.is-wrapper div.is-section:not([class*="is-bg-"]) { background: transparent; }
.qs-cb.is-wrapper div.is-section.is-bg-light:not(.is-light-text),
.qs-cb.is-wrapper div.is-section.is-bg-grey:not(.is-light-text) { color: #121518; }
.qs-cb.is-wrapper div.is-section.is-bg-dark:not(.is-dark-text) { color: #eef2f6; }
.qs-cb.is-wrapper .is-boxed-layout .is-container { background: var(--bg-elev, #f7f8fa); }
