/* Native CMS lists: Hummingbird resets ol/ul markers and padding globally. */
:is(.page-content--cms, .page-content.page-cms, #cms .rte) :is(ol, ul) {
    padding-inline-start: 1.75rem !important;
    margin-block: 0 1.25rem;
    list-style-position: outside !important;
}

:is(.page-content--cms, .page-content.page-cms, #cms .rte) ol {
    list-style-type: decimal !important;
}

:is(.page-content--cms, .page-content.page-cms, #cms .rte) ul {
    list-style-type: disc !important;
}

/* Keep the lettered exceptions in paragraphs 6.8 and 6.10. */
:is(.page-content--cms, .page-content.page-cms, #cms .rte) ol[type="a"] {
    list-style-type: lower-alpha !important;
}

:is(.page-content--cms, .page-content.page-cms, #cms .rte) ol[type="A"] {
    list-style-type: upper-alpha !important;
}

:is(.page-content--cms, .page-content.page-cms, #cms .rte) ol[type="i"] {
    list-style-type: lower-roman !important;
}

:is(.page-content--cms, .page-content.page-cms, #cms .rte) ol[type="I"] {
    list-style-type: upper-roman !important;
}

:is(.page-content--cms, .page-content.page-cms, #cms .rte) :is(ol, ul) > li {
    display: list-item !important;
    list-style-type: inherit !important;
    list-style-position: inherit !important;
    margin-block-end: 0.65rem;
}

:is(.page-content--cms, .page-content.page-cms, #cms .rte) li > :is(ol, ul) {
    margin-block: 0.65rem;
}

@media print {
    :is(.page-content--cms, .page-content.page-cms, #cms .rte) li {
        orphans: 2;
        widows: 2;
    }
}
