/*
 * The footer of the browsable API's and the admin's pages
 * (brands/footer.html): the way back to the site's home and the terms, data
 * privacy, imprint and server status, side by side, and wrapping onto a
 * second line on phones. A <div>, as DRF's stylesheet pins every <footer> to
 * the window's bottom left.
 */

.brand-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin: 48px 0 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 14px;
}

.brand-footer-website {
  font-weight: 600;
}

.brand-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.brand-footer-links li {
  padding: 0;
  font-size: inherit;
  list-style: none;
}

.brand-footer-links a {
  color: var(--muted);
}

/* Pointed at, the brand's lighter green and underlined, whatever the page's
   own links do */
.brand-footer a:hover,
.brand-footer a:focus-visible {
  color: var(--link-hover);
  text-decoration: underline;
}
