/* List
--------------------------------------------- */

/* List styles for default unordered lists */
.entry-content ul li,
.entry-content ol li,
.wp-block-post-content ul li,
.wp-block-post-content ol li {
	margin-bottom: var(--wp--preset--spacing--10);
}

.entry-content ul ul,
.entry-content ol ul,
.wp-block-post-content ul ul,
.wp-block-post-content ol ul {
	margin-top: var(--wp--preset--spacing--10);
}

/* Remove paddings */
.entry-content :not(.wp-block-group) > li:first-child {
	padding-top: 0;
}

.entry-content :not(.wp-block-group) li:last-child {
	padding-bottom: 0;
}

ul.is-style-list-check,
ul.is-style-list-check ul,
ul.is-style-list-check-circle,
ul.is-style-list-check-circle ul {
	padding-inline-start: 0px !important;
	padding-left: 0;
	list-style: none;
    color: var(--wp--preset--color--contrast);
}

.entry-content ul.is-style-list-check,
.entry-content ul.is-style-list-check-circle {
	padding-inline-start: .5rem;
}

ul.is-style-list-check li,
ul.is-style-list-check-circle li {
	position: relative;
	padding-left: 30px;
}

.block-editor-block-list__block .ul.is-style-list-check li:before,
ul.is-style-list-check li:before, ul.is-style-list-halo-bullet li:before {
	content: "\2713";
	position: absolute;
	left: 0px;
	top: .1em;
	color: var(--wp--preset--color--accent);
}

ul.is-style-list-check-circle li:before {
	content: "\2713";
	position: absolute;
	left: 0px;
	top: .1em;
	color: var(--wp--preset--color--accent);
}

ul.is-style-list-check-circle li:before {
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--base);
	border-radius: 100px;
	height: 1.5rem;
    width: 1.5rem;
	line-height: 1.5rem;
    text-align: center;
	font-size: var(--wp--preset--font-size--medium);
	transform: scale(.8);
}

ul.is-style-list-check-circle li {
	padding-left: 35px;
}

@media (max-width: 781px) {
	ul.is-style-list-check-circle li:before {
		top: .05em;
	}

	ul.is-style-list-check-circle li {
		padding-left: 35px;
	}
}





/* List Halo Bullet Style */
ul.is-style-list-halo-bullet,
ul.is-style-list-halo-bullet ul {
    padding-inline-start: 0;
    list-style: none;
}

ul.is-style-list-halo-bullet li {
    position: relative;
    padding-left: 25px; /* Space for bullet icon */
    align-items: flex-start!important;
}

ul.is-style-list-halo-bullet li:before {
    content: "";
    position: absolute;
    left: 0px;
    top: 0.75em;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-color: var(--wp--preset--color--accent); /* Apply accent color here */
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='9.5' fill='white' fill-opacity='0.2'/%3E%3Ccircle cx='10' cy='10' r='5' fill='white'/%3E%3C/svg%3E");
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;

}





/* List Style Check */
ul.is-style-list-style-check,
ul.is-style-list-style-check ul {
    padding-inline-start: 0;
    list-style: none;
}

ul.is-style-list-style-check li {
    position: relative;
    padding-left: 32px; /* Space for the icon */
    align-items: flex-start !important;
}

ul.is-style-list-style-check li:before {
    content: "";
    position: absolute;
    left: 0px;
    top: 0.75em;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-color: var(--wp--preset--color--accent); /* Use theme color */
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='10' fill='white' fill-opacity='0.2'/%3E%3Cpath d='M9 11L12 14L22 4' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
}
