/* Final partner mark and footer alignment. */
.client-portfolio .institution-logo-ribbon.institution-logo-children img {
  width: 174px !important;
  height: 32px !important;
  max-width: 174px !important;
  max-height: 32px !important;
  padding: 0 !important;
  box-sizing: content-box !important;
  background: transparent !important;
  object-fit: contain !important;
}

.footer-layout {
  grid-template-columns: 180px 1fr;
}

.footer-layout > p:last-child {
  justify-self: end;
}

/* Mobile typography and rhythm for the 440px iPhone Pro Max viewport. */
@media (max-width: 620px) {
  .client-portfolio .institution-logo-ribbon.institution-logo-children img {
    width: 148px !important;
    height: 28px !important;
    max-width: 148px !important;
    max-height: 28px !important;
  }

  .footer-layout {
    grid-template-columns: 1fr;
  }

  .footer-layout > p:last-child {
    justify-self: start;
  }

  .market-ledger article {
    padding: 34px 28px 30px !important;
  }

  .market-ledger .market-copy p {
    min-height: 0 !important;
    font-size: 14px !important;
    line-height: 1.8 !important;
  }

  .market-ledger ul {
    width: 100% !important;
    margin-top: 28px !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .market-ledger li {
    display: flex !important;
    width: 100% !important;
    min-height: 52px !important;
    padding: 12px 10px !important;
    box-sizing: border-box !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
    text-align: center !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .market-ledger li:nth-child(odd) {
    border-right: 1px solid var(--line) !important;
  }

  .market-ledger article:nth-child(2) li:nth-child(odd) {
    border-right-color: rgba(255, 255, 255, 0.18) !important;
  }

  .client-portfolio-head h2 {
    font-size: 40px !important;
    line-height: 1.18 !important;
  }

  .credentials-heading h2,
  .contact-layout h2 {
    font-size: 36px !important;
    line-height: 1.24 !important;
  }

  .credentials-heading h2 span,
  .contact-layout h2 span {
    display: block;
  }
}
