/* ==========================================================================
   트리닥터 (treedoctor.co.kr) — 새 디자인 v2
   흰 배경 · 진한 초록(#1E6B4A) · 푸터(#123F2C) · 핫픽 빨강(#C8281A)
   GeneratePress 위에 얹는 브랜드 레이어 + 홈/글 페이지 레이아웃
   --------------------------------------------------------------------------
   목차
   0. 토큰·기본
   1. 헤더·메뉴·검색
   2. 레이아웃(컨테이너·단일글 2단)
   3. 홈 — 히어로(많이 찾는 가이드)·핫픽·계산기·섹션·주제·홈 광고
   4. 글 페이지 — 칩·제목·기준일·대표이미지·요약·목차·본문·표·FAQ·공식자료·도움됐어요·관련글
   5. 공통 컴포넌트 — 카드·광고·쿠팡·목차·댓글·위아래·라이트박스·검색패널·진행바
   6. 목록/아카이브·검색 결과
   7. 푸터
   8. 반응형
   ========================================================================== */

/* -------------------------------------------------------------------------- */
/* 0. 토큰·기본                                                                */
/* -------------------------------------------------------------------------- */
:root {
	--td-green-900: #123F2C;   /* 푸터·제목 */
	--td-green-700: #1E6B4A;   /* 포인트 */
	--td-green-600: #2F6247;   /* 푸터 구분선 */
	--td-green-100: #DCEBE3;
	--td-green-50: #EAF3EE;    /* 요약 박스 */
	--td-green-25: #F4F8F5;    /* 도구 카드 */
	--td-red-700: #C8281A;     /* 핫픽 */
	--td-red-200: #F2D4CF;
	--td-red-50: #FFF6F4;
	--td-ink: #1B2420;
	--td-ink-2: #3A4540;
	--td-muted: #5A655F;
	--td-line: #E3E8E4;
	--td-line-2: #D4DDD7;
	--td-line-3: #C9D3CD;
	--td-gray: #F4F6F3;
	--td-paper: #FAFAF7;
	--td-white: #FFFFFF;
	--td-radius: 12px;
	--td-radius-sm: 10px;
	--td-shadow: 0 10px 30px rgba(27, 36, 32, .06);
	--td-header-h: 76px;
	--td-wrap: 1200px;
	--td-font: "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Segoe UI", Roboto, sans-serif;
}

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body.td-body,
body.td-v2 {
	margin: 0;
	font-family: var(--td-font);
	font-size: 18px;
	line-height: 1.9;
	color: var(--td-ink);
	background: var(--td-white);
	word-break: keep-all;
	overflow-wrap: break-word;
	-webkit-font-smoothing: antialiased;
}

a { color: var(--td-green-700); text-decoration: none; }
a:hover { color: var(--td-green-900); text-decoration: underline; text-underline-offset: 3px; }

::selection { background: var(--td-green-100); color: var(--td-green-900); }

img { max-width: 100%; height: auto; }

.td-wrap { max-width: var(--td-wrap); margin: 0 auto; padding-left: 24px; padding-right: 24px; box-sizing: border-box; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px;
	word-wrap: normal !important;
}

/* 관리자바 여백 */
body.admin-bar { --td-admin: 32px; }
@media screen and (max-width: 782px) { body.admin-bar { --td-admin: 46px; } }

/* -------------------------------------------------------------------------- */
/* 1. 헤더·메뉴·검색                                                           */
/* -------------------------------------------------------------------------- */
.td-hdr-wrap {
	position: sticky;
	top: 0;
	z-index: 900;
	background: var(--td-white);
	box-shadow: 0 1px 0 var(--td-line);
}
body.admin-bar .td-hdr-wrap { top: 32px; }
@media screen and (max-width: 782px) { body.admin-bar .td-hdr-wrap { top: 46px; } }

.site-header {
	background: var(--td-white);
	border-bottom: 0;
	position: static;
}
.site-header > .inside-header {
	max-width: var(--td-wrap);
	margin: 0 auto;
	padding: 0 24px;
	min-height: 76px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	box-sizing: border-box;
}
.site-branding { display: flex; align-items: center; min-width: 0; }
.site-header .main-title,
.site-header .site-title { margin: 0; font-size: 22px; font-weight: 900; line-height: 1.2; letter-spacing: -0.01em; }
.site-header .main-title a,
.site-header .site-title a { color: var(--td-green-900); display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.site-header .main-title a::before,
.site-header .site-title a::before {
	content: "";
	width: 36px; height: 36px; flex: 0 0 auto;
	background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36' fill='none'%3E%3Ccircle cx='18' cy='14' r='10' stroke='%231E6B4A' stroke-width='2.5'/%3E%3Cpath d='M18 24v9M18 28l5-5M18 26l-5-5' stroke='%231E6B4A' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.site-description { margin: 2px 0 0; font-size: 12px; line-height: 1.4; color: var(--td-muted); font-weight: 400; }

/* 헤더 도구(검색·공유) */
.td-head-tools { display: flex; align-items: center; gap: 10px; flex: 0 1 auto; min-width: 0; }
.td-search { position: relative; }
.td-search__form {
	display: flex; align-items: center; position: relative;
	width: 380px; max-width: 100%; height: 44px;
	background: var(--td-gray);
	border: 1px solid var(--td-line-3);
	border-radius: 999px;
	padding: 0 16px 0 42px;
	box-sizing: border-box;
	transition: border-color .15s, background .15s, box-shadow .15s;
}
.td-search__form:focus-within { background: #fff; border-color: var(--td-green-700); box-shadow: 0 0 0 3px rgba(30, 107, 74, .12); }
.td-search__icon { position: absolute; left: 14px; top: 13px; width: 18px; height: 18px; color: var(--td-muted); }
.td-search__input {
	border: 0 !important; background: transparent !important; box-shadow: none !important;
	width: 100%; min-width: 0; height: 42px; line-height: 42px; padding: 0 !important;
	font-family: inherit; font-size: 15px; color: var(--td-ink); outline: none;
}
.td-search__input::placeholder { color: var(--td-muted); }
.td-search__input::-webkit-search-cancel-button { display: none; }
.td-search__toggle {
	display: none; align-items: center; justify-content: center;
	width: 44px; height: 44px; border-radius: 999px;
	border: 1px solid var(--td-line-3); background: #fff; color: var(--td-ink);
	cursor: pointer;
}
.td-search__toggle svg { width: 22px !important; height: 22px !important; min-width: 22px; flex: 0 0 22px; }
.td-search__panel {
	position: absolute; top: calc(100% + 8px); right: 0; width: 380px; max-width: calc(100vw - 32px);
	max-height: 68vh; overflow: auto; background: #fff;
	border: 1px solid var(--td-line); border-radius: 12px;
	box-shadow: 0 18px 40px rgba(27, 36, 32, .14); padding: 6px; z-index: 950;
}
.td-search__panel[hidden] { display: none; }
.td-search__item { display: block; padding: 10px 12px; border-radius: 8px; color: var(--td-ink); font-size: 15px; line-height: 1.5; text-decoration: none; }
.td-search__item small { display: block; margin-top: 2px; color: var(--td-muted); font-size: 12px; }
.td-search__item:hover, .td-search__item[aria-selected="true"] { background: var(--td-green-50); color: var(--td-green-900); }
.td-search__item b { color: var(--td-green-700); }
.td-search__empty { margin: 0; padding: 14px 12px; color: var(--td-muted); font-size: 14px; }
.td-search__all { display: block; padding: 12px; margin-top: 4px; border-top: 1px solid var(--td-line); text-align: center; font-size: 14px; font-weight: 700; color: var(--td-green-700); }

.td-share-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	height: 44px; padding: 0 16px; border-radius: 999px;
	border: 1px solid var(--td-line-3); background: #fff; color: var(--td-green-700);
	font-family: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
	transition: background .15s, border-color .15s;
}
.td-share-btn svg { width: 17px; height: 17px; }
.td-share-btn:hover { background: var(--td-green-50); border-color: var(--td-green-700); }

/* 주 메뉴 */
.main-navigation {
	background: var(--td-white);
	border-top: 1px solid var(--td-line);
	border-bottom: 1px solid var(--td-line);
}
.main-navigation .inside-navigation {
	max-width: var(--td-wrap); margin: 0 auto; padding: 0 24px;
	display: flex; align-items: center; box-sizing: border-box;
}
.main-navigation .main-nav { width: 100%; }
.main-navigation .main-nav ul {
	display: flex; flex-wrap: wrap; align-items: center;
	gap: 4px 28px; margin: 0; padding: 0; list-style: none;
}
.main-navigation .main-nav ul li { margin: 0; position: relative; }
.main-navigation .main-nav ul li a {
	display: inline-flex; align-items: center; min-height: 50px;
	padding: 14px 0; font-size: 16px; font-weight: 500; color: var(--td-ink);
	border-bottom: 3px solid transparent; text-decoration: none;
}
.main-navigation .main-nav ul li a:hover { color: var(--td-green-700); text-decoration: none; }
.main-navigation .main-nav ul li.current-menu-item > a,
.main-navigation .main-nav ul li.current-menu-ancestor > a,
.main-navigation .main-nav ul li.current_page_item > a {
	color: var(--td-green-900); font-weight: 700; border-bottom-color: var(--td-green-700);
}
/* 핫픽 메뉴(오늘의 이슈 카테고리) */
.main-navigation .main-nav ul li a[href*="silshigan-sokbo"] { color: var(--td-red-700); font-weight: 700; }
.main-navigation .main-nav ul li a[href*="silshigan-sokbo"]::before {
	content: ""; width: 16px; height: 16px; margin-right: 6px; flex: 0 0 auto;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3c1 4 5 6 5 11a5 5 0 0 1-10 0c0-2 1-3 2-4 0 2 1 3 2 3 0-4-1-6 1-10z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3c1 4 5 6 5 11a5 5 0 0 1-10 0c0-2 1-3 2-4 0 2 1 3 2 3 0-4-1-6 1-10z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.menu-toggle { display: none !important; }

/* -------------------------------------------------------------------------- */
/* 2. 레이아웃                                                                 */
/* -------------------------------------------------------------------------- */
.site-content { padding: 32px 0 0; background: var(--td-white); }
.site-content .grid-container,
.site-content > .grid-container { max-width: var(--td-wrap); padding-left: 24px; padding-right: 24px; }
#page.site { background: var(--td-white); }

/* 단일 글: 본문 + 오른쪽 300px */
body.td-single #main.site-main,
#main.td-single-main {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 48px;
	align-items: start;
	max-width: var(--td-wrap);
	margin: 0 auto;
	padding: 24px 24px 0;
	box-sizing: border-box;
}
body.td-single #main.site-main > article,
#main.td-single-main > article { grid-column: 1; min-width: 0; max-width: 760px; }
body.td-single #main.site-main > .comments-area,
#main.td-single-main > .comments-area,
body.td-single #main.site-main > .paging-navigation,
#main.td-single-main > .paging-navigation { grid-column: 1; max-width: 760px; }
#td-side-toc { display: none; }

@media (min-width: 1025px) {
	#td-side-toc {
		display: block; grid-column: 2; grid-row: 1 / span 3;
		position: sticky; top: calc(var(--td-header-h) + 20px);
		max-height: calc(100vh - var(--td-header-h) - 40px);
		overflow: auto; overscroll-behavior: contain;
	}
	body.admin-bar #td-side-toc { top: calc(var(--td-header-h) + 52px); max-height: calc(100vh - var(--td-header-h) - 72px); }
}
@media (max-width: 1024px) {
	body.td-single #main.site-main,
	#main.td-single-main { display: block; padding: 16px 16px 0; }
	body.td-single #main.site-main > article,
	#main.td-single-main > article { max-width: none; }
	#td-side-toc { display: none !important; }
}

/* -------------------------------------------------------------------------- */
/* 3. 홈                                                                       */
/* -------------------------------------------------------------------------- */
.td-home { max-width: var(--td-wrap); margin: 0 auto; padding: 32px 24px 0; box-sizing: border-box; }
.td-home p { margin: 0; }

/* 섹션 제목 */
.td-sechead {
	display: flex; align-items: baseline; justify-content: space-between;
	flex-wrap: wrap; gap: 8px;
	border-bottom: 2px solid var(--td-ink);
	padding-bottom: 12px; margin-bottom: 24px;
}
.td-sechead h2 { margin: 0; font-size: 22px; font-weight: 900; line-height: 1.4; letter-spacing: -0.01em; }
.td-sechead span { font-size: 13px; color: var(--td-muted); }
.td-sechead a { font-size: 14px; font-weight: 700; color: var(--td-green-700); white-space: nowrap; }

/* 히어로 70:30 */
.td-hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(300px, 3fr); gap: 32px; align-items: stretch; }
.td-hero__main { min-width: 0; }
.td-hero__side { min-width: 0; display: flex; flex-direction: column; gap: 24px; }

