/* One public header/footer and restrained brand-guide accents on every route. */
html body.fq-site.fq-site.fq-site .fq-header{
  background:#F7F5F2!important;color:#222A3B!important;border-radius:0!important;
  border-bottom:1px solid #82908F;box-shadow:0 6px 24px #222A3B0A!important;
  isolation:isolate;opacity:1;visibility:visible;
}
html body.fq-site.fq-site.fq-site .fq-header .fq-logo-dark{display:block!important}
html body.fq-site.fq-site.fq-site .fq-header .fq-logo-light{display:none!important}
html body.fq-site.fq-site.fq-site .fq-header .fq-menu-toggle>span:not(.fq-sr){background:#222A3B!important}
html body.fq-site.fq-site.fq-site .fq-edition{display:none!important}
html body.fq-site.fq-site.fq-site .fq-header :is(.fq-nav-link,.fq-login,.fq-language){color:#222A3B!important;opacity:1;visibility:visible}
html body.fq-site.fq-site.fq-site .fq-header .fq-nav-link{background:transparent!important;border-radius:8px;box-shadow:none;transition:box-shadow .18s ease,color .18s ease}
html body.fq-site.fq-site.fq-site .fq-header :is(.fq-nav-link:hover,.fq-nav-link:focus-visible,.fq-nav-link[aria-current=page],.fq-nav-link[aria-expanded=true]){background:transparent!important;color:#222A3B!important;box-shadow:inset 0 -2px 0 #E76F6F}
html body.fq-site.fq-site.fq-site .fq-mega{background:#F7F5F2;color:#222A3B}
html body.fq-site.fq-site.fq-site .fq-mega-group a{background:transparent!important;border:1px solid transparent;border-radius:12px;box-shadow:none;transition:border-color .18s ease,box-shadow .18s ease}
html body.fq-site.fq-site.fq-site .fq-mega-group :is(a:hover,a:focus-visible){background:#F7F5F2!important;border-color:#E76F6F;box-shadow:inset 3px 0 0 #E76F6F}
html[dir=rtl] body.fq-site.fq-site.fq-site .fq-mega-group :is(a:hover,a:focus-visible){box-shadow:inset -3px 0 0 #E76F6F}
html body.fq-site.fq-site.fq-site .fq-mega-group a>i{background:transparent!important;box-shadow:none;border:0;color:#E76F6F}
html body.fq-site.fq-site.fq-site .fq-mega-label :is(b,small),html body.fq-site.fq-site.fq-site .fq-mega-chevron{color:#222A3B}
html body.fq-site.fq-site.fq-site .fq-footer-nav{display:none!important}

/* Pattern stays inside a reserved decorative panel, away from copy and controls. */
html body.fq-site.fq-site.fq-site .fq-footer-brandband{
  display:flex!important;align-items:center;justify-content:flex-start;gap:30px;
  min-height:132px;padding:28px clamp(24px,5vw,96px);
  padding-inline-end:clamp(220px,27vw,430px);
  text-align:start!important;background:#E76F6F!important;isolation:isolate;
}
html body.fq-site.fq-site.fq-site .fq-footer-brandband:before{
  content:"";display:block!important;position:absolute;inset-block:0;
  inset-inline-start:auto;inset-inline-end:0;width:clamp(180px,25vw,380px);
  background:url("../images/brand/pattern-brand.svg?v=brand-guide-20261104") center/240px 240px repeat;
  mask-image:linear-gradient(to right,transparent,#222A3B 25%);
  -webkit-mask-image:linear-gradient(to right,transparent,#222A3B 25%);
  pointer-events:none;z-index:0;
}
html[dir=rtl] body.fq-site.fq-site.fq-site .fq-footer-brandband:before{mask-image:linear-gradient(to left,transparent,#222A3B 25%);-webkit-mask-image:linear-gradient(to left,transparent,#222A3B 25%)}
html body.fq-site.fq-site.fq-site .fq-footer-brandband :is(h2,p){position:relative;z-index:1;text-align:start!important;color:#F7F5F2!important;margin:0}
html body.fq-site.fq-site.fq-site .fq-footer-brandband h2{font-size:clamp(34px,3.5vw,52px)!important;white-space:nowrap;flex:none}
html body.fq-site.fq-site.fq-site .fq-footer-brandband p{max-width:48ch;font-size:14px;line-height:1.7}
html body.fq-site.fq-site.fq-site .fq-mega-feature{position:relative;overflow:hidden;padding-inline-end:100px}
html body.fq-site.fq-site.fq-site .fq-mega-feature:after{content:"";position:absolute;inset-block:0;inset-inline-end:0;width:68px;background:url("../images/brand/pattern-identity.svg?v=brand-guide-20261104") center/180px 180px;opacity:.75;pointer-events:none}
html body.fq-site.fq-site.fq-site :is(.fqm-card,.fmp-rel,.fqh-choice,.fqh-case,.fqb-card):after{background-image:url("../images/brand/pattern-identity.svg?v=brand-guide-20261104");background-size:180px 180px;background-position:center}
@media(max-width:1000px){
  html body.fq-site.fq-site.fq-site .fq-header .fq-navigation{background:#F7F5F2!important;margin-inline-start:0!important}
  html body.fq-site.fq-site.fq-site .fq-footer-brandband{flex-direction:column;align-items:flex-start;gap:10px}
}
@media(max-width:700px){
  html body.fq-site.fq-site.fq-site .fq-footer-brandband{min-height:140px;padding:26px 20px;padding-inline-end:120px}
  html body.fq-site.fq-site.fq-site .fq-footer-brandband:before{width:96px;background-size:160px 160px}
  html body.fq-site.fq-site.fq-site .fq-footer-brandband h2{font-size:34px!important}
  html body.fq-site.fq-site.fq-site .fq-footer-brandband p{font-size:12px}
}
@media(prefers-reduced-motion:reduce){html body.fq-site .fq-mega-group a{transition:none}}

/* Cards that carry the identity-pattern ribbon (30px, 18px above the bottom edge) must keep their text clear of it.
   Related-module cards and the home "right choice" cards reserved only ~25px, so the ribbon sat on the last line. */
html body.fq-site.fq-site.fq-site :is(.fmp-rel,.fqh-choice){padding-bottom:60px!important}

/* Header capacity is independent of the page's content breakpoints. */
body.fq-site .fq-header .fq-nav-wrap{position:relative;width:100%;box-sizing:border-box;padding-inline:clamp(20px,2vw,32px);gap:20px}
body.fq-site .fq-header .fq-navigation{margin-inline-start:8px;gap:16px;min-width:0}
body.fq-site .fq-header .fq-nav-links{gap:2px;min-width:0;justify-content:center;flex:1}
body.fq-site .fq-header .fq-nav-actions{gap:14px;flex-shrink:0}
body.fq-site .fq-header .fq-nav-link{padding-inline:9px;font-size:13px}
body.fq-site .fq-header .fq-language{flex-shrink:0;align-self:center;min-height:42px;padding:8px 12px;margin-inline:8px;border:1px solid rgba(34,42,59,.16);border-radius:12px;background:rgba(247,245,242,.7);font-size:13px;font-weight:600}
body.fq-site .fq-header .fq-language:focus-visible{outline:3px solid #E76F6F;outline-offset:2px}
@media(max-width:767px){
  :root{--fq-header:72px}
  body.fq-site .fq-header .fq-nav-wrap{justify-content:space-between;gap:8px}
  body.fq-site .fq-header .fq-logo img{width:108px;height:46px}
  body.fq-site .fq-header .fq-menu-toggle{display:flex;flex:none;flex-direction:column;align-items:center;justify-content:center;gap:6px;width:42px;height:42px;border:1px solid rgba(34,42,59,.16);border-radius:12px;background:transparent}
  body.fq-site .fq-header .fq-menu-toggle>span:not(.fq-sr){height:2px;width:19px}
  body.fq-site .fq-header .fq-navigation{display:none;position:absolute;top:100%;inset-inline:0;margin:0!important;padding:16px 24px 24px;background:#F7F5F2;max-height:calc(100dvh - 72px);overflow:auto;overscroll-behavior:contain;border-bottom:1px solid rgba(34,42,59,.16);box-shadow:0 12px 24px #222A3B12}
  body.fq-site .fq-header .fq-navigation.is-open{display:block}
  body.fq-site .fq-header .fq-nav-links{display:block}
  body.fq-site .fq-header .fq-nav-link{display:flex;justify-content:space-between;width:100%;font-size:14px;padding:12px 0;border-radius:0;border-bottom:1px solid rgba(34,42,59,.12)}
  body.fq-site .fq-header .fq-nav-actions{margin-top:20px;justify-content:space-between;flex-wrap:wrap}
  body.fq-site .fq-header .fq-mega{position:static;width:100%;margin-top:10px;padding:16px;box-shadow:none;border-radius:14px;max-height:none;transform:none}
  body.fq-site .fq-header .fq-mega-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.fq-site .fq-header .fq-mega-top{display:block}
  body.fq-site .fq-header .fq-mega-search{width:100%;margin-top:16px}
  body.fq-site .fq-header .fq-mega-feature{flex-wrap:wrap;gap:16px}
  body.fq-site .fq-header .fq-mega-bottom{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
}
@media(max-width:480px){body.fq-site .fq-header .fq-mega-grid,body.fq-site .fq-header .fq-mega-bottom{grid-template-columns:1fr}}

/* Keep navigation together and mirror the language action at the outer edge. */
@media(min-width:1200px){
  body.fq-site .fq-header .fq-nav-wrap{display:flex;gap:16px}
  body.fq-site .fq-header .fq-navigation{display:flex;flex:1;min-width:0}
  body.fq-site .fq-header .fq-nav-links{display:flex;justify-content:center}
  body.fq-site .fq-header .fq-language{margin-inline:0}
  body.fq-site .fq-header .fq-nav-actions .fq-hsearch{width:40px;padding:0;justify-content:center}
  body.fq-site .fq-header .fq-nav-actions .fq-hsearch :is(.fq-hsearch-label,.fq-hsearch-kbd){display:none}
}
@media(max-width:767px){
  body.fq-site .fq-header .fq-navigation{position:fixed;top:var(--fq-header);height:calc(var(--fq-menu-viewport,100dvh) - var(--fq-header));max-height:none}
}
@media(max-width:380px){
  body.fq-site .fq-header .fq-nav-wrap .fq-logo img{width:88px;height:40px}
  body.fq-site .fq-header .fq-nav-wrap{padding-inline:12px}
}
