/**
 * accessibility.css
 * Focus ring overrides, skip-links, screen-reader visibility helpers.
 *
 * @package Srushti_Theme
 */

/* Visible on-brand focus rings for keyboard navigation (excluding form elements) */
:focus-visible:not(input):not(select):not(textarea) {
  outline: 2px solid var(--color-brand-red) !important;
  outline-offset: 3px !important;
}

/* Skip Link layout - keyboard navigation */
.skip-link {
  position: fixed;
  top: -100%;
  left: var(--space-4);
  padding: var(--space-3) var(--space-6);
  background-color: var(--neon-gold);
  color: var(--color-void);
  font-weight: 600;
  border-radius: var(--radius-sm);
  z-index: var(--z-loader);
  transition: top 0.20s ease;
  box-shadow: 0 4px 16px rgba(10, 10, 15, 0.15);
  text-decoration: none;
}

.skip-link:focus {
  top: var(--space-4);
  outline: none;
}

/* Screen Reader Only helper classes */
.sr-only,
.screen-reader-text,
.sr-only-focusable:not(:focus):not(:focus-within) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
