/* Luminosity blend keeps the photo's light and shade but takes its colour from the ocean blue,
   so a black-and-white (or any) photo reads as the brand blue instead of grey. */
.learning-hub-hero {
	background-color: #184b77;
	background-size: cover;
	background-position: center 35%;
	background-blend-mode: luminosity;
}

.learning-hub-hero-overlay {
	background: linear-gradient(100deg, rgba(24, 75, 119, 0.94) 0%, rgba(24, 75, 119, 0.78) 45%, rgba(24, 75, 119, 0.3) 100%);
}

.learning-hub-check {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 999px;
	background: var(--anambas-green, #2B7E48);
	color: #fff;
	font-size: 0.8rem;
	font-weight: 700;
	margin-top: 0.1rem;
}

.learning-hub-steps {
	counter-reset: learning-hub-step;
	list-style: none;
	margin: 0;
	padding: 0;
}

.learning-hub-step {
	counter-increment: learning-hub-step;
	position: relative;
	padding: 4.25rem 1.25rem 1.25rem;
	border-radius: 1rem;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.learning-hub-step::before {
	content: counter(learning-hub-step);
	position: absolute;
	left: 1.25rem;
	top: 1.25rem;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 999px;
	background: var(--anambas-oceanblue, #184B77);
	color: #fff;
	font-weight: 700;
}

@media (min-width: 640px) {
	.learning-hub-step {
		padding: 1.5rem 1.5rem 1.5rem 5rem;
	}

	.learning-hub-step::before {
		left: 1.5rem;
		top: 1.5rem;
	}
}

/* The pillar and course lists are layout grids; drop the theme's list markers and indents. */
.learning-hub ul.grid {
	list-style: none;
	margin: 0;
	padding: 0;
}

.learning-hub-pillar:focus-visible {
	outline: 2px solid var(--anambas-oceanblue, #184B77);
	outline-offset: 3px;
}

.learning-hub-external {
	display: inline-block;
	width: 1em;
	height: 1em;
	margin-left: 0.25rem;
	vertical-align: -0.125em;
}

.learning-hub-cover {
	aspect-ratio: 2 / 1;
}

.learning-hub-label {
	display: block;
	margin-bottom: 0.25rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: #1f2937;
}

.learning-hub-input {
	display: block;
	width: 100%;
	min-height: 44px;
	padding: 0.5rem 0.75rem;
	border: 1px solid #9ca3af;
	border-radius: 0.5rem;
	background: #fff;
	color: #111827;
	font: inherit;
}

.learning-hub-input:focus-visible {
	outline: 2px solid var(--anambas-oceanblue, #184B77);
	outline-offset: 1px;
	border-color: var(--anambas-oceanblue, #184B77);
}

/* Honeypot: off-screen rather than display:none, which some bots skip. */
.learning-hub-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.learning-hub-logo:focus-visible {
	outline: 2px solid var(--anambas-oceanblue, #184B77);
	outline-offset: 4px;
	border-radius: 0.5rem;
}

.learning-hub-signup[hidden],
.learning-hub-signup-done[hidden],
.learning-hub-signup-form[hidden],
.learning-hub-remembered[hidden],
.learning-hub-report-result[hidden] {
	display: none;
}

/* While a sign-up form is open its card grows; keep the neighbouring cards at their own height. */
.learning-hub-cards.is-signing-up {
	align-items: start;
}

/* The theme turns links orange on hover, which is unreadable on these light backgrounds. */
.learning-hub a:not(.btn):hover {
	color: var(--anambas-oceanblue, #184B77);
}

.learning-hub-report-result {
	scroll-margin: 6rem 0;
}

.learning-hub-tap {
	min-height: 44px;
	padding: 0 0.5rem;
}

.learning-hub-forget.learning-hub-tap {
	display: inline-flex;
	align-items: center;
}

/* Kept rendered (not display:none) so screen readers announce text written into it. */
.learning-hub-report-result:not(:empty) {
	padding: 1rem;
}

.learning-hub-report-result:empty {
	margin: 0;
}

#learning-hub-courses:focus {
	outline: none;
}
