/* Keep the source theme's layout and responsive breakpoints. */
.modal[aria-modal="true"] .modal-block {
  max-height: calc(100vh - 4rem);
  max-height: calc(100dvh - 4rem);
  overscroll-behavior: contain;
}

@media screen and (max-width: 1100px) {
  .modal[aria-modal="true"] .modal-block {
    max-height: calc(100vh - 6rem);
    max-height: calc(100dvh - 6rem);
  }
}

.form-row form[data-inquiry-form="887"] .datetime + .wpcf7-not-valid-tip {
  position: static;
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .parallax {
    background-attachment: scroll !important;
    background-position: center !important;
    background-size: cover !important;
  }
}
