/* a11y.css — accessibility fixes (WCAG 2.1 AA): contrast and link affordance.
   Loaded last so it can override page and plugin styles. */

/* Elementor form fields: grey placeholder/text was 4.29:1 */
.elementor-field-textual,
.elementor-field-textual input,
.elementor-field-textual textarea,
input.elementor-field,
textarea.elementor-field { color: #333a42 !important; }
.elementor-field-textual::placeholder,
input.elementor-field::placeholder,
textarea.elementor-field::placeholder { color: #5b636c !important; opacity: 1 !important; }

/* Elementor form labels and helper text were 4.25:1 */
.elementor-field-label,
.elementor-field-group > label,
.elementor-field-group .elementor-field-subgroup label { color: #3f464e !important; }

/* Image captions were 4.25:1 */
.wp-caption-text,
.widget-image-caption,
figcaption { color: #545b63 !important; }

/* WhatsApp buttons: white on #25d366 is 1.98:1 — darken the green */
a[href*="wa.me"].elementor-button,
a[href*="wa.me"][class*="button"],
a[href*="api.whatsapp.com"][class*="button"],
a[aria-label*="וואטסאפ"] { background-color: #0a6b3d !important; }
a[href*="wa.me"] .elementor-button-text,
a[aria-label*="וואטסאפ"] .elementor-button-text { color: #fff !important; }

/* Form submit buttons: white on light green was 1.98:1 */
.elementor-form .elementor-button[type="submit"],
.elementor-field-type-submit .elementor-button,
.elementor-form button[type="submit"] { background-color: #0f6e38 !important; }
.elementor-form .elementor-button[type="submit"] .elementor-button-text,
.elementor-field-type-submit .elementor-button .elementor-button-text { color: #fff !important; }

/* Landing-page section tags were light blue on white (2.06:1) */
.kz-tag, .pd-tag { color: #2b6288 !important; }
/* …but those tags sit on a dark panel in the "check" section */
.kz-check .kz-tag, .pd-check .pd-tag { color: #cfe3f6 !important; }
.nd-lp-note, .kz-form-intro small, .pd-form-intro small,
.elementor-widget-text-editor small { color: #4f5e72 !important; }

/* Gold text links inside copy were 2.7:1 */
a[style*="#b49768"],
a[style*="#B49768"] { color: #7a6231 !important; }

/* Links inside running text need more than colour alone */
.elementor-widget-text-editor p a,
.elementor-widget-theme-post-content p a,
.wp-block-paragraph a,
.entry-content p a,
#nd-contact p a,
.nd-prose p a,
.wp-block-list li a,
.elementor-widget-text-editor li a,
.entry-content li a {
	text-decoration: underline !important;
	text-underline-offset: 3px;
}
.elementor-widget-text-editor p a.elementor-button,
.wp-block-paragraph a.elementor-button,
.entry-content p a.elementor-button { text-decoration: none !important; }

/* Plain links inside page content (calculators are raw HTML in the page body) */
main p a:not([class]),
main li a:not([class]) { text-decoration: underline !important; text-underline-offset: 3px; }

/* Knowledge-centre cards: gold link text on white */
a[data-fontsize][style*="b49768"] { color: #7a6231 !important; }
