/* Space follows the screen baseline, with a finite boundary for larger viewports. */
.v5-footer-spacer {
  --footer-gap-limit: 480px;
  --footer-screen-buffer: 240px;
  display: block;
  height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Keep the compact desktop brand block; finish the mobile footer with its
   single copyright paragraph after links and contact information. */
@media (max-width: 600px) {
  .footer--v3 .footer-brand {
    display: contents;
  }

  .footer--v3 .footer-brand__intro {
    order: 0;
    max-width: 320px;
  }

  .footer--v3 .footer-resources {
    order: 1;
  }

  .footer--v3 .footer-contact-column {
    order: 2;
  }

  .footer--v3 .footer-brand .footer-brand__copyright {
    order: 3;
    max-width: none;
    margin-top: 0;
  }
}
