/* Keep the investment form's original layout separate from project modal styles. */
.investment-modal .project-modal__content-inner {
  gap: 2rem;
  flex: 0 1 auto;
  justify-content: space-between;
  height: 100%;
  padding: 0;
  overflow: visible;
}
.investment-modal .project-modal__next {
  gap: 0;
  align-items: flex-start;
  max-width: 28rem;
}
.investment-modal .project-modal__title { margin-bottom: .5rem; }
.investment-modal .project-modal__form {
  display: block;
  flex: initial;
  height: auto;
}
.investment-modal .project-modal-form__inner {
  gap: .625rem;
  height: auto;
  justify-content: space-between;
}
@media (min-width: 992px) {
  .investment-modal__wrapper { grid-template-rows: minmax(0, 1fr); }
  .investment-modal__-content-root { min-height: 0; overflow-y: auto; }
  .investment-modal__image-root { min-height: 0; }
}
@media (max-width: 991px) {
  .investment-modal .project-modal__content-inner { height: auto; flex: none; }
  .investment-modal .project-modal__next { max-width: none; flex: none; }
  .investment-modal .project-modal-form__inner { gap: .5rem; }
}
