/* ==========================================================================
   Securiti CMP – overrides for the consent widget
   ==========================================================================

   Markup owned by the Securiti SDK, not by this theme: the banner, the
   preference center and everything the SDK draws inside them. It lives in the
   main document (no shadow DOM, no iframe), so theme CSS reaches it directly.

   Kept in its own stylesheet rather than in theme-overrides.css because that
   file is the theme/original-site parity sheet and every branch appends to its
   tail, which is where the Pantheon deploy branch and master have diverged.
   ========================================================================== */

/*
 * The SDK renders a "Powered by Securiti" SVG in the footer of the preference
 * center (.cmp-modal__footer > .cmp-logo-wrapper). There is no domain-level
 * control for it in the Securiti console, so it is removed from the theme,
 * which keeps it removed in every environment and independent of the tenant
 * configuration.
 *
 * !important because the SDK stylesheet sets display: flex on the wrapper.
 * Scope is the logo wrapper only: the banner, the preference center and all of
 * their controls are untouched. The footer keeps "Save changes" right aligned
 * with the wrapper gone. Deliberately not a .cc-* rule, which is the shape
 * that suppressed the whole banner in March.
 */
.cmp-logo-wrapper {
    display: none !important;
}

/*
 * Keep the page still while the consent banner or preference center is open
 * (CU-86bcfff6b). The SDK locks page scrolling while its modal is open, which
 * removes the vertical scrollbar: the viewport grows by the scrollbar width
 * (about 15-20px on Windows), centred content moves sideways, text reflows and,
 * near the bottom of a page, the browser re-clamps the scroll position so the
 * whole page jumps vertically. Reserving the scrollbar gutter keeps the layout
 * width the same whether or not the page can scroll. No effect where scrollbars
 * overlay the content (macOS, iOS, Android).
 *
 * On html: scrollbar-gutter on the root element applies to the viewport, which is
 * the scroller the SDK's lock affects. Nothing of the SDK's markup is touched.
 */
html {
    scrollbar-gutter: stable;
}
