html,
body {
  max-width: 100%;
  overflow-x: clip;
}

body {
  position: relative;
  width: 100%;
}

@supports not (overflow-x: clip) {
  html,
  body {
    overflow-x: hidden;
  }
}

main,
header,
footer {
  max-width: 100%;
}

iframe,
canvas {
  max-width: 100%;
}

.site-footer,
.site-footer * {
  min-width: 0;
}

.site-footer {
  overflow-x: clip;
}

.footer-heading {
  letter-spacing: 0;
}

.footer-link {
  max-width: 100%;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}

@media (hover: hover) and (pointer: fine) {
  .footer-link:hover {
    transform: translateX(0.35rem);
  }
}

.footer-bottom-bar {
  width: 100%;
  max-width: 100%;
  text-align: center;
}

.footer-bottom-bar > * {
  max-width: 100%;
}

.footer-bottom-bar p {
  overflow-wrap: anywhere;
}

.footer-legal-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1rem;
  max-width: 100%;
  text-align: center;
}

.footer-legal-menu li {
  min-width: 0;
  max-width: 100%;
}

.footer-legal-menu a {
  display: inline-block;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

@media (min-width: 640px) {
  .footer-bottom-bar {
    text-align: left;
  }

  .footer-legal-menu {
    justify-content: flex-end;
  }
}

@media (max-width: 639px) {
  .footer-link {
    display: inline;
  }

  .footer-link:hover {
    transform: none;
  }
}

@media (max-width: 420px) {
  .footer-main-grid {
    grid-template-columns: 1fr !important;
  }

  .footer-main-grid > * {
    grid-column: auto !important;
  }
}
