/* Site footer: name, mission line, the doors and the language links; every link is a tap target of at least 44 px (logical properties only). */
.footer {
  padding: var(--s-7) var(--s-4);
  background: var(--surface-2);
  color: var(--text-muted);
  border-block-start: 1px solid var(--border);
  text-align: center;
}

.footer-brand {
  color: var(--text);
  font-size: var(--fs-2);
  font-weight: 750;
}

.footer-links,
.footer-langs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: var(--s-4) 0 0;
  padding: 0;
  list-style: none;
}

.footer-links {
  gap: 0 var(--s-4);
}

.footer-langs {
  gap: 0 var(--s-2);
  margin-block-start: var(--s-3);
}

.footer-links a,
.footer-langs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-block-size: 44px;
  min-inline-size: 44px;
  padding-inline: var(--s-2);
}

.footer-links a {
  color: var(--text);
  font-weight: var(--fw-strong);
}

.footer-langs a {
  color: var(--text-muted);
  font-family: var(--font-system);
}

/* The country switch under the languages: the same buttons as the menu, in a centred row. */
.footer-market {
  margin-block-start: var(--s-2);
}

.footer-market .market-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 var(--s-2);
}

.footer-market .countries-link {
  display: flex;
  justify-content: center;
}

.footer-market .countries-link a {
  color: var(--text-muted);
  text-decoration: underline;
}

.footer-market button {
  inline-size: auto;
  min-inline-size: 44px;
  color: var(--text-muted);
  text-align: center;
}
