/**
 * Block style: Included (.is-style-core--list--included).
 * Registered and loaded by the Creator styles loader, only on pages that use it.
 *
 * A check mark in the text color (at 70%) instead of a bullet. Layout lives in ../_marker.scss.
 */
/**
 * Shared by the list styles in this folder (included, not-included): a list
 * with an icon instead of a bullet. Each style passes its icon and color.
 *
 * The icon sits inline at the start of each item's first line and is pulled
 * back by the same amount the item is indented. So a padding set on a list
 * item in the editor moves the icon together with the text, and wrapped lines
 * still line up under the text.
 *
 * Advanced List Extension wraps each item's text in a <div> on the front end;
 * that wrapper is made inline so the text stays on the icon's line. Its
 * marker color setting (--ale-marker-color) overrides the icon's default color.
 */
.is-style-core--list--included {
	--list-marker-size: 1.1em;
	--list-marker-gap: var(--wp--preset--spacing--30);
	list-style: none;
	padding-left: 0;
	display: grid;
	gap: var(--wp--preset--spacing--30);
}
.is-style-core--list--included li {
	padding-inline-start: calc(var(--list-marker-size) + var(--list-marker-gap));
}
.is-style-core--list--included li > div:first-child {
	display: inline;
}
.is-style-core--list--included li::before {
	content: "";
	display: inline-block;
	width: var(--list-marker-size);
	height: var(--list-marker-size);
	margin-inline-start: calc(
		-1 * (var(--list-marker-size) + var(--list-marker-gap))
	);
	margin-inline-end: var(--list-marker-gap);
	vertical-align: -0.2em;
	background-color: var(
		--ale-marker-color,
		color-mix(in srgb, currentColor 70%, transparent)
	);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.5 8.5 6 12l7.5-8' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E")
		center/contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.5 8.5 6 12l7.5-8' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E")
		center/contain no-repeat;
}
