.epcs-slider {
	--epcs-gap: 30px;
	position: relative;
	width: 100%;
	padding: 0 0 52px;
	box-sizing: border-box;
}

.epcs-viewport {
	overflow: hidden;
	width: 100%;
}

.epcs-track {
	display: flex;
	align-items: stretch;
	gap: var(--epcs-gap);
	transition: transform 500ms cubic-bezier(.22,.61,.36,1);
	will-change: transform;
}

.epcs-slide {
	flex: 0 0 calc((100% - (2 * var(--epcs-gap))) / 3);
	min-width: 0;
	box-sizing: border-box;
}

.epcs-card {
	height: 100%;
	min-height: 458px;
	background: #fff;
	overflow: hidden;
	box-sizing: border-box;
}

.epcs-image-link {
	display: block;
	width: 100%;
	height: 245px;
	overflow: hidden;
	background: #ddd;
}

.epcs-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .35s ease;
}

.epcs-card:hover .epcs-image {
	transform: scale(1.025);
}

.epcs-body {
	padding: 20px 28px 26px;
	box-sizing: border-box;
}

.epcs-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 13px;
	margin: 0 0 22px;
	font-size: 16px;
	line-height: 1.3;
	color: #333;
}

.epcs-meta-item {
	display: inline-flex;
	align-items: center;
	min-width: 0;
}

.epcs-date-icon,
.epcs-category-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-right: 7px;
	font-size: 13px;
	line-height: 1;
}

.epcs-date-icon {
	color: #f4512a;
}

.epcs-category-icon {
	color: #111;
	font-size: 11px;
}

.epcs-meta a {
	color: inherit;
	text-decoration: none;
}

.epcs-title {
	margin: 0;
	font-size: 20px;
	line-height: 1.4;
	font-weight: 700;
	color: #111;
}

.epcs-title a {
	color: inherit;
	text-decoration: none;
}

.epcs-read-more {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	margin-top: 26px;
	color: #111;
	text-decoration: none;
	font-size: 16px;
	line-height: 1.2;
}

.epcs-read-more-arrow {
	font-size: 25px;
	line-height: 1;
	font-weight: 400;
	transition: transform .2s ease;
}

.epcs-read-more:hover .epcs-read-more-arrow {
	transform: translateX(4px);
}

.epcs-arrow {
	position: absolute;
	top: 50%;
	z-index: 4;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 2px solid #f4512a;
	border-radius: 50%;
	background: transparent;
	color: #f4512a;
	font-size: 31px;
	line-height: 32px;
	font-family: Arial, sans-serif;
	cursor: pointer;
	transform: translateY(-50%);
	transition: background .2s ease, color .2s ease;
}

.epcs-arrow:hover {
	background: #f4512a;
	color: #fff;
}

.epcs-prev {
	left: -42px;
}

.epcs-next {
	right: -42px;
}

.epcs-arrow[disabled] {
	opacity: .45;
	cursor: default;
}

.epcs-dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 6px;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 12px;
}

.epcs-dot {
	width: 12px;
	height: 12px;
	padding: 0!important;
	border: 0;
	border-radius: 50%;
	background: #e8cfc9;
	cursor: pointer;
}

.epcs-dot.is-active {
	background: #f4512a;
}

.epcs-empty {
	padding: 30px;
	background: #f7f7f7;
	text-align: center;
}

@media (max-width: 1024px) {
	.epcs-slide {
		flex-basis: calc((100% - var(--epcs-gap)) / 2);
	}

	.epcs-prev {
		left: -20px;
	}

	.epcs-next {
		right: -20px;
	}
}

@media (max-width: 767px) {
	.epcs-slider {
		padding-bottom: 45px;
	}

	.epcs-slide {
		flex-basis: 100%;
	}

	.epcs-card {
		min-height: 0;
	}

	.epcs-image-link {
		height: 220px;
	}

	.epcs-body {
		padding: 18px 20px 24px;
	}

	.epcs-meta {
		font-size: 14px;
		margin-bottom: 16px;
	}

	.epcs-title {
		font-size: 19px;
	}

	.epcs-prev {
		left: 8px;
	}

	.epcs-next {
		right: 8px;
	}

	.epcs-arrow {
		width: 36px;
		height: 36px;
		font-size: 27px;
		line-height: 29px;
	}
}
