
.news-section{
    background: #F2F2F2;
    padding-bottom: 80px;
}
.main-page .news-section .section-title{
    padding: 73px 0 39px;
}
.news-section-btn{
    width: fit-content;
    margin: 46px auto 0;
}
.news-section-slider-container{
    display: flex;
    align-items: center;
    width: calc(85% - 46px);
    padding: 0 23px;
    max-width: 1643px;
    margin: 0 auto;
    column-gap: 10px;
}
@media (max-width: 900px) {
	.news-section-slider-container{
		width: calc(100% - 40px);
	}
}
.news-section-slider{
    width: 100%;
    max-width: 1565px;
}
.news-card {
    width: 100%;
    max-width: 510px;
    height: auto;
    display: flex;
    justify-content: center;
    background: #F2F2F2;
    position: relative;
    cursor: pointer;
    align-items: flex-start;
	border-left: 1px solid #DEDEDE;
	border-top: 1px solid #DEDEDE;
	border-bottom: 1px solid #DEDEDE;
	box-sizing: border-box;
}
.news-card:nth-child(3n+3) {
	border-right: 1px solid #DEDEDE;
}
.news-card:before{
    position: absolute;
    /*content: '';*/
    width: calc(100% - 2px);
    height: 99%;
    border: 1px solid #DEDEDE;
}
.news-card-img:before{
    position: absolute;
    top: 0;
    left: 0;
    content: '';
    width: 100%;
    height: 100%;
    transition: .2s linear;
}
.news-card:hover .news-card-img:before{
    background: #F2F2F24D;
}
.news-card-container{
    max-width: 302px;
    display: flex;
    flex-direction: column;
    row-gap: 16px;
    padding: 56px 57.6px 51.2px;
}
.news-card-img{
    width: 100%;
    position: relative;
}
.news-card-img img{
    width: 100%;
    object-fit: cover;
}
.news-card-date{
    margin-top: 13px;
    font-size: 11.2px;
    font-weight: 400;
    line-height: 13.6px;
    color: #7D8082;
}
.news-card-title{
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: #30363A;
    transition: .2s linear;
}
.news-card-title a {
    color: #30363A;
}
.news-card:hover .news-card-title,
.news-card:hover .news-card-title a {
    color: #d5001c;
}
.news-card-text{
    font-size: 12.8px;
    font-weight: 400;
    line-height: 19.2px;
    color: #30363A;
}
.news-card-text-link {
  color: #d5001c;
}
.news-card-date, .news-card-title, .news-card-text{
    padding: 0 24px;
}
@media (max-width: 1380px) and (min-width: 1100px){
    .news-card-container{
        padding-top: 25px;
    }
    .news-card-date, .news-card-title, .news-card-text{
        padding: 0 20px;
    }
}
@media (max-width: 1099px){
	.news-card:nth-child(3n+3) {
		border-right: 1px solid #DEDEDE;
	}
	.news-card:nth-child(2n+2) {
		border-right: 1px solid #DEDEDE;
	}
}
@media (max-width: 800px){
    .news-section-slider{
        max-width: 525px;
    }
    .news-card{
        max-width: 525px;
		border-right: 1px solid #DEDEDE;
    }
    .news-card-container{
        padding-top: 55px;
    }
    .news-card-date, .news-card-title, .news-card-text{
        padding: 0 20px;
    }
    .news-card:before{
        width: 99%;
    }
}
@media (max-width: 450px) {
    .news-section{
        padding-bottom: 75px;
    }
    .news-card-date, .news-card-title, .news-card-text{
        padding: 0 15px;
    }
    .news-card-container{
        padding-top: 16px;
        row-gap: 15px;
    }
    .news-card-date{
        margin-top: 5px;
        font-size: 12px;
    }
    .news-card-title{
        font-size: 18px;
        line-height: 26px;
    }
    .news-card-text{
        font-size: 14px;
        line-height: 22px;
    }
}