.wp-block-list.is-style-magis-evidenza {
	padding-inline-start: 2.5em;
}

.wp-block-list.is-style-magis-evidenza > li::marker {
	color: #1d4289;
	font-size: 1.2em;
	font-weight: 700;
}

.wp-block-list.is-style-magis-evidenza > li + li {
	margin-top: 20px;
}

@counter-style magis-number {
	system: numeric;
	symbols: '0' '1' '2' '3' '4' '5' '6' '7' '8' '9';
	suffix: '\00a0\00a0\00a0';
}

@counter-style magis-number-double {
	system: numeric;
	symbols: '0' '1' '2' '3' '4' '5' '6' '7' '8' '9';
	suffix: '\00a0\00a0';
}

@supports selector(ol:has(> li)) {
	ol.wp-block-list.is-style-magis-evidenza:not([start], [reversed], [type], [style*='list-style-type' i]):not(:has(> li[value], > li:nth-child(n + 100))) {
		padding-inline-start: 40px;
		list-style-type: magis-number;
	}

	ol.wp-block-list.is-style-magis-evidenza:not([start], [reversed], [type], [style*='list-style-type' i]):not(:has(> li[value], > li:nth-child(n + 100))) > li {
		position: relative;
		isolation: isolate;
		padding-inline-start: 8px;
	}

	ol.wp-block-list.is-style-magis-evidenza:not([start], [reversed], [type], [style*='list-style-type' i]):not(:has(> li[value], > li:nth-child(n + 100))) > li:nth-child(n + 10) {
		list-style-type: magis-number-double;
	}

	ol.wp-block-list.is-style-magis-evidenza:not([start], [reversed], [type], [style*='list-style-type' i]):not(:has(> li[value], > li:nth-child(n + 100))) > li::marker {
		color: #fff;
		font-size: 16px;
		font-weight: 700;
		font-variant-numeric: tabular-nums;
	}

	ol.wp-block-list.is-style-magis-evidenza:not([start], [reversed], [type], [style*='list-style-type' i]):not(:has(> li[value], > li:nth-child(n + 100))) > li::before {
		content: '';
		position: absolute;
		inset-inline-start: -32px;
		top: -4px;
		z-index: -1;
		width: 32px;
		height: 32px;
		border-radius: 50%;
		background: #1d4289;
	}
}
