/* DKI Case Study Slider */

/* ── Wrapper / overflow clip ─────────────────────────────────── */
.dki-cs-wrapper {
	position: relative;
	overflow: hidden;
}

/* ── Track ───────────────────────────────────────────────────── */
.dki-cs-track {
	display: flex;
	gap: 24px;
	align-items: stretch;
	transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
	will-change: transform;
}

/* ── Slide ───────────────────────────────────────────────────── */
.dki-cs-slide {
	flex-shrink: 0;
	min-width: 900px;
	width: calc(100% - 120px); /* ~120px peek of next slide */
	box-sizing: border-box;
}

/* ── Card ────────────────────────────────────────────────────── */
.dki-cs-card {
	display: flex;
	flex-direction: row;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
	overflow: hidden;
	padding: 24px;
	gap: 32px;
	height: 100%;
	box-sizing: border-box;
}

/* ── Image ───────────────────────────────────────────────────── */
.dki-cs-image-wrap {
	flex-shrink: 0;
	width: 42%;
	border-radius: 8px;
	overflow: hidden;
}

.dki-cs-image-link {
	display: block;
	height: 100%;
	min-height: 260px;
}

.dki-cs-image-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}

.dki-cs-image-link:hover img {
	transform: scale(1.04);
}

/* ── Content ─────────────────────────────────────────────────── */
.dki-cs-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	min-width: 0;
}

/* ── Title ───────────────────────────────────────────────────── */
.dki-cs-title {
	font-size: clamp(22px, 2.2vw, 28px);
	font-weight: 700;
	line-height: 1.25;
	margin: 0 0 14px;
	color: #1a1a1a;
}

.dki-cs-title-link {
	color: inherit;
	text-decoration: none;
}

.dki-cs-title-link:hover {
	text-decoration: underline;
}

/* ── Excerpt ─────────────────────────────────────────────────── */
.dki-cs-excerpt {
	font-size: clamp(14px, 1.3vw, 16px);
	line-height: 1.65;
	color: #444;
	margin: 0 0 16px;
	flex: 1;
}

/* ── Read More ───────────────────────────────────────────────── */
.dki-cs-readmore {
	display: inline-block;
	font-size: 16px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #0062cc;
	text-decoration: underline;
	margin-bottom: 20px;
	align-self: flex-start;
	transition: color 0.2s;
}

.dki-cs-readmore:hover {
	color: #004a99;
	text-decoration: underline;
}

/* ── Divider ─────────────────────────────────────────────────── */
.dki-cs-divider {
	border: none;
	border-top: 1px solid #e0e0e0;
	margin: 0 0 16px;
}

/* ── Terms ───────────────────────────────────────────────────── */
.dki-cs-terms {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: auto;
}

.dki-cs-term {
	font-size: 14px;
	font-weight: 400;
	padding: 5px 14px;
	background: #f7f7f7;
	border: 1px solid #d8d8d8;
	border-radius: 4px;
	color: #333;
	white-space: nowrap;
	line-height: 1.4;
}

/* ── Navigation ──────────────────────────────────────────────── */
.dki-cs-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 20px;
	gap: 20px;
}

.dki-cs-progress-wrap {
	flex: 1;
	height: 3px;
	background: rgba(0, 0, 0, 0.12);
	border-radius: 3px;
	overflow: hidden;
}

.dki-cs-progress-bar {
	height: 100%;
	background: #0062cc;
	border-radius: 3px;
	transition: width 0.4s ease;
}

.dki-cs-nav-buttons {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}

.dki-cs-prev,
.dki-cs-next {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	font-weight: 600;
	color: #1a1a1a;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	transition: color 0.2s, opacity 0.2s;
	white-space: nowrap;
}

.dki-cs-prev:hover,
.dki-cs-next:hover {
	color: #0062cc;
}

.dki-cs-prev:disabled,
.dki-cs-next:disabled {
	opacity: 0;
	pointer-events: none;
}

.dki-cs-btn-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #0062cc;
	color: #fff;
	flex-shrink: 0;
	transition: background 0.2s;
}

.dki-cs-prev:hover .dki-cs-btn-icon,
.dki-cs-next:hover .dki-cs-btn-icon {
	background: #004a99;
}

.dki-cs-btn-icon svg {
	width: 16px;
	height: 16px;
	stroke: #fff;
	fill: none;
	display: block;
}

/* hide nav when only 1 slide */
.dki-cs-wrapper[data-total="1"] .dki-cs-nav {
	display: none;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 767px) {
	.dki-cs-card {
		padding: 14px;
		gap: 14px;
	}
}
