/* MODULIQ Newsroom v1.6.6 — Wide canvas authority repair */

/* One source of truth for Wide. */
body.mq-unified-frontend-shell.mq-theme-wide{
  --mq-site-wide-canvas:min(var(--mq-wide-percent,90vw),var(--mq-wide-width,1920px));
}

/* Every global shell element uses exactly the same rail. */
body.mq-unified-frontend-shell.mq-theme-wide .mq-container,
body.mq-unified-frontend-shell.mq-theme-wide .mq-header-main,
body.mq-unified-frontend-shell.mq-theme-wide .mq-nav-separate>.mq-nav-inner,
body.mq-unified-frontend-shell.mq-theme-wide .mq-ticker-inner,
body.mq-unified-frontend-shell.mq-theme-wide .mq-featured-newsbar>.mq-container,
body.mq-unified-frontend-shell.mq-theme-wide .mq-home-builder-output,
body.mq-unified-frontend-shell.mq-theme-wide .mq-v110-row-content .mq-v110-row-inner,
body.mq-unified-frontend-shell.mq-theme-wide .mq-v110-row-wide .mq-v110-row-inner,
body.mq-unified-frontend-shell.mq-theme-wide .mq-v110-row-full .mq-v110-row-inner,
body.mq-unified-frontend-shell.mq-theme-wide .mq-footer-builder-shell,
body.mq-unified-frontend-shell.mq-theme-wide .mq-footer[data-mq-footer-v132] .mq-footer-builder-shell{
  width:var(--mq-site-wide-canvas)!important;
  max-width:none!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
}

/* A row can still be labelled Content/Wide/Full inside the visual builder, but
   the GLOBAL Wide mode is authoritative: none of those rows may become 100vw. */
body.mq-unified-frontend-shell.mq-theme-wide .mq-v110-row-inner{
  padding-left:0!important;
  padding-right:0!important;
}

/* Classic homepage sections have their own historical full/wide transforms.
   Neutralise them only when the global site mode is Wide. */
body.mq-unified-frontend-shell.mq-theme-wide .mq-home-builder-output .mq-v048-section,
body.mq-unified-frontend-shell.mq-theme-wide .mq-home-builder-output .mq-v048-classic-wrap,
body.mq-unified-frontend-shell.mq-theme-wide .mq-v110-home-cell .mq-v048-section,
body.mq-unified-frontend-shell.mq-theme-wide .mq-v110-home-cell .mq-v048-classic-wrap,
body.mq-unified-frontend-shell.mq-theme-wide .mq-v048-section.mq-v048-width-content,
body.mq-unified-frontend-shell.mq-theme-wide .mq-v048-section.mq-v048-width-wide,
body.mq-unified-frontend-shell.mq-theme-wide .mq-v048-section.mq-v048-width-full,
body.mq-unified-frontend-shell.mq-theme-wide .mq-v048-classic-wrap.mq-v048-width-content,
body.mq-unified-frontend-shell.mq-theme-wide .mq-v048-classic-wrap.mq-v048-width-wide,
body.mq-unified-frontend-shell.mq-theme-wide .mq-v048-classic-wrap.mq-v048-width-full{
  width:100%!important;
  max-width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
  transform:none!important;
  padding-left:0!important;
  padding-right:0!important;
  box-sizing:border-box!important;
}

/* Do not let a legacy section wrapper calculate itself from viewport width. */
body.mq-unified-frontend-shell.mq-theme-wide .mq-section,
body.mq-unified-frontend-shell.mq-theme-wide .mq-hero,
body.mq-unified-frontend-shell.mq-theme-wide .mq-layout{
  max-width:100%!important;
  box-sizing:border-box!important;
}

/* Breaking News: stable three-cell rail — label | story | subscribe. */
body.mq-unified-frontend-shell .mq-ticker-inner{
  display:grid!important;
  grid-template-columns:max-content minmax(0,1fr) max-content!important;
  align-items:center!important;
}
body.mq-unified-frontend-shell .mq-ticker-label{grid-column:1!important}
body.mq-unified-frontend-shell .mq-ticker-track{
  grid-column:2!important;
  min-width:0!important;
  width:100%!important;
}
body.mq-unified-frontend-shell .mq-ticker-track>a{
  color:#fff!important;
  opacity:1!important;
  visibility:visible!important;
}
body.mq-unified-frontend-shell .mq-ticker-subscribe{
  grid-column:3!important;
  justify-self:end!important;
  margin-left:auto!important;
  margin-right:0!important;
}

@media(max-width:760px){
  body.mq-unified-frontend-shell.mq-theme-wide{
    --mq-site-wide-canvas:calc(100% - 24px);
  }
}
body.mq-unified-frontend-shell .mq-ticker-track{
  transform:none!important;
  height:22px!important;
  overflow:hidden!important;
}
body.mq-unified-frontend-shell .mq-ticker-track>a[hidden]{display:none!important}
body.mq-unified-frontend-shell .mq-ticker-track>a:not([hidden]){
  display:block!important;
  height:22px!important;
  line-height:22px!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
