.st-cf7-form {
  display: block;
}

.st-cf7-form .wpcf7-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem 1rem;
}

.st-cf7-form .wpcf7-form > p,
.st-cf7-form .wpcf7-form > label {
  margin: 0;
}

.st-cf7-form .wpcf7-form > p:has(textarea),
.st-cf7-form .wpcf7-form > p:has(input[type="submit"]),
.st-cf7-form .wpcf7-form > label:has(textarea) {
  grid-column: 1 / -1;
}

.st-cf7-form label {
  display: block;
  color: var(--st-ink, #14283d);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.st-cf7-form .wpcf7-form-control-wrap {
  display: block;
  margin-top: 0.5rem;
}

.st-cf7-form input:not([type="submit"]),
.st-cf7-form select,
.st-cf7-form textarea {
  width: 100%;
  border: 1px solid rgba(20, 40, 61, 0.22);
  border-radius: 0;
  background: #fff;
  color: var(--st-ink, #14283d);
  font: inherit;
  padding: 0.92rem 1rem;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.st-cf7-form textarea {
  min-height: 10rem;
  resize: vertical;
}

.st-cf7-form input:not([type="submit"]):focus,
.st-cf7-form select:focus,
.st-cf7-form textarea:focus {
  border-color: var(--st-blue, #0068a9);
  box-shadow: 0 0 0 3px rgba(0, 104, 169, 0.12);
  outline: 0;
}

.st-cf7-form input[type="submit"] {
  min-height: 3.4rem;
  border: 0;
  background: var(--st-blue, #0068a9);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 0.9rem 1.35rem;
}

.st-cf7-form .wpcf7-spinner {
  margin: 0 0 0 0.75rem;
}

.st-cf7-form .wpcf7-not-valid-tip {
  color: #a63027;
  font-size: 0.78rem;
  margin-top: 0.35rem;
}

.st-cf7-form .wpcf7-response-output {
  grid-column: 1 / -1;
  margin: 0.25rem 0 0;
}

@media (max-width: 720px) {
  .st-cf7-form .wpcf7-form {
    grid-template-columns: 1fr;
  }

  .st-cf7-form .wpcf7-form > p,
  .st-cf7-form .wpcf7-form > label {
    grid-column: 1;
  }
}
