/* 수행사례 — case.php */
.cs-intro {
	padding: clamp(80px, 8.3vw, 160px) 0;
}

.cs-intro__split {
	display: flex;
	flex-wrap: wrap;
	gap: clamp(24px, 6.7vw, 129px);
	align-items: flex-start;
	margin-top: 32px;
}

.cs-intro__split .ff-heading {
	flex: 1 1 320px;
	max-width: 648px;
	font-size: clamp(32px, 2.8125vw, 54px);
}

.cs-intro__split .ff-body {
	flex: 1 1 280px;
	max-width: 700px;
	padding-top: 6px;
}

.cs-intro__visual {
	position: relative;
	margin-top: 60px;
	aspect-ratio: 1530 / 480;
	overflow: hidden;
	background: #000;
}

.cs-intro__visual img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 38%;
}

.cs-intro__visual::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.2);
}

.cs-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(28px, 3.1vw, 60px);
	margin: 80px 0 0;
	padding: 0;
	list-style: none;
}

.cs-stat__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

.cs-stat__top strong {
	display: block;
	color: #030303;
	font-size: clamp(20px, 1.35vw, 26px);
	font-weight: 700;
	line-height: 1.35;
}

.cs-stat__top > div span {
	display: block;
	margin-top: 12px;
	color: #747474;
	font-size: clamp(16px, 1.05vw, 20px);
	font-weight: 500;
	line-height: 1.5;
}

.cs-stat__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	flex-shrink: 0;
}

.cs-stat__num {
	display: flex;
	align-items: flex-end;
	gap: 6px;
	margin: 24px 0 0;
	padding-top: 32px;
	border-top: 1px solid #737373;
	color: #000;
	line-height: 1;
}

.cs-stat__num b {
	font-size: clamp(52px, 4.7vw, 90px);
	font-weight: 700;
	letter-spacing: -2px;
	line-height: 0.85;
}

.cs-stat__num em,
.cs-stat__num i {
	font-style: normal;
	font-weight: 600;
	line-height: 1;
}

.cs-stat__num em {
	font-size: clamp(24px, 2.2vw, 42px);
}

.cs-stat__num i {
	font-size: clamp(32px, 2.8vw, 54px);
}

.cs-industry {
	position: relative;
	padding: clamp(80px, 8vw, 140px) 0 clamp(72px, 7vw, 120px);
	overflow: hidden;
}

.cs-industry__bg {
	position: absolute;
	inset: 0;
	background: #000;
}

.cs-industry__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.58;
}

.cs-industry__head,
.cs-industry__viewport {
	position: relative;
	z-index: 1;
}

.cs-industry__head {
	text-align: center;
}

.cs-industry__head .ff-heading {
	margin-top: 32px;
	font-size: clamp(32px, 2.8125vw, 54px);
}

.cs-industry__viewport {
	margin-top: 80px;
	overflow-x: auto;
	scrollbar-width: none;
	cursor: grab;
}

/* 핀 구간 — 세로 스크롤이 카드 가로 이동으로 쓰임 */
.cs-industry.is-pin {
	display: flex;
	flex-direction: column;
	justify-content: center;
	box-sizing: border-box;
	height: 100vh;
	height: 100dvh;
	padding: clamp(24px, 5vh, 72px) 0;
	overflow: hidden;
}

.cs-industry.is-pin .cs-industry__viewport {
	margin-top: clamp(28px, 4vh, 64px);
	overflow: hidden;
	cursor: default;
}

.cs-industry__viewport::-webkit-scrollbar,
.cs-centers__viewport::-webkit-scrollbar {
	display: none;
}

.cs-industry__viewport.is-dragging,
.cs-centers__viewport.is-dragging {
	cursor: grabbing;
	user-select: none;
}

.cs-industry__track {
	display: flex;
	gap: 24px;
	width: max-content;
	padding: 0 var(--ff-pad, 20px);
}

.cs-field {
	display: flex;
	flex-direction: column;
	gap: 32px;
	width: min(494px, 82vw);
	padding-bottom: 47px;
	background: #fff;
	color: #030303;
	text-decoration: none;
}

