/* Fixes for defects inherited from the original WordPress site.
 *
 * Loaded last, after Elementor's generated CSS. !important is required because
 * the generated rules are scoped per element (.elementor-4834 .elementor-element
 * .elementor-element-edd8f50 ...) and are therefore more specific than anything
 * that can be written generically here.
 *
 * Each fix below was measured on the live site before being changed.
 */

/* 1. Form fields set BOTH the background and the text to #ffffff, so whatever a
 *    visitor types is invisible, and so is the placeholder. Measured on the live
 *    site: colour rgb(255,255,255) on background rgb(255,255,255) on every page
 *    that carries a form. The white field is intentional; the white text is not. */
.elementor-field-group .elementor-field-textual,
.elementor-field-group .elementor-select-wrapper select {
  color: #1f2124 !important;
}

.elementor-field-group .elementor-field-textual::placeholder {
  color: #1f2124 !important;
  opacity: 0.6;
}

/* 2. Submit buttons are white text on #00F5FF — roughly 1.4:1 contrast, far below
 *    the 4.5:1 WCAG AA minimum, so the label is barely legible. Switching to the
 *    navy already used elsewhere in the palette gives about 12:1 and keeps the
 *    brand colour of the button itself unchanged. */
.elementor-form .elementor-button[type='submit'],
.elementor-form .e-form__buttons__wrapper__button-next {
  color: #00173a !important;
}
