.cf7ct-slot .wpcf7-form {
  margin: 0;
}

.cf7ct-slot .cf7ct-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.cf7ct-slot .cf7ct-grid > label,
.cf7ct-slot .cf7ct-full {
  display: block;
  margin: 0;
  font-size: 0;
}

.cf7ct-slot .cf7ct-full {
  grid-column: 1 / -1;
}

.cf7ct-slot .wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-acceptance) {
  width: 100%;
  max-width: none;
}

.cf7ct-slot .wpcf7-not-valid-tip {
  display: block;
  margin-top: 4px;
  font-size: 12px;
}

.cf7ct-slot .wpcf7-response-output {
  margin: 14px 0 0;
}

.cf7ct-a2p {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 20px 0;
  gap: 15px;
  clear: both;
}

.cf7ct-a2p-row,
.cf7ct-a2p-row .wpcf7-form-control-wrap,
.cf7ct-a2p-row .wpcf7-acceptance,
.cf7ct-a2p-row .wpcf7-list-item,
.cf7ct-a2p-row label {
  display: block;
  width: 100%;
  margin: 0;
}

.cf7ct-a2p-row label {
  position: relative;
  min-height: 20px;
  padding-left: 30px;
  color: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  text-align: left;
}

.cf7ct-a2p-row input[type="checkbox"] {
  position: absolute;
  top: 1px;
  left: 0;
  width: 18px;
  height: 18px;
  margin: 0;
}

.cf7ct-a2p-row a {
  color: inherit;
  text-decoration: underline;
}

@media (max-width: 767px) {
  .cf7ct-slot .cf7ct-grid {
    grid-template-columns: 1fr;
  }

  .cf7ct-slot .cf7ct-full {
    grid-column: auto;
  }

  .cf7ct-a2p-row label {
    font-size: 13px;
  }
}

