.text-news-block {
    padding: 30px 0px;
}
.text-news-block h2 {
    margin-bottom: 15px;
    margin-top: unset;
}
.text-news-block h3 {
    margin-bottom: 10px;
    margin-top: unset;
}
.text-news-block h4 {
    margin-bottom: 10px;
    margin-top: unset;
}
.text-news-block h5 {
    margin-bottom: 10px;
    margin-top: unset;
}
.text-news-block h6 {
    margin-bottom: 10px;
    margin-top: unset;
}
.text-news-block blockquote {
    padding: 75px 50px 35px 50px;
    border-radius: 30px;
    background: var(--background-thirdly);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    margin: 5px 0px;
}
.text-news-block .text-holder.lines blockquote {
    padding-bottom: 75px;
}
.text-news-block blockquote p {
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 16px;
    line-height: 120%;
    text-align: center;
}
.text-news-block .text-holder.lines blockquote p {
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 16px;
    line-height: 120%;
    text-align: center;
}
.text-news-block blockquote p:has(strong) {
    margin: 20px 0px 5px 0px;
}
.text-news-block blockquote p strong {
    font-weight: 400;
    font-size: 20px;
    line-height: 135%;
    text-align: center;
    color: var(--head-primary);
}
.text-news-block blockquote p em {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    text-align: center;
    color: var(--main-text-secondary);
}
.text-news-block blockquote:before {
    content: "";
    width: 35px;
    height: 20px;
    top: 45px;
    left: 50%;
    transform: translate(-50%, -50%);
    background-image: url(images/citate.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
}
.text-news-block .text-holder.lines blockquote:before {
    content: "";
    width: 39%;
    height: 4px;
    border-radius: 2px;
    top: 40px;
    left: 50%;
    position: absolute;
    background-image: unset;
    background: var(--primary);
}
.text-news-block .text-holder.lines blockquote:after {
    content: "";
    width: 39%;
    height: 4px;
    border-radius: 2px;
    bottom: 40px;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--primary);
    position: absolute;
}
.text-news-block ul,
.text-news-block ol {
    gap: 15px;
}
.text-news-block ul li {
    padding-left: 20px;
}
.text-news-block ol li:before {
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    color: var(--main-text-primary);
    top: 6px;
    left: 0px;
}

@media (max-width: 1400px) {
    .text-news-block h2 {
        font-size: 36px;
        margin-bottom: unset;
    }
    .text-news-block h3 {
        font-size: 30px;
        margin-bottom: unset;
    }
    .text-news-block h4 {
        font-size: 20px;
        margin-bottom: unset;
    }
    .text-news-block h5 {
        font-size: 18px;
        margin-bottom: unset;
    }
}

@media (max-width: 996px) {
    .text-news-block {
        padding: 20px 0px;
    } 
    .text-news-block h2 {
        font-size: 26px;
    }
    .text-news-block h3 {
        font-size: 22px;
    }
    .text-news-block h4 {
        font-size: 18px;
    }
    .text-news-block h5 {
        font-size: 16px;
    }
    .text-news-block h6 {
        font-size: 14px;
    }
    .text-news-block blockquote {
        padding: 20px 10px 10px 10px;
    }
    .text-news-block .text-holder.lines blockquote {
        padding: 20px 10px;
        padding-bottom: 20px;
    }
    .text-news-block .text-holder blockquote p {
        font-size: 14px;
    }
    .text-news-block blockquote p:has(strong) {
        margin: 5px 0px;
    }
    .text-news-block blockquote p strong,
    .text-news-block blockquote p em {
        font-size: 14px;
    }
    .text-news-block .text-holder.lines blockquote p {
        font-size: 14px;
    }
    .text-news-block blockquote:before {
        top: 10px;
        width: 20px;
        height: 10px;
    }
    .text-news-block .text-holder.lines blockquote:before {
        top: 10px;
        height: 2px;
        width: 60%;
    }
    .text-news-block .text-holder.lines blockquote:after {
        bottom: 10px;
        height: 2px;
        width: 60%;
    }
    .text-news-block .text-holder ol li {
        padding-left: 15px;
    }
    .text-news-block ol li:before {
        font-size: 14px;
        top: 4px;
    }
    .text-news-block .text-holder ul li {
        padding-left: 15px;
    }
}

@media (max-width: 768px) {
    .text-news-block h2 {
        font-size: 22px;
    }
    .text-news-block h3 {
        font-size: 20px;
    }
    .text-news-block h4 {
        font-size: 16px;
    }
}