.cscs-slider {
	position: relative;
	padding: 0 64px;
	box-sizing: border-box;
}

.cscs-viewport {
	overflow: hidden;
}

.cscs-track {
	display: flex;
	align-items: flex-start;
	width: 100%;
	will-change: transform;
}

.cscs-slide {
	flex: 0 0 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.cscs-slide-inner {
	display: flex;
	flex-direction: column;
	background: #ffffff;
	border-radius: 16px;
	padding: 40px;
	box-sizing: border-box;
}

.cscs-slide-heading {
	font-size: 26px;
	font-weight: 700;
	color: #1a1a1a;
	margin-bottom: 24px;
}

.cscs-slide-row {
	display: flex;
	align-items: stretch;
	gap: 40px;
}

/* Media (video + photo + info) column */
.cscs-media-col {
	flex: 0 0 var(--cscs-media-width, 50%);
	max-width: var(--cscs-media-width, 50%);
	display: flex;
	flex-direction: column;
	gap: 16px;
	box-sizing: border-box;
}

.cscs-video-wrap {
	position: relative;
	width: 100%;
	padding-top: 56.25%; /* 16:9 */
	border-radius: 8px;
	overflow: hidden;
	background: #000;
}

.cscs-video-wrap iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.cscs-video-thumb {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.cscs-video-play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 68px;
	height: 48px;
	border: 0;
	background: transparent;
	padding: 0;
	cursor: pointer;
	filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
	transition: transform 0.15s ease;
}

.cscs-video-play:hover {
	transform: translate(-50%, -50%) scale(1.08);
}

.cscs-media-foot {
	display: flex;
	align-items: center;
	gap: 16px;
}

.cscs-person-photo img {
	display: block;
	width: 120px;
	height: 120px;
	object-fit: cover;
	border-radius: 12px;
	flex-shrink: 0;
}

.cscs-info-block {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.cscs-case-title {
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #888;
	line-height: 1.3;
}

.cscs-person-name {
	font-size: 24px;
	font-weight: 700;
	color: #1a1a1a;
	line-height: 1.3;
}

.cscs-person-title {
	font-weight: 400;
	color: #888;
	margin-left: 4px;
}

.cscs-company-name {
	font-size: 17px;
	font-weight: 400;
	color: #555;
}

/* Info block placed below the photo instead of beside it */
.cscs-info-below .cscs-media-foot {
	flex-direction: column;
	align-items: flex-start;
	text-align: left;
}

/* Description column */
.cscs-desc-col {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
}

.cscs-quote-icon {
	display: block;
	width: 40px;
	height: 40px;
	color: #e5e7eb;
	margin-bottom: 12px;
	flex-shrink: 0;
}

.cscs-quote-icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

.cscs-description {
	font-size: 16px;
	font-style: italic;
	line-height: 1.7;
	color: #444;
}

.cscs-description p:first-child {
	margin-top: 0;
}

.cscs-description p:last-child {
	margin-bottom: 0;
}

/* Media on the right: reverse the column order */
.cscs-media-right .cscs-slide-row {
	flex-direction: row-reverse;
}

/* Arrows */
.cscs-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: #1a1a1a;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 2;
	padding: 0;
	transition: opacity 0.2s ease;
}

.cscs-arrow:hover {
	opacity: 0.85;
}

.cscs-arrow-prev {
	left: 0;
}

.cscs-arrow-next {
	right: 0;
}

.cscs-arrow[disabled] {
	opacity: 0.3;
	cursor: default;
}

/* Dots */
.cscs-dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 16px;
}

.cscs-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	border: 0;
	background: #d5d5d5;
	padding: 0;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.cscs-dot.is-active {
	background: #1a1a1a;
}

/* Responsive stacking */
@media (max-width: 767px) {
	.cscs-slider {
		padding: 0 0px;
	}

	.cscs-slide-heading {
		font-size: 20px;
		margin-bottom: 16px;
	}

	.cscs-stack-mobile .cscs-slide-inner {
		padding: 20px;
	}

	.cscs-stack-mobile .cscs-slide-row {
		gap: 20px;
	}

	.cscs-stack-mobile .cscs-slide-row {
		flex-direction: column;
	}

	.cscs-stack-mobile .cscs-media-col {
		flex: 0 0 auto;
		max-width: 100%;
	}

	.cscs-stack-mobile .cscs-arrow {
		width: 30px;
		height: 30px;
	}
}
