/* =========================================================================
   Editor content (admin text editor output)
   Every <ul> list gets the feature-list design + check icon automatically,
   so the icon never depends on HTML (the editor removes empty <i> tags).
   ========================================================================= */

.editor-content ul {
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
}

.editor-content ul li {
    position: relative;
    display: block;
    padding: 14px 16px 14px 60px;
    margin-bottom: 10px;
    border-radius: 10px;
    background: var(--ip-cream, #faf6f0);
    border: 1px solid var(--ip-grey-200, #e9e4dc);
    line-height: 1.6;
    transition: background-color var(--ip-transition, .25s ease), transform var(--ip-transition, .25s ease);
}

.editor-content ul li:last-child {
    margin-bottom: 0;
}

.editor-content ul li:hover {
    background: var(--ip-white, #fff);
    transform: translateX(4px);
}

/* Maroon circle */
.editor-content ul li::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 13px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--ip-maroon, #941d2b);
}

/* White check mark drawn inside circle */
.editor-content ul li::after {
    content: "";
    position: absolute;
    left: 27px;
    top: 20px;
    width: 8px;
    height: 13px;
    border: solid var(--ip-white, #fff);
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}

/* Old content had a real <i> icon: hide it so icon is not shown twice */
.editor-content ul li > i.bi {
    display: none;
}

.editor-content ul li > span {
    display: inline;
}

/* Nested list inside a list item: simple bullets */
.editor-content ul ul {
    margin: 8px 0 0;
}

.editor-content ul ul li {
    padding: 4px 0 4px 18px;
    margin: 0;
    background: none;
    border: 0;
}

.editor-content ul ul li:hover {
    transform: none;
}

.editor-content ul ul li::before {
    left: 2px;
    top: 13px;
    width: 7px;
    height: 7px;
}

.editor-content ul ul li::after {
    display: none;
}

/* Numbered lists keep numbers */
.editor-content ol {
    padding-left: 1.4rem;
}

.editor-content ol li {
    margin-bottom: 6px;
}
