.ecs-wrap {
	--ecs-visible: 3;
	--ecs-gap: 32px;
	--ecs-speed: 500ms;
	width: 100%;
	box-sizing: border-box;
}

@media (max-width: 1024px) { .ecs-wrap { --ecs-visible: 2; } }
@media (max-width: 767px)  { .ecs-wrap { --ecs-visible: 1; } }

.ecs-wrap *,
.ecs-wrap *::before,
.ecs-wrap *::after { box-sizing: border-box; }

/* ---------- header ---------- */
.ecs-eyebrow {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #0b5d8a;
	margin-bottom: 14px;
}

.ecs-header-row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px 24px;
}

.ecs-title {
	font-size: 36px;
	font-weight: 700;
	line-height: 1.15;
	color: #0f1f2e;
	margin: 0;
}

.ecs-controls {
	display: flex;
	align-items: center;
	gap: 16px;
	padding-bottom: 6px;
}

.ecs-all {
	font-size: 13px;
	font-weight: 600;
	color: #0f1f2e;
	text-decoration: none !important;
}

.ecs-all-text {
	border-bottom: 1px solid #0f1f2e;
	padding-bottom: 2px;
}

.ecs-counter {
	font-size: 12px;
	letter-spacing: .04em;
	color: #6b7a88;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.ecs-wrap .ecs-btn {
	-webkit-appearance: none;
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	padding: 0;
	margin: 0;
	border: 1px solid #c9d3dc;
	border-radius: 50%;
	background: transparent;
	color: #0f1f2e;
	line-height: 1;
	cursor: pointer;
	box-shadow: none;
	transition: background-color .25s ease, color .25s ease, border-color .25s ease, opacity .25s ease;
}

.ecs-wrap .ecs-btn svg { width: 16px; height: 16px; display: block; }

.ecs-wrap .ecs-btn:not(:disabled):hover {
	background-color: #0f1f2e;
	border-color: #0f1f2e;
	color: #fff;
}

.ecs-wrap .ecs-btn:disabled {
	opacity: .35;
	cursor: default;
}

/* ---------- progress line ---------- */
.ecs-progress {
	position: relative;
	height: 1px;
	margin: 22px 0 28px;
	background: #dbe2e9;
	overflow: hidden;
}

.ecs-progress-bar {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 33%;
	background: #0f1f2e;
	transition: left var(--ecs-speed) ease, width var(--ecs-speed) ease;
}

/* ---------- slider ---------- */
.ecs-viewport { overflow: hidden; width: 100%; }

.ecs-track {
	position: relative;
	display: flex;
	gap: var(--ecs-gap);
	transition: transform var(--ecs-speed) cubic-bezier(.22, .61, .36, 1);
	will-change: transform;
}

.ecs-slide {
	flex: 0 0 calc((100% - (var(--ecs-visible) - 1) * var(--ecs-gap)) / var(--ecs-visible));
	min-width: 0;
	display: flex;
	flex-direction: column;
	padding-top: 24px;
	border-top: 1px solid #0f1f2e;
	transition: border-color .3s ease;
}

.ecs-client {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #0b5d8a;
	line-height: 1.4;
}

.ecs-industry {
	font-size: 12px;
	color: #6b7a88;
	line-height: 1.4;
	margin-top: 2px;
}

.ecs-stat {
	font-size: 56px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -.02em;
	color: #0b5d8a;
	margin-top: 34px;
}

.ecs-stat-label {
	font-size: 11px;
	color: #6b7a88;
	margin-top: 8px;
}

.ecs-card-title {
	font-size: 19px;
	font-weight: 700;
	line-height: 1.35;
	color: #0f1f2e;
	margin-top: 24px;
}

.ecs-desc {
	font-size: 13.5px;
	line-height: 1.65;
	color: #6b7a88;
	margin-top: 14px;
}

.ecs-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: auto;
	padding-top: 22px;
}

.ecs-tag {
	display: inline-block;
	padding: 5px 11px;
	border-radius: 999px;
	background: #dce9f3;
	color: #0b5d8a;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
	line-height: 1.2;
}

.ecs-read {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 8px;
	margin-top: 18px;
	margin-bottom: 4px;
	font-size: 12.5px;
	font-weight: 600;
	color: #0f1f2e;
	text-decoration: none !important;
	transition: color .25s ease;
}

.ecs-read-text {
	border-bottom: 1px solid #0f1f2e;
	padding-bottom: 2px;
}

.ecs-read svg {
	width: 14px;
	height: 14px;
	flex: 0 0 auto;
	transition: transform .25s ease;
}

a.ecs-read:hover svg { transform: translateX(4px); }

.ecs-slide:hover { border-top-color: #c4d600; }
