/* MODULIQ Newsroom v1.6.7 — Breaking News marquee + Wide rail hard repair */

/* -------------------------------------------------------------------------
   WIDE: exactly one authoritative rail, no historical 100vw escapes.
   ------------------------------------------------------------------------- */
body.mq-unified-frontend-shell.mq-theme-wide{
  --mq-v167-rail:min(var(--mq-v167-wide-percent,90vw),var(--mq-v167-wide-max,1920px));
  overflow-x:clip;
}

/* Global frame */
body.mq-unified-frontend-shell.mq-theme-wide .mq-ticker-inner,
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-featured-newsbar>.mq-container,
body.mq-unified-frontend-shell.mq-theme-wide main.mq-site-content>.mq-container,
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-v167-rail)!important;
  max-width:var(--mq-v167-rail)!important;
  margin-inline:auto!important;
  box-sizing:border-box!important;
}

/* Visual Homepage Builder: the row owns the global rail. Children may never
   recalculate themselves from viewport width in WIDE mode. */
body.mq-unified-frontend-shell.mq-theme-wide .mq-v110-visual-home{
  width:100%!important;
  max-width:100%!important;
  overflow-x:clip!important;
}
body.mq-unified-frontend-shell.mq-theme-wide .mq-v110-home-row{
  width:100%!important;
  max-width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
  transform:none!important;
  overflow:visible!important;
}
body.mq-unified-frontend-shell.mq-theme-wide .mq-v110-home-row>.mq-v110-row-inner{
  width:var(--mq-v167-rail)!important;
  max-width:var(--mq-v167-rail)!important;
  margin-inline:auto!important;
  padding-inline:0!important;
  transform:none!important;
  box-sizing:border-box!important;
}
body.mq-unified-frontend-shell.mq-theme-wide .mq-v110-home-grid,
body.mq-unified-frontend-shell.mq-theme-wide .mq-v110-home-cell,
body.mq-unified-frontend-shell.mq-theme-wide .mq-v110-home-cell>*{
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
body.mq-unified-frontend-shell.mq-theme-wide .mq-v048-section,
body.mq-unified-frontend-shell.mq-theme-wide .mq-v048-classic-wrap,
body.mq-unified-frontend-shell.mq-theme-wide .mq-v048-width-content,
body.mq-unified-frontend-shell.mq-theme-wide .mq-v048-width-wide,
body.mq-unified-frontend-shell.mq-theme-wide .mq-v048-width-full{
  width:100%!important;
  max-width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
  padding-left:0!important;
  padding-right:0!important;
  transform:none!important;
  box-sizing:border-box!important;
}
body.mq-unified-frontend-shell.mq-theme-wide .mq-hero,
body.mq-unified-frontend-shell.mq-theme-wide .mq-layout,
body.mq-unified-frontend-shell.mq-theme-wide .mq-section{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin-left:0!important;
  margin-right:0!important;
  transform:none!important;
  box-sizing:border-box!important;
}

/* -------------------------------------------------------------------------
   BREAKING NEWS: true continuous TV marquee.
   ------------------------------------------------------------------------- */
body.mq-unified-frontend-shell .mq-ticker{
  height:48px!important;
  min-height:48px!important;
  overflow:hidden!important;
  background:var(--mq-dark)!important;
  color:#fff!important;
}
body.mq-unified-frontend-shell .mq-ticker-inner{
  position:relative!important;
  height:48px!important;
  min-height:48px!important;
  display:grid!important;
  grid-template-columns:max-content minmax(0,1fr) max-content!important;
  align-items:center!important;
  gap:16px!important;
}
body.mq-unified-frontend-shell .mq-ticker-label{
  grid-column:1!important;
  position:relative!important;
  z-index:3!important;
  white-space:nowrap!important;
}
body.mq-unified-frontend-shell .mq-ticker-viewport{
  grid-column:2!important;
  min-width:0!important;
  width:100%!important;
  height:30px!important;
  display:flex!important;
  align-items:center!important;
  overflow:hidden!important;
  position:relative!important;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 22px,#000 calc(100% - 22px),transparent 100%);
  mask-image:linear-gradient(90deg,transparent 0,#000 22px,#000 calc(100% - 22px),transparent 100%);
}
body.mq-unified-frontend-shell .mq-ticker-marquee{
  display:flex!important;
  align-items:center!important;
  width:max-content!important;
  min-width:max-content!important;
  height:30px!important;
  transform:translate3d(0,0,0);
  will-change:transform;
}
body.mq-unified-frontend-shell .mq-ticker-sequence{
  display:flex!important;
  align-items:center!important;
  flex:0 0 auto!important;
  width:max-content!important;
  min-width:max-content!important;
  height:30px!important;
  white-space:nowrap!important;
  padding-right:28px!important;
}
body.mq-unified-frontend-shell .mq-ticker-sequence a{
  display:inline-flex!important;
  align-items:center!important;
  height:30px!important;
  min-height:30px!important;
  width:auto!important;
  max-width:none!important;
  padding:0!important;
  color:#fff!important;
  opacity:1!important;
  visibility:visible!important;
  overflow:visible!important;
  text-overflow:clip!important;
  white-space:nowrap!important;
  font-size:15px!important;
  font-weight:700!important;
  line-height:30px!important;
  letter-spacing:0!important;
}
body.mq-unified-frontend-shell .mq-ticker-sequence a:hover,
body.mq-unified-frontend-shell .mq-ticker-sequence a:focus-visible{
  color:#fff!important;
  text-decoration:underline!important;
  text-underline-offset:3px;
}
body.mq-unified-frontend-shell .mq-ticker-separator{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  height:30px!important;
  margin:0 18px!important;
  color:rgba(255,255,255,.48)!important;
  font-size:14px!important;
  line-height:30px!important;
}
body.mq-unified-frontend-shell .mq-ticker-subscribe{
  grid-column:3!important;
  justify-self:end!important;
  align-self:center!important;
  margin:0!important;
  position:relative!important;
  right:0!important;
  z-index:4!important;
  white-space:nowrap!important;
}

/* Kill every legacy vertical/rotator rule from main/v165/v166. */
body.mq-unified-frontend-shell .mq-ticker-track{display:none!important}

@media(max-width:760px){
  body.mq-unified-frontend-shell.mq-theme-wide{--mq-v167-rail:calc(100% - 24px)}
  body.mq-unified-frontend-shell .mq-ticker-inner{gap:9px!important}
  body.mq-unified-frontend-shell .mq-ticker-sequence a{font-size:13px!important}
  body.mq-unified-frontend-shell .mq-ticker-subscribe{padding:7px 10px!important;font-size:11px!important}
}
@media(max-width:520px){
  body.mq-unified-frontend-shell .mq-ticker-label{display:none!important}
  body.mq-unified-frontend-shell .mq-ticker-inner{grid-template-columns:minmax(0,1fr) max-content!important}
  body.mq-unified-frontend-shell .mq-ticker-viewport{grid-column:1!important}
  body.mq-unified-frontend-shell .mq-ticker-subscribe{grid-column:2!important}
}
@media(prefers-reduced-motion:reduce){
  body.mq-unified-frontend-shell .mq-ticker-marquee{transform:none!important}
  body.mq-unified-frontend-shell .mq-ticker-sequence[aria-hidden="true"]{display:none!important}
  body.mq-unified-frontend-shell .mq-ticker-viewport{mask-image:none;-webkit-mask-image:none}
  body.mq-unified-frontend-shell .mq-ticker-sequence{max-width:100%!important;overflow:hidden!important}
  body.mq-unified-frontend-shell .mq-ticker-sequence a:not(:first-of-type),
  body.mq-unified-frontend-shell .mq-ticker-separator{display:none!important}
  body.mq-unified-frontend-shell .mq-ticker-sequence a:first-of-type{max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important}
}
