/*
Theme Name: QLC Child
Theme URI: https://qualitylifechiropractic.com
Description: QLC child theme for Twenty Twenty-Five with Tailwind + design tokens
Author: Sam Nave
Template: twentytwentyfive
Version: 1.0.0
Text Domain: qlc-child
*/ 
/*=== Header Guard: prevent Page List takeover === */
header .wp-block-page-list {
  display: none !important;
  visibility: hidden !important;
}
/* Sticky header polish */
.qlc-header { box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.qlc-header a:focus { outline: 2px solid var(--qlc-teal); outline-offset: 2px; }

/* WordPress navigation overlay panel readability */
.wp-block-navigation__responsive-container.is-menu-open { backdrop-filter: blur(8px); }
/* =========================================================
   QLC ADA Compliance Patch – Global focus & helpers
   ========================================================= */

/* Respect user's reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* Highly visible focus ring for keyboard users */
:focus-visible {
  outline: 3px solid #25B1CE;      /* qlc-teal */
  outline-offset: 2px;
}

/* Make sure buttons/links without obvious borders still show focus */
a:focus-visible, button:focus-visible, [role="button"]:focus-visible {
  box-shadow: 0 0 0 3px rgba(37, 177, 206, .35);
}

/* Improve skip link usability if Tailwind is not present for any reason */
.skip-to-content {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px; height: 1px;
  overflow: hidden;
}
.skip-to-content:focus,
.skip-to-content:active {
  position: absolute;
  left: 0.5rem; top: 0.5rem;
  width: auto; height: auto;
  z-index: 9999;
}

/* Ensure underlines are visible and accessible */
a { text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }