/* ===========================================================================
   Helios — Process slide widget

   A horizontal rail: the top border of the grid is the timeline, and each step's
   dot sits on it. The dot is a pseudo-element on the step, not a separate node,
   so adding or removing steps can never leave an orphaned marker.
   ======================================================================== */

.hl-steps {
	display: grid;
	grid-template-columns: repeat(var(--hl-steps-cols, 6), minmax(0, 1fr));
	gap: 0;
	width: 100%;
	max-width: var(--hl-wrap-wide);
	margin-inline: auto;
}

.hl-step {
	position: relative;
	padding: 34px 22px 0;
	border-top: 1px solid var(--hl-w-border, var(--hl-line));
}

/* The dot on the timeline. `top:-4px` straddles the 1px border. */
.hl-step::before {
	content: "";
	position: absolute;
	top: -4px;
	inset-inline-start: 0;
	width: 7px;
	height: 7px;
	border: 1px solid var(--hl-w-accent, var(--hl-sun));
	border-radius: 50%;
	background: var(--hl-w-bg, var(--hl-ink-3));
	transition: .5s var(--hl-ease);
}
.hl-step:hover::before {
	background: var(--hl-w-accent, var(--hl-sun));
	box-shadow: 0 0 16px rgba(240, 176, 99, .8);
}

.hl-step em {
	font-family: var(--hl-f-display);
	font-style: normal;
	font-size: .9rem;
	letter-spacing: .1em;
}

.hl-step h3 {
	margin: 14px 0 10px;
	font-size: 1.32rem;
	line-height: 1.2;
}

.hl-step p {
	margin: 0;
	font-size: .78rem;
	line-height: 1.7;
}

/* Clay, not sun: the duration is supporting information, and giving it the
   brand accent would compete with the step number. */
.hl-step__dur {
	margin-top: 12px;
	font-size: .62rem;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--hl-clay) !important;
}

@media (max-width: 1080px) {
	.hl-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
	.hl-steps { grid-template-columns: 1fr; }
	.hl-step { padding: 24px 0 22px; }
}
