body > footer .footer-legal {
  width: min(var(--content-width), calc(100% - var(--page-gutter)));
  margin: 24px auto 0;
  padding-top: 20px;
  border-top: 1px solid #38383d;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px 28px;
  font-size: 12px;
  line-height: 1.6;
  color: #d8d2cb;
}

body > footer .footer-copyright {
  margin: 0;
}

body > footer .footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}

body > footer .footer-legal-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 0;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
}

body > footer .footer-legal-links a:hover {
  color: #fff;
}

body > footer .footer-legal-links a:focus-visible {
  outline: 2px solid #ffc20e;
  outline-offset: 4px;
  border-radius: 2px;
}

@media (max-width: 760px) {
  body > footer .footer-legal {
    width: calc(100% - 32px);
    flex-direction: column;
    align-items: flex-start;
  }

  body > footer .footer-legal-links {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    gap: 0 20px;
  }
}
