.wpcf7-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 48rem;
  margin: 0 auto;
}

.cf7-row {
  display: flex;
  flex-direction: column;
  width: 100%;
}

@media (min-width: 768px) {
  .cf7-row {
    flex-direction: row;
    gap: 2.5rem;
  }
}

.cf7-row p {
  margin: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .cf7-row p {
    flex-direction: row;
  }
}

.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-email {
  flex: 1;
  border: 1px solid #707070;
  font-size: 16px;
  line-height: 24px;
  color: #666;
  padding: 12px 16px;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .wpcf7-form-control.wpcf7-text,
  .wpcf7-form-control.wpcf7-email {
    font-size: 20px;
    line-height: 30px;
  }
}

.wpcf7-form-control.wpcf7-textarea {
  width: 100%;
  border: 1px solid #707070;
  font-size: 16px;
  line-height: 24px;
  color: #666;
  padding: 12px 16px;
  height: 150px;
  box-sizing: border-box;
  resize: vertical;
  max-width: 48rem;
}

@media (min-width: 768px) {
  .wpcf7-form-control.wpcf7-textarea {
    font-size: 20px;
    line-height: 30px;
  }
}

.cf7-consent {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin: 0.5rem 0;
  text-align: left;
  width: 100%;
  padding: 2rem 0;
}

@media (min-width: 768px) {
  .cf7-consent {
    padding: 4rem 0;
  }
}

.cf7-consent p {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  width: 100%;
}

.wpcf7-form-control.wpcf7-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #e20c15;
  border-radius: 0;
  flex-shrink: 0;
  margin-top: 4px;
  cursor: pointer;
}

@media (min-width: 640px) {
  .wpcf7-form-control.wpcf7-checkbox input[type="checkbox"] {
    width: 24px;
    height: 24px;
    margin-top: 0;
  }
}

.cf7-consent-label {
  font-size: 14px;
  color: #999;
  line-height: 20px;
  font-weight: 400;
  margin-top: -20px;
}

.wpcf7-form-control.wpcf7-submit {
  width: 100%;
  background-color: #f3c87e;
  color: black;
  font-weight: 700;
  padding: 8px 40px;
  font-size: 18px;
  border: none;
  cursor: pointer;
  transition:
    background-color 0.2s,
    color 0.2s;
}

@media (min-width: 640px) {
  .wpcf7-form-control.wpcf7-submit {
    width: auto;
  }
}

@media (min-width: 768px) {
  .wpcf7-form-control.wpcf7-submit {
    padding: 8px 64px;
    font-size: 22px;
  }
}

.wpcf7-form-control.wpcf7-submit:hover {
  background-color: black;
  color: white;
}

.wpcf7-list-item-label {
  display: none;
}

.wpcf7-checkbox .wpcf7-list-item {
  margin: 0;
  padding: 0;
}

.wpcf7-checkbox .wpcf7-list-item label {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.wpcf7-response-output {
  padding: 1rem 1rem !important;
}

@media (min-width: 768px) {
  .wpcf7-response-output {
    padding: 1rem 12rem !important;
  }
}

.wpcf7-spinner {
  display: none;
}

.wpcf7-form p {
  margin: 0;
}

.hidden-fields-container {
  display: none;
}

.screen-reader-response {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.wpcf7-not-valid-tip {
  display: block;
  color: #e20c15;
  font-size: 14px;
  margin-top: 4px;
  line-height: 1.4;
  text-align: left;
  position: relative;
}

.wpcf7-form-control.wpcf7-checkbox + .wpcf7-not-valid-tip {
  display: none;
}

.wpcf7-form-control.wpcf7-checkbox.wpcf7-not-valid input[type="checkbox"] {
  outline: 2px solid #e20c15;
  outline-offset: 0px;
}

.wpcf7-not-valid-tip + .wpcf7-not-valid-tip {
  display: none;
}

.cf7-full {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cf7-full p {
  margin: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
}
