/* ADA Compliance, Mobile & SEO - Zen Acupressure */

/* --- Viewport & mobile --- */
@media screen and (max-width: 1020px) {
  table.b table { max-width: 100% !important; width: 100% !important; box-sizing: border-box; }
  table.b { width: 100% !important; }
  .menu a img { max-width: 100%; height: auto; }
}
@media screen and (max-width: 768px) {
  .menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
  .menu a { display: inline-block; }
}

/* --- Skip to main content (ADA) --- */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  z-index: 9999;
  padding: 8px;
  background: #000;
  color: #fff;
  text-decoration: none;
  transition: top 0.3s;
}
.skip-link:focus {
  top: 0;
  outline: 3px solid #fff;
  outline-offset: 2px;
}

/* --- Focus visible for keyboard / AT (ADA) --- */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #0f80af;
  outline-offset: 2px;
}
.footer-link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* --- Footer high contrast (WCAG 4.5:1) --- */
td.text2 {
  background-color: #ffffff !important;
}
td.text2 .text2,
td.text2 span.text2 {
  color: #000000;
  font-weight: 600;
}
td.text2 .footer-link {
  color: #000000;
  text-decoration: underline;
}
td.text2 .footer-link:hover {
  color: #333333;
}
td.text2 .footer-link:focus-visible {
  outline: 2px solid #000000;
  outline-offset: 2px;
}

/* --- Footer accessibility link (fallback when not in high-contrast footer) --- */
.footer-link {
  color: #000000;
  text-decoration: underline;
}
.footer-link:hover { color: #333333; }

/* --- .text3 high contrast (WCAG 4.5:1) --- */
span.text3,
.text3 {
  color: #000000;
  background-color: #ffffff;
  font-weight: 600;
  display: inline-block;
  line-height: 1.4;
  margin: 0;
}

/* --- Minimum touch target (mobile / ADA) --- */
@media (pointer: coarse) {
  .menu a { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; }
}
