/* Small set of utility classes that consume the theme CSS variables printed by theme_print_color_variables() */

:root {
  /* variables will be injected by PHP; this file relies on them being present */
}

/* Primary button / CTA */
.theme-btn {
  background: var(--theme-color-primary);
  color: var(--theme-color-background);
  border: 1px solid var(--theme-color-primary);
  transition: filter .12s ease, opacity .12s ease;
}
.theme-btn:hover,
.theme-btn:focus {
  filter: brightness(.95);
  text-decoration: none;
}

.theme-btn-outline {
  background: transparent;
  color: var(--theme-color-primary);
  border: 2px solid var(--theme-color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color .12s ease, color .12s ease, filter .12s ease;
}
.theme-btn-outline:hover,
.theme-btn-outline:focus {
  background: var(--theme-color-primary);
  color: var(--theme-color-background);
  text-decoration: none;
}

/* Generic inline link color */
.theme-link {
  color: var(--theme-color-text);
  transition: color .12s ease;
}
.theme-link:hover,
.theme-link:focus {
  color: var(--theme-color-primary);
}

/* Active link state */
.theme-active {
  color: var(--theme-color-primary);
  font-weight: 600;
}

/* Submenu / child links: neutral by default, use primary on hover */
.theme-submenu-link {
  background: var(--theme-color-background);
  color: var(--theme-color-text);
  display: block;
  width: 100%;
}
.theme-submenu-link:hover,
.theme-submenu-link:focus {
  background: var(--theme-color-primary);
  color: var(--theme-color-background);
}

/* Normalize existing frontend button variants to current theme color. */
#wpforms-form-3171 button.wpforms-submit,
.contact-us-submit-btn,
.acf-image-uploader .acf-button,
.fea-submit-button,
#mc-embedded-subscribe,
.actions-catalog__submit,
.tribe-common--breakpoint-medium.tribe-events .tribe-common-c-btn.tribe-events-c-search__button,
.wp-block-button__link,
.elementor-widget-button .elementor-button {
  background: var(--theme-color-primary) !important;
  border-color: var(--theme-color-primary) !important;
  color: var(--theme-color-background) !important;
}

#wpforms-form-3171 button.wpforms-submit:hover,
.acf-image-uploader .acf-button:hover,
.fea-submit-button:hover,
#mc-embedded-subscribe:hover,
.actions-catalog__submit:hover,
.tribe-common--breakpoint-medium.tribe-events .tribe-common-c-btn.tribe-events-c-search__button:hover,
.wp-block-button__link:hover,
.elementor-widget-button .elementor-button:hover {
  background: var(--theme-color-primary) !important;
  border-color: var(--theme-color-primary) !important;
  color: var(--theme-color-background) !important;
  filter: brightness(.92);
}

.actions-catalog__search-clear {
  color: var(--theme-color-primary) !important;
}

.actions-catalog__pagination .page-numbers .current {
  background: var(--theme-color-primary) !important;
  border-color: var(--theme-color-primary) !important;
  color: var(--theme-color-background) !important;
}

.me-action-detail__back:hover {
  border-color: var(--theme-color-primary);
  color: var(--theme-color-primary);
}

.me-testimonials-card:focus-visible {
  outline-color: var(--theme-color-primary);
}
