
ul {
	list-style-type: var(--list-style-type, var(--unordered-list-style-type, disc));
}

ol {
	list-style-type: var(--list-style-type, var(--ordered-list-style-type, decimal));
}

dl {
	list-style-type: var(--list-style-type, var(--definition-list-style-type, unset));
}

// These are added to editor.scss too
ul,
ol,
dl {
	margin: var(--list-margin, var(--list-margin-top, 0) var(--list-margin-right, 0) var(--list-margin-bottom, var(--spacing-sm)) var(--list-margin-left, 1.75em));
	padding: var(--list-padding, 0);
	list-style-position: var(--list-style-position, outside);
	line-height: var(--list-line-height, var(--line-height-md));

	ul,
	ol,
	dl {
		margin: var(--sub-list-margin, (var(--spacing-sm) 0 var(--spacing-sm) 1em));
	}
}

ul li,
ol li {
	margin: var(--list-item-margin, var(--list-item-margin-top, 0) var(--list-item-margin-right, 0) var(--list-item-margin-bottom, 0) var(--list-item-margin-left, 0));
}

ol.has-background,
ul.has-background {
	--list-margin-left: 0;
}

.term-description,
.entry-content,
.sidebar {
	--list-item-margin-bottom: 0.5em;
}

dd,
dt {
	margin: 0;
}

dt {
	font-weight: var(--description-term-font-weight, var(--heading-font-weight));
}
