/* FortWayneMusic.com v0.7.8: desktop width alignment to phpBB.
   Deliberately does NOT style carousel slides, their heights, imagery,
   text, controls or animation. Kept separate for easy rollback. */
:root { --fwm-layout-width: 980px; }
html { scrollbar-gutter: stable; overflow-y: auto; }
@supports not (scrollbar-gutter: stable) { html { overflow-y: scroll; } }
/* Override the earlier narrow .shell variants, including the stronger
   home / events body selectors, with one consistent document frame. */
html body .shell,
html body.fwm-home-layout .shell,
html body.fwm-home-layout main.shell,
html body.fwm-events-layout .shell,
html body main.shell,
html body .site-header .shell,
html body .site-footer .shell {
    box-sizing: border-box !important;
    width: min(var(--fwm-layout-width), calc(100% - 28px)) !important;
    max-width: var(--fwm-layout-width) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
/* Normal desktop content aligns edge-to-edge with page frame.
   NO height or aspect-ratio overrides. */
@media (min-width: 751px) {
  html body.fwm-home-layout main.shell > .scene,
  html body.fwm-home-layout main.shell > .scene-shell,
  html body.fwm-home-layout main.shell > .scene-home,
  html body.fwm-home-layout main.shell > .scene-hero,
  html body.fwm-home-layout main.shell > .scene-feature,
  html body.fwm-home-layout main.shell > .scene-panels,
  html body.fwm-home-layout main.shell > .scene-quick {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}
@media (max-width: 750px) {
  html body .shell,
  html body.fwm-home-layout .shell,
  html body.fwm-events-layout .shell,
  html body main.shell {
    width: calc(100% - 28px) !important;
    max-width: none !important;
  }
}
