.inCasePage {
	background: #f6f9fb
}
.caseWrap {
	width: min(1240px, calc(100% - 40px));
	margin: auto
}
.caseHero, .caseContent {
	padding: 90px 0
}

.caseGallery {
	padding: 0 0 90px 0
}

.heroGrid, .contentGrid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center
}
.heroImage img, .contentImage img {
	width: 100%;
	display: block;
	border-radius: 18px
}
.heroImage img {
	height: 520px;
	object-fit: cover;
}
.caseKicker {
	color: #0789c8;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .2em
}
.heroText h2, .contentText h2, .galleryHead h2 {
	font-size: 42px;
	margin: 14px 0
}
.heroTag {
	display: inline-block;
	background: #0789c8;
	color: #fff;
	padding: 8px 16px;
	border-radius: 999px;
	margin-bottom: 18px
}
.heroText p, .contentText p {
	line-height: 2;
	color: #5c6d78
}
.galleryHead {
	display: flex;
	justify-content: space-between;
	align-items: end;
	margin-bottom: 40px
}
.galleryGrid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px
}
.galleryGrid a {
	display: block;
	overflow: hidden;
	border-radius: 14px;
	background: #ddd
}
.galleryGrid img {
	width: 100%;
	aspect-ratio: 4/3;
	object-fit: cover;
	display: block;
	transition: .4s
}
.galleryGrid a:hover img {
	transform: scale(1.08)
}
.backCase {
	text-align: center;
	margin-top: 50px
}
.backCase a {
	display: inline-flex;
	padding: 14px 28px;
	border: 1px solid #0789c8;
	border-radius: 999px;
	color: #0789c8;
	font-weight: 700
}
.backCase a:hover {
	background: #0789c8;
	color: #fff
}
@media(max-width:900px) {
	.heroGrid, .contentGrid {
		grid-template-columns: 1fr
	}
	.galleryGrid {
		grid-template-columns: repeat(2, 1fr)
	}
	.heroText h2, .contentText h2, .galleryHead h2 {
		font-size: 32px
	}
	.heroImage img {
	height: 420px;
	}
}
@media(max-width:640px) {
	.caseHero, .caseContent {
		padding: 60px 0;
	}
	.caseGallery {
	padding: 0 0 0 60px;
	}
	.galleryHead {
		display: block;
	}
	.galleryHead p {
		margin-top: 10px;
	}
	.galleryGrid {
		grid-template-columns: 1fr;
	}
	.heroText h2, .contentText h2, .galleryHead h2 {
		font-size: 28px;
	}
	.heroImage img {
	height: 350px;
	}
}