/* Case Studies archive: topic chips + even card grid (loaded only on /category/case-studies/) */
.cs-grid .dipl_blog_wrapper {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 44px 32px;
}
.cs-grid .dipl_blog_wrapper .dipl_blog_post {
	width: auto !important;
	margin: 0 !important;
	float: none !important;
	display: flex;
	flex-direction: column;
}
.cs-grid .dipl_blog_wrapper .dipl_blog_post.cs-hidden { display: none !important; }
.cs-grid .dipl_blog_post_image_wrapper img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	object-position: center;
	border-radius: 20px;
	box-shadow: 0 8px 24px rgba(15, 23, 42, .08);
	transition: transform .25s ease, box-shadow .25s ease;
}
.cs-grid .dipl_blog_post:hover .dipl_blog_post_image_wrapper img {
	transform: translateY(-3px);
	box-shadow: 0 14px 32px rgba(15, 23, 42, .14);
}
@media (max-width: 767px) {
	.cs-grid .dipl_blog_wrapper { grid-template-columns: 1fr; gap: 36px; }
}

/* topic pills on each card */
.cs-card-topics { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 2px; }
.cs-card-topic {
	font-size: 12px;
	line-height: 1;
	font-weight: 600;
	padding: 6px 10px;
	border-radius: 999px;
	background: #e8f1fb;
	color: #225cab;
}

/* filter chips */
.cs-filter { margin: 0 0 40px; text-align: center; }
.cs-filter__label {
	display: block;
	font-size: 13px;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #5b6b82;
	margin-bottom: 14px;
}
.cs-filter__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.cs-chip {
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	padding: 11px 16px;
	border-radius: 999px;
	border: 1.5px solid #c9d8ec;
	background: #fff;
	color: #225cab;
	cursor: pointer;
	transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.cs-chip:hover { border-color: #225cab; }
.cs-chip:focus-visible { outline: 3px solid #85ebf9; outline-offset: 2px; }
.cs-chip[aria-pressed="true"] { background: #225cab; border-color: #225cab; color: #fff; }
.cs-chip__count {
	display: inline-block;
	margin-left: 6px;
	padding: 3px 7px;
	border-radius: 999px;
	font-size: 12px;
	background: rgba(34, 92, 171, .1);
}
.cs-chip[aria-pressed="true"] .cs-chip__count { background: rgba(255, 255, 255, .22); }
.cs-filter__empty { display: none; margin-top: 24px; color: #5b6b82; }
.cs-filter__empty.is-visible { display: block; }
