/*
 * Plain CSS fixes — deliberately NOT part of the SCSS pipeline.
 *
 * The theme compiles SCSS at request time via sass.php. Keeping fixes out of
 * the .scss sources avoids invalidating sass/scss_cache/ and forcing a
 * recompile. (On sosexy that recompile fatals outright under PHP 8.1 — this
 * site has a newer scssphp, but the same convention is kept for consistency.)
 */

/*
 * Fixed header overflows to the right above 1920px.
 *
 * draadcore (parent) sets `#header { position: fixed; width: 100% }` with no
 * `left`. With `left: auto` the fixed header takes its static position — inside
 * #wrap_all, which is `max-width: 1920px; margin: 0 auto` — while `width: 100%`
 * resolves against the viewport. Above 1920px those disagree and the header runs
 * (viewport - 1920) / 2 past the right edge. Measured 320px lost at 2560px.
 *
 * Capping to the same 1920px realigns it with #wrap_all. No-op below 1920px.
 * Root cause is in draadcore/sass/components/menu.scss — fix there eventually.
 */
html #root #wrap_all #header {
    max-width: 1920px;
}
