.ecs-content-card-slider {
	position: relative;
	width: 100%;
	min-height: 320px;
	overflow: hidden;
	background: #111;
}

.ecs-content-card-slider__track,
.ecs-content-card-slider__slide {
	position: absolute;
	inset: 0;
}

.ecs-content-card-slider__slide {
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
	box-sizing: border-box;
	padding: 70px 165px 90px 70px;
	background-position: center;
	background-size: cover;
	opacity: 0;
	pointer-events: none;
	transition: opacity 420ms ease;
}

.ecs-content-card-slider__slide.is-active {
	opacity: 1;
	pointer-events: auto;
}

.ecs-content-card-slider__card {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 780px;
	box-sizing: border-box;
	padding: 64px 88px 52px;
	border-radius: 7px;
	background: rgba(255, 255, 255, 0.82);
	color: #572514;
}

.ecs-content-card-slider__title {
	margin: 0 0 20px;
	color: #572514;
	font-size: 44px;
	font-weight: 700;
	line-height: 1.12;
}

.ecs-content-card-slider__description {
	margin: 0;
	color: #572514;
	font-size: 24px;
	font-weight: 400;
	line-height: 1.65;
}

.ecs-content-card-slider__arrows {
	display: flex;
	justify-content: flex-end;
	gap: 36px;
	margin-top: 28px;
}

.ecs-content-card-slider__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	padding: 0;
	border: 1px solid currentColor;
	border-radius: 50%;
	color: #6b321e;
	background: transparent;
	cursor: pointer;
	transition: color 180ms ease, background-color 180ms ease;
}

.ecs-content-card-slider__arrow:hover,
.ecs-content-card-slider__arrow:focus {
	color: #fff;
	background: #6b321e;
	outline: none;
}

.ecs-content-card-slider__arrow:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

.ecs-content-card-slider__arrow span {
	display: block;
	font-size: 46px;
	font-weight: 300;
	line-height: 0.7;
	transform: translateY(-2px);
}

@media (max-width: 767px) {
	.ecs-content-card-slider {
		min-height: 420px;
	}

	.ecs-content-card-slider__arrows {
		gap: 18px;
	}

	.ecs-content-card-slider__arrow {
		width: 46px;
		height: 46px;
	}

	.ecs-content-card-slider__arrow span {
		font-size: 38px;
	}
}
