/* Текстовые страницы */
.text-page {
    padding: 170px 100px 75px 100px;
}

.text-page h2 {
    color: rgba(29, 43, 79, 1);
    font-size: 36px;
    font-weight: 700;
    font-family: "Playfair Display", serif;
    padding-bottom: 15px;
}

.text-page .section {
    border-bottom: 1px solid rgba(233, 236, 243, 1);
    padding: 25px 0;
}

.text-page .section:last-child {
    border-bottom: none;
}

.text-page .section h3 {
    color: rgba(29, 43, 79, 1);
    font-size: 17px;
    font-weight: 700;
    padding-bottom: 12px;
}

.text-page .section p {
    color: rgba(80, 90, 110, 1);
    font-size: 16px;
    line-height: 1.6;
    padding-bottom: 10px;
}

.text-page .section ul,
.text-page .section ol {
    padding-left: 22px;
}

.text-page .section ul li,
.text-page .section ol li {
    color: rgba(80, 90, 110, 1);
    font-size: 16px;
    line-height: 1.6;
    padding-bottom: 8px;
}

/* Адаптация текстовых страниц */
@media (max-width: 1440px) {
    .text-page {
        padding: 170px 60px 60px 60px;
    }
}

@media (max-width: 1240px) {
    .text-page {
        padding: 150px 40px 50px 40px;
    }
}

@media (max-width: 1024px) {
    .text-page {
        padding: 35px 30px;
    }

    .text-page h2 {
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .text-page {
        padding: 25px 16px;
    }

    .text-page h2 {
        font-size: 25px;
    }

    .text-page .section p,
    .text-page .section ul li,
    .text-page .section ol li {
        font-size: 15px;
    }
}

@media (min-width: 1680px) {
    .text-page {
        padding-left: 12%;
        padding-right: 12%;
    }
}
