div.news-list
{
	word-wrap: break-word;
}
div.news-list img.preview_picture
{
	float:left;
	margin:0 4px 6px 0;
}

.news-list .news-item{
	display: flex;
	flex-direction: column;
}
.news-list{
	display: flex;
}

.slider-container {
	width: 100%;
	position: relative;
	overflow: hidden;
}

.slider {
	display: flex;
	transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1); /* Плавная анимация */
	will-change: transform; /* Оптимизация анимации */
}
.slide>div:not(.slide-img){
	flex-direction:column;
	padding:16px;
	background-color:white;
}
.slide:first-of-type{
	padding:0px;
	margin:0px;
}
.slide{
	padding:0px !important;
	margin:0px;
}
.slide:last-of-type{
	padding:0px;
	margin:0px;
}
.slide-img {
	overflow: hidden;
	position: relative;
	width: 100%;
	padding-bottom: 50%;
	background-position-x: left;
	background-position-y: top;
	background-repeat: no-repeat;
	background-size: cover;
	min-height: 218px;
}

#slider {
	margin-left:0px;
	margin-right:0px;
	flex-wrap: nowrap;
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(1, 1fr);
}

.slide .d-flex{
	flex-direction: column;
	padding: 16px;
}

.slide img{
	max-height: 400px;
	min-height: 220px;
	height: 100%;
	position: absolute;

}

@media (min-width: 992px) {
	#slider {
		grid-template-columns: repeat(3, 1fr);
	}
	.slide-img {
		padding-bottom: 70%;
	}
}
