/* =========================================================
   Блок about - текст из TV-поля about
   Используется в чанке [[$about]]
   Зона применения: .about .about__text
   ========================================================= */

.about .about__text {
    font-size: 16px;
    line-height: 1.6;
    color: #111;
}

.about .about__text p {
    margin: 0 0 14px;
}

.about .about__text h2 {
    font-size: 28px !important;
    line-height: 1.25 !important;
    font-weight: 700;
    text-transform: none !important;
    letter-spacing: 0 !important;
    margin: 30px 0 12px !important;
}

.about .about__text h2:first-child {
    margin-top: 0 !important;
}

.about .about__text p + h2 {
    margin-top: 34px !important;
}

.about .about__text ul {
    margin: 0 0 22px 22px;
    padding-left: 18px;
}

.about .about__text li {
    margin: 0 0 7px;
    line-height: 1.55;
}

.about .about__text p + ul {
    margin-top: 4px;
}

.about .about__text ul + p {
    margin-top: 18px;
}

.about .about__text strong {
    font-weight: 700;
}


/* =========================================================
   Блок table - содержимое стандартного поля content
   Используется в чанке [[$table]]
   Зона применения: .table .table__wrap
   Здесь выводится [[*content]]
   ========================================================= */

.table .table__wrap {
    font-size: 16px;
    line-height: 1.6;
    color: #111;
}

.table .table__wrap p {
    margin: 0 0 14px;
}

.table .table__wrap h2 {
    font-size: 28px !important;
    line-height: 1.25 !important;
    font-weight: 700;
    text-transform: none !important;
    letter-spacing: 0 !important;
    margin: 30px 0 12px !important;
}

.table .table__wrap h2:first-child {
    margin-top: 0 !important;
}

.table .table__wrap p + h2 {
    margin-top: 34px !important;
}

.table .table__wrap ul {
    margin: 0 0 22px 22px;
    padding-left: 18px;
}

.table .table__wrap li {
    margin: 0 0 7px;
    line-height: 1.55;
}

.table .table__wrap p + ul {
    margin-top: 4px;
}

.table .table__wrap ul + p {
    margin-top: 18px;
}

.table .table__wrap strong {
    font-weight: 700;
}

.table .table__wrap table {
    margin-top: 28px;
}


/* =========================================================
   Адаптив - планшеты
   Уменьшаем заголовки внутри about и content
   ========================================================= */

@media (max-width: 1024px) {
    .about .about__text h2,
    .table .table__wrap h2 {
        font-size: 25px !important;
        line-height: 1.25 !important;
        margin: 26px 0 10px !important;
    }
}


/* =========================================================
   Адаптив - мобильные устройства
   Уменьшаем текст, заголовки и отступы списков
   ========================================================= */

@media (max-width: 768px) {
    .about .about__text,
    .table .table__wrap {
        font-size: 15px;
        line-height: 1.55;
    }

    .about .about__text h2,
    .table .table__wrap h2 {
        font-size: 23px !important;
        line-height: 1.25 !important;
        margin: 24px 0 10px !important;
    }

    .about .about__text p,
    .table .table__wrap p {
        margin-bottom: 12px;
    }

    .about .about__text ul,
    .table .table__wrap ul {
        margin-left: 18px;
        padding-left: 16px;
        margin-bottom: 20px;
    }

    .about .about__text li,
    .table .table__wrap li {
        margin-bottom: 6px;
    }
}