/* Canonical ScanBeyond site footer — linked from pages + site-footer.js */
footer.sb-site-footer,
.sb-site-footer,
#footerText.sb-site-footer {
  box-sizing: border-box;
  width: min(var(--content-max, 1240px), calc(100% - var(--content-gutter, 96px)));
  max-width: var(--content-max, 1240px);
  margin: 56px auto 48px;
  padding: 28px 0 32px;
  text-align: center;
  font-size: 0.8rem;
  line-height: 1.65;
  color: var(--muted, rgba(246, 245, 252, 0.58));
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.sb-site-footer-mark {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}

.sb-site-footer-mark img {
  width: 16px;
  height: 19px;
  opacity: 0.38;
  display: block;
}

.sb-site-footer-note {
  margin: 0 auto 18px;
  max-width: 62ch;
  opacity: 0.88;
}

.sb-site-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 10px;
  max-width: 72ch;
  margin: 0 auto;
}

.sb-site-footer-links a {
  color: rgba(214, 220, 240, 0.78);
  text-decoration: none;
  white-space: nowrap;
  transition: color 160ms ease;
}

.sb-site-footer-links a:hover {
  color: var(--teal, #71e9dd);
  text-decoration: none;
}

.sb-site-footer-sep {
  opacity: 0.28;
  user-select: none;
  color: rgba(255, 255, 255, 0.45);
}

.sb-site-footer-rights,
.sb-site-footer-credit {
  white-space: nowrap;
  color: rgba(214, 220, 240, 0.55);
}

.sb-site-footer-credit a {
  color: rgba(214, 220, 240, 0.78);
  text-decoration: none;
}

.sb-site-footer-credit a:hover {
  color: var(--teal, #71e9dd);
}

.sb-site-footer.is-authenticated .sb-footer-login,
.sb-site-footer.is-authenticated .sb-footer-login-sep {
  display: none;
}

[data-theme="light"] footer.sb-site-footer,
[data-theme="light"] .sb-site-footer,
[data-theme="light"] #footerText.sb-site-footer {
  color: rgba(15, 23, 42, 0.62);
  border-top-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .sb-site-footer-links a,
[data-theme="light"] .sb-site-footer-credit a {
  color: rgba(15, 23, 42, 0.72);
}

[data-theme="light"] .sb-site-footer-links a:hover,
[data-theme="light"] .sb-site-footer-credit a:hover {
  color: #0f766e;
}

@media (max-width: 900px) {
  .sb-site-footer,
  #footerText.sb-site-footer {
    width: min(var(--content-max, 1240px), calc(100% - 40px));
  }
}

@media (max-width: 640px) {
  .sb-site-footer,
  #footerText.sb-site-footer {
    font-size: 0.74rem;
    margin-top: 40px;
    padding-top: 22px;
  }

  .sb-site-footer-rights,
  .sb-site-footer-credit {
    white-space: normal;
  }
}
