/* Public footer: final contrast, alignment and responsive behavior. */
html body.site-page .site-footer {
  color: #ffffff;
}

html body.site-page .site-footer .footer-grid > :first-child > p,
html body.site-page .site-footer .footer-label,
html body.site-page .site-footer .footer-links a:not(.btn),
html body.site-page .site-footer .footer-links span,
html body.site-page .site-footer .footer-bottom p,
html body.site-page .site-footer .footer-bottom a,
html body.site-page .site-footer .footer-legal-links span {
  color: #ffffff !important;
  opacity: 1 !important;
}

html body.site-page .site-footer .footer-label {
  font-weight: 750 !important;
}

html body.site-page .site-footer .btn.btn-primary {
  color: #04202a !important;
  font-weight: 750 !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

html body.site-page .site-footer .footer-links a:not(.btn):hover,
html body.site-page .site-footer .footer-bottom a:hover {
  color: #ffffff !important;
  text-decoration-color: #ffffff !important;
}

html body.site-page .site-footer a:focus-visible,
html body.site-page .site-footer button:focus-visible {
  color: #ffffff !important;
  outline: 3px solid #65d8ff !important;
  outline-offset: 4px !important;
  box-shadow: 0 0 0 7px rgba(101, 216, 255, 0.22) !important;
}

html body.site-page .site-footer .btn.btn-primary:focus-visible {
  color: #04202a !important;
  outline-color: #ffffff !important;
  box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.2) !important;
}

html body.site-page .site-footer .footer-bottom {
  align-items: center !important;
  display: grid !important;
  gap: 0.55rem !important;
  grid-template-columns: minmax(0, 1fr) !important;
  justify-items: center !important;
  text-align: center !important;
}

html body.site-page .site-footer .footer-bottom > p {
  margin-inline: auto !important;
  max-width: none !important;
  text-align: center !important;
  width: 100% !important;
}

html body.site-page .site-footer .footer-legal-links {
  align-items: center !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.25rem 0.5rem !important;
  justify-content: center !important;
  justify-items: center !important;
  max-width: 100% !important;
}

html body.site-page .site-footer .footer-legal-links span {
  display: inline !important;
}

@media (max-width: 520px) {
  html body.site-page .site-footer .footer-legal-links {
    font-size: clamp(0.76rem, 3.7vw, 0.88rem) !important;
    gap: 0.2rem 0.38rem !important;
  }

  html body.site-page .site-footer .footer-bottom {
    padding-inline: 0 !important;
  }
}
