.ebp-join-the-pilot-1 {
  padding: 6rem 0;
  background: #07111d;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ebp-join-the-pilot-1__content {
  max-width: 38.75rem;
  margin: 0 auto;
  text-align: center;
  color: #ffffff;
}

.ebp-join-the-pilot-1__heading {
  margin: 0 0 1.5rem;
  font-size: 2.813rem;
  line-height: 1.1;
}

.ebp-join-the-pilot-1__text {
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.88);
}

.ebp-join-the-pilot-1__text p {
  margin: 0;
}

.ebp-join-the-pilot-1__form {
  max-width: 33rem;
  margin: 0 auto;
}

/* Keep form styles generic so different shortcode plugins still look consistent. */
.ebp-join-the-pilot-1__form form {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  align-items: stretch;
}

.ebp-join-the-pilot-1__form input[type='email'],
.ebp-join-the-pilot-1__form input[type='text'] {
  flex: 1;
  min-height: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  padding: 0 1rem;
}

.ebp-join-the-pilot-1__form input::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

.wpcf7-spinner {
  position: absolute;
}

.wpcf7-submit {
  width: 30%;
}

.wpcf7-form-control-wrap {
  width: 70%;
}

.ebp-join-the-pilot-1__form button,
.ebp-join-the-pilot-1__form input[type='submit'] {
  min-height: 3rem;
  border: 1px solid #ffffff;
  background: #ffffff;
  color: #111111;
  padding: 0 1.25rem;
  cursor: pointer;
  border-radius: 10px;
}

@media (max-width: 767px) {
  .ebp-join-the-pilot-1__form form {
    flex-direction: column;
  }

  .wpcf7-submit {
    width: 100%;
  }

  .wpcf7-form-control-wrap {
    width: 100%;
  }

  .wpcf7-form {
    flex-direction: column;
  }
}
