/* Club Hub v0.9.11: ONE button system for native Elementor, live BAC tools,
   PlusAddons Woo My Account, Elementor Pro forms and page navigation.
   CSS is scoped to BAC pages/widgets; no Elementor global palette changes. */
:where(.bac-page,.bac-v4,.bac-v5,.bac-v07,.bac-hub,.bac96-editable-tool,.bac-contact-layout,.bac-account-surface){
 --bac-ui-forest:#163A2E;--bac-ui-deep:#0D2B21;--bac-ui-gold:#C8A258;
 --bac-ui-paper:#F7F5EF;
}
/* Native Elementor: saved per-widget colour controls win over these low-
   specificity fallbacks. A dedicated gold variant gets a contrasting hover. */
:where(.bac094-cta,.bac93-link-button,.bac95-rulejump,.bac-bt-forest) .elementor-button{
 background:#163A2E;color:#FFFFFF;border:1px solid #163A2E;
 border-radius:11px;min-height:46px;text-decoration:none;
}
:where(.bac094-cta,.bac93-link-button,.bac95-rulejump,.bac-bt-forest) .elementor-button:is(:hover,:focus-visible){
 background:#C8A258;color:#0D2B21;border-color:#C8A258;
}
:where(.bac-bt-gold) .elementor-button{background:#C8A258;color:#0D2B21;border-color:#C8A258}
:where(.bac-bt-gold) .elementor-button:is(:hover,:focus-visible){
 background:#163A2E;color:#FFFFFF;border-color:#163A2E;
}
/* Prevent stale theme-coloured nested text or icons masking a newly selected
   Elementor hover foreground; inherit actual chosen button colour. */
.bac094-cta .elementor-button .elementor-button-text,
.bac93-link-button .elementor-button .elementor-button-text,
.bac95-rulejump .elementor-button .elementor-button-text,
.bac-bt-gold .elementor-button .elementor-button-text,
.bac-bt-forest .elementor-button .elementor-button-text {color:inherit}
:where(.bac094-cta,.bac93-link-button,.bac95-rulejump,.bac-bt-gold,.bac-bt-forest) .elementor-button .elementor-button-icon,
:where(.bac094-cta,.bac93-link-button,.bac95-rulejump,.bac-bt-gold,.bac-bt-forest) .elementor-button svg{
 color:inherit;fill:currentColor;
}
/* Functional plugin controls: repaired primary, outlined and gold variants. */
:where(.bac-hub) .bac-btn.bac-btn-primary,
:where(.bac96-editable-tool) .bac-btn.bac-btn-primary {background:#163A2E;border-color:#163A2E;color:#FFFFFF}
:where(.bac-hub) .bac-btn.bac-btn-primary:is(:hover,:focus-visible),
:where(.bac96-editable-tool) .bac-btn.bac-btn-primary:is(:hover,:focus-visible){background:#C8A258;border-color:#C8A258;color:#0D2B21}
:where(.bac-hub) .bac-btn.bac-btn-outline {background:#FFFDF7;border-color:#163A2E;color:#163A2E}
:where(.bac-hub) .bac-btn.bac-btn-outline:is(:hover,:focus-visible) {background:#C8A258;border-color:#C8A258;color:#0D2B21}
:where(.bac-hub) .bac-btn.bac-btn-gold {background:#C8A258;border-color:#C8A258;color:#0D2B21}
:where(.bac-hub) .bac-btn.bac-btn-gold:is(:hover,:focus-visible){background:#163A2E;border-color:#163A2E;color:#FFFFFF}
.bac-hub button[type=submit]:not(.bac-btn),
.bac96-editable-tool :is(button[type=submit],input[type=submit]):not(.bac-btn) {
 background:#163A2E;border:1px solid #163A2E;color:#FFFFFF;
 border-radius:11px;min-height:44px;padding:10px 18px;font-weight:700;
 cursor:pointer;transition:background-color .18s,border-color .18s,color .18s;
}
.bac-hub button[type=submit]:not(.bac-btn):not(:disabled):is(:hover,:focus-visible),
.bac96-editable-tool :is(button[type=submit],input[type=submit]):not(.bac-btn):not(:disabled):is(:hover,:focus-visible){
 background:#C8A258;border-color:#C8A258;color:#0D2B21;
}
/* Notice and event filters must be readable even when a theme styles links. */
.bac-hub .bac-tabs a{color:#163A2E;border-color:#D5DED2;background:#FFFDF7}
.bac-hub .bac-tabs a:is(:hover,:focus-visible){color:#0D2B21;background:#E7EBDC;border-color:#C8A258}
.bac-hub .bac-tabs a.is-active{background:#163A2E;color:#FFFFFF;border-color:#163A2E}
.bac-hub .bac-tabs a.is-active:is(:hover,:focus-visible){background:#C8A258;color:#0D2B21;border-color:#C8A258}
/* Actual Elementor Pro Contact Form: correct hover background AND inner text;
   Elementor form button controls can still change these defaults. */
.bac-contact-layout .elementor-form :is(button[type=submit],.elementor-button){
 background:#163A2E;color:#FFFFFF;border-color:#163A2E;
 border-radius:11px;min-height:46px;transition:background-color .18s,color .18s;
}
.bac-contact-layout .elementor-form :is(button[type=submit],.elementor-button) :is(.elementor-button-text,span){color:inherit}
.bac-contact-layout .elementor-form :is(button[type=submit],.elementor-button):not(:disabled):is(:hover,:focus-visible){
 background:#C8A258;color:#0D2B21;border-color:#C8A258;
}
/* PlusAddons and WooCommerce account controls: old widget/theme styles used
   blue/red hover text and an insufficient selector for form submit buttons. */
.bac-account-surface .woocommerce :is(a.button,button.button,input.button,button[type=submit],input[type=submit]),
.bac-account-surface .tp-woo-myaccount :is(a.button,button.button,input.button,button[type=submit],input[type=submit]){
 background:#163A2E;color:#FFFFFF;border-color:#163A2E;
 border-radius:11px;min-height:44px;text-decoration:none;
}
.bac-account-surface .woocommerce :is(a.button,button.button,input.button,button[type=submit],input[type=submit]):not(:disabled):is(:hover,:focus-visible),
.bac-account-surface .tp-woo-myaccount :is(a.button,button.button,input.button,button[type=submit],input[type=submit]):not(:disabled):is(:hover,:focus-visible){
 background:#C8A258;color:#0D2B21;border-color:#C8A258;
}
.bac-account-surface .woocommerce :is(a.button,button.button,input.button,button[type=submit]) :is(span,.elementor-button-text),
.bac-account-surface .tp-woo-myaccount :is(a.button,button.button,input.button,button[type=submit]) :is(span,.elementor-button-text){color:inherit}
.bac-account-surface .woocommerce-MyAccount-navigation a:is(:hover,:focus-visible),
.bac-account-surface .tp-woo-myaccount .woocommerce-MyAccount-navigation-link a:is(:hover,:focus-visible){
 background:#C8A258;color:#0D2B21;border-color:#C8A258;text-decoration:none;
}
.bac-account-surface .woocommerce-MyAccount-navigation a :is(span,i),
.bac-account-surface .tp-woo-myaccount .woocommerce-MyAccount-navigation-link a :is(span,i){color:inherit}
/* Committee controls & other functional buttons: accessible focus on keyboard. */
.bac96-editable-tool :is(a.bac-btn,button.bac-btn,button[type=submit],input[type=submit]):focus-visible,
.bac-hub .bac-tabs a:focus-visible,
.bac-contact-layout .elementor-form button:focus-visible,
.bac-account-surface .woocommerce a:focus-visible{outline:3px solid #C8A258;outline-offset:3px}
@media(prefers-reduced-motion:reduce){
 .bac96-editable-tool :is(a,button,input[type=submit]),
 .bac094-cta .elementor-button,.bac93-link-button .elementor-button{transition:none!important;transform:none!important}
}
