/*
 * Юр-текст договора-оферты. Нумерация пунктов (1., 1.1, 1.1.1) в тексте отсутствует —
 * её рисуют CSS-счётчики по вложенности <ol> (перенесено из public/offer.php, класс-обёртка
 * .offer-list заменён на .legal-content).
 */

.legal-content ol {
    counter-reset: section;
    list-style-type: none;
    padding-left: 1.5em;
}

.legal-content > ol {
    padding-left: 0;
}

.legal-content ol li {
    list-style-type: none;
    margin-bottom: 0.5rem;
}

.legal-content ol li ol {
    counter-reset: subsection;
}

.legal-content ol li::before {
    counter-increment: section;
    content: counter(section) ". ";
    font-weight: 600;
}

.legal-content ol li ol li ol {
    counter-reset: subsection2;
}

.legal-content ol li ol li::before {
    counter-increment: subsection;
    content: counter(section) "." counter(subsection) " ";
    font-weight: 400;
}

.legal-content ol li ol li ol li::before {
    counter-increment: subsection2;
    content: counter(section) "." counter(subsection) "." counter(subsection2) " ";
}

.legal-content p {
    margin-bottom: 1rem;
}

.legal-content a {
    color: #7c3aed;
    text-decoration: underline;
}

.legal-content strong {
    font-weight: 600;
    color: #151515;
}
