.ecs-card-slider-wrapper {
	width: 100%;
}

.ecs-card-slider {
	width: 100%;
	overflow: hidden;
}

.ecs-card-slider .swiper-wrapper {
	align-items: stretch;
}

.ecs-card-slider .swiper-slide {
	height: auto;
	display: flex;
}

/* Card */
.ecs-card {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	min-height: 420px;
	padding: 32px 24px 24px;
	border-radius: 24px;
	overflow: hidden;
	background: linear-gradient( 135deg, #eef2fb 0%, #f7f4fb 50%, #eef7fb 100% );
	box-sizing: border-box;
}

.ecs-card-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	position: relative;
	z-index: 3;
}

.ecs-card-title {
	margin: 0;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
	color: #16243d;
}

.ecs-card-arrow {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background-color: #e7ecf4;
	color: #16243d;
	font-size: 16px;
	text-decoration: none;
	transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.ecs-card-arrow:hover {
	transform: rotate( 45deg );
}

.ecs-card-arrow i,
.ecs-card-arrow svg {
	width: 1em;
	height: 1em;
}

.ecs-card-description {
	position: relative;
	z-index: 3;
	margin: 16px 0 0;
	max-width: 75%;
	font-size: 15px;
	line-height: 1.5;
	color: #5b6b85;
}

.ecs-card-tags {
	position: relative;
	z-index: 3;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: auto;
	padding-top: 24px;
}

.ecs-tag {
	display: inline-flex;
	align-items: center;
	padding: 8px 16px;
	border-radius: 20px;
	background-color: #ffffff;
	color: #16243d;
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
	white-space: nowrap;
	box-shadow: 0 1px 3px rgba( 16, 24, 40, 0.08 );
}

.ecs-card-image {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 55%;
	line-height: 0;
	z-index: 2;
	pointer-events: none;
}

.ecs-card-image img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
	object-position: bottom right;
}

/* Navigation */
.ecs-navigation {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: 32px;
}

.ecs-nav {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background-color: #eef1f6;
	color: #16243d;
	cursor: pointer;
	transition: background-color 0.25s ease, color 0.25s ease;
	user-select: none;
}

.ecs-nav:hover {
	background-color: #16243d;
	color: #ffffff;
}

.ecs-nav svg {
	width: 18px;
	height: 18px;
}

.ecs-nav.swiper-button-disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

/* Responsive */
@media ( max-width: 1024px ) {
	.ecs-card {
		min-height: 380px;
	}
}

@media ( max-width: 767px ) {
	.ecs-card {
		min-height: 340px;
		padding: 24px 20px 20px;
	}

	.ecs-card-description {
		max-width: 100%;
	}

	.ecs-card-image {
		width: 45%;
	}
}
