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

.text-page h1 {
    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 h2 {
    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;
}

.text-page .section p b,
.text-page .section li b {
    color: rgba(29, 43, 79, 1);
    font-weight: 600;
}

.text-page .section p a,
.text-page .section li a {
    color: rgba(29, 43, 79, 1);
    text-decoration: underline;
}

.text-page .updated {
    color: rgba(80, 90, 110, 1);
    font-size: 14px;
    padding-bottom: 10px;
}

/* Таблица cookies */
.text-page .section .table {
    overflow-x: auto;
    padding-top: 10px;
}

.text-page .section .table table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
}

.text-page .section .table table th,
.text-page .section .table table td {
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid rgba(233, 236, 243, 1);
    padding: 12px 10px;
    font-size: 14px;
    line-height: 1.5;
}

.text-page .section .table table th {
    background-color: rgba(246, 247, 250, 1);
    color: rgba(29, 43, 79, 1);
    font-weight: 600;
}

.text-page .section .table table td {
    color: rgba(80, 90, 110, 1);
}

/* Кнопки страницы 404 */
.text-page .buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding-top: 20px;
}

.text-page .buttons a {
    border: 1px solid rgba(29, 43, 79, 1);
    border-radius: 8px;
    padding: 12px 25px;
    color: rgba(29, 43, 79, 1);
    font-size: 15px;
    font-weight: 600;
    transition: all 0.25s ease;
}

.text-page .buttons a:hover {
    background-color: rgba(29, 43, 79, 1);
    color: #ffffff;
}

.text-page .buttons a.primary {
    background-color: rgba(244, 180, 0, 1);
    border-color: rgba(244, 180, 0, 1);
}

.text-page .buttons a.primary:hover {
    background-color: rgba(220, 160, 0, 1);
    border-color: rgba(220, 160, 0, 1);
    color: rgba(29, 43, 79, 1);
}

/* Адаптация текстовых страниц */
@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 h1 {
        font-size: 30px;
    }
}

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

    .text-page h1 {
        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%;
    }
}
