/* Match the approved MonePro homepage footer at desktop and mobile widths. */
.footer {
  padding: 50px 6% 35px;
  background: #000;
  color: #fff;
  border-top: 1px solid #2a2a2a;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.footer > .footer-brand {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
}

.footer > .footer-brand img {
  width: 245px;
  max-width: 100%;
  height: auto;
  max-height: 90px;
  object-position: center;
}

.footer > .footer-links {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: #bbb;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer > .footer-legal {
  grid-column: 2 / 4;
  grid-row: 2;
  justify-self: end;
  width: 100%;
  max-width: 510px;
  color: #aaa;
  font-size: 12px;
  line-height: 1.8;
}

.footer-legal b {
  color: #c5c2bb;
  letter-spacing: 1px;
}

.footer .wmg-logo {
  display: block;
  float: right;
  width: 150px;
  max-width: 38%;
  height: auto;
  max-height: 90px;
  margin: 4px 0 12px 18px;
  object-fit: contain;
}

.footer-disclosure {
  clear: both;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #333;
}

.footer-disclosure img {
  flex: none;
  width: 62px;
  height: auto;
}

.footer-disclosure p {
  margin: 0;
}

@media (max-width: 720px) {
  .footer {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer > .footer-brand,
  .footer > .footer-links,
  .footer > .footer-legal {
    grid-column: 1;
    grid-row: auto;
  }

  .footer > .footer-links {
    justify-content: center;
  }

  .footer > .footer-legal {
    justify-self: center;
  }
}

@media (max-width: 650px) {
  .footer {
    padding: 45px 7%;
  }

  .footer > .footer-links {
    gap: 18px;
  }
}
