#footer{
  border-top: 1px solid rgba(0,0,0,.10);
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
}

  .footer-brand-row{
    display:flex;
    align-items:center;
    gap:14px;
  }
  .footer-logo{
    height:40px;
    width:auto;
    display:block;
  }
.footer-legal .footer-brand,
.footer-legal .footer-cst{
  font-size: inherit;
  font-weight: inherit;
}


  /* Optional: make links stack nicely on small screens */
  .footer-links{
    display:flex;
    gap:14px;
    justify-content:flex-end;
    flex-wrap:wrap;
  }

  @media (max-width: 840px){
    .footer-brand-row{
      justify-content:flex-start;
    }
    .footer-links{
      justify-content:flex-start;
      margin-top:12px;
    }
  }