/* Primary CTA colours only: preserve native geometry and keep accent greens intact. */
:root {
  --en-cta-background: #2e7d32;
  --en-cta-background-hover: #236528;
  --en-cta-text: #ffffff;
  --en-cta-focus-ring: #173f1a;
}

/* These are the existing filled CTA components, not catalogue filters or reset controls.
   !important is deliberate: Elementor document colour rules are emitted after theme CSS,
   and the event-register component previously declared its text colour important. */
body .elementor-widget-button .elementor-button,
body .elementor-form .elementor-field-type-submit .elementor-button,
body .togo-button.full-filled,
body .en-event-register {
  background-color: var(--en-cta-background) !important;
  border-color: var(--en-cta-background) !important;
  color: var(--en-cta-text) !important;
}

body .elementor-widget-button .elementor-button:not(:disabled):not([aria-disabled="true"]):is(:hover, :focus-visible),
body .elementor-form .elementor-field-type-submit .elementor-button:not(:disabled):not([aria-disabled="true"]):is(:hover, :focus-visible),
body .togo-button.full-filled:not(:disabled):not([aria-disabled="true"]):is(:hover, :focus-visible),
body .en-event-register:not(:disabled):not([aria-disabled="true"]):is(:hover, :focus-visible) {
  background-color: var(--en-cta-background-hover) !important;
  border-color: var(--en-cta-background-hover) !important;
  color: var(--en-cta-text) !important;
}

body .elementor-widget-button .elementor-button:focus-visible,
body .elementor-form .elementor-field-type-submit .elementor-button:focus-visible,
body .togo-button.full-filled:focus-visible,
body .en-event-register:focus-visible {
  outline: 2px solid var(--en-cta-focus-ring) !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 2px #ffffff !important;
}

/* Shared native form submits, including login and password recovery. */
body .en-modern-form :is(button[type="submit"],input[type="submit"]) {background:var(--en-cta-background)!important;border-color:var(--en-cta-background)!important;color:var(--en-cta-text)!important;}
body .en-modern-form :is(button[type="submit"],input[type="submit"]):not(:disabled):is(:hover,:focus-visible) {background:var(--en-cta-background-hover)!important;border-color:var(--en-cta-background-hover)!important;color:var(--en-cta-text)!important;}

/* Entrance animations must never delay reduced-motion, anchor or keyboard access. */
@media(prefers-reduced-motion:reduce){
 body .elementor .elementor-invisible{visibility:visible!important;opacity:1!important;}
 body .elementor .animated{animation:none!important;}
}
body .elementor :is(:target,:target .elementor-invisible,.elementor-invisible:focus-within){
 visibility:visible!important;opacity:1!important;animation:none!important;
}
