@charset "utf-8";

/* 모든 업무 사례에 기존 flip 카드 UI를 사용하고 내용만 데이터에 따라 분기한다. */
.success-list-page .success-category-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 28px 0;
	border-bottom: 1px solid var(--pale);
}

.success-list-page .success-category-filter__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 8px 16px;
	border: 1px solid #cad6cf;
	border-radius: 999px;
	background: #fff;
	color: #53635b;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}

.success-list-page .success-category-filter__link:hover {
	border-color: var(--green);
	color: var(--green);
}

.success-list-page .success-category-filter__link--active {
	border-color: var(--green);
	background: var(--green);
	color: #fff;
}

.success-list-page .insight-list {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: stretch;
	gap: 24px;
	padding-top: 34px;
}

.success-list-page .list-empty {
	grid-column: 1 / -1;
}

/* Card foundation shared by the facts and story variants. */
.success-list-page .case-card-review {
	--case-accent: #475569;
	--case-accent-dark: #334155;
	--case-accent-soft: #f1f5f9;
	--case-ink: #17201b;
	--case-muted: #66736c;
	--case-border: #dce4df;
	width: 100%;
	height: 100%;
	min-height: 0;
	aspect-ratio: auto;
	padding: 0;
	border: 0;
	background: transparent;
	perspective: none;
	box-shadow: none;
	cursor: pointer;
}

.success-list-page .case-card-review--corporate {
	--case-accent: #234b78;
	--case-accent-dark: #173451;
	--case-accent-soft: #eaf1f8;
}

.success-list-page .case-card-review--personal {
	--case-accent: #087b72;
	--case-accent-dark: #075f59;
	--case-accent-soft: #e7f5f2;
}

.success-list-page .case-card-review:hover {
	transform: none;
	box-shadow: none;
}

.success-list-page .case-card-review__link {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 100%;
	height: 100%;
	min-height: 430px;
	padding: 24px;
	border: 1px solid var(--case-border);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(23, 32, 27, .07);
	color: inherit;
	text-decoration: none;
	transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.success-list-page .case-card-review__link:hover {
	transform: translateY(-5px);
	border-color: color-mix(in srgb, var(--case-accent) 35%, var(--case-border));
	box-shadow: 0 18px 40px rgba(23, 32, 27, .13);
}

.success-list-page .case-card-review__link:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--case-accent) 28%, transparent);
	outline-offset: 3px;
}

/* Header zone */
.success-list-page .case-card-review__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	min-height: 28px;
}

.success-list-page .case-card-review__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	min-width: 0;
	margin: 0;
}

.success-list-page .case-card-review__badge {
	padding: 5px 9px;
	border-radius: 999px;
	background: var(--case-accent-soft);
	color: var(--case-accent-dark);
	font-size: var(--sk-font-family);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -.02em;
}

.success-list-page .case-card-review__badge--primary {
	background: var(--case-accent);
	color: #fff;
}

.success-list-page .case-card-review__date {
	flex: 0 0 auto;
	padding-top: 5px;
	color: #89948e;
	font-size: 12px;
	font-variant-numeric: tabular-nums;
	line-height: 1.2;
}

.success-list-page .case-card-review__title {
	display: -webkit-box;
	min-height: 58px;
	margin: 22px 0 0;
	overflow: hidden;
	color: var(--case-ink);
	font-size: 21px;
	font-weight: 750;
	line-height: 1.38;
	letter-spacing: -.045em;
	word-break: keep-all;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.success-list-page .case-card-review .case-card-review__title .new_badge {
	display: inline-flex;
	margin-left: 5px;
	vertical-align: .15em;
}

/* Body zone */
.success-list-page .case-card-review__body {
	display: flex;
	flex: 1 1 auto;
	min-height: 176px;
	margin: 22px 0;
}

.success-list-page .case-card-review__stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-content: start;
	flex: 1 1 auto;
	gap: 8px;
	min-height: 100%;
	padding: 12px;
	border: 1px solid #edf0ee;
	border-radius: 10px;
	background: #f8f9fa;
}

.success-list-page .case-card-review__stat {
	display: flex;
	align-items: center;
	min-height: 66px;
	padding: 9px;
	border: 1px solid rgba(220, 228, 223, .9);
	border-radius: 8px;
	background: #fff;
}

.success-list-page .case-card-review__icon {
	display: inline-flex;
	flex: 0 0 30px;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 8px;
	background: var(--case-accent-soft);
	color: var(--case-accent);
	font-size: 28px;
}

.success-list-page .case-card-review__icon .solar-icon {
	color: var(--summary-icon-primary-color, var(--case-accent));
	--solar-secondary-color: var(--summary-icon-secondary-color, currentColor);
	--solar-secondary-opacity: var(--summary-icon-secondary-opacity, .3);
}

.success-list-page .case-card-review__stat-copy {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
	padding-left: 8px;
	border-left: 0;
}

.success-list-page .case-card-review__stat-label {
	overflow: hidden;
	color: #77827c;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.25;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.success-list-page .case-card-review__stat-value {
	color: var(--case-ink);
	font-size: 14px;
	font-weight: 750;
	line-height: 1.3;
	letter-spacing: -.035em;
	word-break: keep-all;
}

.success-list-page .case-card-review__stat:first-child .case-card-review__stat-value {
	color: var(--case-accent);
}

.success-list-page .case-card-review__summary-block {
	width: 100%;
	min-height: 100%;
	padding: 16px 18px;
	border-radius: 0 10px 10px 0;
	background: #f8f9fa;
}

.success-list-page .case-card-review__fallback-summary {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	color: #495057;
	font-size: 14px;
	line-height: 1.6;
	letter-spacing: -.025em;
	word-break: normal;
}

