/* The shared footer: one navy legal bar on every page, markup in
   _build/footer.html.part (test_footer.py holds every page to it).

   Its own file because the homepage does not load styles.css. Colours are
   literal for the same reason: neither stylesheet's tokens are guaranteed. */

.ta-footer {
  background: #0F2554;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: #A9B7D3;
  font: 13.5px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}
.ta-footer-in {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 24px 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
}
.ta-footer p { margin: 0; }

/* City pages put their province siblings here, on a line of their own above
   the legal line: real internal linking, the one per-page part. */
.ta-footer-peers { flex-basis: 100%; }

.ta-footer-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.ta-footer a { color: #D3DBEA; text-decoration: none; }
.ta-footer a:hover { text-decoration: underline; }
/* The footer is the last stop in tab order on every page: never lose the ring. */
.ta-footer a:focus-visible { outline: 2px solid #25D366; outline-offset: 3px; border-radius: 3px; }

@media (max-width: 899px) {
  .ta-footer-in { flex-direction: column; align-items: flex-start; }
}
