/* Encabezado superior de asesores: el conjunto logo + texto se centra sobre el eje de la fotografía. */
.hero-top{
  position:relative;
  width:min(100%,620px);
  justify-content:center;
  padding-inline:58px;
}
.brand-lockup{
  display:grid;
  grid-template-columns:150px max-content;
  align-items:center;
  justify-content:center;
  column-gap:24px;
  width:max-content;
  max-width:100%;
  margin-inline:auto;
  text-align:left;
}
.brand-lockup img{
  width:150px;
  height:76px;
  object-fit:contain;
}
#ally-label{
  display:block;
  min-width:0;
  max-width:none;
  white-space:pre;
  text-align:var(--advisor-header-text-align,left);
  line-height:1.26;
  font-size:var(--advisor-header-text-size,clamp(.72rem,1.2vw,.86rem));
  letter-spacing:.105em;
}
#ally-label.is-multiline{line-height:1.25}
.hero-top .theme-toggle{
  position:absolute;
  right:0;
  top:50%;
  transform:translateY(-50%);
}
@media(max-width:560px){
  .hero-top{padding-inline:46px}
  .brand-lockup{grid-template-columns:116px max-content;column-gap:14px}
  .brand-lockup img{width:116px;height:64px}
  #ally-label{
    font-size:min(var(--advisor-header-text-size,clamp(.68rem,2.3vw,.78rem)),.86rem);
    letter-spacing:.078em;
    line-height:1.24;
    text-align:center;
  }
}
@media(max-width:390px){
  .hero-top{padding-inline:42px}
  .brand-lockup{grid-template-columns:104px max-content;column-gap:11px}
  .brand-lockup img{width:104px;height:60px}
  #ally-label{font-size:min(var(--advisor-header-text-size,.72rem),.78rem);letter-spacing:.065em;text-align:center}
}
