/* Overrides for the standalone static edition. */
[hidden] {
  display: none !important;
}
.local-status {
  font-size: 1.4rem;
  line-height: 1.6;
  margin-top: 1.6rem;
}
.local-search-results {
  background: rgb(var(--color-background));
  color: rgb(var(--color-foreground));
  padding: 1.5rem;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  box-shadow: 0 8px 18px #0002;
  z-index: 5;
}
.local-search-results a {
  color: inherit;
  display: block;
  padding: 1rem;
}
.search-modal__form {
  position: relative;
}
#local-empty {
  text-align: center;
  padding: 4rem 2rem;
}
@media (prefers-reduced-motion: reduce) {
  .scroll-trigger {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Newsletter calls to action lead directly to the contact page. */
.footer-newsletter-heading-link {
  color: inherit;
  text-decoration: none;
}
.footer-newsletter-heading-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.3rem;
}
.footer-newsletter-contact {
  gap: 1.5rem;
  min-width: 22rem;
}
.footer-newsletter-contact .svg-wrapper {
  width: 1.5rem;
  height: 1.5rem;
}

/* Contact request loading indicator. */
#ContactForm .contact__button .button {
  gap: 1rem;
}
.contact-submit-spinner {
  display: inline-block;
  width: 1.8rem;
  height: 1.8rem;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: contact-submit-spin 0.7s linear infinite;
}
@keyframes contact-submit-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .contact-submit-spinner {
    animation-duration: 1.8s;
  }
}
