/**
 * @file
 * Footer menus.
 */

.site-footer ul.menu--footer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer ul.menu--footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer ul.menu--footer li {
  color: var(--jh-footer-text);
  font-size: inherit;
  line-height: inherit;
}

.site-footer ul.menu--footer > li > .menu-heading {
  color: var(--jh-white);
  font-weight: 700;
}

.site-footer ul.menu--legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer ul.menu--legal li {
  color: var(--jh-footer-muted);
  font-size: inherit;
}

.site-footer ul.menu--legal a,
.site-footer__credit {
  color: var(--jh-footer-muted);
}

.site-footer__credit {
  margin: 0;
}

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

.site-footer ul.menu a.is-active {
  color: var(--jh-white);
}
