/* 더썸컴퍼니 블로그 – 홈페이지와 같은 검정 배경 · 흰 글씨 · 파란 포인트 */
.tsome-blog {
	--tsb-bg: #000;
	--tsb-surface: #111;
	--tsb-line: rgba(255, 255, 255, 0.14);
	--tsb-text: rgba(255, 255, 255, 0.82);
	--tsb-muted: rgba(255, 255, 255, 0.55);
	--tsb-head: #fff;
	--tsb-accent: #1f6fd1;
	--tsb-accent-hover: #4a8fe6;
	--tsb-font: "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
	--tsb-display: Poppins, "Noto Sans KR", sans-serif;
	background: var(--tsb-bg);
}
.tsome-blog .l-canvas,
.tsome-blog .l-main.tsb { background: var(--tsb-bg); }

.tsb { color: var(--tsb-text); font-family: var(--tsb-font); }
.tsb a { color: inherit; text-decoration: none; }
.tsb-wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.tsb-narrow { max-width: 780px; }

/* ── 목록 상단 ── */
.tsb-hero { padding: clamp(120px, 14vw, 180px) 0 48px; border-bottom: 1px solid var(--tsb-line); }
.tsb-eyebrow { margin: 0 0 16px; font: 500 13px/1 var(--tsb-display); letter-spacing: 0.2em; color: var(--tsb-muted); }
.tsb-hero-title { margin: 0; font: 700 clamp(48px, 8vw, 96px)/1 var(--tsb-display); color: var(--tsb-head); letter-spacing: -0.02em; }
.tsb-dot { color: var(--tsb-accent); }
.tsb-hero-desc { max-width: 640px; margin-top: 24px; font-size: 17px; line-height: 1.7; color: var(--tsb-text); }
.tsb-hero-desc p { margin: 0; }

.tsb-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.tsb-filter a {
	padding: 9px 18px; border: 1px solid var(--tsb-line); border-radius: 999px;
	font-size: 14px; color: var(--tsb-muted); transition: all .2s;
}
.tsb-filter a:hover { color: var(--tsb-head); border-color: rgba(255, 255, 255, 0.4); }
.tsb-filter a[aria-current="page"] { background: var(--tsb-head); border-color: var(--tsb-head); color: #000; }

/* ── 카드 목록 ── */
.tsb-list { padding: 56px 0 120px; }
.tsb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 32px; }
.tsb-card { display: flex; flex-direction: column; }
.tsb-card-thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--tsb-surface); }
.tsb-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tsb-card:hover .tsb-card-thumb img { transform: scale(1.04); }
.tsb-card-thumb-empty {
	display: flex; align-items: center; justify-content: center; height: 100%;
	font: 700 22px var(--tsb-display); letter-spacing: 0.1em; color: rgba(255, 255, 255, 0.2);
}
.tsb-card-body { padding-top: 20px; }
.tsb-cat { display: inline-block; font-size: 13px; font-weight: 500; color: var(--tsb-accent) !important; }
.tsb-cat:hover { color: var(--tsb-accent-hover) !important; }
.tsb .tsb-card-title { margin: 10px 0 0; font: 700 20px/1.45 var(--tsb-font); color: var(--tsb-head); letter-spacing: -0.01em; }
.tsb-card-title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tsb-card-excerpt {
	margin: 12px 0 0; font-size: 15px; line-height: 1.65; color: var(--tsb-muted);
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.tsb-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 16px; font-size: 13px; color: var(--tsb-muted); }
.tsb-meta > * + *::before { content: "·"; margin-right: 14px; }
.tsb-empty { padding: 80px 0; text-align: center; color: var(--tsb-muted); }

.tsb-pagination { margin-top: 72px; }
.tsb-pagination .nav-links { display: flex; justify-content: center; gap: 6px; }
.tsb-pagination .page-numbers {
	min-width: 42px; height: 42px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid var(--tsb-line); font-size: 14px; color: var(--tsb-muted);
}
.tsb-pagination .page-numbers.current { background: var(--tsb-head); color: #000; border-color: var(--tsb-head); }
.tsb-pagination a.page-numbers:hover { color: var(--tsb-head); border-color: rgba(255, 255, 255, 0.4); }

/* ── 글 상세 ── */
.tsb-article-head { padding: clamp(120px, 13vw, 170px) 0 40px; }
.tsb-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--tsb-muted); }
.tsb-breadcrumb a:hover { color: var(--tsb-head); }
.tsb .tsb-article-title { margin: 20px 0 0; font: 700 clamp(30px, 4.2vw, 46px)/1.3 var(--tsb-font); color: var(--tsb-head); letter-spacing: -0.02em; }
.tsb-article-lead { margin: 20px 0 0; font-size: 19px; line-height: 1.7; color: var(--tsb-text); }
.tsb-article-head .tsb-meta { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--tsb-line); }
.tsb-author { color: var(--tsb-head); font-weight: 500; }

.tsb-article-cover { margin: 0 auto 56px; max-width: 1240px; }
.tsb-article-cover img { width: 100%; height: auto; display: block; }

