﻿@charset "utf-8";

/* ============================================================
   mcat04 — 테마 컬렉션형
   에디터 큐레이션 테마별 수평 스크롤 스트립
   ============================================================ */

/* 헤더 배경 — 크림 히어로 전용 (layout.css 공통값 override) */
body.page-light-header #header,
body.page-light-header #header.on,
body.page-light-header #header.act {
	background-color: #f5f3ef !important;
}

.tc-wrap {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 60px;
}

/* ============================================================
   히어로
   ============================================================ */
.tc-hero {
	background: #f5f3ef;
	padding: 160px 60px 100px;
	min-height: 80vh;
	display: flex;
	align-items: flex-end;
}

.tc-hero-inner {
	max-width: 1200px;
	margin: 0 auto;
	width: 100%;
}

.tc-hero-label {
	font-size: clamp(14px, calc(4px + 1.4vw), 18px);
	font-weight: 700;
	color: rgba(0, 0, 0, 0.35);
	margin-bottom: 28px;
	opacity: 0;
}

.tc-hero-tit {
	font-size: clamp(52px, calc(24px + 5.5vw), 110px);
	font-weight: 900;
	color: #111827;
	font-family: var(--font-sub-title);
	line-height: 1.05;
	margin-bottom: 28px;
	clip-path: inset(0 100% 0 0);
}

.tc-hero-sub {
	font-size: clamp(16px, calc(4px + 1.5vw), 20px);
	color: rgba(0, 0, 0, 0.5);
	margin-bottom: 64px;
	opacity: 0;
}

