/* Course Timeline — horizontal dot timeline of upcoming topics.
   Rendered by [course_timeline] shortcode / auto-placed under "What You'll Learn". */

.hqd-timeline {
	width: 100%;
	margin: 30px 0;
}

/* Dots laid left -> right; first dot sits at the very start of the line. */
.hqd-timeline-track {
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
	position: relative;
	gap: 0;
}

/* The horizontal line that runs through the dot centers. */
.hqd-timeline-track::before {
	content: "";
	position: absolute;
	top: 8px; /* vertical center of the dot */
	left: 0;
	right: 0;
	height: 2px;
	background: #d9e2f5;
	z-index: 0;
}

/* Equal-width columns; dot pinned to the left edge of each column,
   so the first dot lands exactly on the line's start point. */
.hqd-timeline-item {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	text-align: left;
	position: relative;
	z-index: 1;
	padding-right: 15px;
}

/* Bullseye dot: solid blue centre, white gap, light-blue ring. */
.hqd-timeline-dot {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #2C68DB;
	border: 3px solid #fff;
	box-shadow: 0 0 0 4px #bcd3fb;
	box-sizing: border-box;
	flex: 0 0 auto;
}

/* Next upcoming point — only the circle blinks (pulsing ring). */
.hqd-timeline-dot.is-next {
	animation: hqd-dot-blink 1.2s ease-in-out infinite;
}

@keyframes hqd-dot-blink {
	0%, 100% {
		box-shadow: 0 0 0 4px #bcd3fb;
	}
	50% {
		box-shadow: 0 0 0 8px rgba(44, 104, 219, 0.15);
	}
}

@media (prefers-reduced-motion: reduce) {
	.hqd-timeline-dot.is-next {
		animation: none;
	}
}

.hqd-timeline-text {
	margin-top: 18px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.hqd-timeline-label {
	font-family: volkart, sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .02em;
	text-transform: uppercase;
	color: #2C68DB;
}

.hqd-timeline-title {
	font-family: volkart, sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.3;
	color: #000;
}

/* Mobile: horizontal scroll so dots stay left -> right on one line. */
@media (max-width: 767px) {
	.hqd-timeline {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		margin: 10px 0;
	}
	.hqd-timeline-track {
		min-width: 520px;
		margin-top: 10px;
		        padding-left: 10px;
	}
}
