/* Form container */
.hbspt-form {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  /* padding: 0 16px;  */
}

.hbspt-form .hs-form-field {
  width: 100%;
  margin-bottom: 16px;
}

.hbspt-form .input {
  width: 100%;
}

.hbspt-form input.hs-input,
.hbspt-form select.hs-input,
.hbspt-form textarea.hs-input {
  width: 100%;
  display: block;
  padding: 6px 7px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.hbspt-form legend.hs-field-desc {
  font-size: 12px; /* base */
  line-height: 1.4;
  color: #666;
  margin-bottom: 8px;
}

.hs_submit {
  padding-top: 16px;
}

/* If you want it more prominent */
@media (min-width: 768px) {
  .hbspt-form legend.hs-field-desc {
    font-size: 12px;
  }
}

.hbspt-form .hs-button {
  border: 1px solid;
  border-color: var(--fontBlack);
  border-radius: 30px;
  background: var(--fontWhite);
  color: var(--fontBlack);
  line-height: 1;
  padding: 6px 25px 6px 25px;
}

.hbspt-form .hs-error-msgs {
  list-style: none;
  padding-left: 0px;
  font-size: 12px;
}

@media (min-width: 768px) {
  .hbspt-form.form-2col form.hs-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
    row-gap: 16px;
  }

  .hbspt-form.form-2col .hs-form-field {
    margin-bottom: 0;
  }

  /* Full-width fields inside 2-col layout */
  .hbspt-form.form-2col .hs_company,
  .hbspt-form.form-2col .hs_city,
  .hbspt-form.form-2col .hs-dependent-field,
  .hbspt-form.form-2col .hs_submit {
    grid-column: 1 / -1;
  }
  .hbspt-form .hs-dependent-field .hs-message {
    padding-top: 16px;
  }
}
