/* ── List ───────────────────────────────────────── */

.wp-block-list.is-style-checked,
.wp-block-list.is-style-checked-neutral,
.wp-block-list.is-style-checked-negative {
    list-style: none;
    padding-inline-start: 0;
    display: flex;
    flex-direction: column;
    gap: var(--wp--preset--spacing--m);
}

.wp-block-list.is-style-checked {
    --check-icon: url('../images/checked-accent.svg');
}

.wp-block-list.is-style-checked-neutral {
    --check-icon: url('../images/checked-neutral.svg');
}

.wp-block-list.is-style-checked-negative {
    --check-icon: url('../images/checked-negative.svg');
}

.wp-block-list.is-style-checked > li,
.wp-block-list.is-style-checked-neutral > li,
.wp-block-list.is-style-checked-negative > li {
    position: relative;
    padding-left: calc(20px + var(--wp--preset--spacing--m));
}

.wp-block-list.is-style-checked > li::before,
.wp-block-list.is-style-checked-neutral > li::before,
.wp-block-list.is-style-checked-negative > li::before {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--check-icon) no-repeat center / contain;
}

.wp-block-list {
    display: flex;
    flex-direction: column;
    gap: var(--wp--preset--spacing--s);
    padding-left: var(--wp--preset--spacing--m);
}