/* MODULIQ Newsroom v1.6.4 — Unified frontend header/layout shell */

/* -------------------------------------------------------------------------
   ONE CANVAS / ONE SHELL
   ------------------------------------------------------------------------- */
body.mq-unified-frontend-shell.mq-theme-wide .mq-container,
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:min(var(--mq-wide-percent,90vw),var(--mq-wide-width,1920px))!important;
  max-width:none!important;
  margin-inline:auto!important;
  box-sizing:border-box!important;
}
body.mq-unified-frontend-shell.mq-theme-full .mq-container{
  width:100%!important;
  max-width:none!important;
  box-sizing:border-box!important;
  padding-inline:var(--mq-full-side-margin,24px);
}

/* -------------------------------------------------------------------------
   BREAKING NEWS + SUBSCRIBE
   ------------------------------------------------------------------------- */
body.mq-unified-frontend-shell .mq-ticker{height:48px}
body.mq-unified-frontend-shell .mq-ticker-inner{
  height:48px;
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:16px;
}
body.mq-unified-frontend-shell .mq-ticker-track{min-width:0;width:100%}
body.mq-unified-frontend-shell .mq-ticker-subscribe{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:7px 14px;
  font-size:12px!important;
  line-height:1!important;
  white-space:nowrap;
  flex:0 0 auto;
  box-shadow:none!important;
}

/* -------------------------------------------------------------------------
   HEADER — IDENTICAL ON HOME / SINGLE / CATEGORY / ARCHIVE / PAGE / SEARCH
   ------------------------------------------------------------------------- */
body.mq-unified-frontend-shell .mq-header{
  position:relative;
  overflow:visible;
  background:var(--mq-surface);
}
body.mq-unified-frontend-shell .mq-header-main{
  width:min(var(--mq-wide-percent,90vw),var(--mq-wide-width,1920px));
  max-width:none;
  margin-inline:auto;
  box-sizing:border-box;
  align-items:center;
}

/* Inline navigation uses a deterministic three-column grid. Logo may never
   be shrunk by a long menu or by search/actions. */
body.mq-unified-frontend-shell.mq-nav-location-header .mq-header-main{
  display:grid!important;
  grid-template-columns:var(--mq-header-logo-width,260px) minmax(0,1fr) auto!important;
  column-gap:clamp(18px,2vw,34px)!important;
  row-gap:0!important;
}
body.mq-unified-frontend-shell .mq-header-main .mq-brand{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  width:var(--mq-header-logo-width,260px)!important;
  min-width:var(--mq-header-logo-width,260px)!important;
  max-width:var(--mq-header-logo-width,260px)!important;
  flex:0 0 var(--mq-header-logo-width,260px)!important;
  overflow:visible!important;
  visibility:visible!important;
  opacity:1!important;
}
body.mq-unified-frontend-shell .mq-header-main .mq-logo-link{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  width:var(--mq-header-logo-width,260px)!important;
  min-width:var(--mq-header-logo-width,260px)!important;
  max-width:var(--mq-header-logo-width,260px)!important;
  height:var(--mq-header-logo-height,58px)!important;
  line-height:0!important;
  visibility:visible!important;
  opacity:1!important;
}
body.mq-unified-frontend-shell .mq-header-main .mq-mode-logo{
  display:none;
  width:var(--mq-header-logo-width,260px)!important;
  max-width:var(--mq-header-logo-width,260px)!important;
  height:var(--mq-header-logo-height,58px)!important;
  max-height:var(--mq-header-logo-height,58px)!important;
  object-fit:contain!important;
  object-position:left center!important;
  visibility:visible!important;
  opacity:1!important;
}
body.mq-unified-frontend-shell .mq-header-main .mq-logo-light{display:block}
:root[data-mq-mode="dark"] body.mq-unified-frontend-shell .mq-header-main .mq-logo-light{display:none}
:root[data-mq-mode="dark"] body.mq-unified-frontend-shell .mq-header-main .mq-logo-dark{display:block}

