.notmain .content-wrap:has(.news){
    box-shadow: none;
    padding: 0;
}

.notmain .content-wrap .filter_block.border_block{
    border: none !important;
    padding: 0 !important;
}


.notmain .content-wrap .filter_block.border_block ul{
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.notmain .content-wrap .filter_block.border_block ul li{
    padding: 14px 0 !important;
}

.notmain .content-wrap .filter_block.border_block ul li span{
    color: white !important;
    background-color: rgba(0, 70, 150, 1) !important;
    padding: 12px 24px !important;
    border: 1px solid rgba(0, 70, 150, 1) !important;
    border-radius: 4px !important;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
}

.notmain .content-wrap .filter_block.border_block ul li a{
    color: rgba(0, 70, 150, 1) !important;
    padding: 12px 24px !important;
    border: 1px solid rgba(0, 70, 150, 1) !important;
    border-radius: 4px !important;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
}

.notmain .news{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}
.news-date span { top: 2px; position: relative;}
    
body .news-title a {text-decoration: none;}
.news .news-content {height: fit-content;}
.notmain .news .item.col {
	display: inline-flex;
    flex-direction: column;
	border-radius: 16px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.08);
}

.notmain .news .item.col:hover {
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.2);
}
.news .item .image a.clearfix {
    height: 243px;
} 
.notmain .col.image a img {
    width: 100%;
}

.aprimary-descr-data--block {
    padding: 24px 24px 16px 24px;
    display: flex;
   
    flex-direction: column;
    justify-content: space-between;
}

a.aprimary {
    color:rgba(0, 0, 0, 1) !important;
    font-weight: 500 !important;
    font-size: 16px !important;
    line-height: 120% !important;
}

.descr{
    margin-top: 16px;
}

.descr a{
    color: rgba(79, 79, 79, 1) !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    line-height: 120% !important;
}

.detail-divider{
    border-top: 0.5px solid rgba(0, 70, 150, 1) !important;
}

.data-type_news--block{
    border-top: 0.5px solid rgba(0, 70, 150, 1) !important;
    padding-top: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap:20px;
}

.data-type_news--block .date{
    margin: 0 !important;
    color: rgba(0, 70, 150, 1) !important;
    font-weight: 300 !important;
    font-size: 12px !important;
    line-height: 120% !important;
}

.data-type_news--block .type_news{
    color: rgba(0, 70, 150, 1);
    font-weight: 300;
    font-size: 12px;
    line-height: 120%;
}

.notmain .news .date{
    background: none !important;
    padding: 0 !important;
}



.descr{
    display: -webkit-box; /* Используем флексбокс для многострочного текста */
    -webkit-box-orient: vertical; /* Устанавливаем ориентацию */
    overflow: hidden; /* Скрываем переполнение */
    -webkit-line-clamp: 3; /* Ограничиваем до 3 строк */
    line-height: 1.5; /* Устанавливаем высоту строки */
    max-height: 4.5em; /* Ограничиваем максимальную высоту блока */
    margin-bottom: 24px;
}