/* One footer for every page of the site, the home page included. */
.site-footer {
  margin-top: 2rem;
  padding: 3rem 0 2.5rem;
  border-top: 1px solid var(--footer-line);
  color: var(--footer-muted);
  font-size: 0.9375rem;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3rem;
  width: min(1200px, calc(100vw - 3rem));
  margin: 0 auto;
}

.site-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--footer-text);
  font-weight: 600;
  text-decoration: none;
}

.site-footer__brand:hover {
  text-decoration: none;
}

.site-footer__brand img {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 0.375rem;
}

.site-footer__copy {
  max-width: 22rem;
  margin: 0.75rem 0 0;
  line-height: 1.6;
}

.site-footer__legal {
  margin: 1.5rem 0 0;
  color: var(--footer-faint);
  font-size: 0.8125rem;
}

.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(8rem, auto));
  gap: 3rem;
}

.site-footer__heading {
  margin: 0 0 0.75rem;
  color: var(--footer-text);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
}

.site-footer__cols ul {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__cols a,
.site-footer__cols .consent-manage {
  color: var(--footer-muted);
  font: inherit;
  line-height: 1.5;
  text-align: left;
  text-decoration: none;
  transition: color 160ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-footer__cols a:hover,
.site-footer__cols .consent-manage:hover {
  color: var(--footer-text);
  text-decoration: none;
}

@media (max-width: 760px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    width: calc(100vw - 2rem);
  }

  .site-footer__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
  }
}
