/* 1. Ресетирање и активирање на бројач за делот со референции */
.page_article .item.references .value {
    counter-reset: reference-counter;
}

/* 2. Поставување на редовите како ставки од листа без стандардна точка */
.page_article .item.references .value p, 
.page_article .item.references .value div {
    display: block !important;
    list-style-type: none !important;
    position: relative !important;
    padding-left: 35px !important; /* Простор за заградите од левата страна */
    margin-bottom: 12px !important;
    text-indent: -35px !important; /* Порамнување на текстот ако оди во нов ред */
}

/* 3. Автоматско генерирање на заградите, [2] пред секоја референца */
.page_article .item.references .value p::before,
.page_article .item.references .value div::before {
    counter-increment: reference-counter;
    content: "[" counter(reference-counter) "] " !important;
    font-weight: bold !important; /* Изборен стил: задебелени загради */
    display: inline-block !important;
    width: 30px !important;
    text-align: right !important;
    margin-right: 5px !important;
}
