/* Підлаштуй кореневий селектор під свій контейнер контенту:
   .entry-content, .acf-seo-content, .page__news__single__txt__content і т.д. */
.entry-content ol,
.acf-seo-content ol {
    counter-reset: c7-main;
}

/* Звичайний пункт (верхній рівень) — збільшує головний лічильник і скидає підлічильник */
.entry-content ol > li:not(.sublist),
.acf-seo-content ol > li:not(.sublist) {
    counter-increment: c7-main;
    counter-reset: c7-sub;
}

/* Підпункти .sublist — малюємо 1.1, 1.2, ... */
.entry-content ol > li.sublist,
.acf-seo-content ol > li.sublist {
    list-style: none;
    position: relative;
    padding-left: 2.2em; /* під дизайн */
    margin-left: 0;
}

.entry-content ol > li.sublist::before,
.acf-seo-content ol > li.sublist::before {
    content: counter(c7-main) "." counter(c7-sub) " ";
    counter-increment: c7-sub;
    position: absolute;
    left: 0;
    top: 0;
    line-height: 1.4;
    /* font-weight: 600;  ← якщо номер має бути більш жирним */
}