body.mq-unified-frontend-shell .mq-nav-inline{
  min-width:0!important;
  width:100%!important;
  position:static!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
}
body.mq-unified-frontend-shell .mq-nav-inline .mq-nav-inner{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
}
body.mq-unified-frontend-shell .mq-nav-inline .mq-menu-wrap{min-width:0!important;width:100%}
body.mq-unified-frontend-shell .mq-nav-inline .mq-menu{
  min-width:0!important;
  max-width:100%!important;
  gap:clamp(12px,1.35vw,25px)!important;
}
body.mq-unified-frontend-shell .mq-nav-inline .mq-menu>li>a{
  padding-block:16px!important;
  white-space:nowrap;
}
body.mq-unified-frontend-shell .mq-header-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:10px!important;
  min-width:0!important;
  flex:0 0 auto!important;
}
/* Subscribe lives in Breaking News since v1.6.4. Never reserve header space. */
body.mq-unified-frontend-shell .mq-header-actions>.mq-subscribe{display:none!important}
body.mq-unified-frontend-shell .mq-header-search-trigger{min-width:190px}

/* Separate navigation mode remains supported, but uses the same logo dimensions
   and the same canvas as every other frontend context. */
body.mq-unified-frontend-shell.mq-nav-location-separate .mq-header-main{
  display:flex!important;
  justify-content:space-between!important;
}
body.mq-unified-frontend-shell .mq-nav-separate>.mq-nav-inner{
  width:min(var(--mq-wide-percent,90vw),var(--mq-wide-width,1920px))!important;
  max-width:none!important;
  margin-inline:auto!important;
}

/* The main content always starts after the same shell. No page-template-specific
   header offsets are permitted. */
body.mq-unified-frontend-shell .mq-site-content{padding-top:28px}

/* -------------------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------------------- */
@media(max-width:1280px) and (min-width:761px){
  body.mq-unified-frontend-shell.mq-nav-location-header .mq-header-main{
    grid-template-columns:min(220px,var(--mq-header-logo-width,260px)) minmax(0,1fr) auto!important;
    column-gap:16px!important;
  }
  body.mq-unified-frontend-shell .mq-header-main .mq-brand,
  body.mq-unified-frontend-shell .mq-header-main .mq-logo-link{
    width:min(220px,var(--mq-header-logo-width,260px))!important;
    min-width:min(220px,var(--mq-header-logo-width,260px))!important;
    max-width:min(220px,var(--mq-header-logo-width,260px))!important;
  }
  body.mq-unified-frontend-shell .mq-header-main .mq-mode-logo{
    width:min(220px,var(--mq-header-logo-width,260px))!important;
    max-width:min(220px,var(--mq-header-logo-width,260px))!important;
  }
  body.mq-unified-frontend-shell .mq-nav-inline .mq-menu{gap:12px!important}
  body.mq-unified-frontend-shell .mq-nav-inline .mq-menu>li>a{font-size:13px!important}
  body.mq-unified-frontend-shell .mq-header-search-trigger{min-width:150px}
}

@media(max-width:760px){
  body.mq-unified-frontend-shell.mq-theme-wide .mq-container,
  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{
    width:calc(100% - 24px)!important;
  }
  body.mq-unified-frontend-shell .mq-ticker-inner{
    grid-template-columns:auto minmax(0,1fr) auto;
    gap:8px;
  }
  body.mq-unified-frontend-shell .mq-ticker-subscribe{padding:7px 10px;font-size:11px!important}
  body.mq-unified-frontend-shell.mq-nav-location-header .mq-header-main,
  body.mq-unified-frontend-shell.mq-nav-location-separate .mq-header-main{
    display:flex!important;
    width:calc(100% - 24px)!important;
    gap:8px!important;
    align-items:center!important;
  }
  body.mq-unified-frontend-shell .mq-header-main .mq-brand{
    width:auto!important;
    min-width:0!important;
    max-width:min(190px,52vw)!important;
    flex:1 1 auto!important;
  }
  body.mq-unified-frontend-shell .mq-header-main .mq-logo-link{
    width:auto!important;
    min-width:0!important;
    max-width:min(190px,52vw)!important;
    height:42px!important;
  }
  body.mq-unified-frontend-shell .mq-header-main .mq-mode-logo{
    width:auto!important;
    max-width:min(190px,52vw)!important;
    height:42px!important;
    max-height:42px!important;
  }
  body.mq-unified-frontend-shell .mq-header-actions{margin:0!important}
  body.mq-unified-frontend-shell .mq-header-search-trigger{min-width:38px!important}
}

@media(max-width:520px){
  body.mq-unified-frontend-shell .mq-ticker-label{display:none}
  body.mq-unified-frontend-shell .mq-ticker-inner{grid-template-columns:minmax(0,1fr) auto}
  body.mq-unified-frontend-shell .mq-ticker-track{grid-column:1}
  body.mq-unified-frontend-shell .mq-ticker-subscribe{grid-column:2;max-width:120px;overflow:hidden;text-overflow:ellipsis}
}