/* 테마 목록 */
.tc-hero-themes {
	display: flex;
	flex-direction: column;
	gap: 0;
	border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.tc-hero-theme {
	display: flex;
	align-items: center;
	gap: 24px;
	padding: 20px 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	opacity: 0;
	transform: translateY(12px);
}

.tc-theme-num {
	font-size: clamp(14px, calc(4px + 1.4vw), 18px);
	font-weight: 700;
	color: rgba(0, 0, 0, 0.25);
	font-variant-numeric: tabular-nums;
	min-width: 24px;
}

.tc-theme-name {
	font-size: clamp(18px, calc(6px + 1.8vw), 26px);
	font-weight: 700;
	color: #111827;
	font-family: var(--font-sub-title);
}

.tc-hero-theme-link {
	display: flex;
	align-items: center;
	gap: 24px;
	width: 100%;
	color: inherit;
	transition: opacity 0.2s;
}

.tc-hero-theme-link:hover {
	opacity: 0.6;
}

.tc-theme-arrow {
	margin-left: auto;
	font-size: clamp(18px, calc(6px + 1.8vw), 26px);
	color: rgba(0, 0, 0, 0.25);
	transition: transform 0.25s ease;
}

.tc-hero-theme-link:hover .tc-theme-arrow {
	transform: translateY(4px);
}

/* ============================================================
   컬렉션 섹션
   ============================================================ */
.tc-collection {
	padding: 80px 0 72px;
	border-top: 1px solid var(--color-border);
}

.tc-collection--alt {
	background: var(--color-bg-sub);
}

/* 섹션 헤더 */
.tc-col-head {
	margin-bottom: 40px;
}

.tc-col-meta {
	display: flex;
	align-items: flex-start;
	gap: 32px;
}

.tc-col-num {
	font-size: clamp(52px, calc(30px + 4vw), 88px);
	font-weight: 900;
	color: var(--color-border);
	font-family: var(--font-sub-title);
	line-height: 1;
	flex-shrink: 0;
	margin-top: -8px;
}

.tc-col-text {
	padding-top: 8px;
}

.tc-col-tit {
	font-size: clamp(22px, calc(10px + 2vw), 36px);
	font-weight: 800;
	color: var(--color-text-main);
	font-family: var(--font-sub-title);
	margin-bottom: 10px;
}

.tc-col-desc {
	font-size: clamp(15px, calc(3px + 1.5vw), 19px);
	color: var(--color-text-sub);
}

/* ── 수평 스크롤 스트립 ── */
.tc-strip {
	padding: 0 60px;
	overflow-x: auto;
	scrollbar-width: none;
	-ms-overflow-style: none;
	cursor: grab;
	user-select: none;
}

.tc-strip::-webkit-scrollbar {
	display: none;
}

.tc-strip.is-dragging {
	cursor: grabbing;
}

.tc-track {
	display: flex;
	gap: 24px;
	width: max-content;
}

/* ── 카드 ── */
.tc-card {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: clamp(240px, 32vw, 420px);
	flex-shrink: 0;
}

.tc-card-img {
	aspect-ratio: 4 / 3;
	border-radius: 14px;
	overflow: hidden;
}

.tc-card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.tc-card:hover .tc-card-img img {
	transform: scale(1.05);
}

.tc-card-body {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.tc-card-cat {
	font-size: clamp(14px, calc(4px + 1.4vw), 18px);
	font-weight: 600;
	color: var(--color-primary);
}

.tc-card-tit {
	font-size: clamp(18px, calc(6px + 1.6vw), 24px);
	font-weight: 700;
	color: var(--color-text-main);
	font-family: var(--font-sub-title);
}

.tc-card-date {
	font-size: clamp(14px, calc(4px + 1.4vw), 18px);
	color: var(--color-text-muted);
}

/* ============================================================
   아웃트로
   ============================================================ */
.tc-outro {
	padding: 80px 0 100px;
	border-top: 1px solid var(--color-border);
}

.tc-outro-inner {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.tc-outro-label {
	font-size: clamp(14px, calc(4px + 1.4vw), 18px);
	font-weight: 700;
	color: var(--color-text-muted);
}

.tc-outro-tit {
	font-size: clamp(28px, calc(14px + 2.5vw), 48px);
	font-weight: 800;
	color: var(--color-text-main);
	font-family: var(--font-sub-title);
	line-height: 1.2;
}

.tc-outro-links {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.tc-outro-card {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.tc-outro-img {
	aspect-ratio: 3 / 2;
	border-radius: 12px;
	overflow: hidden;
}

.tc-outro-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.45s ease;
}

.tc-outro-card:hover .tc-outro-img img {
	transform: scale(1.05);
}

.tc-outro-name {
	font-size: clamp(16px, calc(4px + 1.5vw), 20px);
	font-weight: 700;
	color: var(--color-text-main);
}

/* ============================================================
   커스텀 드래그 커서
   ============================================================ */
.tc-cursor {
	position: fixed;
	top: 0;
	left: 0;
	width: 130px;
	height: 130px;
	background: rgba(17, 24, 39, 0.88);
	border-radius: 50%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	pointer-events: none;
	z-index: 9999;
	opacity: 0;
	transition: opacity 0.35s ease;
	will-change: transform;
}

.tc-cursor.is-visible {
	opacity: 1;
}

.tc-cursor-text {
	font-size: 14px;
	font-weight: 700;
	color: #fff;
	text-transform: uppercase;
}

.tc-cursor-arrows {
	font-size: 20px;
	color: rgba(255, 255, 255, 0.65);
}

/* 스트립 위에서 기본 커서 숨김 */
.tc-strip {
	cursor: none;
}

/* 터치 기기에서 커서 숨김 */
@media (hover: none) {
	.tc-cursor { display: none; }
	.tc-strip  { cursor: grab; }
}

/* ============================================================
   반응형 — 999px
   ============================================================ */
@media all and (max-width: 999px) {
	.tc-hero {
		padding: 140px 32px 80px;
	}

	.tc-wrap {
		padding: 0 32px;
	}

	.tc-strip {
		padding: 0 32px;
	}

	.tc-col-meta {
		gap: 20px;
	}
}

/* ============================================================
   반응형 — 768px
   ============================================================ */
@media all and (max-width: 768px) {
	.tc-hero {
		padding: 120px 20px 60px;
		min-height: auto;
		align-items: flex-start;
		padding-top: 100px;
	}

	.tc-hero-themes {
		margin-top: 0;
	}

	.tc-hero-theme {
		padding: 16px 0;
	}

	.tc-wrap {
		padding: 0 20px;
	}

	.tc-strip {
		padding: 0 20px;
	}

	.tc-collection {
		padding: 60px 0 56px;
	}

	.tc-col-meta {
		flex-direction: column;
		gap: 12px;
	}

	.tc-col-num {
		font-size: clamp(40px, 10vw, 64px);
		margin-top: 0;
	}

	.tc-card {
		width: clamp(220px, 55vw, 320px);
	}

	.tc-outro {
		padding: 60px 0 80px;
	}

	.tc-outro-links {
		grid-template-columns: 1fr;
		gap: 32px;
	}
}

/* ============================================================
   반응형 — 499px
   ============================================================ */
@media all and (max-width: 499px) {
	.tc-hero-themes {
		margin-bottom: 0;
	}

	.tc-card {
		width: clamp(200px, 70vw, 280px);
	}

	.tc-outro-links {
		grid-template-columns: 1fr 1fr;
		gap: 20px;
	}

	.tc-outro-links .tc-outro-card:last-child {
		display: none;
	}
}
