/* Cabecera estable con selector de idioma: ninguna etiqueta se parte en dos líneas. */
.ff-header .ff-header-inner{min-width:0}
.ff-header .ff-brand{flex:0 0 auto}
.ff-header .ff-nav,
.ff-header .ff-actions{align-items:center;white-space:nowrap}
.ff-header .ff-nav>a,
.ff-header .ff-nav-dropdown>a,
.ff-header .ff-actions>a{
  flex:0 0 auto;
  white-space:nowrap;
  word-break:keep-all;
  overflow-wrap:normal;
  hyphens:none;
}

@media (min-width:1181px){
  .ff-header .ff-shell{width:min(1360px,calc(100% - 32px))}
  .ff-header .ff-header-inner{gap:clamp(14px,1.35vw,26px)}
  .ff-header .ff-nav{
    flex:0 1 auto;
    min-width:0;
    margin-left:auto;
    margin-right:auto;
    gap:clamp(3px,.45vw,8px);
  }
  .ff-header .ff-actions{flex:0 0 auto;gap:clamp(2px,.3vw,5px)}
}

/* En portátiles se compacta el encabezado sin deformar sus palabras. */
@media (min-width:851px) and (max-width:1180px){
  .ff-header .ff-shell{width:calc(100% - 24px)}
  .ff-header .ff-header-inner{gap:9px}
  .ff-header .ff-brand{font-size:15px}
  .ff-header .ff-brand img{width:34px;height:34px}
  .ff-header .ff-nav{gap:0;margin-left:auto;margin-right:auto;font-size:13px}
  .ff-header .ff-nav>a,
  .ff-header .ff-nav-dropdown>a,
  .ff-header .ff-actions>a{padding-inline:7px}
  .ff-header .ff-actions{gap:0;font-size:12px}
  .ff-language-switcher-desktop{min-height:38px;padding-inline:.38rem}
}

@media (max-width:850px){
  .ff-header .ff-nav,
  .ff-header .ff-actions{display:none!important}
}
