/* TECH-3207: accessibility fixes from the report of 2026-11-09 (see alma-a11y.php). */

/* Finding 11: "Skip to content", shown only when it has the keyboard focus. */
.alma-skip-link {
	position: absolute;
	top: -100px;
	inset-inline-start: 8px;
	z-index: 100000;
	padding: 10px 16px;
	background: #1e2132;
	color: #fff !important;
	font-size: 16px;
	border-radius: 4px;
	text-decoration: underline;
}
.alma-skip-link:focus {
	top: 8px;
}

/* Finding 10: a visible outline on whatever has the keyboard focus (top menu, logo, language switcher, course cards,
   footer links, the OneTap button). Only for the keyboard (:focus-visible), so mouse clicks look as before. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[role="button"]:focus-visible,
[tabindex]:focus-visible {
	outline: 3px solid #4261ad !important;
	outline-offset: 2px !important;
}

/* Finding 2: the course cards' short description is drawn at 80% opacity, which fades it below 4.5:1. */
.bb-course-items .bb-course-excerpt {
	opacity: 1;
}

/* Finding 8: links inside a paragraph are told apart by colour only; underline them. */
.entry-content p a:not([class*="button"]),
.elementor-widget-text-editor p a:not([class*="button"]),
.elementor-widget-theme-post-content p a:not([class*="button"]) {
	text-decoration: underline;
}
