/* Shared public legal/footer structure. Page-family styles may add spacing or color only. */

.public-content-footer {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.at-legal-footer {
  max-width: 100%;
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
  font-size: 12px;
  opacity: 0.78;
}

.public-content-footer .at-legal-footer {
  margin-top: 0;
}

#js-legal-links {
  max-width: 100%;
  display: inline-flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
}

#js-legal-links a {
  margin: 0 4px;
  color: inherit;
  text-decoration: none;
}

#js-legal-links a:hover,
#js-legal-links a:focus-visible {
  opacity: 0.95;
  text-decoration: underline;
}

.at-legal-sep {
  flex: 0 0 auto;
  margin: 0 4px;
  opacity: 0.7;
}

.at-powered {
  display: block;
  max-width: 100%;
  font-size: 11px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  opacity: 0.9;
}

.public-content-footer #js-legal-links {
  color: var(--muted);
  font-size: 0.93rem;
}

.public-content-footer #js-legal-links a:hover,
.public-content-footer #js-legal-links a:focus-visible {
  color: var(--text);
}

.public-content-footer .at-powered {
  color: var(--muted);
  font-size: 0.9rem;
}
