.shared-site-footer {
  box-sizing: border-box;
  width: min(1180px, calc(100% - 32px));
  margin: 42px auto 0;
  padding: 24px 0 30px;
  color: #aaa4b2;
  text-align: center;
}

.shared-site-footer__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font: 600 14px/1.5 Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.shared-site-footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  /* Keep broad page rules such as `nav { position: fixed; ... }`
     from turning the footer links into a second top navigation bar. */
  position: static;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  z-index: auto;
  width: auto;
  padding: 0;
  transform: none;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.shared-site-footer__links a {
  color: #ddd8e3;
  text-decoration: none;
  transition: color 160ms ease, text-shadow 160ms ease;
}

.shared-site-footer__links a:hover,
.shared-site-footer__links a:focus-visible,
.shared-site-footer__links a[aria-current="page"] {
  color: #ff3c7a;
  text-shadow: 0 0 18px rgba(255, 60, 122, 0.35);
}

.shared-site-footer__links a:focus-visible {
  border-radius: 4px;
  outline: 2px solid #7a5cff;
  outline-offset: 4px;
}

.shared-site-footer__copyright {
  white-space: nowrap;
}

@media (max-width: 640px) {
  .shared-site-footer {
    width: min(100% - 24px, 1180px);
    margin-top: 30px;
  }

  .shared-site-footer__content {
    flex-direction: column;
    justify-content: center;
  }

  .shared-site-footer__links {
    justify-content: center;
  }
}