.cs-field__img {
	height: 245px;
	overflow: hidden;
	background: #000;
}

.cs-field__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cs-field__img--bottom img {
	object-position: center bottom;
}

.cs-field__body {
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding: 0 24px;
}

.cs-field__body strong {
	font-size: clamp(24px, 1.67vw, 32px);
	font-weight: 700;
	line-height: 1.35;
}

.cs-field__body p {
	margin: 0;
	color: #747474;
	font-size: clamp(16px, 1.05vw, 20px);
	font-weight: 500;
	line-height: 1.5;
}

.cs-field__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.cs-field__tags {
	display: flex;
	align-items: center;
	gap: 10px;
}

.cs-field__badge {
	display: inline-flex;
	align-items: center;
	padding: 8px 16px;
	border-radius: 50px;
	background: #16279d;
	color: #fff;
	font-size: 18px;
	font-weight: 500;
	line-height: 1;
}

.cs-field__count {
	color: #1c50bf;
	font-size: 18px;
	font-weight: 500;
	line-height: 1;
}

.cs-cases {
	padding-top: clamp(80px, 8.3vw, 160px);
}

.cs-cases__head {
	text-align: center;
}

.cs-cases__head .ff-heading {
	margin-top: 32px;
	font-size: clamp(32px, 2.8125vw, 54px);
}

.cs-tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-top: 60px;
}

.cs-tabs__btn {
	padding: 20px 24px;
	border: 0;
	border-radius: 300px;
	background: #f0f0f0;
	color: #030303;
	font-family: "Pretendard", sans-serif;
	font-size: 20px;
	font-weight: 500;
	line-height: 1.35;
	cursor: pointer;
}

.cs-tabs__btn.is-active {
	background: #16279d;
	color: #fff;
}

.cs-cases__body {
	margin-top: 60px;
	padding: 100px 0 120px;
	background: #f5f6f8;
}

.cs-panel__top {
	display: flex;
	flex-wrap: wrap;
	gap: 60px;
	align-items: flex-start;
}

.cs-panel__copy {
	flex: 1 1 420px;
	min-width: min(100%, 320px);
	padding-top: 24px;
}

.cs-panel__copy h3,
.cs-centers h3 {
	margin: 0;
	color: #030303;
	font-weight: 700;
	line-height: 1.35;
}

.cs-panel__copy h3 {
	font-size: clamp(28px, 2.2vw, 42px);
}

.cs-panel__copy .ff-body {
	margin-top: 24px;
}

.cs-metrics {
	display: flex;
	flex-direction: column;
	gap: 46px;
	margin: 60px 0 0;
	padding: 0;
	list-style: none;
}

.cs-metric {
	display: flex;
	flex-wrap: wrap;
	gap: clamp(16px, 3vw, 60px);
	align-items: flex-start;
}

.cs-metric__label {
	display: flex;
	align-items: center;
	gap: 24px;
	width: min(100%, 184px);
	flex-shrink: 0;
}

.cs-metric__label strong {
	color: #030303;
	font-size: clamp(20px, 1.35vw, 26px);
	font-weight: 700;
	line-height: 1.35;
}

.cs-metric__lines {
	flex: 1 1 220px;
	padding-left: 16px;
	border-left: 1px solid #ccc;
}

.cs-metric__lines p {
	margin: 0;
	color: #747474;
	font-size: clamp(16px, 1.05vw, 20px);
	font-weight: 500;
	line-height: 1.5;
}

.cs-metric__lines p + p {
	margin-top: 6px;
}

.cs-panel__photo {
	flex: 1 1 480px;
	height: clamp(220px, 28vw, 487px);
	min-width: min(100%, 320px);
	overflow: hidden;
	background: #000;
}

.cs-panel__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cs-centers {
	margin-top: 100px;
	padding-top: 60px;
	border-top: 1px solid #b3b3b3;
}

.cs-centers h3 {
	font-size: clamp(24px, 1.67vw, 32px);
}

