/* Accessibility Improvements */

/* Screen reader only class */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.sr-only-focusable:focus {
  position: static;
  width: auto;
  height: auto;
  padding: inherit;
  margin: inherit;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

/* Improve contrast for section labels */
.section-label {
  color: var(--paraColor) !important;
  opacity: 1 !important;
  font-size: 18px;
  font-weight: 500;
  position: relative;
  padding-top: 35px;
  display: block;
  margin-bottom: 7px;
}

.section-label::after {
  position: absolute;
  content: "";
  background: url(../images/heading_shapes.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 65px;
  height: 12px;
  top: 0;
  left: 0;
}

/* Ensure proper heading hierarchy styling */
.section_heading h2 {
  margin-top: 0;
}

.section_heading .section-label {
  margin-bottom: 7px;
  display: block;
}

/* Improve focus visibility */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--colorPrimary);
  outline-offset: 2px;
}

/* Ensure icons don't interfere with screen readers */
[aria-hidden="true"] {
  pointer-events: none;
}

