/* Shared presentation for footer links and cookie preferences. */
.footer .footer-legal {
  align-items: center;
  justify-content: center;
  gap: 4px 28px;
}

.footer .footer-legal > :is(a, button) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: 100%;
  margin: 0;
  padding: 8px 0;
  border: 0;
  border-radius: 0;
  background: none;
  appearance: none;
  color: inherit;
  font: inherit;
  line-height: 1.65;
  text-align: center;
  text-decoration-line: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  cursor: pointer;
}

.footer .footer-legal > :is(a, button):hover,
.footer .footer-legal > a[aria-current="page"] {
  color: var(--light);
}

@media (max-width: 520px) {
  .footer .footer-legal {
    flex-direction: column;
  }
}
