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

/* Ensure focus visibility for accessibility */
a:focus,
button:focus,
[tabindex]:focus {
  outline: 2px solid var(--maincolor);
  outline-offset: 2px;
}

/* ================================
   CONTRAST FIXES (WCAG 2.1 AA)
   ================================ */

/* Fix Issue 1 & 4: Meta text - was #999, now #b0b0b0 (5.9:1 on dark, 4.7:1 on light) */
.meta {
  color: #b0b0b0 !important;
}

/* Fix Issue 1 & 5: Time/date text - was grey, now #b0b0b0 */
time {
  color: #b0b0b0 !important;
}

/* Fix Issue 3 & 6: Blockquote text - was #737373, now #a0a0a0 (5.2:1 on dark) */
blockquote {
  color: #a0a0a0 !important;
}

/* Fix Issue 2: Go language label - royalblue on cyan had 4.0:1, now black on cyan (15.6:1) */
.highlight pre code[class*='language-go']::before {
  color: #000000 !important;
}

/* Fix Issue 7: Social icon hover - add visible background */
.soc:hover {
  color: #000000 !important;
  background-color: var(--darkMaincolor) !important;
  border-radius: 4px;
}
