/* ==========================================================================
   Accessibility layer (kept separate from the original design files).

   Only two things live here, both required by WCAG 2.1 AA and both already
   present in the original *article* stylesheet:

   1. Inline links inside running text need a cue that is not colour alone
      (WCAG 1.4.1). post.css does this with an inset shadow underline; the
      same rule is applied to the static/about pages that load main.css.
   2. Focus visibility for keyboard users on the elements the original markup
      does not cover.
   ========================================================================== */

.prose p a,
.prose li a {
	text-decoration: none;
	font-weight: 700;
	box-shadow: inset 0 -2px 0 rgba(0, 223, 130, 0.3);
	transition: all 0.3s ease;
}

.prose p a:hover,
.prose li a:hover {
	color: #000;
	background-color: var(--color-primary, #00df82);
	box-shadow: inset 0 -20px 0 var(--color-primary, #00df82);
	border-radius: 4px;
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
	outline: 2px solid var(--color-primary, #00df82);
	outline-offset: 2px;
}
