.text-page-content {
    background: #FFF;
    border-radius: 20px;
    padding: 30px 40px 40px 40px;
    color: #202029;
    line-height: 1.4;
    font-size: 16px;
    width: 100%;
  flex-basis: 740px;
    flex-grow: 1;
}

.text-page__wrapper {
    margin-bottom: 126px;
    margin-left: 25px;
    margin-right: 25px;
}

.text-page-content .wp-block-heading {
    color: #202029;
}

.text-page-content h1.wp-block-heading {
    font-size: 32px;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.text-page-content h2.wp-block-heading {
    line-height: 1.3;
    font-size: 30px;

}
.text-page-content h3.wp-block-heading {
    line-height: 1.3;
    font-size: 27px;

}
.text-page-content h4.wp-block-heading {
    font-size: 24px;
    line-height: 1.4;
    letter-spacing: -0.04em;
}
.text-page-content h5.wp-block-heading {
    font-size: 22px;
    line-height: 1.4;
    letter-spacing: -0.04em;
}
.text-page-content h6.wp-block-heading {
    font-size: 20px;
    line-height: 1.4;
    letter-spacing: -0.04em;
}

.text-page-content .wp-block-heading:not(:last-child) {
    margin-bottom: 15px;
}

.text-page-content p:not(:last-child), .text-page-content ul:not(:last-child), .text-page-content ol:not(:last-child) {
    margin-bottom: 10px;
}

.text-page-content p:last-child {
    margin-bottom: 0;
}

.text-page__wrapper {
    display: flex;
    align-items: flex-start;
    gap: 25px;
}

.custom-breadcrumbs.text-page-breadcrumbs,
.text-page__helper  {
    flex-basis: 300px;
    flex-grow: 1;
    margin: 0;
}

.text-page-breadcrumbs {
    position: sticky;
    top: 111px;
}

.text-page {
    margin-top: 111px;
}

.text-page-content p:not(:last-child),
.text-page-content ul:not(:last-child),
.text-page-content ol:not(:last-child){
    margin-bottom: 10px;
}

.text-page-content p:last-child,
.text-page-content ul:last-child,
.text-page-content ol:last-child {
    margin-bottom: 0;
}

.text-page-content ul,
.text-page-content ol {
    padding-left: 23px;
}


@media screen and (max-width: 1023.98px) {
    .text-page-content {
        padding: 30px 20px 40px 20px;
        flex-basis: 100%;
    }

    .text-page__wrapper {
        margin-left: 5px;
        margin-right: 5px;
    }

    .text-page {
        margin-top: 67px;
    }


    .text-page__wrapper {
      margin-bottom: 80px;
    }

    .text-page__wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .custom-breadcrumbs.text-page-breadcrumbs,
    .text-page__helper  {
       flex-basis: 100%;
    }

    .text-page-breadcrumbs {
        position: static;
    }

    .text-page__helper {
        display: none;
    }
}

@media screen and (max-width: 599.98px) {

    .text-page__wrapper {
        margin-bottom: 40px;
    }
}