/* Footer zone */
.success-list-page .case-card-review__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 51px;
	padding-top: 16px;
	border-top: 1px solid var(--case-border);
}

.success-list-page .case-card-review__keywords {
	display: flex;
	flex: 1 1 auto;
	flex-wrap: wrap;
	gap: 6px;
	min-width: 0;
}

.success-list-page .case-card-review__keyword {
	display: inline-flex;
	align-items: center;
	max-width: 100%;
	padding: 5px 9px;
	overflow: hidden;
	border-radius: 999px;
	background: var(--case-accent-soft);
	color: var(--case-accent-dark);
	font-size: 12px;
	font-weight: 650;
	line-height: 1.2;
	letter-spacing: -.02em;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.success-list-page .case-card-review__more {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--case-accent);
	color: #fff;
	font-size: 15px;
	transition: transform .2s ease, background-color .2s ease;
}

.success-list-page .case-card-review__link:hover .case-card-review__more {
	transform: translate(2px, -2px);
	background: var(--case-accent-dark);
}

@media (min-width: 720px) {
	.success-list-page .insight-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1080px) {
	.success-list-page .insight-list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 575.98px) {
	.success-list-page .success-category-filter {
		flex-wrap: nowrap;
		overflow-x: auto;
		padding: 22px 0;
		scrollbar-width: none;
	}

	.success-list-page .success-category-filter::-webkit-scrollbar {
		display: none;
	}

	.success-list-page .success-category-filter__link {
		flex: 0 0 auto;
	}

	.success-list-page .case-card-review {
		width: 100%;
		margin: 0;
		border-radius: 0;
	}

	.success-list-page .case-card-review__link {
		min-height: 410px;
		padding: 20px;
	}

	.success-list-page .case-card-review__title {
		font-size: 20px;
	}

	.success-list-page .case-card-review__body {
		min-height: 158px;
	}

	.success-list-page .case-card-review__stats {
		padding: 9px;
	}

	.success-list-page .case-card-review__stat {
		padding: 7px;
	}

	.success-list-page .case-card-review__icon {
		flex-basis: 27px;
		width: 27px;
		height: 27px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.success-list-page .case-card-review__link,
	.success-list-page .case-card-review__more {
		transition: none;
	}
}

/* 선경 v2 업무 사례: 사건 구분은 텍스트로, 색은 브랜드 한 계열로 통일. */
.theme-sunkyung .sunkyung-success .success-category-filter {
	flex-wrap: wrap;
	gap: 12px;
	padding-block: 28px;
}

.theme-sunkyung .sunkyung-success .success-category-filter__link {
	min-height: 48px;
	padding: 12px 20px;
	border-color: var(--sk-color-border);
	border-radius: var(--sk-radius-control);
	color: var(--sk-color-muted);
	font-size: var(--sk-font-small);
}

.theme-sunkyung .sunkyung-success .success-category-filter__link--active {
	border-color: var(--sk-color-brand);
	background: var(--sk-color-brand);
	color: var(--sk-color-white);
}

.theme-sunkyung .sunkyung-success .insight-list {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px;
	padding-top: 28px;
}

.theme-sunkyung .sunkyung-success .case-card-review {
	--case-accent: var(--sk-color-brand);
	--case-accent-dark: var(--sk-color-deep);
	--case-accent-soft: var(--sk-color-surface);
	--case-ink: var(--sk-color-ink);
	--case-muted: var(--sk-color-muted);
	--case-border: var(--sk-color-border);
}

.theme-sunkyung .sunkyung-success .case-card-review__link {
	min-height: 440px;
	padding: var(--sk-space-card);
	border-radius: var(--sk-radius-card);
	background: var(--sk-color-surface);
	box-shadow: none;
}

.theme-sunkyung .sunkyung-success .case-card-review__link:hover {
	border-color: var(--sk-color-brand);
	background: var(--sk-color-white);
	box-shadow: none;
	transform: translateY(-3px);
}

.theme-sunkyung .sunkyung-success .case-card-review__title {
	display: block;
	min-height: 0;
	font-size: var(--sk-font-card);
	font-weight: 600;
	line-height: 1.45;
	overflow-wrap: anywhere;
}

.theme-sunkyung .sunkyung-success .case-card-review__stats {
	gap: 12px;
	padding: 0;
	border: 0;
	background: transparent;
}

.theme-sunkyung .sunkyung-success .case-card-review__stat {
	min-height: 104px;
	padding: 14px 16px;
	border-color: var(--sk-color-border);
}

.theme-sunkyung .sunkyung-success .case-card-review__icon {
	flex-basis: 42px;
	width: 42px;
	height: 42px;
	font-size: 38px;
}

.theme-sunkyung .sunkyung-success .case-card-review__stat-copy {
	padding-left: 12px;
}

.theme-sunkyung .sunkyung-success .case-card-review__stat-label {
	font-size: var(--sk-font-small);
	line-height: 1.35;
}

.theme-sunkyung .sunkyung-success .case-card-review__stat-value {
	font-size: clamp(18px, 1.4vw, 22px);
	line-height: 1.35;
}

.theme-sunkyung .sunkyung-success .case-card-review__fallback-summary {
	color: var(--sk-color-muted);
	font-size: var(--sk-font-body);
	line-height: 1.8;
}

.theme-sunkyung .sunkyung-success :is(.case-card-review__date, .case-card-review__keyword) {
	color: var(--sk-color-muted);
	font-size: var(--sk-font-family);
}

@media (max-width: 767.98px) {
	.theme-sunkyung .sunkyung-success .insight-list {
		grid-template-columns: minmax(0, 1fr);
	}
	.theme-sunkyung .sunkyung-success .case-card-review__link {
		min-height: 0;
	}
}
