/* =========================================================
   JB IT SOLUTIONS — PROJECTEN / CASES
   Bestand: 64-projecten.css
   ========================================================= */

.jb-cases-page,
.jb-cases-page * {
	box-sizing: border-box;
}

.jb-cases-hero {
	padding: clamp(4rem, 7vw, 6.5rem) 0;
	color: #ffffff;
	background: linear-gradient(135deg, #252b2f, #383e42);
}

.jb-cases-hero__inner {
	max-width: 850px;
}

.jb-cases-hero h1 {
	max-width: 760px;
	margin: 0.5rem 0 1rem;
	color: #ffffff;
	font-size: clamp(2.4rem, 5vw, 4.5rem);
	line-height: 0.98;
	letter-spacing: -0.045em;
}

.jb-cases-hero p:last-child {
	max-width: 720px;
	margin: 0;
	color: rgba(255, 255, 255, 0.76);
	font-size: 1.05rem;
	line-height: 1.75;
}

.jb-cases-index {
	padding: 2rem 0;
	background: #f4f5f6;
}

.jb-cases-index__list {
	display: flex;
	gap: 0.65rem;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
	list-style: none;
}

.jb-cases-index__list a {
	display: inline-flex;
	padding: 0.65rem 0.85rem;
	border: 1px solid rgba(56, 62, 66, 0.12);
	border-radius: 999px;
	color: #383e42;
	background: #ffffff;
	font-weight: 800;
	text-decoration: none;
}

.jb-cases-index__list a:hover,
.jb-cases-index__list a:focus-visible {
	border-color: #ff8c00;
	color: #ff8c00;
}

.jb-case-study {
	scroll-margin-top: 110px;
	padding: clamp(4rem, 7vw, 6rem) 0;
	background: #ffffff;
}

.jb-case-study:nth-of-type(even) {
	background: #f4f5f6;
}

.jb-case-study__header {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
	gap: 2rem;
	align-items: start;
	margin-bottom: 2.5rem;
}

.jb-case-study__header h2 {
	margin: 0.4rem 0 0.8rem;
	color: #252b2f;
	font-size: clamp(2rem, 4vw, 3.4rem);
	line-height: 1.05;
}

.jb-case-study__summary {
	max-width: 760px;
	margin: 0;
	color: #5b6267;
	line-height: 1.75;
}

.jb-case-study__website {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 1rem;
	border-radius: 9px;
	color: #ffffff;
	background: #383e42;
	font-weight: 850;
	text-decoration: none;
}

.jb-case-study__website:hover,
.jb-case-study__website:focus-visible {
	color: #ffffff;
	background: #ff8c00;
}

.jb-case-study__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.jb-case-study__block {
	padding: clamp(1.35rem, 2.5vw, 2rem);
	border: 1px solid rgba(56, 62, 66, 0.1);
	border-radius: 16px;
	background: #ffffff;
	box-shadow: 0 14px 35px rgba(31, 36, 40, 0.05);
}

.jb-case-study:nth-of-type(odd) .jb-case-study__block {
	background: #f8f9f9;
}

.jb-case-study__block h3 {
	margin: 0 0 0.65rem;
	color: #252b2f;
	font-size: 1.05rem;
}

.jb-case-study__block p,
.jb-case-study__block li {
	color: #5b6267;
	line-height: 1.7;
}

.jb-case-study__block p {
	margin: 0;
}

.jb-case-study__block ul {
	margin: 0;
	padding-left: 1.1rem;
}

.jb-case-study__tech {
	display: flex;
	gap: 0.45rem;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
	list-style: none;
}

.jb-case-study__tech li {
	padding: 0.4rem 0.6rem;
	border-radius: 999px;
	color: #383e42;
	background: rgba(255, 140, 0, 0.1);
	font-size: 0.82rem;
	font-weight: 800;
}

@media (max-width: 780px) {
	.jb-case-study__header,
	.jb-case-study__grid {
		grid-template-columns: 1fr;
	}
}
