/* Contact Form 7 */
.dark-page .contact-form-wrapper .wpcf7 {
  width: 100%;
}

.dark-page .contact-form-wrapper .wpcf7-form {
  width: min(100%, 34rem);
  margin: 1.5rem auto 0;
  gap: 1.15rem;
}

.dark-page .contact-form-wrapper .wpcf7-form > p {
  width: 100%;
  margin: 0;
}

.dark-page .contact-form-wrapper .wpcf7-form > p > label {
  display: block;
  width: 100%;
  margin: 0;
}

.dark-page .contact-form-wrapper .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
  margin-top: 0.4rem;
}

.dark-page .contact-form-wrapper .wpcf7-form :where(
  input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
  textarea,
  select
) {
  display: block;
  width: 100% !important;
  max-width: none !important;
  margin: 0 auto;
  border: 0.0625rem solid #646970 !important;
  background: #090a0c !important;
  color: var(--color-text) !important;
  box-shadow: none !important;
}

.dark-page .contact-form-wrapper .wpcf7-form textarea {
  min-height: 12rem;
}

.dark-page .contact-form-wrapper .wpcf7-submit {
  display: inline-flex !important;
  width: auto;
  min-width: 7rem;
  justify-self: start;
  padding: 0.85rem 1.5rem !important;
  border: 0 !important;
  border-radius: var(--radius-sm) !important;
  background: var(--color-accent) !important;
  color: #fff !important;
  font-size: 1rem !important;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  box-shadow: 0 0.75rem 2rem rgba(141, 38, 52, 0.24) !important;
}

.dark-page .contact-form-wrapper .wpcf7-submit:hover {
  background: var(--color-accent-hover) !important;
}

.dark-page .contact-form-wrapper .wpcf7-submit:focus-visible {
  outline: 0.1875rem solid var(--color-focus) !important;
  outline-offset: 0.25rem;
}

.dark-page .contact-form-wrapper .wpcf7-spinner {
  align-self: center;
}

@media (max-width: 29.999rem) {
  .dark-page .contact-form-wrapper .wpcf7-submit {
    width: 100%;
    justify-self: stretch;
  }
}
