/* DP Capital Advisors — logo placement */

.brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  line-height: 0;
  background: transparent;
  transition: opacity 0.2s ease;
}

.brand-logo:hover {
  opacity: 0.92;
}

.brand-logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.brand-logo--nav img {
  height: 46px;
  max-width: min(200px, 44vw);
}

.brand-logo--sidebar {
  display: flex;
  justify-content: flex-start;
  width: 100%;
  padding: 0 4px 24px;
}

.brand-logo--sidebar img {
  height: 68px;
  max-width: 100%;
}

.brand-logo--footer img {
  height: 56px;
  max-width: 220px;
}

.brand-logo--auth {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0 auto 20px;
}

.brand-logo--auth img {
  height: 84px;
  max-width: min(260px, 80vw);
}

.footer__brand .brand-logo {
  margin-bottom: 14px;
}

.lead-nav .brand-logo--nav img,
.lead-footer .brand-logo--footer img {
  height: 42px;
}

@media (max-width: 768px) {
  .brand-logo--nav img {
    height: 40px;
    max-width: min(168px, 52vw);
  }

  .brand-logo--sidebar img {
    height: 58px;
  }

  .brand-logo--auth img {
    height: 72px;
  }
}