/* 큰 카드 */
.td-lead { display: flex; flex-wrap: wrap; gap: 24px; margin-bottom: 32px; color: inherit; }
.td-lead:hover { text-decoration: none; }
.td-lead__media { flex: 1 1 320px; min-width: 0; }
.td-lead__thumb {
	display: block; width: 100%; aspect-ratio: 3 / 2;
	border-radius: 12px; overflow: hidden; background: var(--td-green-100);
}
.td-lead__thumb img { width: 100%; height: 100%; object-fit: contain; display: block; background: #F3F6F2; }
.td-lead__body { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.td-lead__cat { font-size: 13px; font-weight: 700; color: var(--td-green-700); }
.td-lead__title { margin: 0; font-size: 28px; font-weight: 900; line-height: 1.35; color: var(--td-green-900); letter-spacing: -0.015em; }
.td-lead:hover .td-lead__title { text-decoration: underline; text-underline-offset: 4px; }
.td-lead__excerpt { margin: 0; font-size: 16px; line-height: 1.7; color: var(--td-ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.td-lead__date { font-size: 13px; color: var(--td-muted); }

/* 작은 카드 3장 */
.td-mini { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.td-card { display: flex; flex-direction: column; gap: 10px; color: inherit; min-width: 0; }
.td-card:hover { text-decoration: none; }
.td-card__thumb {
	display: block; width: 100%; aspect-ratio: 3 / 2; border-radius: 10px;
	overflow: hidden; background: var(--td-green-100);
}
.td-card__thumb img { width: 100%; height: 100%; object-fit: contain; display: block; transition: transform .25s ease; background: #F3F6F2; }
.td-card:hover .td-card__thumb img { transform: scale(1.02); }
.td-card__thumb--food { background: #F1E6D3; }
.td-card__thumb--plant { background: #D5E8D0; }
.td-card__body { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.td-card__cat { font-size: 12px; font-weight: 700; color: var(--td-green-700); }
.td-card__title {
	margin: 0; font-size: 17px; font-weight: 700; line-height: 1.5; color: var(--td-ink);
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
	min-height: 3em;
}
.td-card:hover .td-card__title { text-decoration: underline; text-underline-offset: 3px; }
.td-card__date { font-size: 13px; color: var(--td-muted); }

/* 핫픽 */
.td-hot {
	background: var(--td-red-50);
	border: 1px solid var(--td-red-200);
	border-radius: 12px;
	padding: 20px 20px 12px;
}
.td-hot__head { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.td-hot__head svg { width: 22px; height: 22px; flex: 0 0 auto; }
.td-hot__head h2 { margin: 0; font-size: 20px; font-weight: 900; color: var(--td-red-700); line-height: 1.3; }
.td-hot__sub { margin: 0 0 8px; font-size: 13px; color: var(--td-muted); }
.td-hot__list { margin: 0; padding: 0; list-style: none; }
.td-hot__item { display: flex; gap: 12px; padding: 16px 0; border-top: 1px solid var(--td-red-200); }
.td-hot__item:first-child { border-top: 0; }
.td-hot__n { flex: 0 0 22px; width: 22px; font-size: 20px; font-weight: 900; line-height: 1.2; color: var(--td-red-700); }
.td-hot__body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.td-hot__title { font-size: 15px; font-weight: 700; line-height: 1.5; color: var(--td-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.td-hot__item a { color: inherit; }
.td-hot__item a:hover { text-decoration: none; }
.td-hot__item a:hover .td-hot__title { text-decoration: underline; text-underline-offset: 3px; }
.td-hot__meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--td-muted); line-height: 1.4; }
.td-chip {
	display: inline-block; padding: 2px 8px; border-radius: 4px;
	background: var(--td-red-700); color: #fff; font-size: 12px; font-weight: 700; line-height: 1.6;
}
.td-chip--soon { background: var(--td-red-700); }
.td-chip--today { background: var(--td-green-700); }
.td-chip--past { background: var(--td-muted); }
.td-hot__more {
	display: flex; align-items: center; justify-content: center; min-height: 44px;
	border-top: 1px solid var(--td-red-200); margin-top: 4px;
	font-size: 14px; font-weight: 700; color: var(--td-red-700); text-align: center;
}
.td-hot--empty { padding-bottom: 20px; }
.td-hot__empty { margin: 0 0 8px; font-size: 14px; line-height: 1.7; color: var(--td-ink-2); }

/* 홈 광고 자리 */
.td-home__ad { margin: 48px 0; }
.td-home__ad--mid { margin: 0 0 48px; }
.td-home__ad:empty, .td-ad-wrap:empty, .td-side-ad:empty { display: none; margin: 0; }
.td-side-ad { flex: 1; position: relative; min-height: 250px; }
.td-side-ad .td-ad { position: sticky; top: calc(var(--td-header-h) + 16px); }

/* 계산기 줄 */
.td-tools { margin-bottom: 56px; }
.td-tools__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.td-tool {
	display: flex; align-items: center; gap: 14px; min-height: 44px;
	padding: 18px 20px; border: 1px solid var(--td-line-2); border-radius: 12px;
	background: var(--td-green-25); color: inherit;
}
.td-tool:hover { text-decoration: none; border-color: var(--td-green-700); background: #EDF5F0; }
.td-tool svg { width: 28px; height: 28px; flex: 0 0 auto; }
.td-tool__name { display: block; font-size: 16px; font-weight: 700; line-height: 1.4; color: var(--td-ink); }
.td-tool__sub { display: block; margin-top: 2px; font-size: 13px; color: var(--td-muted); line-height: 1.5; }

/* 카테고리 섹션 */
.td-sec { margin-bottom: 56px; }
.td-sec__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 24px; }
.td-sec--food .td-card__thumb { background: #F1E6D3; }
.td-sec--plant .td-card__thumb { background: #D5E8D0; }

/* 주제별로 모아보기 */
.td-topics { margin-bottom: 64px; }
.td-topics__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.td-topics__chips a {
	display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
	border: 1px solid var(--td-line-3); border-radius: 999px;
	font-size: 15px; font-weight: 500; color: var(--td-ink); background: #fff;
}
.td-topics__chips a:hover { border-color: var(--td-green-700); color: var(--td-green-900); background: var(--td-green-50); text-decoration: none; }

/* 홈이 비었을 때 */
.td-empty { padding: 32px 0; color: var(--td-muted); font-size: 15px; }

/* -------------------------------------------------------------------------- */
/* 4. 글 페이지                                                                */
/* -------------------------------------------------------------------------- */
.td-post { min-width: 0; }
.td-post__side--inline { display: block; margin: 32px 0; }
.td-post__side--inline .td-hot { max-width: 520px; }
.td-crumb { margin: 0 0 24px; font-size: 13px; color: var(--td-muted); line-height: 1.6; }
.td-crumb a { color: var(--td-muted); }
.td-crumb a:hover { color: var(--td-green-700); }
.td-crumb span[aria-hidden] { margin: 0 6px; }

.td-post__chip {
	display: inline-block; margin-bottom: 16px; padding: 4px 12px;
	border-radius: 999px; background: var(--td-green-50);
	font-size: 13px; font-weight: 700; color: var(--td-green-700);
}
.td-post__title {
	margin: 0 0 16px; font-size: 36px; font-weight: 900; line-height: 1.35;
	color: var(--td-green-900); letter-spacing: -0.02em;
}
.td-post__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 28px; font-size: 14px; color: var(--td-muted); }
.td-post__meta strong { color: var(--td-ink); font-weight: 700; }
.td-post__figure { margin: 0 0 28px; }
.td-post__figure img { display: block; width: 100%; height: auto; object-fit: contain; border-radius: 12px; background: var(--td-green-50); }
.td-post__figure figcaption { margin-top: 8px; font-size: 12px; color: var(--td-muted); text-align: right; }

/* 오른쪽 사이드 */
.td-post__side { display: flex; flex-direction: column; gap: 28px; }
.td-post__side .td-hot { padding: 16px 16px 8px; }
.td-post__side .td-hot__head h2 { font-size: 17px; }
.td-post__side .td-hot__item { padding: 12px 0; gap: 10px; }
.td-post__side .td-hot__n { flex-basis: 18px; width: 18px; font-size: 16px; }
.td-post__side .td-hot__title { font-size: 14px; }
.td-post__side .td-hot__meta { display: none; }
.td-post__side .td-hot__more { min-height: 40px; font-size: 13px; }

/* 목차(오른쪽 고정) */
.td-toc {
	border: 1px solid var(--td-line-2); border-radius: 12px;
	padding: 16px 20px; background: #fff;
}
.td-toc__title { margin: 0 0 8px; font-size: 16px; font-weight: 900; color: var(--td-ink); }
.td-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: td-toc; }
.td-toc li { margin: 0; }
.td-toc li + li { border-top: 1px solid var(--td-line); }
.td-toc a {
	display: flex; align-items: center; min-height: 40px; padding: 6px 0;
	font-size: 15px; line-height: 1.5; color: var(--td-ink);
}
.td-toc a:hover { color: var(--td-green-700); text-decoration: none; }
.td-toc a.is-active { color: var(--td-green-700); font-weight: 700; }
#td-side-toc .td-toc { border: 1px solid var(--td-line-2); }
#td-side-toc .td-toc__title { font-size: 16px; }
#td-side-toc .td-toc ol { max-height: calc(100vh - var(--td-header-h) - 260px); overflow: auto; }
#td-side-toc .td-toc a { font-size: 15px; }

/* 본문 */
.entry-content { font-size: 18px; line-height: 1.9; color: var(--td-ink); }
.entry-content > * + * { margin-top: 18px; }
.entry-content p { margin: 0; }
.entry-content strong, .entry-content b { font-weight: 700; color: var(--td-ink); }
.entry-content a { color: var(--td-green-700); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.entry-content a:hover { color: var(--td-green-900); }
.entry-content h2 {
	margin: 44px 0 16px; padding-top: 4px;
	font-size: 26px; font-weight: 900; line-height: 1.4; color: var(--td-ink); letter-spacing: -0.01em;
	scroll-margin-top: calc(var(--td-header-h) + 24px);
}
.entry-content h2:first-child { margin-top: 0; }
.entry-content h3 { margin: 32px 0 12px; font-size: 21px; font-weight: 900; line-height: 1.45; color: var(--td-ink); scroll-margin-top: calc(var(--td-header-h) + 24px); }
.entry-content h4 { margin: 24px 0 10px; font-size: 19px; font-weight: 700; line-height: 1.5; color: var(--td-ink); }
.entry-content ul, .entry-content ol { margin: 0; padding-left: 24px; }
.entry-content li { margin: 6px 0; }
.entry-content li::marker { color: var(--td-green-700); }
.entry-content blockquote {
	margin: 24px 0; padding: 16px 20px; border-left: 4px solid var(--td-green-700);
	background: var(--td-green-50); border-radius: 0 10px 10px 0; color: var(--td-ink-2);
}
.entry-content hr { margin: 36px 0; border: 0; border-top: 1px solid var(--td-line); }
.entry-content img { display: block; max-width: 100%; height: auto; border-radius: 10px; }
.entry-content figure { margin: 24px 0; }
.entry-content figure img { margin: 0 auto; }
.entry-content figcaption { margin-top: 8px; font-size: 13px; color: var(--td-muted); text-align: center; }

/* 표 */
.entry-content table {
	width: 100%; margin: 20px 0; border-collapse: collapse;
	font-size: 16px; line-height: 1.7; background: #fff;
	border: 1px solid var(--td-line-2); border-radius: 8px; overflow: hidden;
}
.entry-content th, .entry-content td { padding: 12px 14px; border: 1px solid var(--td-line-2); vertical-align: top; text-align: left; }
.entry-content thead th { background: var(--td-green-50); color: var(--td-green-900); font-weight: 700; text-align: center; }
.entry-content tbody tr:nth-child(even) td { background: #FAFCFB; }
.entry-content table caption { caption-side: top; padding: 0 0 8px; font-size: 13px; color: var(--td-muted); text-align: left; }

/* 30초 요약 — 글 본문에 박힌 인라인 스타일보다 우선한다 */
.entry-content .td-summary {
	background: var(--td-green-50) !important;
	border: 1px solid #CFE2D6 !important;
	border-left: 1px solid #CFE2D6 !important;
	border-radius: 12px !important;
	padding: 24px !important;
	margin: 32px 0 !important;
}
.entry-content .td-summary > p:first-child,
.entry-content .td-summary__label {
	margin: 0 0 12px !important; font-size: 18px !important; font-weight: 900 !important;
	color: var(--td-green-900) !important; line-height: 1.4 !important;
}
.entry-content .td-summary p { font-size: 16px !important; line-height: 1.75 !important; }
.td-summary {
	margin: 32px 0; padding: 24px;
	background: var(--td-green-50); border: 1px solid #CFE2D6; border-radius: 12px;
}
.td-summary > p:first-child,
.td-summary__label {
	margin: 0 0 12px !important; font-size: 18px; font-weight: 900; color: var(--td-green-900); line-height: 1.4;
}
.td-summary ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 16px; line-height: 1.7; }
.td-summary p { font-size: 16px; line-height: 1.75; }
.td-summary p + p { margin-top: 8px; }

/* 꼭 확인 상자 */
.td-tip {
	margin: 24px 0; padding: 16px 20px;
	border: 1px solid var(--td-red-200); background: var(--td-red-50); border-radius: 10px;
	font-size: 16px; line-height: 1.75;
}
.td-tip strong:first-child { color: var(--td-red-700); }
.td-tip p:last-child { margin-bottom: 0; }

/* 공식 자료 박스 */
.td-source { margin: 36px 0; padding: 20px 24px; background: var(--td-gray); border-radius: 12px; }
.td-source > h3, .td-source__title { margin: 0 0 10px; font-size: 17px; font-weight: 700; color: var(--td-ink); }
.td-source ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; line-height: 1.7; }
.td-source p { margin: 0 0 6px; font-size: 15px; line-height: 1.7; }
.td-source p:last-child { margin-bottom: 0; }
.td-source .td-source__note { margin-top: 12px; font-size: 13px; color: var(--td-muted); }

/* FAQ 아코디언 */
.td-faq { margin: 0 0 36px; border-top: 1px solid var(--td-line-2); }
.td-faq__item { border-bottom: 1px solid var(--td-line-2); }
.td-faq__item summary {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	min-height: 56px; padding: 12px 4px; cursor: pointer; list-style: none;
	font-size: 17px; font-weight: 700; line-height: 1.55; color: var(--td-ink);
}
.td-faq__item summary::-webkit-details-marker { display: none; }
.td-faq__item summary svg { width: 20px; height: 20px; flex: 0 0 auto; transition: transform .18s; }
.td-faq__item[open] summary svg { transform: rotate(180deg); }
.td-faq__body { padding: 0 4px 16px; font-size: 16px; line-height: 1.85; color: var(--td-ink-2); }
.td-faq__body p { margin: 0; }
.td-faq__body p + p { margin-top: 8px; }

/* 도움이 됐어요 */
.td-helpful {
	display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px;
	margin: 36px 0; padding: 20px 0;
	border-top: 1px solid var(--td-line); border-bottom: 1px solid var(--td-line);
}
.td-helpful__q { font-size: 16px; font-weight: 700; color: var(--td-ink); }
.td-helpful__btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	min-height: 44px; padding: 0 24px; border: 1px solid var(--td-line-3); border-radius: 999px;
	background: #fff; color: var(--td-ink); font-family: inherit; font-size: 15px; font-weight: 700; cursor: pointer;
	transition: border-color .15s, background .15s;
}
.td-helpful__btn:hover { border-color: var(--td-green-700); background: var(--td-green-50); }
.td-helpful__btn[aria-pressed="true"] { border-color: var(--td-green-700); background: var(--td-green-50); color: var(--td-green-900); }
.td-helpful__btn small { font-size: 12px; font-weight: 500; color: var(--td-muted); }
.td-helpful__msg { font-size: 13px; color: var(--td-muted); }

/* 함께 보면 좋은 글 */
.td-related { margin: 0 0 56px; }
.td-related__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }

/* 태그 */
.td-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; }
.td-tags a {
	display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px;
	border: 1px solid var(--td-line); border-radius: 999px;
	font-size: 13px; color: var(--td-muted); background: #fff;
}
.td-tags a:hover { border-color: var(--td-green-700); color: var(--td-green-900); text-decoration: none; }

/* 이전/다음 글 */
.td-postnav { display: grid; gap: 12px; margin: 0 0 36px; }
.td-postnav a { display: block; padding: 14px 16px; border: 1px solid var(--td-line); border-radius: 10px; font-size: 15px; line-height: 1.5; color: var(--td-ink); }
.td-postnav a:hover { border-color: var(--td-green-700); text-decoration: none; }
.td-postnav span { display: block; font-size: 12px; font-weight: 700; color: var(--td-green-700); margin-bottom: 2px; }

/* -------------------------------------------------------------------------- */
/* 5. 공통 컴포넌트                                                            */
/* -------------------------------------------------------------------------- */
/* 진행바 — 2026-12-02: 왼쪽 세로 → 화면 맨 위 가로(오른쪽으로 진행) */
#td-progress {
	position: fixed; left: 0; top: 0; width: 0; height: 4px;
	background: linear-gradient(90deg, #1E6B4A 0%, #34A06B 100%);
	border-radius: 0 2px 2px 0;
	z-index: 9999; pointer-events: none; transition: width .08s linear;
}
body.admin-bar #td-progress { top: 32px; }
@media screen and (max-width: 782px) { body.admin-bar #td-progress { top: 46px; } }

/* 광고 */
.td-ad {
	position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
	gap: 4px; min-height: 100px; padding: 12px; box-sizing: border-box;
	border: 1px dashed #A9B5AE; border-radius: 8px; background: var(--td-gray);
	text-align: center; overflow: hidden;
}
.td-ad__tag { font-size: 12px; font-weight: 700; color: #4A5650; letter-spacing: .04em; line-height: 1.4; }
.td-ad ins.adsbygoogle { display: block; width: 100%; }
.td-ad--rect { min-height: 250px; }
.td-ad--rect ins.adsbygoogle { min-height: 250px; }
.td-ad--post-top { min-height: 280px; margin: 0 0 36px; }
.td-ad--post-mid { min-height: 280px; margin: 0 0 36px; }
.td-ad--post-end { min-height: 280px; margin: 0 0 44px; }
.td-ad--home-top, .td-ad--home-mid { min-height: 100px; }
.td-ad.is-empty { display: none !important; }
/* 슬롯 ID가 비어 있는 개발용 자리 */
.td-ad--placeholder { color: #4A5650; }
.td-ad--placeholder .td-ad__hint { font-size: 13px; line-height: 1.5; }

/* 쿠팡 박스 */
.td-coupang {
	margin: 32px 0; padding: 24px;
	border: 1px solid var(--td-line); border-radius: 12px; background: var(--td-paper);
}
.td-coupang__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 6px; }
.td-coupang__title { margin: 0; font-size: 18px; font-weight: 700; color: var(--td-ink); }
.td-coupang__badge {
	font-size: 12px; font-weight: 700; color: #4A5650;
	border: 1px solid #A9B5AE; border-radius: 4px; padding: 2px 8px; white-space: nowrap;
}
.td-coupang-note { margin: 0 0 20px; font-size: 12px; line-height: 1.6; color: var(--td-muted); }
.td-coupang--notice-above .td-coupang-note { margin: 0 0 16px; }
.td-coupang--notice-below .td-coupang-note { margin: 12px 0 0; }
.td-coupang-slot { display: block; }
.td-coupang-slot:empty { display: none; }
.td-coupang-slot .td-deals__grid { margin: 0; }

/* 쿠팡 카드 (td-ux.js가 그림) */
.td-deals__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.td-deals__title { margin: 0; font-size: 16px; font-weight: 700; color: var(--td-ink); }
.td-deals__badge { font-size: 11px; font-weight: 700; color: #4A5650; border: 1px solid #A9B5AE; border-radius: 4px; padding: 2px 6px; }
.td-deals__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.td-deal {
	display: flex; flex-direction: column; gap: 8px; min-width: 0;
	background: #fff; border: 1px solid var(--td-line); border-radius: 10px; padding: 12px;
	color: inherit; text-decoration: none;
}
.td-deal:hover { border-color: var(--td-green-700); text-decoration: none; }
.td-deal__thumb { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 8px; background: #EDEFE9; }
.td-deal__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.td-deal__tag { align-self: flex-start; font-size: 11px; font-weight: 700; color: var(--td-green-700); background: var(--td-green-50); border-radius: 4px; padding: 1px 6px; }
.td-deal__name { font-size: 14px; font-weight: 700; line-height: 1.5; color: var(--td-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.td-deal__price { font-size: 15px; font-weight: 900; color: var(--td-green-900); }
.td-deal__price small { font-size: 11px; font-weight: 500; color: var(--td-muted); margin-left: 1px; }
.td-deal__cta { font-size: 11.5px; font-weight: 700; color: var(--td-green-700); letter-spacing: -.01em; }
.td-deals__note { margin: 12px 0 0; font-size: 12px; line-height: 1.6; color: var(--td-muted); }

/* 위/아래 버튼 */
.td-jump { position: fixed; right: 18px; bottom: 24px; display: flex; flex-direction: column; gap: 8px; z-index: 800; opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.td-jump.is-on { opacity: 1; visibility: visible; }
.td-jump button {
	display: flex; align-items: center; justify-content: center; width: 44px; height: 44px;
	border: 1px solid var(--td-line-2); border-radius: 999px; background: #fff; color: var(--td-green-900);
	box-shadow: 0 6px 18px rgba(27, 36, 32, .12); cursor: pointer;
}
.td-jump button:hover { border-color: var(--td-green-700); }
.td-jump button svg { width: 20px; height: 20px; }

/* 라이트박스 */
#td-lb { position: fixed; inset: 0; z-index: 10000; display: none; background: rgba(18, 63, 44, .93); }
#td-lb.is-on { display: flex; align-items: center; justify-content: center; }
.td-lb__stage { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 48px; box-sizing: border-box; }
.td-lb__img { max-width: min(1100px, 92vw); max-height: 82vh; width: auto; height: auto; border-radius: 8px; box-shadow: 0 20px 60px rgba(0, 0, 0, .4); }
.td-lb__count { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); color: #E4EFE8; font-size: 13px; }
.td-lb__close, .td-lb__prev, .td-lb__next {
	position: absolute; display: flex; align-items: center; justify-content: center;
	width: 48px; height: 48px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer;
}
.td-lb__close { top: 18px; right: 18px; }
.td-lb__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.td-lb__next { right: 18px; top: 50%; transform: translateY(-50%); }
.td-lb__close svg, .td-lb__prev svg, .td-lb__next svg { width: 24px; height: 24px; }
.td-lb__close:disabled, .td-lb__prev:disabled, .td-lb__next:disabled { opacity: .35; cursor: default; }
.td-lb-able { cursor: zoom-in; }
html.td-lb-open { overflow: hidden; }

/* 댓글 */
.comments-area { margin: 0 0 40px; }
.comments-title, .comment-reply-title { font-size: 22px; font-weight: 900; color: var(--td-ink); margin: 0 0 16px; }
.comment-list { margin: 0 0 24px; padding: 0; list-style: none; }
.comment-body { padding: 20px 0; border-top: 1px solid var(--td-line); }
.comment-author { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; color: var(--td-ink); }
.comment-author img { border-radius: 999px; }
.comment-meta { font-size: 13px; color: var(--td-muted); }
.comment-content { font-size: 16px; line-height: 1.8; color: var(--td-ink-2); }
.comment-content p { margin: 8px 0; }
.comment-form label { display: block; font-size: 14px; font-weight: 700; color: var(--td-ink); margin-bottom: 6px; }
.comment-form textarea, .comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"] {
	width: 100%; padding: 12px 14px; border: 1px solid var(--td-line-3); border-radius: 10px;
	font-family: inherit; font-size: 15px; line-height: 1.6; color: var(--td-ink); background: #fff; box-sizing: border-box;
}
.comment-form textarea:focus, .comment-form input:focus { outline: none; border-color: var(--td-green-700); box-shadow: 0 0 0 3px rgba(30, 107, 74, .12); }
.comment-form .comment-form-td-pin { margin: 12px 0; }
.comment-form #td_pin { width: 120px; }
.td-pin-desc { display: block; margin-top: 4px; font-size: 12px; color: var(--td-muted); }
.comment-form .submit, .comment-form .form-submit input {
	display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 24px;
	border: 0; border-radius: 999px; background: var(--td-green-900); color: #fff;
	font-family: inherit; font-size: 15px; font-weight: 700; cursor: pointer;
}
.comment-form .submit:hover { background: var(--td-green-700); }
.td-del { margin-left: 8px; padding: 2px 8px; border: 1px solid var(--td-line-3); border-radius: 999px; background: #fff; font-size: 12px; color: var(--td-muted); cursor: pointer; }

/* 페이지 넘김 */
.paging-navigation { margin: 32px 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.paging-navigation .nav-links { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.paging-navigation .page-numbers {
	display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px;
	border: 1px solid var(--td-line); border-radius: 10px; background: #fff; font-size: 15px; color: var(--td-ink);
}
.paging-navigation .page-numbers.current { background: var(--td-green-900); border-color: var(--td-green-900); color: #fff; font-weight: 700; }
.paging-navigation a.page-numbers:hover { border-color: var(--td-green-700); color: var(--td-green-900); text-decoration: none; }

/* -------------------------------------------------------------------------- */
/* 6. 목록·아카이브·검색                                                       */
/* -------------------------------------------------------------------------- */
.archive-description { margin: 0 0 24px; }
.archive-description .page-title, .archive .page-title, .page-header .page-title { margin: 0 0 8px; font-size: 30px; font-weight: 900; color: var(--td-green-900); }
.archive-description p:last-child { margin: 0; }

.generate-columns { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 32px 24px; }
.generate-columns .inside-article { display: flex; flex-direction: column; gap: 10px; background: transparent; border: 0; padding: 0; }
.generate-columns .post-image { margin: 0; order: -1; }
.generate-columns .post-image img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px; }
.generate-columns .entry-title { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.5; }
.generate-columns .entry-title a { color: var(--td-ink); }
.generate-columns .entry-summary { margin: 0; font-size: 14px; line-height: 1.7; color: var(--td-muted); }
.generate-columns .entry-summary p { margin: 0; }
.generate-columns .entry-meta { font-size: 13px; color: var(--td-muted); }
.generate-columns .read-more { display: none; }

/* 검색 결과 */
.search-results .entry-title { font-size: 22px; }

/* -------------------------------------------------------------------------- */
/* 7. 푸터                                                                     */
/* -------------------------------------------------------------------------- */
.site-footer, .site-footer.grid-container { width: 100%; max-width: none; background: var(--td-green-900); color: #E4EFE8; margin: 0; padding: 0; }
.site-footer .inside-site-info {
	max-width: var(--td-wrap); margin: 0 auto; padding: 40px 24px 32px;
	display: block; box-sizing: border-box;
}
.site-footer .copyright-bar { color: #E4EFE8; }
.td-foot { display: block; }
.td-foot__top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 32px; align-items: start; }
.td-foot__brand { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 900; color: #fff; }
.td-foot__brand:hover { color: #fff; text-decoration: none; }
.td-foot .td-mark { display: inline-flex; width: 26px; height: 26px; }
.td-foot .td-mark svg { width: 100%; height: 100%; }
.td-foot .td-mark svg path { fill: #E4EFE8; }
.td-foot__nav { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0 28px; }
.td-foot__nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; color: #fff; }
.td-foot__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-top: 16px; padding-top: 20px; border-top: 1px solid var(--td-green-600); }
.td-foot__meta p { margin: 0; font-size: 12px; line-height: 1.7; color: #C9DDD0; }
.td-foot__note { margin: 12px 0 0; font-size: 12px; line-height: 1.7; color: #C9DDD0; }
.td-foot__top::after {
	content: "공식 자료와 법 조문을 확인해 정리합니다. 글마다 기준일을 적고, 바뀌면 고칩니다.";
	grid-column: 1; grid-row: 2;
	display: block; max-width: 520px; font-size: 14px; font-weight: 400; line-height: 1.7; color: #C9DDD0;
}
.td-count { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #C9DDD0; }
.td-count b { color: #fff; font-weight: 700; }
.td-count__dot { width: 7px; height: 7px; border-radius: 999px; background: #7FBF9C; }

/* 문의·소개 페이지 공통 */
.td-page { max-width: 760px; margin: 0 auto; padding: 8px 0 0; }
.td-page h1 { font-size: 34px; font-weight: 900; color: var(--td-green-900); margin: 0 0 16px; }
.td-page p { font-size: 18px; line-height: 1.9; }
.td-contact, .td-inq { margin: 24px 0; padding: 24px; border: 1px solid var(--td-line); border-radius: 12px; background: var(--td-paper); }
.td-inq__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* -------------------------------------------------------------------------- */
/* 8. 반응형                                                                   */
/* -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
	.td-tools__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.td-sec__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.td-hero { grid-template-columns: 1fr; gap: 24px; }
	.td-lead__title { font-size: 24px; }
	.td-home { padding-top: 24px; }
	.td-ad--post-top, .td-ad--post-mid, .td-ad--post-end { min-height: 250px; }
	.td-deals__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
	/* 목차가 본문 안으로 돌아올 때 오른쪽 사이드 조각은 숨긴다(모바일 글 화면) */
	#td-side-toc .td-post__side { display: none; }
}

@media (max-width: 768px) {
	body.td-body, body.td-v2 { font-size: 17px; line-height: 1.85; }
	/* GeneratePress 모바일 메뉴 접힘 해제 — 디자인의 칩 메뉴를 그대로 보여 준다 */
	.main-navigation .main-nav, .main-navigation #primary-menu { display: block !important; }
	.site-header > .inside-header { min-height: 64px; padding: 0 16px; gap: 8px; }
	.site-header .main-title, .site-header .site-title { font-size: 20px; }
	.site-header .main-title a::before, .site-header .site-title a::before { width: 30px; height: 30px; }
	.site-description { display: none; }
	.td-search__form { display: none; width: 100%; }
	.td-search.is-open .td-search__form {
		display: flex; position: absolute; right: 0; top: 0;
		width: min(300px, calc(100vw - 120px)); z-index: 5;
	}
	.td-search__toggle { display: inline-flex; }
	.td-search__panel { width: min(360px, calc(100vw - 16px)); right: -52px; }
	.td-share-btn { width: 44px; padding: 0; }
	.td-share-btn__label { display: none; }

	/* 메뉴: 가로 스크롤 칩 */
	.main-navigation .inside-navigation { padding: 0; }
	.main-navigation .main-nav ul { flex-wrap: nowrap; gap: 8px; padding: 10px 16px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
	.main-navigation .main-nav ul::-webkit-scrollbar { display: none; }
	.main-navigation .main-nav ul li { flex: 0 0 auto; }
	.main-navigation .main-nav ul li a {
		min-height: 44px; padding: 0 16px; border: 1px solid var(--td-line-3); border-radius: 999px;
		font-size: 15px; white-space: nowrap; border-bottom: 1px solid var(--td-line-3);
	}
	.main-navigation .main-nav ul li.current-menu-item > a,
	.main-navigation .main-nav ul li.current-menu-ancestor > a {
		background: var(--td-green-900); border-color: var(--td-green-900); color: #fff;
	}
	.main-navigation .main-nav ul li a[href*="silshigan-sokbo"] { background: var(--td-red-50); border-color: var(--td-red-200); }
	.main-navigation .main-nav ul li a[href*="silshigan-sokbo"]::before { width: 14px; height: 14px; }

	/* 홈 */
	.td-home { padding: 24px 16px 0; }
	.td-home__ad { margin: 32px 0; }
	.td-sechead { margin-bottom: 16px; padding-bottom: 10px; }
	.td-sechead h2 { font-size: 20px; }
	.td-sechead span { display: none; }
	.td-lead { flex-direction: column; gap: 12px; margin-bottom: 24px; }
	.td-lead__media { flex: none; }
	.td-lead__thumb { aspect-ratio: 4 / 3; border-radius: 12px; }
	.td-lead__body { flex: none; gap: 10px; }
	.td-lead__title { font-size: 22px; }
	.td-lead__excerpt { font-size: 15px; -webkit-line-clamp: 2; }

	/* 모바일 시안: 히어로는 큰 카드 하나만 (작은 카드 3장은 숨김) */
	.td-mini { display: none; }
	/* 섹션 카드 → 목록 행 */
	.td-sec__grid { display: block; }
	.td-sec__grid .td-card {
		flex-direction: row; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--td-line);
	}
	.td-sec__grid .td-card__thumb { flex: 0 0 104px; width: 104px; height: 78px; aspect-ratio: auto; border-radius: 8px; }
	.td-sec__grid .td-card__body { display: flex; flex-direction: column; gap: 8px; min-width: 0; justify-content: center; }
	.td-card__title { font-size: 16px; -webkit-line-clamp: 3; min-height: 0; }
	.td-card__date { font-size: 12px; }
	.td-card__cat { display: none; }
	.td-sec { margin-bottom: 40px; }

	/* 핫픽 */
	.td-hot { padding: 16px 16px 4px; }
	.td-hot__head h2 { font-size: 18px; }
	.td-hot__item { padding: 14px 0; gap: 10px; }
	.td-hot__n { flex-basis: 20px; width: 20px; font-size: 18px; }
	.td-hot__title { font-size: 15px; }

	/* 도구 */
	.td-tools { margin-bottom: 40px; }
	.td-tools__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.td-tool { flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px; }
	.td-tool svg { width: 26px; height: 26px; }
	.td-tool__name { font-size: 15px; }

	/* 글 */
	.td-post__title { font-size: 27px; line-height: 1.38; }
	.td-post__meta { margin-bottom: 20px; font-size: 13px; }
	.td-post__figure { margin-bottom: 20px; }
	.entry-content { font-size: 17px; line-height: 1.85; }
	.entry-content h2 { font-size: 22px; margin-top: 36px; }
	.entry-content h3 { font-size: 19px; }
	.entry-content table { font-size: 15px; }
	.entry-content th, .entry-content td { padding: 10px; }
	.td-summary { padding: 18px; }
	.td-summary ul { font-size: 15px; }
	.td-toc { padding: 14px 16px; }
	.td-ad--post-top, .td-ad--post-mid, .td-ad--post-end { min-height: 250px; }
	.td-helpful { justify-content: flex-start; }
	.td-related__grid { grid-template-columns: 1fr; }
	.td-related__grid .td-card { flex-direction: row; gap: 14px; }
	.td-related__grid .td-card__thumb { flex: 0 0 104px; width: 104px; height: 78px; aspect-ratio: auto; }
	.td-related__grid .td-card__body { display: flex; flex-direction: column; gap: 6px; }
	.site-footer .inside-site-info { padding: 28px 16px 32px; }
	.td-foot { gap: 8px; }
	.td-foot__top { display: flex; flex-direction: column; gap: 4px; }
	.td-foot__nav { justify-content: flex-start; }
	.td-foot__brand { font-size: 18px; }
}

@media (max-width: 480px) {
	.td-post__title { font-size: 24px; }
	.td-lead__title { font-size: 21px; }
	.td-tools__grid { gap: 10px; }
	.td-tool { padding: 14px; }
	.comment-form #td_pin { width: 100%; }
	.td-toc a { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* -------------------------------------------------------------------------- */
/* 13. 2026-12-02 추가 — 광고 정리 / 표 정렬 / 놀이터 분기 / 메뉴 10개        */
/* -------------------------------------------------------------------------- */

/* (1) 광고: 본문 폭 안에 딱 맞추고 위아래만 살짝 띄운다 --------------------- */
/* 모바일 390px에서 ins.adsbygoogle 이 390px로 본문(328px)보다 62px 넓게 삐져나오던 문제 */
.entry-content .td-adwrap {
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 10px auto;
	padding: 0;
	text-align: center;
	box-sizing: border-box;
	overflow: hidden;
}
.entry-content ins.adsbygoogle {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 10px auto !important;
	padding: 0 !important;
	text-align: center !important;
	box-sizing: border-box !important;
	overflow: hidden;
}
.entry-content ins.adsbygoogle iframe {
	max-width: 100% !important;
	box-sizing: border-box !important;
}
/* td-brand 가 글마다 다시 넣는 자동 슬롯(.td-ad)은 서버 필터가 걷어내고,
   혹시 남아도 화면에는 나오지 않게 한다. */
.entry-content .td-ad { display: none !important; }
/* 광고 바로 뒤 문단이 광고에 붙어 보이지 않게 최소 간격만 */
.entry-content .td-adwrap + p { margin-top: 0.6em; }
.entry-content .td-adwrap + h2,
.entry-content .td-adwrap + h3 { margin-top: 1.4em; }
/* 쿠팡 박스도 본문 폭을 넘지 않게 */
.entry-content .td-coupang-slot,
.entry-content .td-deals { max-width: 100%; box-sizing: border-box; }

/* (2) 표: 머리행·첫 열 가운데, 나머지 왼쪽 -------------------------------- */
.entry-content table th { text-align: center !important; }
.entry-content table td:first-child { text-align: center !important; }
.entry-content table td { text-align: left; vertical-align: middle; }
.entry-content table th,
.entry-content table td { word-break: keep-all; }

/* (3) 놀이터 글 — 요약·공식자료 같은 실용 장치를 걷어낸 가벼운 화면 -------- */
body.td-play .td-post__title { font-size: 34px; letter-spacing: -0.02em; }
body.td-play .td-post__meta { margin-bottom: 18px; }
body.td-play .entry-content { font-size: 17.5px; line-height: 1.9; }
body.td-play .entry-content > p:first-of-type { font-weight: 500; }
body.td-play .td-helpful { margin-top: 28px; }
@media (max-width: 768px) {
	body.td-play .td-post__title { font-size: 27px; }
	body.td-play .entry-content { font-size: 17px; }
}

/* (4) 상단 메뉴 10개 — 로고와 겹치지 않게 한 줄에 압축, 좁으면 가로 스크롤 -- */
@media (min-width: 1025px) {
	.main-navigation .main-nav ul { gap: 4px 22px; flex-wrap: wrap; }
	.main-navigation .main-nav ul li a { font-size: 15.5px; padding: 13px 0; }
}
@media (max-width: 1024px) {
	.main-navigation .main-nav ul {
		flex-wrap: nowrap; gap: 8px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
		padding: 10px 16px;
	}
	.main-navigation .main-nav ul::-webkit-scrollbar { display: none; }
	.main-navigation .main-nav ul li { flex: 0 0 auto; }
	.main-navigation .main-nav ul li a {
		min-height: 40px; padding: 0 14px; border: 1px solid var(--td-line-3); border-radius: 999px;
		font-size: 15px; white-space: nowrap;
	}
	.main-navigation .main-nav ul li.current-menu-item > a,
	.main-navigation .main-nav ul li.current-menu-ancestor > a {
		background: var(--td-green-900); border-color: var(--td-green-900); color: #fff;
	}
	.main-navigation .main-nav ul li a[href*="silshigan-sokbo"] { background: var(--td-red-50); border-color: var(--td-red-200); }
}

/* (5) 상단 메뉴 보정 — GeneratePress 기본 배경/높이를 덮는다 */
.main-navigation .main-nav ul li > a,
.main-navigation .main-nav ul li.current-menu-item > a,
.main-navigation .main-nav ul li.current-menu-ancestor > a,
.main-navigation .main-nav ul li.current_page_item > a {
	background: transparent !important;
	background-color: transparent !important;
	line-height: 1.4;
	padding: 13px 0;
	min-height: 0;
}
.main-navigation .main-nav ul li.current-menu-item > a,
.main-navigation .main-nav ul li.current-menu-ancestor > a,
.main-navigation .main-nav ul li.current_page_item > a {
	color: var(--td-green-900) !important;
	font-weight: 800;
	box-shadow: inset 0 -3px 0 var(--td-green-700);
}
.main-navigation .main-nav ul li { line-height: 1.2; }
@media (max-width: 1024px) {
	.main-navigation .main-nav ul { display: flex !important; }
	.main-navigation .main-nav ul li > a { padding: 0 14px !important; min-height: 40px; line-height: 1; }
	.main-navigation .main-nav ul li.current-menu-item > a,
	.main-navigation .main-nav ul li.current-menu-ancestor > a {
		color: #fff !important;
		background: var(--td-green-900) !important;
		box-shadow: none;
	}
	.main-navigation .menu-toggle { display: none !important; }
}

/* (6) 모바일에서 본문이 4px 넘치던 문제 · 고정 헤더에 가려지지 않는 앵커 위치 */
main.site-main,
#main.td-single-main { max-width: 100%; box-sizing: border-box; }
@media (max-width: 1024px) {
	#main.td-single-main { width: 100%; overflow-x: clip; }
}
html { scroll-padding-top: 150px; }
@media (min-width: 1025px) { html { scroll-padding-top: 110px; } }

/* (7) 현재 카테고리 표시 — 글 화면에서는 current-menu-parent/current-post-parent 로 내려온다 */
.main-navigation .main-nav ul li.current-menu-parent > a,
.main-navigation .main-nav ul li.current-post-parent > a,
.main-navigation .main-nav ul li.current-post-ancestor > a {
	background: transparent !important;
	background-color: transparent !important;
	color: var(--td-green-900) !important;
	font-weight: 800;
	box-shadow: inset 0 -3px 0 var(--td-green-700);
}
@media (max-width: 1024px) {
	.main-navigation .main-nav ul li.current-menu-parent > a,
	.main-navigation .main-nav ul li.current-post-parent > a,
	.main-navigation .main-nav ul li.current-post-ancestor > a {
		background: var(--td-green-900) !important;
		color: #fff !important;
		box-shadow: none;
		border-color: var(--td-green-900);
	}
}

/* (8) 2026-12-02 — 상단 가로 진행바를 되살렸다(규칙은 5번 항목 참고) */

/* ========================================================================== */
/* 14. 2026-12-02 피드백 6쪽 — 푸터·핫픽·목차/광고·전체보기·검색·모바일·댓글  */
/* ========================================================================== */

/* (1) 푸터 — 연오렌지 배경 + 다크 텍스트, 쿠팡 고지 줄 제거, 헤더와 같은 아이콘 */
.site-footer,
.site-footer.grid-container {
	background: #FBEEDF;
	color: #3B2A1A;
	border-top: 1px solid #F0DCC6;
}
.site-footer .copyright-bar { color: #3B2A1A; }
.site-footer > .site-info,
.site-footer footer.site-info { background: transparent !important; color: #3B2A1A !important; }
.site-footer .inside-site-info { color: #3B2A1A; }
.site-footer .td-foot__brand,
.site-footer .td-foot__brand:visited { color: #8A3F12 !important; text-decoration: none; }
.td-foot__brand { font-size: 22px; gap: 12px; }
.td-foot__brand:hover { color: #6E3110; }
.td-foot .td-mark {
	display: inline-flex; width: 32px; height: 32px;
	background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36' fill='none'%3E%3Ccircle cx='18' cy='14' r='10' stroke='%231E6B4A' stroke-width='2.5'/%3E%3Cpath d='M18 24v9M18 28l5-5M18 26l-5-5' stroke='%231E6B4A' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.td-foot .td-mark svg { display: none; }
.td-foot__nav a { color: #4A3524; font-size: 15px; font-weight: 600; }
.td-foot__nav a:hover { color: #8A3F12; }
.td-foot__top::after { color: #6B5340; font-size: 15px; }
.td-foot__meta { border-top: 1px solid #EBD3B9; }
.td-foot__meta p { color: #5B4531; font-size: 13.5px; }
.td-foot__note { display: none !important; }
.td-count { color: #5B4531; font-size: 13px; }
.td-count b { color: #8A3F12; }
.td-count__dot { background: #C2703A; }
@media (max-width: 768px) {
	.td-foot__brand { font-size: 19px; }
	.td-foot .td-mark { width: 28px; height: 28px; }
	.td-foot__nav a { font-size: 14.5px; }
	.td-foot__top::after { font-size: 14px; }
}

/* (2) 오늘의 핫픽 — 제목 가운데, 부제 삭제, 1번과 간격 축소, 제목 1pt 확대, 5개+화살표 */
.td-hot { padding: 18px 18px 10px; }
.td-hot__head { justify-content: center; gap: 7px; margin-bottom: 0; }
.td-hot__head h2 { font-size: 21px; letter-spacing: -0.01em; }
.td-hot__head svg { width: 20px; height: 20px; }
.td-hot__list { margin-top: 2px; }
.td-hot__item { padding: 13px 0; }
.td-hot__item:first-child { padding-top: 10px; }
.td-hot__item[hidden] { display: none !important; }
.td-hot__pager {
	display: flex; align-items: center; justify-content: center; gap: 10px;
	padding: 8px 0 2px; border-top: 1px solid var(--td-red-200);
}
.td-hot__pg {
	display: inline-flex; align-items: center; justify-content: center;
	width: 34px; height: 30px; padding: 0;
	border: 1px solid var(--td-red-200); border-radius: 8px; background: #fff; color: var(--td-red-700);
	cursor: pointer;
}
.td-hot__pg svg { width: 16px; height: 16px; }
.td-hot__pg:hover:not(:disabled) { background: #fff2ef; }
.td-hot__pg:disabled { opacity: .35; cursor: default; }
.td-hot__pos { font-size: 12.5px; font-weight: 700; color: var(--td-red-700); min-width: 44px; text-align: center; }
.td-hot__more { margin-top: 6px; border-top: 0; }
.td-post__side .td-hot__head h2 { font-size: 17px; }
.td-post__side .td-hot__pager { padding: 6px 0 0; }

/* (3) 글 오른쪽: 목차 → 작은 광고 → 핫픽 (같은 폭·같은 간격으로 정렬) */
@media (min-width: 1025px) {
	#td-side-toc {
		display: flex; flex-direction: column; gap: 18px;
		max-height: calc(100vh - var(--td-header-h) - 28px);
		overflow-y: auto; overflow-x: hidden;
		padding-right: 4px;
		scrollbar-width: thin;
	}
	#td-side-toc .td-toc { margin: 0; width: 100%; box-sizing: border-box; }
	#td-side-toc .td-ad--side-small { width: 100%; box-sizing: border-box; }
}
.td-toc { padding: 16px 16px 8px; }
.td-toc__title { font-size: 16px; font-weight: 900; margin: 0 0 6px; padding-bottom: 8px; border-bottom: 1px solid var(--td-line); }
.td-toc ol { counter-reset: td-toc; }
.td-toc li { counter-increment: td-toc; }
.td-toc li + li { border-top: 1px solid #EEF2EF; }
.td-toc a { gap: 8px; align-items: flex-start; padding: 8px 0; font-size: 14.5px; line-height: 1.5; }
.td-toc a::before {
	content: counter(td-toc); flex: 0 0 18px; width: 18px;
	font-size: 12px; font-weight: 800; color: var(--td-green-700); line-height: 1.9;
}
.td-toc a.is-active { color: var(--td-green-700); font-weight: 700; }
#td-side-toc .td-toc ol { max-height: none; overflow: visible; }

/* 작은 광고(목차와 핫픽 사이) */
.td-ad--side-small {
	min-height: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
}
.td-ad--side-small .td-ad__tag {
	display: block; margin-bottom: 4px; font-size: 10px; letter-spacing: .08em;
	color: #98A29B; text-align: center;
}
.td-ad--side-small ins.adsbygoogle {
	display: block; width: 100%; min-height: 90px;
	border: 1px solid var(--td-line); border-radius: 10px; background: #FBFCFB;
}

/* (4) 글 화면 광고 — 본문 위아래 바짝, 가운데 정렬 */
.entry-content .td-adwrap { margin: 8px auto; }
.entry-content ins.adsbygoogle { margin: 8px auto !important; }
.entry-content ins.adsbygoogle iframe { margin-left: auto; margin-right: auto; }
.entry-content .td-adwrap + p { margin-top: 10px; }
.td-ad--unit { border: 0; background: transparent; padding: 0; min-height: 0; }
.td-ad--list { border: 0; background: transparent; padding: 0; min-height: 0; }

/* (5) 본문 — 좌우 양쪽 정렬 + 띄어쓰기가 벌어지지 않게 ----------------------
   2026-12-03 사용자 지시: 본문 글을 좌우로 맞추되 띄어쓰기가 어색하게 벌어지면 안 된다.
   → 낱말은 끊지 않고(keep-all) 줄 끝만 양쪽에 맞춘다. 한국어 문단은 한 줄에 띄어쓰기가
     20~40개 있어 남는 폭이 고르게 나뉘므로, 실측 최대 띄어쓰기 폭이 5px→7.1px(1.4배)로
     눈에 띄지 않는다(break-all 로 글자 단위로 끊으면 '끝나니/다'처럼 낱말·숫자가 잘린다).
     긴 URL·숫자는 overflow-wrap 으로만 예외적으로 끊는다. */
body.td-body .entry-content p,
body.td-v2 .entry-content p,
.entry-content li,
.entry-content blockquote p,
.entry-content .td-summary p {
	text-align: justify !important;
	text-align-last: left;
	text-justify: inter-character;
	word-break: keep-all;
	line-break: strict;
	overflow-wrap: break-word;
	hyphens: none;
}
.entry-content a,
.entry-content strong,
.entry-content em,
.entry-content code,
.entry-content .td-keep,
.entry-content table th,
.entry-content table td {
	word-break: keep-all;
}
.entry-content { letter-spacing: -0.003em; }

/* (6) 홈 계산기 위젯 */
.td-calc { margin-bottom: 40px; }
.td-calc__box {
	border: 1px solid var(--td-line-2); border-radius: 14px; background: #fff;
	box-shadow: var(--td-shadow); overflow: hidden;
}
.td-calc__tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 14px 0; background: var(--td-green-25); }
.td-calc__tab {
	border: 1px solid transparent; background: transparent; cursor: pointer;
	padding: 10px 18px; border-radius: 10px 10px 0 0;
	font-family: inherit; font-size: 15px; font-weight: 700; color: var(--td-muted);
}
.td-calc__tab:hover { color: var(--td-green-700); }
.td-calc__tab.is-on {
	background: #fff; border-color: var(--td-line-2); border-bottom-color: #fff;
	color: var(--td-green-900);
}
.td-calc__panel { display: none; padding: 18px 18px 16px; gap: 20px; }
.td-calc__panel.is-on { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr); align-items: center; }
.td-calc__fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px 14px; }
.td-calc__field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.td-calc__flabel { font-size: 13px; font-weight: 700; color: var(--td-ink-2); }
.td-calc__input { position: relative; display: flex; align-items: center; }
.td-calc__input input {
	width: 100%; box-sizing: border-box; height: 46px; padding: 0 40px 0 12px;
	border: 1px solid var(--td-line-3); border-radius: 10px; background: #fff;
	font-family: inherit; font-size: 16px; font-weight: 700; color: var(--td-ink);
}
.td-calc__input input:focus { outline: none; border-color: var(--td-green-700); box-shadow: 0 0 0 3px rgba(30,107,74,.12); }
.td-calc__unit { position: absolute; right: 12px; font-size: 13px; color: var(--td-muted); pointer-events: none; }
.td-calc__out {
	background: var(--td-green-50); border: 1px solid #CFE2D6; border-radius: 12px;
	padding: 16px 18px; display: flex; flex-direction: column; gap: 4px;
}
.td-calc__label { font-size: 13px; font-weight: 700; color: var(--td-green-700); }
.td-calc__value { font-size: 28px; font-weight: 900; color: var(--td-green-900); letter-spacing: -0.02em; line-height: 1.25; }
.td-calc__hint { font-size: 12.5px; color: var(--td-muted); line-height: 1.5; }
.td-calc__link { margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--td-green-700); }

/* (7) 홈 쿠팡 — 계산기 바로 밑 슬림 줄 */
.td-shopstrip { margin: 0 0 40px; }
.td-shopstrip .td-coupang {
	margin: 0; padding: 12px 14px 10px; background: var(--td-paper);
	border: 1px solid var(--td-line); border-radius: 12px;
}
.td-shopstrip .td-coupang__head { margin-bottom: 8px; }
.td-shopstrip .td-deals__head { display: none; }
.td-shopstrip .td-coupang__badge { font-size: 11px; padding: 1px 6px; }
.td-shopstrip .td-deals__title,
.td-shopstrip .td-coupang__title { font-size: 14px; }
.td-shopstrip .td-deals__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.td-shopstrip .td-deal { flex-direction: row; align-items: center; gap: 8px; padding: 8px; border-radius: 10px; }
.td-shopstrip .td-deal__thumb { width: 46px; height: 46px; flex: 0 0 46px; aspect-ratio: 1 / 1; border-radius: 8px; }
.td-shopstrip .td-deal__name { font-size: 12.5px; line-height: 1.4; -webkit-line-clamp: 2; }
.td-shopstrip .td-deal__price { font-size: 13px; }
.td-shopstrip .td-deal__tag { display: none; }
.td-shopstrip .td-deal__cta { display: none; }
.td-shopstrip .td-coupang-note,
.td-shopstrip .td-deals__note { margin: 8px 0 0; font-size: 11px; line-height: 1.5; color: #8A948D; }

/* (8) 전체보기(카테고리·태그·검색) 리스트 */
.td-archive-main { max-width: var(--td-wrap); margin: 0 auto; padding: 28px 24px 0; box-sizing: border-box; }
.td-archive__head { padding-bottom: 14px; border-bottom: 2px solid var(--td-ink); margin-bottom: 6px; }
.td-archive__title { margin: 0; font-size: 28px; font-weight: 900; color: var(--td-green-900); letter-spacing: -0.02em; }
.td-archive__desc { margin: 6px 0 0; font-size: 14.5px; color: var(--td-muted); }
.td-archive__count { display: block; margin-top: 6px; font-size: 13px; color: var(--td-muted); }
.td-archive__none { padding: 28px 0 40px; color: var(--td-ink-2); }
.td-archive__none p { margin: 0 0 8px; }
.td-archive__none .td-topics__chips { margin-top: 16px; }

.td-list { list-style: none; margin: 0; padding: 0; }
.td-list__item { border-bottom: 1px solid #E9EDEA; }
.td-list__link { display: flex; gap: 18px; align-items: flex-start; padding: 16px 0; color: inherit; }
.td-list__link:hover { text-decoration: none; }
.td-list__link:hover .td-list__title { text-decoration: underline; text-underline-offset: 3px; color: var(--td-green-900); }
.td-list__thumb {
	flex: 0 0 168px; width: 168px; height: 118px;
	border: 1px solid var(--td-line); border-radius: 10px; overflow: hidden;
	background: #F3F6F2; display: block;
}
.td-list__img { display: block; width: 100%; height: 100%; }
.td-list__img img { width: 100%; height: 100%; object-fit: contain; display: block; background: #F3F6F2; }
.td-list__body { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.td-list__cat { font-size: 12px; font-weight: 700; color: var(--td-green-700); }
.td-list__title { font-size: 18px; font-weight: 800; line-height: 1.45; color: var(--td-ink); letter-spacing: -0.01em; }
.td-list__excerpt { font-size: 14.5px; line-height: 1.65; color: var(--td-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.td-list__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12.5px; color: var(--td-muted); }
.td-list__ad { border-bottom: 1px solid #E9EDEA; padding: 14px 0; }
.td-list__ad .td-ad { align-items: center; }
.td-list__empty { padding: 32px 22px; color: var(--td-muted); }
.td-mark-hl { color: #dc2626; background: none; font-weight: 800; }
.search-results .td-list__item, body.td-searchpage .td-list__item { border-bottom: 1px solid #E5EAE6; }

/* (9) 플로팅 버튼 — 목차 · 위로 · 아래로 (모바일은 목차 시트) */
.td-jump { right: 16px; bottom: 18px; gap: 8px; }
.td-jump__toc { display: none; }
.td-jump button {
	display: flex; align-items: center; justify-content: center; gap: 4px;
	min-width: 46px; height: 46px; border-radius: 999px; border: 1px solid var(--td-line-2);
	background: #fff; color: var(--td-green-900); box-shadow: 0 6px 18px rgba(27,36,32,.14); cursor: pointer;
}
.td-jump__label { display: none; font-size: 12px; font-weight: 800; }
.td-jump button svg { width: 20px; height: 20px; flex: 0 0 20px; }
.td-jump button.td-jump__toc { display: none; }
@media (max-width: 1024px) {
	.td-jump { right: 12px; bottom: 16px; gap: 7px; }
	.td-jump button { min-width: 48px; height: 48px; background: rgba(255,255,255,.97); }
	.td-jump__toc { display: inline-flex !important; min-width: 62px !important; padding: 0 12px; background: var(--td-green-900) !important; color: #fff !important; border-color: var(--td-green-900) !important; }
	.td-jump__top, .td-jump__bottom { color: var(--td-green-900); }
	.td-jump__toc .td-jump__label { display: inline; }
}
.td-sheet {
	position: fixed; inset: 0; z-index: 10001; display: none;
	background: rgba(18, 32, 26, .55); padding: 16px;
}
.td-sheet.is-on { display: flex; align-items: flex-end; justify-content: center; }
.td-sheet__box {
	width: min(520px, 100%); max-height: 78vh; background: #fff; border-radius: 16px 16px 0 0;
	display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 -10px 40px rgba(0,0,0,.25);
}
.td-sheet__head {
	display: flex; align-items: center; justify-content: space-between;
	padding: 14px 18px; border-bottom: 1px solid var(--td-line);
}
.td-sheet__head strong { font-size: 17px; font-weight: 900; }
.td-sheet__close { border: 0; background: none; font-size: 18px; color: var(--td-muted); cursor: pointer; padding: 4px 8px; }
.td-sheet__body { overflow: auto; padding: 6px 8px 16px; }
.td-sheet__list { list-style: none; margin: 0; padding: 0; }
.td-sheet__list a { display: flex; gap: 10px; align-items: flex-start; padding: 12px 10px; border-bottom: 1px solid #F0F3F1; font-size: 15px; line-height: 1.5; color: var(--td-ink); }
.td-sheet__list a span { flex: 0 0 18px; font-size: 12px; font-weight: 800; color: var(--td-green-700); }
html.td-sheet-open { overflow: hidden; }

/* (10) 모바일 카테고리 바 좌우 화살표 */
.td-catnav__btn { display: none; }
.main-navigation .inside-navigation { position: relative; }
@media (max-width: 1024px) {
	.main-navigation .inside-navigation { display: flex; align-items: center; gap: 2px; padding: 0 6px; flex-wrap: nowrap; }
	.main-navigation .main-nav { min-width: 0; flex: 1 1 auto; }
	.main-navigation .td-catnav__btn { align-self: center; }
	.main-navigation .main-nav ul { padding: 8px 2px !important; }
	.td-catnav__btn {
		display: inline-flex; align-items: center; justify-content: center;
		flex: 0 0 30px; width: 30px; height: 30px; padding: 0;
		border: 1px solid var(--td-line-2); border-radius: 999px;
		background: #fff; color: var(--td-ink); cursor: pointer;
	}
	.td-catnav__btn svg { width: 15px; height: 15px; }
	.td-catnav__btn:disabled { opacity: .3; }
	.main-navigation.is-scrollable .td-catnav__btn { box-shadow: 0 2px 8px rgba(27,36,32,.12); }
}

/* (11) 댓글 — 본문 바로 아래 붙게 */
.comments-area, .tdc { margin-top: 10px !important; }
.td-related { margin-top: 40px; }
.td-helpful { margin: 30px 0 8px; }

/* (12) 목록·홈 썸네일 비율 (사진 잘림 방지) */
.td-card__thumb { aspect-ratio: 3 / 2; }
.td-sec__grid .td-card__thumb { aspect-ratio: 3 / 2; }
@media (max-width: 768px) {
	.td-sec__grid .td-card__thumb { height: 84px; aspect-ratio: auto; }
	.td-sec__grid .td-card__thumb img { object-fit: cover; }
}

/* (13) 검색 패널 — 모바일에서도 열리고 입력되게 */
.td-search.has-panel { z-index: 960; }
@media (max-width: 768px) {
	.td-search.is-open .td-search__form { width: min(320px, calc(100vw - 30px)); }
	.td-search.is-open .td-search__toggle { display: none; }
	.td-search.is-open { position: static; }
	.td-search__panel { right: 0; left: auto; width: min(360px, calc(100vw - 24px)); }
}

/* (14) 반응형 보정 */
@media (max-width: 1024px) {
	.td-calc__panel.is-on { grid-template-columns: 1fr; }
	.td-calc__value { font-size: 25px; }
	.td-shopstrip .td-deals__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
	.td-archive-main { padding: 18px 16px 0; }
	.td-archive__title { font-size: 23px; }
	.td-list__link { gap: 12px; padding: 13px 0; }
	.td-list__thumb { flex: 0 0 104px; width: 104px; height: 78px; border-radius: 8px; }
	.td-list__title { font-size: 15.5px; line-height: 1.45; }
	.td-list__excerpt { font-size: 13px; -webkit-line-clamp: 2; }
	.td-list__meta { font-size: 11.5px; }
	.td-calc__tabs { padding: 10px 10px 0; gap: 4px; }
	.td-calc__tab { padding: 8px 12px; font-size: 14px; }
	.td-calc__panel { padding: 14px; gap: 14px; }
	.td-calc__value { font-size: 23px; }
	.td-shopstrip .td-deal { padding: 7px; }
	.td-shopstrip .td-deal__thumb { width: 40px; height: 40px; flex: 0 0 40px; }
	.td-shopstrip .td-deals__grid { gap: 8px; }
	.td-toc { padding: 14px 14px 8px; }
	.td-toc a { font-size: 14px; }
}

/* ========================================================================== */
/* 15. 2026-12-02 2차 피드백                                                  */
/*     카테고리 호버 · 모바일 헤더 한 줄 · 카테고리 배지/스크롤 유지           */
/*     아카이브 15개·컴팩트 리스트·상단 슬림 광고 · 목차/광고 · 본문-광고 밀착  */
/* ========================================================================== */

/* (1) PC 카테고리 :hover — 테마 기본(흰 글씨)을 덮고 진한 글씨 + 연한 초록 배경 */
@media (min-width: 1025px) {
	.main-navigation .main-nav ul li > a:hover,
	.main-navigation .main-nav ul li > a:focus,
	.main-navigation .main-nav ul li.current-menu-item > a:hover,
	.main-navigation .main-nav ul li.current-menu-ancestor > a:hover,
	.main-navigation .main-nav ul li.current-menu-parent > a:hover,
	.main-navigation .main-nav ul li.current-post-parent > a:hover,
	.main-navigation .main-nav ul li.current-post-ancestor > a:hover {
		background: var(--td-green-50) !important;
		background-color: var(--td-green-50) !important;
		color: var(--td-green-900) !important;
		box-shadow: inset 0 -3px 0 var(--td-green-700);
	}
	.main-navigation .main-nav ul li > a[href*="silshigan-sokbo"]:hover,
	.main-navigation .main-nav ul li > a[href*="silshigan-sokbo"]:focus {
		background: var(--td-red-50) !important;
		background-color: var(--td-red-50) !important;
		color: var(--td-red-700) !important;
	}
}

/* (2) 모바일 상단 헤더 — 로고 + 검색 + 공유를 맨 위 한 줄에 */
@media (max-width: 768px) {
	.site-header > .inside-header {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		align-items: center !important;
		justify-content: space-between !important;
		gap: 6px;
		min-height: 52px;
		padding: 4px 12px;
	}
	.site-header .site-branding {
		flex: 1 1 auto;
		min-width: 0;
		overflow: hidden;
		display: flex;
		align-items: center;
	}
	.site-header .main-title,
	.site-header .site-title {
		margin: 0;
		font-size: clamp(13px, 3.9vw, 17px);
		line-height: 1.25;
		white-space: nowrap;
		overflow: hidden;
	}
	.site-header .main-title a,
	.site-header .site-title a {
		gap: 6px;
		max-width: 100%;
		overflow: hidden;
		white-space: nowrap;
	}
	.site-header .main-title a::before,
	.site-header .site-title a::before {
		width: 25px;
		height: 25px;
		margin-right: 0;
	}
	.td-head-tools { flex: 0 0 auto; gap: 5px; }
	.td-search__toggle,
	.td-share-btn {
		width: 38px;
		min-width: 38px;
		height: 38px;
		padding: 0;
	}
	.td-search__toggle svg { width: 18px !important; height: 18px !important; min-width: 18px !important; }
	.td-share-btn svg { width: 16px; height: 16px; }
}

/* (3) 모바일 카테고리 — 선택된 항목은 어느 경우든 같은 진한 초록 배지 */
@media (max-width: 1024px) {
	.main-navigation .main-nav ul li.current-menu-item > a,
	.main-navigation .main-nav ul li.current-menu-ancestor > a,
	.main-navigation .main-nav ul li.current-menu-parent > a,
	.main-navigation .main-nav ul li.current-post-parent > a,
	.main-navigation .main-nav ul li.current-post-ancestor > a,
	.main-navigation .main-nav ul li.is-active > a,
	.main-navigation .main-nav ul li > a.is-active {
		background: var(--td-green-900) !important;
		background-color: var(--td-green-900) !important;
		border-color: var(--td-green-900) !important;
		color: #fff !important;
		font-weight: 800;
		box-shadow: none !important;
	}
	/* '오늘의 이슈'가 활성일 때도 같은 초록 배지로 통일(빨간 테두리 제거) */
	.main-navigation .main-nav ul li.current-menu-item > a[href*="silshigan-sokbo"],
	.main-navigation .main-nav ul li.current-menu-parent > a[href*="silshigan-sokbo"],
	.main-navigation .main-nav ul li.current-post-parent > a[href*="silshigan-sokbo"],
	.main-navigation .main-nav ul li.current-post-ancestor > a[href*="silshigan-sokbo"] {
		background: var(--td-green-900) !important;
		background-color: var(--td-green-900) !important;
		border-color: var(--td-green-900) !important;
		color: #fff !important;
	}
}

/* (4) 전체보기 — 헤더 높이 축소 + 상단 슬림 쿠팡 + 컴팩트 리스트 */
.td-archive-main { padding-top: 14px; }
.td-archive__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 2px 10px;
	padding-bottom: 8px;
	margin-bottom: 4px;
	border-bottom: 2px solid var(--td-ink);
}
.td-archive__title { font-size: 23px; line-height: 1.3; }
.td-archive__desc { margin: 0; font-size: 13px; line-height: 1.5; }
.td-archive__count { margin-top: 0; font-size: 12.5px; line-height: 1.4; }

.td-archive__shop { margin: 8px 0 10px; }
.td-archive__shop .td-coupang { padding: 8px 10px 6px; border-radius: 10px; }
.td-archive__shop .td-coupang__head { margin-bottom: 6px; }
.td-archive__shop .td-coupang__title { font-size: 13px; }
.td-archive__shop .td-coupang__badge { font-size: 10px; padding: 1px 5px; }
.td-archive__shop .td-coupang-note { margin: 5px 0 0; font-size: 10.5px; line-height: 1.4; }
.td-archive__shop .td-deal { padding: 6px; }
.td-archive__shop .td-deal__thumb { width: 38px; height: 38px; flex: 0 0 38px; }
.td-archive__shop .td-deal__name { font-size: 12px; }
.td-archive__shop .td-deal__price { font-size: 12px; }
.td-archive__shop:has(.td-coupang-slot:empty) { display: none !important; }

.td-list__item { border-bottom: 1px solid #EDF1EE; }
.td-list__link { gap: 14px; padding: 9px 0; align-items: flex-start; }
.td-list__thumb { flex: 0 0 132px; width: 132px; height: 89px; border-radius: 8px; }
.td-list__body { gap: 3px; justify-content: flex-start; }
.td-list__title {
	font-size: 16.5px; line-height: 1.38; margin-top: -2px;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.td-list__meta { margin-top: 1px; gap: 5px; font-size: 12.5px; line-height: 1.4; }
.td-list__ad { padding: 8px 0; border-bottom: 1px solid #EDF1EE; }

@media (max-width: 768px) {
	.td-archive-main { padding-top: 12px; }
	.td-archive__title { font-size: 20px; }
	.td-archive__desc { font-size: 12px; }
	.td-archive__shop { margin: 6px 0 8px; }
	.td-archive__desc {
		display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical;
		overflow: hidden; font-size: 12px;
	}
	.td-archive__shop .td-deals__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
	/* 모바일에서는 한 줄(2개)만 남겨 아주 납작하게 */
	.td-archive__shop .td-deal:nth-child(n + 3) { display: none; }
	.td-list__link { gap: 10px; padding: 8px 0; }
	.td-list__thumb { flex: 0 0 96px; width: 96px; height: 65px; }
	.td-list__title { font-size: 14.5px; line-height: 1.36; margin-top: -1px; }
	.td-list__meta { font-size: 11px; }
	.td-list__ad { padding: 6px 0; }
}

/* (5) 목차 — 항상 보이게, 내부에 작은 광고 1개 */
#td-side-toc { z-index: 5; scrollbar-gutter: stable; }
#td-side-toc::-webkit-scrollbar { width: 6px; }
.entry-content .td-toc { margin: 18px 0 22px; }
.td-toc li.td-toc__adli {
	counter-increment: none;
	border-top: 1px solid #EEF2EF;
	padding: 10px 0 6px;
	list-style: none;
}
.td-toc li.td-toc__adli::before { content: none !important; }
.entry-content .td-toc .td-ad,
.td-toc .td-ad.td-ad--toc {
	display: flex !important;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3px;
	width: 100%;
	min-height: 0;
	padding: 0;
	border: 0;
	background: transparent;
}
.td-toc li.td-toc__adli .td-ad__tag {
	display: block;
	font-size: 10px;
	letter-spacing: .06em;
	color: #98A29B;
	margin-bottom: 2px;
}
.td-toc li.td-toc__adli ins.adsbygoogle {
	display: block;
	width: 100%;
	max-width: 100%;
	min-height: 100px;
}
.td-toc li.td-toc__adli .td-ad.is-empty { display: none !important; }
/* 광고가 채워지지 않으면 목차 안 광고 줄 자체를 감춘다(빈 '광고' 라벨만 남지 않게) */
.td-toc li.td-toc__adli:has(.td-ad.is-empty) { display: none !important; }

/* 목차와 핫픽 사이 광고 — 세로로 길지 않은 가로 배너(높이 제한) */
.td-ad--side-small { max-height: 132px; overflow: hidden; }
.td-ad--side-small ins.adsbygoogle {
	min-height: 0 !important;
	height: auto !important;
	max-height: 104px;
}
.td-ad--side-small .td-ad__tag { margin-bottom: 2px; }

/* (6) 본문과 광고 사이 여백 최소화 (본문에 자연스럽게 밀착) */
.entry-content > .td-adwrap,
.entry-content .td-adwrap {
	margin: 3px auto !important;
	padding: 0 !important;
}
.entry-content ins.adsbygoogle {
	margin: 0 auto !important;
	padding: 0 !important;
}
.entry-content .td-adwrap + p,
.entry-content .td-adwrap + ul,
.entry-content .td-adwrap + ol,
.entry-content .td-adwrap + table,
.entry-content .td-adwrap + figure {
	margin-top: 6px !important;
}
.entry-content .td-adwrap + h2,
.entry-content .td-adwrap + h3 {
	margin-top: 22px !important;
}
.entry-content p:has(+ .td-adwrap) { margin-bottom: 2px; }
.entry-content > .td-coupang-slot { margin: 4px 0 0; }
.entry-content > .td-coupang-slot + p { margin-top: 5px !important; }
.entry-content > .td-coupang { margin: 8px 0; }
.entry-content .td-coupang-note { margin: 4px 0 6px; }
