/* Security & Compliance roadmap: numbered circles joined by a gradient line (accent → border).
   Loaded only where .opx-cp-roadmap is used. Line hidden at the end of each row: 4 per row on desktop,
   2 per row on tablet (≤1024), none when stacked (≤767). */
.opx-cp-roadmap .opx-cp-roadmap__step {
	position: relative;
}

.opx-cp-roadmap .opx-cp-roadmap__dot {
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0;
	border: 2px solid var(--wp--preset--color--accent);
	border-radius: 50%;
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--accent);
	font-size: var(--wp--preset--font-size--body);
	font-weight: 600;
	line-height: 1;
}

.opx-cp-roadmap .opx-cp-roadmap__step.is-done .opx-cp-roadmap__dot {
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--surface);
}

.opx-cp-roadmap .opx-cp-roadmap__step:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 21px;
	left: 52px;
	right: calc(8px - var(--wp--preset--spacing--gap-30-px-t-20-px, 30px));
	height: 2px;
	background: linear-gradient(90deg, var(--wp--preset--color--accent), var(--wp--preset--color--border));
}

@media (max-width: 1024px) {
	.opx-cp-roadmap .opx-cp-roadmap__step:nth-child(2n)::after {
		display: none;
	}
}

@media (max-width: 767px) {
	.opx-cp-roadmap .opx-cp-roadmap__step::after {
		display: none;
	}
}
