/* The section belongs to the theme; the field styles belong to the integration. */
.jumex-form-section {
  box-sizing: border-box;
  width: 100%;
  padding: 64px 20px;
  background: #fff;
  color: var(--text-primary-default, #1f1f1f);
}
.jumex-form-section .jumex-form-section__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 670px;
  margin-inline: auto;
}
.jumex-form-section .jumex-form-section__title {
  padding: 0;
  margin: 0;
  color: inherit;
  font-family: var(--font-family-Heading, var(--font-family-heading, 'Brevia Regular', sans-serif));
  font-size: 30px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.5px;
}
.jumex-form-section .jumex-form-section__subtitle {
  padding: 0;
  margin: 0;
  color: inherit;
  font-family: var(--font-family-Heading, var(--font-family-heading, 'Brevia Regular', sans-serif));
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.4;
}
.jumex-form-section .jumex-contact.wpforms-container { padding-top: 12px; }
@media (min-width: 768px) {
  .jumex-form-section { padding-block: 96px; }
  .jumex-form-section .jumex-form-section__title { font-size: 2.3rem; }
}

/* Keep the contact submit button consistent with Jumex brand colors. */
.jumex-contact.wpforms-container .jumex-contact-form button.wpforms-submit {
  background: #1f4eaa !important;
  color: #fff !important;
}
.jumex-contact.wpforms-container .jumex-contact-form button.wpforms-submit:hover {
  background: #163a85 !important;
  color: #fff !important;
}
