.custom-page .page-content .page-content__text {
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
}

@media only screen and (min-width: 768px) {
    .custom-page .page-content .page-content__text {
        font-size: 16px;
        line-height: 22px;
    }
}

@media only screen and (min-width: 1361px) {
    .custom-page .page-content .page-content__text {
        font-size: 18px;
        line-height: 29px;
    }
}

.custom-page .page-content .page-content__text h2 {
    font-style: normal;
    font-weight: 500;
    font-size: 28px;
    line-height: 120%;
    margin: 1em 0 0.8em;
}

@media only screen and (min-width: 768px) {
    .custom-page .page-content .page-content__text h2 {
        font-size: 32px;
        line-height: 34px;
    }
}

@media only screen and (min-width: 1361px) {
    .custom-page .page-content .page-content__text h2 {
        font-size: 48px;
        line-height: 50px;
    }
}

.custom-page .page-content .page-content__text h3 {
    font-style: normal;
    font-weight: 500;
    font-size: 24px;
    line-height: 120%;
    margin: 1em 0 0.6em;
}

@media only screen and (min-width: 768px) {
    .custom-page .page-content .page-content__text h3 {
        font-size: 28px;
        line-height: 30px;
    }
}

@media only screen and (min-width: 1361px) {
    .custom-page .page-content .page-content__text h3 {
        font-size: 44px;
        line-height: 45px;
    }
}

.custom-page .page-content .page-content__text h4 {
    font-style: normal;
    font-weight: 500;
    font-size: 22px;
    line-height: 120%;
    margin: 0.8em 0 0.4em;
}

@media only screen and (min-width: 768px) {
    .custom-page .page-content .page-content__text h4 {
        font-size: 24px;
        line-height: 26px;
    }
}

@media only screen and (min-width: 1361px) {
    .custom-page .page-content .page-content__text h4 {
        font-size: 32px;
        line-height: 34px;
    }
}
