ol li {
    font-size: inherit;
}

ol li::before {
    display: none;
}

.container {
    height: auto;
}

.news_archive {
    border-bottom: 1px solid #C7C7C7;
    padding-bottom: 15px;
}

.news_archive ul {
    display: flex;
    max-width: 670px;
    flex-wrap: wrap;
}

.news_archive ul li {
    font-size: 1rem;
    color: #4A4A4A;
    font-weight: bold;
    margin-right: 15px;
}

.news_archive ul li a {
    font-weight: normal;
}

.news-container {
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.news-header{
    display: flex;
    padding-left: 30px;
    padding-bottom: 30px;
}
.news-header .news-title,
.news-header .news-title-img{
    width: 50%;
}
.news-header .news-title{
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin-right: 40px;
}
.news-title h1{
    font-weight: 400;
    font-size: 30px;
    line-height: 130%;
    color: #1E293B;
    font-weight: bold;
}
.news-title-img img{
    width: 100%;
}

.news-item-container {
    margin-top: 30px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    overflow: hidden;
}
.similar-news-title{
    margin-top: 80px;
}
.news_item {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 10px;
    background: #FFFFFF;
    box-shadow: 0px 4px 20px rgba(30, 57, 109, 0.08);
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 14px 24px;
}

.news_item:hover .news_item-heading {
    color: #2559BF;
}

.news_item:hover img {
    transform: scale(1.1);
}

.news_item span {
    text-align: right;
    margin-bottom: 15px;
    color: #343434;
}

.news_item span.news_item-date {
    height: 5%;
    font-size: 0.875rem;
    color: #787878;
}

.news_item-heading {
    text-align: left !important;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -moz-box;
    -moz-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    box-orient: vertical;
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 140%;
    color: #1E293B;
    height: auto;
    max-height: 85px;
}

.news_item-img-wrapper {
    margin-bottom: 25px;
    overflow: hidden;
    height: auto !important;
    border-radius: 10px;
}

.news_item-img-wrapper img {
    width: 100%;
    max-height: 323px;
    /* border-bottom: 3px solid transparent; */
    max-height: 216px;
    height: auto;
    transform: scale(1);
    transition: transform .4s ease;
}

.news_item a {
    color: #343434;
    font-size: 1rem;
    margin-bottom: 50px;
    line-height: 130%;
}
.simple-pagination span,
.simple-pagination a
{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}
.simple-pagination span,
.simple-pagination span.current,
.simple-pagination a {
    font-weight: 700;
    font-size: 16px;
    color: #FFFFFF;
    border: none;
    background: none;
    box-shadow: none;
}
.simple-pagination span.current{
    background: #3068D9;
    border-radius: 5px;
}

.simple-pagination a {
    color: #1E293B;
}
.pagination{
    margin-top: 40px;
}
.paginationjs ul{
    display: flex;
    gap: 10px;
    align-items: center;
}
.paginationjs ul li a{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: #1E293B;
    font-weight: 700;
    font-size: 16px;
    line-height: 0;
}
.paginationjs ul li:not(.active){
    cursor: pointer;
}
.paginationjs-page.active{
    background: #3068D9;
    border-radius: 5px;
}
.paginationjs-page.active a{
    color: #FFFFFF;
}
.paginationjs-next,
.paginationjs-prev{
    order: 1;
    border: 1px solid #C3D7FF;
    border-radius: 5px;
}
.paginationjs-next a,
.paginationjs-prev a{
    font-size: 25px;
    width: 32px;
    height: 32px;
    margin-bottom: 2px;
}
.paginationjs-next:hover:not(.disabled),
.paginationjs-prev:hover:not(.disabled){
    background: #3068D9;
}
.paginationjs-next:hover:not(.disabled) a,
.paginationjs-prev:hover:not(.disabled) a{
    color: #fff;
}

.news-img{
    padding: 0 30px;
}
.news-img,
.news-img img {
    width: 100%;
}

.news-img a {
    display: block;
}

.news-img a:not(:last-child) {
    margin-bottom: 20px;
}


.hide-news-img a:nth-child(n+3) {
    display: none;
}

.news-video video {
    width: 100%
}

.news-content h1 {
    margin-top: 0;
}

.news-date {
    font-size: 16px;
    line-height: 138%;
    color: #94A3B8;
}

.news-text {
    padding-bottom: 30px;
}

.news-text img {
    display: none;
    /* костыль потому что в старых новостях разметка с изображениями забита сразу в таблице с текстом*/
}
.news-text .news-img img,
.news-text .news-img-list img
{
    display: block;
}
.news-img-list{
    display: flex;
    justify-content: space-between;
    padding: 0;
    gap: 35px;
}
.news-img-list img{
    width: 100vw;
    max-width: 100%;
}
.news-additional-links{
    margin-top: 40px;
}
.news-additional-links a {
    font-size: 20px;
    color: #2153B4;


}

.fancybox-show-controls {
    display: none !important;
}

.fancybox__container {
    z-index: 2222 !important;
}

.slick-slide{
    height: auto;
    border-radius: 0 10px 0 0;
    margin: 0px 15px;
    overflow: hidden;
}
.slick-slide img{
    width: 257px;
    height: auto;
}
.slick-dots{
    bottom: -60px;
}
.slick-prev{
    left: 0;
}
.slick-next{
    right: -10px;
}
.slick-prev::before,
.slick-next::before{
    content: '';
    color: #17479e;
    width: 10px;
    display: block;
    height: 11px;
    background-size: contain;
    background-repeat: no-repeat;
}
.slick-next::before{
    background-image: url(/assets/img/icons/icon-arrow-right.svg);
}
.slick-prev::before{
    background-image: url(/assets/img/icons/icon-arrow-left.svg);
}
.similar-news{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
}
.similar-news-heading{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.similar-news-heading .news_item-heading{
    width: 85%;
    text-align: left;
}
.similar-news-heading img{
    margin-top: 5px;
}
.related-articles{
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 10px
}
.related-article{

    background: rgba(255, 255, 255, 0.7);
    border: 2px solid rgba(37, 89, 191, 0.4);
    border-radius: 5px;
    padding: 10px;
}
.related-article h6{
    font-family: 'Mulish-Regular';
    font-style: normal;
    font-size: 20px;
    line-height: 140%;
    color: #2153B4;
    margin: 0;
    text-transform: none;
}

.related-article span{
    font-size: 16px;
    line-height: 160%;
    color: #64748B;
}


@media screen and (max-width: 991px) {
    .news-content {
        text-align: left;
        padding: 30px;
    }

    .news-item-container {
        flex-wrap: wrap;
        justify-content: center;
        padding: 0;
    }

    .news-img {
        display: flex;
        flex-direction: column;
    }

    .news-img a {
        order: 2;
    }

    .news-img .news-date {
        order: 1;
        text-align: right;
    }

    .news-img .arrow-down {
        order: 3;
    }
    .similar-news{
        display: flex;
        justify-content: space-between;
    }

}

@media screen and (max-width: 767px){
    .similar-news{
        flex-direction: column;
        align-items: center;
    }
    .news-header{
        flex-wrap: wrap;
        padding-left: 0;
    }
    .news-header .news-title, 
    .news-header .news-title-img{
        width: 100%;
    }
    .news-header .news-title{
        order: 1;
    }
    .related-articles{
        flex-wrap: wrap;
    }
    .related-article{
        width: 100%;
    }
    .news-img-list{
        flex-direction: column;
        align-items: center;
    }
    .news-img-list img{
        max-width: 340px;
    }
}

@media screen and (min-width: 580px) {
    .news_item {
        width: 48%;
    }

    .news_item-img-wrapper img {
        max-height: 216px;
    }
}

@media screen and (min-width: 991px) {
    .news_item {
        width: 100%;
        max-width: 360px;
    }

    .news-container {
        display: grid;
        grid-gap: 20px;
        grid-template-columns: repeat(4, 1fr);
    }

    .news-content {
        padding: 0 10% 30px 30px;
    }

    .mobile-section-title {
        display: none;
    }
}

@media screen and (min-width: 1476px) {
    .news_item-img-wrapper {
        height: 215px;
    }
}