.tsb-content { font-size: 18px; line-height: 1.85; color: var(--tsb-text); word-break: keep-all; overflow-wrap: break-word; }
.tsb-content > * { margin: 0 0 1.4em; }
.tsb .tsb-content h2 { margin: 2.4em 0 0.8em; font: 700 28px/1.4 var(--tsb-font); color: var(--tsb-head); letter-spacing: -0.01em; }
.tsb .tsb-content h3 { margin: 2em 0 0.6em; font: 700 22px/1.45 var(--tsb-font); color: var(--tsb-head); }
.tsb .tsb-content h4 { margin: 1.6em 0 0.5em; font: 700 19px/1.5 var(--tsb-font); color: var(--tsb-head); }
.tsb-content strong { color: var(--tsb-head); }
.tsb-content a { color: var(--tsb-accent-hover); text-decoration: underline; text-underline-offset: 3px; }
.tsb-content ul, .tsb-content ol { padding-left: 1.3em; }
.tsb-content li { margin-bottom: 0.5em; }
.tsb-content li::marker { color: var(--tsb-accent); }
.tsb-content blockquote {
	margin: 2em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--tsb-accent);
	font-size: 20px; color: var(--tsb-head); font-style: normal;
}
.tsb-content img, .tsb-content figure { max-width: 100%; height: auto; }
.tsb-content figcaption { margin-top: 10px; font-size: 14px; color: var(--tsb-muted); text-align: center; }
.tsb-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.tsb-content th, .tsb-content td { padding: 12px 14px; border-bottom: 1px solid var(--tsb-line); text-align: left; }
.tsb-content th { color: var(--tsb-head); font-weight: 700; background: var(--tsb-surface); }
.tsb-content hr { border: 0; border-top: 1px solid var(--tsb-line); margin: 3em 0; }

.tsb-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 48px 0 0; padding: 0; list-style: none; }
.tsb-tags a { display: inline-block; padding: 6px 14px; background: var(--tsb-surface); font-size: 14px; color: var(--tsb-muted); }
.tsb-tags a:hover { color: var(--tsb-head); }

.tsb-author-box { margin-top: 56px; padding: 28px 0; border-top: 1px solid var(--tsb-line); border-bottom: 1px solid var(--tsb-line); }
.tsb-author-box p { margin: 0; }
.tsb-author-box-label { font-size: 13px; color: var(--tsb-muted); }
.tsb-author-box-name { margin-top: 6px !important; font-size: 18px; font-weight: 700; color: var(--tsb-head); }
.tsb-author-box-bio { margin-top: 10px !important; font-size: 15px; line-height: 1.7; color: var(--tsb-muted); }

.tsb-cta { margin: 56px 0 0; padding: 40px; background: var(--tsb-surface); border-left: 4px solid var(--tsb-accent); }
.tsb-cta p { margin: 0; }
.tsb-cta-title { font-size: 22px; font-weight: 700; line-height: 1.45; color: var(--tsb-head); }
.tsb-cta-desc { margin-top: 10px !important; font-size: 15px; line-height: 1.7; color: var(--tsb-muted); }
.tsb .tsb-cta-btn {
	display: inline-block; margin-top: 24px; padding: 14px 28px; background: var(--tsb-accent);
	font-size: 15px; font-weight: 700; color: #fff; transition: background .2s;
}
.tsb .tsb-cta-btn:hover { background: var(--tsb-accent-hover); }

.tsb-related { padding: 96px 0 120px; margin-top: 96px; border-top: 1px solid var(--tsb-line); }
.tsb .tsb-section-title { margin: 0 0 40px; font: 700 28px/1.3 var(--tsb-font); color: var(--tsb-head); }

/* ── 반응형 ── */
@media (max-width: 1024px) {
	.tsb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.tsb-wrap { padding: 0 16px; }
	.tsb-grid { grid-template-columns: 1fr; gap: 40px; }
	.tsb-hero { padding-bottom: 32px; }
	.tsb-filter { margin-top: 28px; flex-wrap: nowrap; overflow-x: auto; margin-right: -16px; padding-right: 16px; scrollbar-width: none; }
	.tsb-filter a { flex: none; }
	.tsb-content { font-size: 17px; }
	.tsb .tsb-content h2 { font-size: 24px; }
	.tsb-article-cover { margin-bottom: 40px; }
	.tsb-cta { padding: 28px 24px; }
	.tsb-related { padding: 64px 0 80px; margin-top: 64px; }
}

/* ── 테마 기본 스타일 덮어쓰기 ── */
.tsb h1, .tsb h2, .tsb h3, .tsb h4 { padding: 0; }
.tsb .tsb-card-title { margin-top: 8px; }
.tsb-content blockquote::before { display: none !important; }
.tsb-content blockquote p { margin: 0; font-size: inherit; line-height: 1.6; }
.tsb .tsb-content th { background: var(--tsb-surface) !important; color: var(--tsb-head) !important; }
.tsb .tsb-content td { background: transparent !important; color: var(--tsb-text); }
.tsb-hero-desc { max-width: none; }
@media (min-width: 1100px) { .tsb-hero-desc p { white-space: nowrap; } }
