*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
html body {
    margin: 0;
    padding: 0;
    scroll-behavior: auto !important;
    min-height: 100%;
    font-family: "BB Text", system-ui, -apple-system, sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    background-color: var(--page-background, var(--bg-page, #f8f9fa));
    color: var(--page-text, var(--color-global, #1a1a1a));
}

html {
    overflow-x: hidden;
}

html body {
    overflow-x: clip;
}

:where(img, picture, video, canvas, svg):not(:where(#globalheader *, #globalnav *, #globalmessage-segment *, #ac-localnav *, #bb-globalfooter *, .bb-theme-switcher *, #bb-theme-preview *)) {
    display: block;
    max-width: 100%;
}
