/* Shared by every local page, including the password screens.
   The document canvas matches the footer during short pages and overscroll. */
html, body { background-color: #000; }
#footer-sections.minerva-shared-footer {
  display: block; position: relative; width: 100%; box-sizing: border-box;
  background: #000; color: #fff; padding: 100px 0; margin: 0; height: auto; min-height: 0;
  font-family: "EB Garamond", Georgia, serif; font-size: .8rem; font-weight: 400; line-height: 1.35;
  text-align: center;
}
.minerva-shared-footer .minerva-footer-inner {
  width: 100%; max-width: 840px; box-sizing: border-box;
  padding: 0 24px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px;
  container-type: inline-size;
}
.minerva-shared-footer p { margin: 0; padding: 0; font: inherit; color: inherit; }
.minerva-shared-footer a { color: inherit; text-decoration: underline; text-underline-offset: .15em; overflow-wrap: anywhere; }
.minerva-shared-footer a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }


/* Match the homepage footer at its mobile breakpoint on every route. */
@media (max-width: 480px) {
  #footer-sections.minerva-shared-footer { padding-block: 64px; }
}
/* Password slides were absolutely positioned, leaving a zero-height wrapper.
   Keep the existing password screen in document flow so the footer follows it. */
body.minerva-password-page > squarespace\:escape { display: block; }
body.minerva-password-page .sqs-slide-wrapper[data-slide-type="lock-screen"] .sqs-slide {
  position: relative !important;
  min-height: 100svh;
}

.minerva-footer-badge {
  width: 288px;
  max-width: 100%;
  margin: 28px auto 0;
  container-type: inline-size;
}
@media (max-width: 480px) {
  .minerva-footer-badge { width: 192px; }
}

.minerva-shared-footer .minerva-footer-heading { font-size: min(1rem, 4.2cqw); font-weight: 400; line-height: 1.5; margin-bottom: 20px; }
.minerva-footer-heading > span { display: inline-block; white-space: nowrap; }

.minerva-footer-copyright > span { display: inline-block; white-space: nowrap; }

.minerva-footer-year {
  font-size: 1.03em;
  line-height: 0;
  font-family: "Minerva Badge Numerals", "EB Garamond", Georgia, serif;
  font-variant-numeric: lining-nums;
}

/* Match the taller capital letters in the password-page fallback font. */
body.minerva-password-page .minerva-footer-year {
  font-size: 1.08em;
  vertical-align: .03em;
}
