.terms-page {
    background: transparent;
    border: 0;
    color: #26384a;
    line-height: 1.65;
    margin-bottom: 24px;
    padding: 0;
}

.terms-page * {
    box-sizing: border-box;
}

.terms-page #mainform {
    margin-top: 0;
}

.terms-page h1,
.terms-page h2 {
    color: #173a5e;
    line-height: 1.3;
}

.terms-page h1 {
    font-size: 30px;
    margin: 0 0 16px;
}

.terms-page h2 {
    font-size: 20px;
    margin: 24px 0 12px;
}

.terms-page p {
    margin: 0 0 14px;
}

.terms-page a {
    color: #087dc1;
    overflow-wrap: anywhere;
}

.terms-hero,
.terms-page .q_block {
    background: #fff;
    border: 1px solid #dbe5ec;
    border-radius: 10px;
    margin: 0 0 16px !important;
    padding: 24px;
}

.terms-hero {
    background: linear-gradient(135deg, #f1f8ff 0%, #f4fbf8 100%);
    border-color: #cfe2ef;
}

.terms-intro {
    color: #224866;
    font-size: 17px;
}

.terms-section {
    border-top: 4px solid #238c63 !important;
}

.terms-page ol,
.terms-page ul {
    margin-top: 0;
    padding-left: 22px;
}

.terms-page li {
    margin: 5px 0;
}

.terms-page #file_purchase_terms,
.terms-page #subscription_terms,
.terms-page #library {
    margin-top: 24px;
}

.terms-page #file_purchase_terms h2,
.terms-page #subscription_terms h2,
.terms-page #library h2 {
    margin-top: 0;
}

@media only screen and (max-width: 700px) {
    .terms-hero,
    .terms-page .q_block {
        padding: 18px;
    }

    .terms-page h1 {
        font-size: 25px;
    }
}
