
/* components/_lists.css */

ol.c-list-numbered {
	--bullet-width: clamp( 40px, 4vw, 60px );
	--list-numbered-padding: clamp( 60px, 6vw, 100px );
	--line-width: 4px;

	list-style: none;
	padding-left: var(--list-numbered-padding);
	counter-reset: my-counter;

}
	.c-list-numbered li {
		counter-increment: my-counter;
		position: relative;
		margin-top: clamp( 10px, 2vw, 20px );
		max-width: 40ch;
	}
	.c-list-numbered li::before {
		content: counter(my-counter);
		position: absolute;
		width: var(--bullet-width);
		height: var(--bullet-width);
		background-color: var(--color-white);
		color: var(--color-accent);
		margin-left: calc( -1 * var(--list-numbered-padding) );
		text-align: center;
		display: flex;
		justify-content: center;
		align-items: center;
		border-radius: 100%;
		font-size: clamp( 1rem, 2vw, 2rem );
		font-weight: bold;
		top: calc( -1 * clamp( 10px, 2vw, 20px ) );
		z-index: 20;

	}
	.c-list-numbered li:not(:last-child)::after {
		content: "";
		position: absolute;
		width: 4px;
		height: 100%;
		background-color: var(--color-white);
		top: clamp( 20px, 2vw, 30px );
		margin-left: calc( -1 * var(--list-numbered-padding) + ( var(--bullet-width) / 2 ) - ( var(--line-width) / 2 ) );
		z-index: 10;
	}




	