/* Case Study single layout */
.cs-case-study {
	padding-top: 50px;
}

/* Slideshow */
.cs-slideshow {
	position: relative;
	overflow: hidden;
	border-radius: 6px;
	background: #f5f5f5;
}

.cs-slideshow-track {
	display: flex;
	transition: transform 0.4s ease;
}

.cs-slide {
	flex: 0 0 100%;
	width: 100%;
	max-width: 100%;
}

.cs-slide img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
	max-height: 600px;
}

.cs-slide-prev,
.cs-slide-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	background: rgba(0, 0, 0, 0.5);
	color: #fff;
	border: none;
	font-size: 2em;
	width: 45px;
	height: 45px;
	cursor: pointer;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	transition: background 0.2s;
}

.cs-slide-prev:hover,
.cs-slide-next:hover {
	background: rgba(0, 0, 0, 0.75);
}

.cs-slide-prev { left: 15px; }
.cs-slide-next { right: 15px; }

.cs-slide-dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	padding: 15px 0;
}

.cs-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: 1px solid #999;
	background: transparent;
	cursor: pointer;
	padding: 0;
	transition: background 0.2s;
}

.cs-dot.active {
	background: #333;
	border-color: #333;
}

@media (max-width: 768px) {
	.cs-slide-prev,
	.cs-slide-next {
		width: 35px;
		height: 35px;
		font-size: 1.5em;
	}
}

/* Scope of Work columns */
.cs-scope-columns {
	display: flex;
	gap: 60px;
}

.cs-scope-col {
	flex: 0 1 300px;
}

.cs-scope-item {
	font-size: 1em;
	line-height: 1.6;
	color: #444;
	margin: 0 0 8px;
	padding-left: 15px;
	position: relative;
}

.cs-scope-item::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--main-theme, #005776);
}

/* Quote block */
.cs-quote p {
	font-size: 1.15em;
	line-height: 1.7;
	font-style: italic;
	color: #333;
	margin: 0 0 20px;
}

.cs-quote-footer {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.cs-quotee-name {
	font-style: normal;
	font-weight: 700;
	font-size: 1em;
	color: #222;
}

.cs-quotee-title {
	font-size: 0.9em;
	color: #666;
}

/* Video */
.cs-video-player .wp-video {
	width: 100% !important;
}

.cs-video-player video {
	width: 100%;
	border-radius: 6px;
}

/* Categories */
.cs-categories {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.cs-category-tag {
	display: inline-block;
	font-size: 0.75em;
	text-transform: uppercase;
	letter-spacing: 1px;
	padding: 4px 12px;
	border: 1px solid #ccc;
	border-radius: 3px;
	color: #666;
}

@media (max-width: 768px) {
	.cs-scope-columns {
		flex-direction: column;
		gap: 30px;
	}
}
