/**
 * Lists in body copy, on every page.
 *
 * A bullet or number hangs outside the text: it sits in the list's 1.5em
 * indent, and a line that wraps starts under the text, not under the
 * marker. A bulleted list takes dots, a numbered one numbers. See the style
 * guide's typography page, "Lists".
 *
 * MyListing's frontend.css takes the markers off every list and gives them
 * back, inside the text, to Elementor's text editor, toggle, accordion and
 * tabs widgets, so a wrapped line ran under the bullet. The editor content
 * of listings had its markers outside but no indent, so they hung in the
 * margin.
 *
 * The rule covers the same containers as links.css: every Elementor text
 * editor widget and the content of the toggle, accordion and tabs widgets,
 * the editor content of listings and posts, and any element of our own
 * templates that carries the class `sba-prose`. Lists with a class of their
 * own are controls or layouts and are left alone. A component that lays
 * out its lists itself, Prose or the icon cards, decides in its own
 * stylesheet, which loads after this one. The toggle, accordion and tabs
 * widgets are named as MyListing names them, which its selectors need to
 * be outdone.
 */

.elementor-widget-text-editor :is(ul, ol):not([class]),
.elementor-widget-toggle .elementor-tab-content :is(ul, ol):not([class]),
.elementor-widget-accordion .elementor-tab-content :is(ul, ol):not([class]),
.elementor-widget-tabs .elementor-tab-content :is(ul, ol):not([class]),
.wp-editor-content :is(ul, ol):not([class]),
.sba-prose :is(ul, ol):not([class]) {
	padding-left: 1.5em;
	list-style-type: disc;
	list-style-position: outside;
}

.elementor-widget-text-editor ol:not([class]),
.elementor-widget-toggle .elementor-tab-content ol:not([class]),
.elementor-widget-accordion .elementor-tab-content ol:not([class]),
.elementor-widget-tabs .elementor-tab-content ol:not([class]),
.wp-editor-content ol:not([class]),
.sba-prose ol:not([class]) {
	list-style-type: decimal;
}
