.text-page {
    padding: 160px 24px 80px;
    background: #fff;
}

.subpage .text-page {
    padding-top: 64px;
}

.text-page > .content {
    box-sizing: border-box;
    width: 100%;
    max-width: 860px !important;
    margin: 0 auto;
    color: #00142d;
    font-size: 18px;
    line-height: 1.7;
    text-align: left;
    overflow-wrap: break-word;
}

.text-page > .content h1,
.text-page > .content h2,
.text-page > .content h3,
.text-page > .content h4,
.text-page > .content h5,
.text-page > .content h6 {
    display: block;
    max-width: none;
    margin: 1.5em 0 .6em;
    padding: 0;
    color: inherit;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: normal;
    text-align: left;
    text-transform: none;
}

.text-page > .content > h1 {
    margin-top: 0;
    font-size: 2rem;
}

.text-page > .content h2 { font-size: 1.4rem; }
.text-page > .content h3 { font-size: 1.15rem; }
.text-page > .content h4,
.text-page > .content h5,
.text-page > .content h6 { font-size: 1rem; }

.text-page > .content p,
.text-page > .content li,
.text-page > .content td,
.text-page > .content th {
    font-size: inherit;
    line-height: 1.7;
    letter-spacing: normal;
}

.text-page > .content p { margin: 0 0 1em; }
.text-page > .content ul,
.text-page > .content ol {
    margin: 0 0 1em;
    padding-left: 1.5em;
}

.text-page > .content ul { list-style: disc; }
.text-page > .content ol { list-style: decimal; }
.text-page > .content li {
    margin-bottom: .4em;
    list-style: inherit;
}

.text-page > .content a {
    display: inline;
    padding: 0;
    text-decoration: underline;
}

.text-page > .content img { max-width: 100%; height: auto; }
.text-page > .content table {
    display: block;
    max-width: 100%;
    margin-bottom: 1em;
    overflow-x: auto;
    border-collapse: collapse;
}

.text-page > .content th,
.text-page > .content td {
    padding: .5em .75em;
    border: 1px solid #ddd;
    vertical-align: top;
}

.text-page > .content blockquote {
    margin: 1em 0;
    padding-left: 1em;
    border-left: 3px solid #ddd;
}

.text-page > .content pre { white-space: pre-wrap; }
.text-page-subtitle { margin-bottom: 2em; }
.text-page-subtitle:empty { display: none; }

.subpage .text-page + .contact .content > h2,
.subpage .text-page + .contact .content > h3 {
    padding: 0;
}

@media (max-width: 600px) {
    .text-page { padding-right: 20px; padding-left: 20px; padding-bottom: 48px; }
    .subpage .text-page { padding-top: 40px; }
    .text-page > .content { font-size: 16px; }
    .text-page > .content > h1 { font-size: 1.6rem; }
}
