/**
 * MCW Case Studies CSS
 */

/*--------------------------------------------------------------
# Case Study Cards
--------------------------------------------------------------*/

.mcw-case-index {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 25px;
	margin: 0 0 30px;
}

.mcw-case-card {
	display: block;
	margin: 0;
	padding: 0;
	background: #ffffff;
	border: 1px solid #d9e2f3;
	border-left: 4px solid #8da8d9;
	border-radius: 6px;
	box-shadow: 0 4px 14px rgba(30, 50, 100, 0.10);
	overflow: hidden;
	transition:
		box-shadow 0.2s ease,
		transform 0.2s ease,
		border-color 0.2s ease;
}

.mcw-case-card:hover {
	border-color: #8da8d9;
	box-shadow: 0 6px 18px rgba(30, 50, 100, 0.16);
	transform: translateY(-2px);
}

.mcw-case-card-link {
	display: block;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.mcw-case-card-image-wrap {
	width: 100%;
	margin: 0;
	padding: 0;
	background: #f6f8fc;
	border: 0;
	border-bottom: 1px solid #e4e9f3;
	border-radius: 0;
	overflow: hidden;
}

.mcw-case-card-image {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	padding: 0;
	border: 0;
}

.mcw-case-card-content {
	padding: 16px 18px 18px;
}

.mcw-case-card-meta {
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 700;
	color: #8da8d9;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.mcw-case-card-title {
	margin: 0 0 10px;
	padding: 0;
	font-size: 18px;
	line-height: 1.3;
	color: #1e3264;
}

.mcw-case-card-summary {
	margin: 0 0 12px;
	font-size: 14px;
	line-height: 1.55;
	color: #1f2a44;
}

.mcw-case-card-summary p {
	margin: 0 0 8px;
}

.mcw-case-card-button {
	display: inline-block;
	margin-top: 4px;
	font-size: 13px;
	font-weight: 700;
	color: #1e3264;
}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/

.mcw-case-breadcrumbs {
	margin: 0;
	padding: 0;
	font-size: 14px;
	line-height: 1.4;
}

.mcw-case-breadcrumbs-list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.mcw-case-breadcrumbs-item {
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0;
	color: #555;
}

.mcw-case-breadcrumbs-item:not(:last-child)::after {
	content: ">";
	display: inline-block;
	margin-left: 6px;
	color: #999;
}

.mcw-case-breadcrumbs-item a {
	color: inherit;
	text-decoration: none;
}

.mcw-case-breadcrumbs-item a:hover {
	text-decoration: underline;
}

.mcw-case-breadcrumbs-item span {
	color: #222;
	font-weight: 600;
}

/*--------------------------------------------------------------
# Case Study Content
--------------------------------------------------------------*/

.mcw-case-content {
	margin: 0 0 35px;
}

.mcw-case-summary-box {
	margin: 0 0 30px;
	padding: 20px;
	background: #f6f8fc;
	border-left: 4px solid #8da8d9;
	border-radius: 6px;
	font-size: 15px;
	line-height: 1.6;
	color: #1f2a44;
}

.mcw-case-summary-box div {
	margin: 0 0 6px;
}

.mcw-case-summary-box div:last-child {
	margin-bottom: 0;
}

.mcw-case-intro {
	margin: 0 0 30px;
	font-size: 18px;
	line-height: 1.65;
	color: #1f2a44;
}

.mcw-case-intro p {
	margin: 0 0 16px;
}

.mcw-case-content-blocks {
	margin: 0;
	padding: 0;
}

.mcw-case-content-block {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
	align-items: center;
	margin: 0 0 40px;
	padding: 0;
}

.mcw-case-content-block-no-image {
	display: block;
}

.mcw-case-content-block-image-above,
.mcw-case-content-block-image-full_width {
	display: block;
}

.mcw-case-block-text {
	margin: 0;
	padding: 0;
	color: #1f2a44;
}

.mcw-case-block-text h2 {
	margin: 0 0 14px;
	padding: 0;
	font-size: 26px;
	line-height: 1.25;
	color: #1e3264;
}

.mcw-case-block-text p {
	margin: 0 0 15px;
	font-size: 17px;
	line-height: 1.7;
}

.mcw-case-block-text ul {
	margin: 0 0 18px 22px;
	padding: 0;
}

.mcw-case-block-text li {
	margin: 0 0 7px;
	font-size: 17px;
	line-height: 1.6;
}

.mcw-case-block-image-wrap {
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
}

.mcw-case-block-image {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 6px;
}

.mcw-case-block-image-wrap-full {
	margin: 20px 0 0;
}

.mcw-case-block-button {
	display: inline-block;
	margin-top: 8px;
	font-weight: 700;
	text-decoration: none;
}

/*--------------------------------------------------------------
# Related Content
--------------------------------------------------------------*/

.mcw-case-related {
	margin: 35px 0 0;
	padding: 0;
}

.mcw-case-related-section {
	margin: 0 0 30px;
	padding: 0;
}

.mcw-case-related-section h2 {
	margin: 0 0 15px;
	padding: 0;
	font-size: 24px;
	color: #1e3264;
}

.mcw-case-related-list,
.mcw-case-downloads,
.mcw-case-videos {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.mcw-case-related-pill,
.mcw-case-download,
.mcw-case-video-link {
	display: inline-block;
	padding: 9px 14px;
	background: #f6f8fc;
	border: 1px solid #d9e2f3;
	border-left: 4px solid #8da8d9;
	border-radius: 4px;
	text-decoration: none;
	color: #1e3264;
	font-size: 14px;
	font-weight: 700;
}

.mcw-case-related-pill:hover,
.mcw-case-download:hover,
.mcw-case-video-link:hover {
	background: #1e3264;
	border-color: #1e3264;
	color: #ffffff;
}

.mcw-case-related-documents {
	margin: 0 0 0 20px;
	padding: 0;
}

.mcw-case-related-documents li {
	margin: 0 0 7px;
}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/

@media (max-width: 980px) {
	.mcw-case-index {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mcw-case-content-block {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	.mcw-case-index {
		grid-template-columns: 1fr;
	}

	.mcw-case-card-content {
		padding: 16px;
	}

	.mcw-case-block-text h2 {
		font-size: 22px;
	}

	.mcw-case-block-text p,
	.mcw-case-block-text li {
		font-size: 16px;
		line-height: 1.65;
	}
}