.cs-centers__viewport {
	margin-top: 32px;
	overflow-x: auto;
	scrollbar-width: none;
	cursor: grab;
}

.cs-centers__list {
	display: flex;
	gap: 24px;
	width: max-content;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cs-center {
	width: min(365px, 78vw);
	background: #fff;
}

.cs-center__thumb {
	height: 230px;
	overflow: hidden;
	background: #000;
}

.cs-center__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cs-center__thumb--bottom img {
	object-position: center bottom;
}

.cs-center__thumb--logo {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #dde3f0;
}

.cs-center__thumb--logo img {
	width: auto;
	height: auto;
	max-width: 164px;
	object-fit: contain;
}

.cs-center__body {
	padding: 24px 24px 40px;
}

.cs-center__meta {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	color: #16279d;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.4;
}

.cs-center__body strong {
	display: block;
	margin-top: 16px;
	color: #030303;
	font-size: clamp(22px, 1.35vw, 26px);
	font-weight: 700;
	line-height: 1.35;
}

.cs-center__body dl {
	margin: 24px 0 0;
}
.cs-center__body dl div {
	display: flex;
	gap: 18px;
	align-items: flex-start;
	margin-bottom:5px;
}
.cs-center__body dl div:last-child{margin-bottom:0;}

.cs-center__body dt {
	width: 70px;
	flex-shrink: 0;
	color: #747474;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.5;
}

.cs-center__body dd {
	margin: 0;
	color: #333;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.5;
}

.cs-centers__bar {
	position: relative;
	height: 4px;
	margin-top: 60px;
	background: #d9d9d9;
}

.cs-centers__bar span {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	background: #16279d;
}

.cs-etc {
	padding: clamp(80px, 8.3vw, 160px) 0;
}

.cs-etc .ff-heading {
	margin-top: 32px;
	font-size: clamp(32px, 2.8125vw, 54px);
}

.cs-etc .ff-body {
	margin-top: 32px;
}

.cs-table-wrap {
	margin-top: 80px;
	overflow-x: auto;
}

.cs-table {
	width: 100%;
	min-width: 980px;
	border-collapse: collapse;
}

.cs-table th,
.cs-table td {
	padding: 28px 16px;
	text-align: center;
	font-size: 20px;
	line-height: 1.4;
	letter-spacing: 0;
}

.cs-table thead th {
	padding-top: 26px;
	padding-bottom: 26px;
	background: #16279d;
	color: #fff;
	font-weight: 600;
}

.cs-table tbody th,
.cs-table tbody td {
	border-bottom: 1px solid #ccc;
	color: #333;
	font-weight: 500;
}

.cs-table tbody th {
	font-weight: 700;
}

.cs-table tbody td:last-child {
	color: #16279d;
	font-weight: 600;
}

.cs-page .ff-cta__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.14);
}

.cs-page .ff-cta__bg img {
	opacity: 1;
	object-position: center bottom;
}

@media screen and (max-width: 1399px) {
	.cs-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: 48px;
	}

	.cs-cases__body {
		padding: 72px 0 80px;
	}

	.cs-centers {
		margin-top: 72px;
	}

	.cs-page .ff-cta__inner {
		flex-direction: column;
		justify-content: flex-end;
	}

	.cs-page .ff-cta__btns {
		position: static;
		margin-top: 32px;
	}
}

@media screen and (max-width: 812px) {
	.cs-stats {
		grid-template-columns: 1fr;
	}

	.cs-tabs__btn {
		padding: 14px 18px;
		font-size: 16px;
	}

	.cs-field__badge,
	.cs-field__count,
	.cs-center__body dt,
	.cs-center__body dd {
		font-size: 15px;
	}

	.cs-table th,
	.cs-table td {
		padding: 18px 12px;
		font-size: 15px;
	}

	.cs-metric__lines {
		padding-left: 0;
		border-left: 0;
		padding-top: 8px;
	}

	.cs-page .ff-cta {
		min-height: 560px;
		padding: 48px 20px;
	}

	.cs-page .ff-cta__btns {
		flex-direction: column;
		align-items: flex-start;
		height: auto;
	}
}
