/* Scoped accessibility tweaks for contrast on Woodmart/Elementor pages.
   We avoid touching html/body to keep changes reversible and isolated. */

/* Improve general text contrast inside Woodmart content wrapper */
.wd-page-content.main-page-wrapper,
.wd-page-content.main-page-wrapper p,
.wd-page-content.main-page-wrapper li,
.wd-page-content.main-page-wrapper .title-after_title,
.wd-page-content.main-page-wrapper .wd-fontsize-xs {
  color: #111 !important;
}

/* Improve secondary/after-title text that often appears too light */
.title-after_title,
.title-after_title.reset-last-child,
.title-after_title.reset-last-child.wd-fontsize-xs {
  color: #111 !important;
}

/* Footer credits / legal links contrast */
footer,
.footer-container,
.site-footer,
.site-footer p,
.site-footer a,
footer p,
footer a {
  color: #111 !important;
}

/* Make links distinguishable without relying solely on color */
.wd-page-content.main-page-wrapper a,
.site-footer a,
footer a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

/* Keyboard focus visibility (helps manual checks, usually doesn't hurt Lighthouse) */
.wd-page-content.main-page-wrapper a:focus-visible,
.wd-page-content.main-page-wrapper button:focus-visible,
.site-footer a:focus-visible,
footer a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
