@charset "utf-8";
/* 스킨 도우미 — 목록 하단 추천 콘텐츠 상자 (첫 화면 · 분류 목록, 페이지 번호 아래)
   구조: section.tc-feature > div.tc-feature__item > (a|span).tc-feature__thumb > img
                                                   + p.tc-feature__text + a.tc-feature__btn
   스킨에서 바꾸고 싶으면 style.css / custom.css 에서 같은 선택자로 덮어쓰면 됩니다. */
.tc-feature {
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 56px 0 8px; padding: 28px 0; border: 1px solid #e3e3e3; border-radius: 16px; background: #fff;
}
.tc-feature__item { display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: 0 26px; border-left: 1px solid #e3e3e3; }
.tc-feature__item:first-child { border-left: 0; }
.tc-feature__thumb { display: block; overflow: hidden; border-radius: 10px; background: #eee; aspect-ratio: 16 / 9; }
.tc-feature__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
a.tc-feature__thumb:hover img { transform: scale(1.03); }
.tc-feature__text {
	flex: 1 1 auto; margin: 0; font-size: 15px; line-height: 1.7; color: #555;
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.tc-feature__btn {
	align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 18px;
	border: 1px solid #1f1f1f; border-radius: 20px; color: #1f1f1f; font-size: 14px; font-weight: 600; text-decoration: none;
	transition: background .15s, color .15s;
}
.tc-feature__btn:hover { background: #1f1f1f; color: #fff; text-decoration: none; }

/* 태블릿·모바일: 세로 한 줄로 쌓고, 구분선은 위쪽 가로선으로 */
@media (max-width: 760px) {
	.tc-feature { grid-template-columns: 1fr; margin-top: 40px; padding: 0 20px; }
	.tc-feature__item { padding: 22px 0; border-left: 0; border-top: 1px solid #e3e3e3; }
	.tc-feature__item:first-child { border-top: 0; }
}
