.mainpage-history {
	display:flex;
	width:100%;
	flex-direction:column;
	align-items:stretch;
	padding:57px 0 35px;
}

.mainpage-history h2 {
	font-size:48px;
	font-weight: 400;
	line-height: 59px;
	letter-spacing: 0.05em;
	align-self:center;
	width:1620px;
	max-width:100%;
	text-align:center;
	text-transform:uppercase;
	margin:0 0 58px;
	padding:0;
}

.mainpage-history-swiper {
	width:calc(100% - 28px);
	margin-left:28px;
	overflow:hidden;
	display:flex;
	flex-direction: column;
}
.mainpage-history-list {
	display:inline-flex;
	align-items:stretch;
	gap:0;
	user-select: none;
	cursor: grabbing;
}

.mainpage-history-list .item {
	flex: 0 0 auto;
	width: 452px;
	height: 706px;
	display:inline-flex;
	align-items:center;
	justify-content:center;
	position:relative;
	overflow:hidden;
}

.mainpage-history-list .item img {
	width:100%;
	height:100%;
	object-fit:cover;
	filter:saturate(0);
	transition:all .35s ease;
	pointer-events: none;
}
.mainpage-history-list .item:hover img {
	filter:saturate(1);
}
.mainpage-history-list .item .info {
	user-select: none;
	position:absolute;
	bottom:0;
	left:0;
	width:100%;

	font-family: 'Cuprum';
	font-style: normal;
	font-weight: 400;
	font-size: 32px;
	line-height: 1.2;
	text-transform:uppercase;
	color:#fff;
	padding: 0 13px 26px;
	transition:all .5s ease;
	transform:translateY(calc(100% - 72px));
}
.mainpage-history-list .item:hover .info {
	transform:translateY(0);
	background-color:rgba(0,0,0,.5);
}

.mainpage-history-list .item .info:first-line {
	font-size: 80px;
}

.mainpage-history-more {
	display:flex;
	justify-content:center;
	margin-top:76px;
}

@media (max-width:1900px) {
	.mainpage-history-list .item {
		width: calc(24% - 7px);
	}
}
@media (max-width:1600px) {
	.mainpage-history-list .item {
		height: 400px;
	}
	.mainpage-history-list .item .info {
		transform: translateY(calc(100% - 56px));
		font-size: 24px;
	}
	.mainpage-history-list .item .info:first-line {
		font-size: 40px;
	}
}
.mainpage-history-page {
	display:flex !important;
	flex-wrap:wrap;
	gap:14px 16px;
}
.mainpage-history-page .item {
	width:calc(50% - 8px);
	height:auto;
}

.mainpage-history-pagination {
	margin-top:32px;
	display:none;
	gap:11px;
	justify-content:center;
}

.mainpage-history-pagination-item {
	width: 95px;
	height: 4px;
	background: #C9C9C9;
	transition:all .35s ease;
	cursor:pointer;
}
.mainpage-history-pagination-item.current {
	background-color:#000;
	cursor:default;
}


@media (max-width:1200px) {
	
	.mainpage-history-swiper .mainpage-history-list .item {
		width: 300px;
	}
	.mainpage-history-more {
		margin-top:54px;
	}
}

@media (max-width:800px) {
	.mainpage-history {
		padding:57px 20px 25px;
		position:relative;
	}
	.mainpage-history h2 {
		font-size:36px;
		line-height:1.06;
		margin-bottom:58px;
	}
	.mainpage-history-page .item {
		height:287px;
	}
	.mainpage-history-page .item img {
		object-fit: cover;
	}
}

@media (max-width:500px) {
	.mainpage-history-pagination {
		display:flex;
	}	
	.mainpage-history-swiper {
		width: 100%;
		margin: 0;
	}
	.mainpage-history {
		padding:40px 20px 40px;
		position:relative;
	}
	.mainpage-history h2 {
		font-size:22px;
		line-height:1.06;
		margin-bottom:40px;
	}/*
	.mainpage-history-more {
		margin:0;
		position:absolute;
		left:0;
		top:0;
	}
	*/
	.mainpage-history-page .item {
		height:136px;
		
	}	
	.mainpage-history-swiper .mainpage-history-list .item {
		width:173px;
		height:282px;
	}	
	.mainpage-history-list .item .info {
		/* font-size:18px; */
		font-size: 14px;
		font-weight:normal;
		text-transform: none;
		transform: translateY(calc(100% - 50px));
	}
	.mainpage-history-list .item:hover .info {
		background-color:rgba(0,0,0,.5);
	}
	.mainpage-history-list .item .info:first-line {
		font-size: 40px;
	}
	.mainpage-history-more {
		margin-top:20px;
	}
	.mainpage-history-more .button {
		font-size:14px;
		height:31px;
		padding:0 8px;
	}
	.mainpage-history-pagination {
		margin-top:20px;
	}
	.mainpage-history-pagination-item {
		width: 40px;
		height: 10px;
		display:inline-flex;
		align-items:center;
		background: transparent !important;
	}
	.mainpage-history-pagination-item:before {
		content:"";
		width: 100%;
		height: 2px;
		background: #C9C9C9;
		transition: all .35s ease;		
	}
	.mainpage-history-pagination-item.current:before {
		background-color: #000;
	}
}



