/* ===== Contact Form 7 – Form Control Weight ===== */

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 textarea,
.wpcf7 select {
  width: 100%;
  box-sizing: border-box;

  /* Thickness */
  padding: 10px 16px;
  min-height: 52px;
  line-height: 1.3;

  /* Visual weight */
  border: 2px solid rgba(0,0,0,0.2);
  border-radius: 8px;

  font-size: 16px;
}

/* Textarea height */
.wpcf7 textarea {
  height: 100px;
  min-height: 100px;
  resize: vertical;
}

/* Focus state (important for UX) */
.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
  outline: none;
  border-color: var(--wp--preset--color--primary);
  box-shadow: 0 0 0 3px rgba(0,0,0,0.08);
}

/* Field spacing */
.wpcf7-form p {
  margin-bottom: 18px;
}
/* Hide CF7 field error messages */
.wpcf7-not-valid-tip {
  display: none !important;
}

/* Optional: hide the top validation summary 
.wpcf7-response-output {
  display: none !important;
}
*/
/* ===== Force CF7 submit to fully inherit WP Button styles ===== */
.wpcf7 input[type="submit"].wp-block-button__link {
  appearance: none;
  border: none;
  cursor: pointer;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-family: inherit;
  font-size: inherit;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;

  border-radius: var(--wp--custom--button--border-radius, 8px) !important;
  box-shadow: var(--wp--preset--shadow--medium);
}

.wpcf7 input[type="submit"].wp-block-button__link:hover {
  box-shadow: var(--wp--preset--shadow--large);
}
/* Changes hover color for all Gutenberg buttons */
.wp-block-button__link:hover {
  background-color: #D9B100; /* New background color (e.g., red) */
  color: #ffffff; /* New text color (e.g., white) */
}
