/* 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 */
}

/* Footer colors */
footer,
.me-footer-theme,
.me-footer-theme .elementor-section,
.me-footer-theme .e-con,
.me-footer-theme .elementor-container,
.me-footer-theme .elementor-widget-wrap,
.me-footer-theme section,
.me-footer-theme div {
  background: var(--theme-color-footer-background) !important;
  color: var(--theme-color-footer-text) !important;
}
/* Ensure Elementor background overlays don't mask the footer background color. */
.me-footer-theme .elementor-background-overlay {
  background-color: var(--theme-color-footer-background) !important;
  background-image: none !important;
}
footer a,
.me-footer-theme a {
  color: var(--theme-color-footer-text) !important;
}
footer a:hover,
footer a:focus,
.me-footer-theme a:hover,
.me-footer-theme a:focus {
  color: var(--theme-color-primary) !important;
}
.me-footer-theme .elementor-widget,
.me-footer-theme .elementor-widget * {
  color: var(--theme-color-footer-text) !important;
}

/* Primary button / CTA */
.theme-btn {
  background: var(--theme-color-primary);
  color: var(--theme-color-background);
  border: 1px solid var(--theme-color-primary);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.75rem 1.2rem;
  font-weight: 700;
  line-height: 1.2;
  transition: filter .12s ease, opacity .12s ease;
  text-transform: uppercase;
}
.theme-btn:hover,
.theme-btn:focus {
  filter: brightness(.95);
  text-decoration: none;
}
.theme-btn:focus-visible,
.theme-btn-outline:focus-visible,
.theme-link:focus-visible,
.theme-submenu-link:focus-visible,
#wpforms-form-3171 button.wpforms-submit:focus-visible,
.contact-us-submit-btn:focus-visible,
.acf-image-uploader .acf-button:focus-visible,
.fea-submit-button:focus-visible,
#mc-embedded-subscribe:focus-visible,
.actions-catalog__submit:focus-visible,
.tribe-common--breakpoint-medium.tribe-events .tribe-common-c-btn.tribe-events-c-search__button:focus-visible,
.wp-block-button__link:focus-visible,
.elementor-widget-button .elementor-button:focus-visible {
  outline: 2px solid var(--theme-color-primary);
  outline-offset: 2px;
}

.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;
  border-radius: 999px;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.75rem 1.2rem;
  font-weight: 700;
  line-height: 1.2;
  transition: background-color .12s ease, color .12s ease, filter .12s ease;
  text-transform: uppercase;
}
.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%;
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
}
.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,
.me-contact-button,
.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;
  border-radius: 999px;
  min-height: 44px;
  padding: 0.75rem 1.2rem;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: none;
}

#wpforms-form-3171 button.wpforms-submit:hover,
.me-contact-button: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__select,
.actions-catalog__search,
.actions-catalog__filter-toggle,
.actions-catalog__all {
  border-radius: 12px;
}

.actions-catalog__select,
.actions-catalog__search,
.actions-catalog__filter-toggle {
  background: var(--theme-color-background) !important;
  border-color: rgba(17, 24, 39, 0.14) !important;
  box-shadow: var(--theme-shadow-sm);
}

.quick-link-card,
.acf-form-fields,
.actions-catalog__search-results,
.actions-catalog__filter-panel {
  border: 1px solid rgba(17, 24, 39, 0.08);
  box-shadow: var(--theme-shadow-md);
}

.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);
}
