/* 고니랜드 부동산 리포트 v2.0 — redswan (사진 우선 커버 + 신뢰 상자 · 시안 B1). 설계: ../DESIGN.md · DESIGN.md
   공통 크림 토큰 위에 포인트를 남색으로 바꿨다(--g9=남색 #17324d · --g=링크 파랑 #2d5a87 · --soft=연한 남색 면). 맨 아래 「redswan 고유」 절이 커버·근거 상자·표·카드 목록을 얹는다. */
:root {
	--bg: #F2EEDD; --sf: #FBF9EF; --ink: #2B2410; --mu: #6B6244;
	--ln: #CBBF98; --ln2: #E4DCC0; --g: #2d5a87; --g9: #17324d;
	--soft: #dfe8f1; --note: #EBE5CF; --night: #10202f; --bad: #8A3B2A; --nline: #cfd8e2; --warn: #fdf3df;
	--font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif;
	--mono: ui-monospace, "SF Mono", Consolas, monospace;
	--gut: 20px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0; background: var(--bg); color: var(--ink);
	font: 400 16px/1.75 var(--font); word-break: keep-all; overflow-wrap: break-word;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--g9); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--g9); color: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* 단추 */
.btn {
	display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px;
	border: 0; border-radius: 8px; background: var(--g9); color: #FBF9EF; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer;
}

/* ── 헤더 ── */
.hd { background: var(--sf); border-bottom: 1px solid var(--ln2); }
.hd-in { max-width: 1160px; margin: 0 auto; height: 56px; padding: 0 var(--gut); display: flex; align-items: center; gap: 14px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 800; font-size: 18px; flex: 1 1 auto; min-width: 0; }
.brand img { width: 30px; height: 28px; object-fit: contain; flex: none; }
.brand-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hd-nav, .hd-search { display: none; }
.hd-menu { width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.panel { background: var(--sf); border-bottom: 1px solid var(--ln2); padding: 14px var(--gut) 18px; }
.panel[hidden] { display: none; }
.panel-search { display: flex; gap: 8px; }
.panel-search input, .hd-search input {
	flex: 1 1 auto; min-width: 0; height: 44px; padding: 0 14px; border: 1px solid var(--ln); border-radius: 8px; background: #fff; font-size: 16px;
}
.panel-search button { height: 44px; padding: 0 16px; border: 0; border-radius: 8px; background: var(--g9); color: #FBF9EF; font-weight: 700; cursor: pointer; }
.panel-nav { margin-top: 10px; }
.panel-nav li ul { display: none; }
.panel-nav a { display: flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 700; border-bottom: 1px solid var(--ln2); }

/* 분류 칩 줄 — [##_category_list_##] 를 CSS 만으로 한 줄 칩으로 바꾼다 */
.cats { background: var(--bg); }
.cats-in { max-width: 1160px; margin: 0 auto; height: 62px; padding: 14px var(--gut) 0; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.cats-in::-webkit-scrollbar { display: none; }
.cats-in .tt_category, .cats-in .tt_category > li, .cats-in .category_list { display: contents; }
.cats-in .tt_category { display: flex; gap: 8px; width: max-content; }
.cats-in .category_list { display: flex; gap: 8px; }
.cats-in .category_list > li { display: block; }
.cats-in ul ul { display: none; }
.cats-in a {
	display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 17px; white-space: nowrap;
	background: var(--sf); border: 1px solid var(--ln2); color: var(--ink); font-size: 14px; font-weight: 700; text-decoration: none;
}
.cats-in .c_cnt, .cats-in img { display: none; }
.cats-in .link_tit { font-size: 0; }
.cats-in .link_tit::before { content: "전체"; font-size: 14px; }
.cats-in a.is-here { background: var(--g9); border-color: var(--g9); color: #FBF9EF; }

/* ── 배치 ── */
.wrap { max-width: 1160px; margin: 0 auto; }
.main { padding: 4px var(--gut) 8px; min-width: 0; }
.side { padding: 8px var(--gut) 32px; }

/* ── 목록 (홈 · 분류 · 태그 · 검색 · 보관함) ── */
.it { border-bottom: 1px solid var(--ln2); }
.it-link { display: flex; gap: 14px; padding: 16px 0; text-decoration: none; }
.it-ph { flex: none; width: 96px; height: 96px; border-radius: 8px; overflow: hidden; background: #cfd4b8; }
.it-ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.it-tx { display: block; min-width: 0; flex: 1 1 auto; }
.it-cat { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 11px; background: var(--soft); color: var(--g9); font-size: 12px; font-weight: 800; line-height: 1; }
.it-ti { margin: 5px 0 3px; font-size: 16px; line-height: 1.45; font-weight: 800; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.it-su { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; font-size: 13.5px; line-height: 1.5; color: var(--mu); }
.it-meta { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.6; color: var(--mu); }
.it-notice .it-ph, .it-lock .it-ph { display: none; }

/* 홈 첫 글 = 주요 글 (큰 사진) */
#tt-body-index .main > .it:first-of-type { border-bottom: 0; padding-bottom: 6px; }
#tt-body-index .main > .it:first-of-type .it-link { display: block; padding: 10px 0 6px; }
#tt-body-index .main > .it:first-of-type .it-ph { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 12px; }
#tt-body-index .main > .it:first-of-type .it-cat { height: auto; padding: 0; margin-top: 12px; background: none; color: var(--g); font-size: 12px; }
#tt-body-index .main > .it:first-of-type .it-ti { font-size: 20px; line-height: 1.4; margin: 4px 0 6px; -webkit-line-clamp: 3; }
#tt-body-index .main > .it:first-of-type .it-su { -webkit-line-clamp: 2; }

/* 빈 결과 · 태그 · 방명록 */
.page-sec { padding: 28px 0 12px; }
.page-ti { margin: 0 0 10px; font-size: 28px; line-height: 1.35; font-weight: 800; }
.page-su { margin: 0 0 16px; font-size: 15.5px; color: var(--mu); }
.empty-tips { margin: 0 0 20px; padding: 0 0 0 18px; list-style: disc; color: var(--mu); font-size: 15px; }
.tagcloud { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tagcloud a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 20px; background: var(--sf); border: 1px solid var(--ln2); text-decoration: none; font-size: 15px; font-weight: 600; }
.tagcloud .cloud1 { font-size: 18px; font-weight: 800; color: var(--g9); }
.tagcloud .cloud2 { font-size: 16.5px; font-weight: 700; }

/* ── 글 ── */
.post { padding-top: 10px; }
.crumb { font-size: 12.5px; color: var(--mu); text-decoration: none; font-weight: 600; }
.post-ti { margin: 6px 0 10px; font-size: 28px; line-height: 1.35; font-weight: 800; }
.by { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--mu); line-height: 1.5; }
.by img { width: 22px; height: 21px; object-fit: contain; }
.by .dot { opacity: .6; }
.lead { display: flex; flex-direction: column; gap: 12px; margin: 18px 0 0; }
.lead:empty { display: none; }
.lead .cs-summary { order: 1; }
.lead .cs-facts { order: 2; }
.lead .cs-disclosure { order: 3; }
.post-hero { margin-top: 16px; }
.hero { margin: 0; }
.hero img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; background: #cfd4b8; }
.hero figcaption { margin-top: 8px; font-size: 13px; line-height: 1.5; color: var(--mu); }

/* 본문 */
.post-body { margin-top: 18px; counter-reset: sec; }
.post-body > .contents_style, .post-body .tt_article_useless_p_margin { display: block; }
.post-body .toc-space, .post-body .google-auto-placed { display: none !important; }
.post-body p { margin: 0 0 16px; font-size: 16px; line-height: 1.75; }
.post-body h2 { margin: 30px 0 10px; font-size: 17px; line-height: 1.5; font-weight: 800; counter-increment: sec; scroll-margin-top: 16px; }
.post-body h2:not(.nonum)::before { content: counter(sec) ". "; color: var(--g9); }
.post-body h3 { margin: 22px 0 8px; font-size: 16px; line-height: 1.5; font-weight: 800; }
.post-body a { color: var(--g9); text-underline-offset: 3px; }
.post-body ul, .post-body ol { margin: 0 0 16px; padding-left: 22px; }
.post-body ul { list-style: disc; }
.post-body ol { list-style: decimal; }
.post-body li { margin-bottom: 4px; }
.post-body blockquote { margin: 0 0 16px; padding: 12px 16px; border-left: 3px solid var(--g); background: var(--sf); border-radius: 0 8px 8px 0; }
.post-body hr { border: 0; border-top: 1px solid var(--ln2); margin: 28px 0; }
.post-body figure { margin: 18px 0 6px; }
.post-body figcaption { margin-top: 6px; font-size: 13px; line-height: 1.5; color: var(--mu); text-align: center; }
.post-body img { display: block; width: 100%; height: auto; aspect-ratio: var(--r, 4 / 3); object-fit: cover; border-radius: 12px; margin: 18px 0 6px; background: #cfd4b8; }
.post-body span[data-url], .post-body span[data-lightbox] { display: block; }
.post-body iframe, .post-body video { display: block; width: 100%; max-width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 12px; margin: 18px 0; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 18px 0 6px; }
.grid2 > * { margin: 0; min-width: 0; }
.grid2 img { margin: 0; }
.tbl { margin: 0 0 18px; overflow-x: auto; }
.post-body table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.55; background: var(--sf); }
.post-body th, .post-body td { padding: 10px 12px; border: 1px solid var(--ln2); text-align: left; vertical-align: top; }
.post-body th { background: var(--soft); font-weight: 700; width: 34%; }
.post-body thead th { width: auto; }

/* 본문 부품 .cs-* — 구조는 발행기가 정한다(클래스 이름 불변) */
.cs-summary { background: var(--soft); border-radius: 12px; padding: 16px 18px; }
.cs-summary-title { margin: 0 0 6px; font-size: 14px; line-height: 1.5; font-weight: 800; color: var(--g9); }
.cs-summary p, .post-body .cs-summary p { margin: 0; font-size: 15.5px; line-height: 1.65; }
.cs-facts, .post-body .cs-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.cs-facts li, .post-body .cs-facts li { display: inline-flex; align-items: center; min-height: 30px; margin: 0; padding: 0 13px; border-radius: 15px; background: var(--soft); color: var(--g9); font-size: 13.5px; font-weight: 700; line-height: 1.3; }
.cs-disclosure { background: var(--note); border-radius: 8px; padding: 9px 12px; font-size: 12.5px; line-height: 1.6; color: var(--mu); }
.cs-disclosure strong { color: var(--ink); }
.cs-product { display: flex; gap: 14px; margin: 18px 0; padding: 14px; background: var(--sf); border: 1px solid var(--ln2); border-radius: 12px; }
.cs-product-img { flex: none; width: 96px; }
.cs-product-img img, .post-body .cs-product-img img { width: 96px; height: 96px; aspect-ratio: 1; margin: 0; border-radius: 8px; }
.cs-product-name { font-size: 16px; line-height: 1.45; font-weight: 800; }
.cs-product-sub { margin-top: 2px; font-size: 13px; line-height: 1.5; color: var(--mu); }
.cs-badge { display: inline-flex; align-items: center; height: 22px; margin-right: 6px; padding: 0 9px; border-radius: 11px; background: var(--soft); color: var(--g9); font-size: 12px; font-weight: 800; }
.cs-spec { display: grid; grid-template-columns: auto 1fr; gap: 3px 12px; margin: 8px 0 0; font-size: 13.5px; line-height: 1.5; }
.cs-spec dt { color: var(--mu); }
.cs-spec dd { margin: 0; font-weight: 600; }
.cs-proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0; }
.cs-pros, .cs-cons { padding: 14px; background: var(--sf); border: 1px solid var(--ln2); border-radius: 12px; font-size: 14px; line-height: 1.6; }
.cs-pc-title { margin-bottom: 6px; font-size: 13.5px; font-weight: 800; }
.cs-pros .cs-pc-title { color: var(--g9); }
.cs-cons .cs-pc-title { color: var(--bad); }
.cs-pros ul, .cs-cons ul, .post-body .cs-pros ul, .post-body .cs-cons ul { margin: 0; padding-left: 18px; list-style: disc; }
.cs-pros li, .cs-cons li { margin: 0 0 3px; }
.cs-buy { margin: 22px 0; padding: 16px; background: var(--sf); border: 1px solid var(--ln); border-radius: 12px; }
.cs-cta, .post-body a.cs-cta { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 18px; border-radius: 8px; background: var(--g9); color: #FBF9EF; font-size: 16px; font-weight: 800; text-decoration: none; }
.cs-buy-note { margin: 8px 0 0; font-size: 12.5px; line-height: 1.6; color: var(--mu); }
.cs-stores, .post-body .cs-stores { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.cs-stores li { margin: 0; }
.cs-store, .post-body a.cs-store { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border-radius: 8px; background: var(--g9); color: #FBF9EF; font-size: 14px; font-weight: 700; text-decoration: none; }

/* 태그 · 같은 분류 글 · 댓글 */
.post-tags { margin-top: 24px; font-size: 14px; line-height: 2; color: var(--mu); }
.post-tags-t { font-weight: 800; color: var(--ink); margin-right: 6px; }
.post-tags a { display: inline-block; margin: 0 6px 0 0; text-decoration: none; color: var(--g9); font-weight: 600; }
.rel { margin-top: 32px; }
.rel-hd { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 2px solid var(--ink); padding-bottom: 8px; }
.rel-ti { margin: 0; font-size: 16px; font-weight: 800; }
.rel-more { font-size: 13px; color: var(--mu); }
.rel-list li a { display: flex; justify-content: space-between; gap: 12px; min-height: 48px; padding: 10px 0; align-items: center; border-bottom: 1px solid var(--ln2); text-decoration: none; font-size: 15px; font-weight: 600; line-height: 1.5; }
.rel-list li.current a { color: var(--g9); font-weight: 800; }
.rel-date { flex: none; font-size: 12.5px; color: var(--mu); font-weight: 400; }
.cmt { margin-top: 36px; font-size: 14.5px; line-height: 1.65; }
.cmt textarea, .cmt input[type=text], .cmt input[type=password] { max-width: 100%; border: 1px solid var(--ln); border-radius: 8px; background: #fff; padding: 10px 12px; font-size: 15px; }
.cmt button, .cmt input[type=submit] { min-height: 40px; border-radius: 8px; }

/* 비밀 글 */
.lock { margin: 22px 0; padding: 20px; background: var(--sf); border: 1px solid var(--ln2); border-radius: 12px; }
.lock-ti { margin: 0 0 12px; font-weight: 800; }
.lock-row { display: flex; gap: 8px; }
.lock-row input { flex: 1 1 auto; min-width: 0; height: 44px; padding: 0 14px; border: 1px solid var(--ln); border-radius: 8px; background: #fff; font-size: 16px; }

/* 쪽 번호 */
.pg { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 28px 0 20px; flex-wrap: wrap; }
.pg-nums { display: inline-flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.pg a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--ln); border-radius: 8px; background: var(--sf); text-decoration: none; font-size: 15px; font-weight: 700; }
.pg a[aria-current] { background: var(--g9); border-color: var(--g9); color: #FBF9EF; }
.pg a.no-more-prev, .pg a.no-more-next { opacity: .35; pointer-events: none; }

/* 보조 (많이 본 글 · 차례) — 폰에서는 본문 아래 */
.side-card { margin-bottom: 16px; padding: 16px 16px 8px; background: var(--sf); border: 1px solid var(--ln2); border-radius: 12px; }
.side-ti { margin: 0 0 8px; font-size: 14px; font-weight: 800; color: var(--g9); }
.toc-card { display: none; }
.pop li a { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 8px 0; text-decoration: none; border-top: 1px solid var(--ln2); }
.pop li:first-child a { border-top: 0; }
.pop-ph { flex: none; width: 60px; height: 60px; border-radius: 8px; overflow: hidden; background: #cfd4b8; }
.pop-ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pop-ti { font-size: 14px; line-height: 1.5; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.toc { padding: 0; counter-reset: t; }
.toc li { counter-increment: t; border-top: 1px solid var(--ln2); }
.toc li:first-child { border-top: 0; }
.toc a { display: flex; gap: 8px; padding: 9px 0; text-decoration: none; font-size: 14px; line-height: 1.5; font-weight: 600; }
.toc a::before { content: counter(t) "."; flex: none; color: var(--g9); font-weight: 800; }

/* 광고 — 채워지기 전 높이 0. 위쪽 칸(.ad-top)만 높이를 잡아 둔다(글이 밀리지 않게) */
.ad { height: 0; margin: 0; overflow: hidden; text-align: center; }
.ad.on { height: auto; margin: 20px 0; overflow: visible; }
.ad.off { display: none; }
.ad-top, .ad-top.on { height: auto; min-height: 300px; max-height: 300px; margin: 16px 0; overflow: hidden; }
.ad-lab { display: block; margin-bottom: 4px; font-size: 11px; line-height: 1.4; color: var(--mu); }

/* 푸터 */
.ft { margin-top: 24px; background: var(--night); color: #CFC9B2; font-size: 13px; line-height: 1.7; }
.ft-in { max-width: 1160px; margin: 0 auto; padding: 28px var(--gut); }
.ft-brand { display: flex; align-items: center; gap: 8px; color: #FBF9EF; font-size: 16px; margin-bottom: 8px; }
.ft-brand img { width: 30px; height: 28px; object-fit: contain; }
.ft p { margin: 0 0 6px; }
.ft a { color: #E4DCC0; }

/* ── 넓은 화면 ── */
@media (min-width: 768px) {
	:root { --gut: 28px; }
	.post-ti { font-size: 36px; }
}
@media (min-width: 1024px) {
	.hd-in { height: 64px; }
	.hd-menu { display: none; }
	.panel { display: none; }
	.hd-nav { display: block; flex: 1 1 auto; }
	.hd-nav ul { display: flex; gap: 4px; }
	.hd-nav li ul { display: none; }
	.hd-nav a { display: inline-flex; align-items: center; height: 44px; padding: 0 12px; border-radius: 8px; text-decoration: none; font-size: 15px; font-weight: 700; }
	.hd-nav a:hover { background: var(--soft); }
	.brand { flex: none; }
	.hd-search { display: flex; flex: none; gap: 2px; align-items: center; }
	.hd-search input { width: 200px; flex: none; }
	.hd-search button { width: 44px; height: 44px; border: 0; background: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
	.wrap { display: grid; grid-template-columns: 800px 320px; gap: 40px; padding: 0 var(--gut); }
	.main, .side { padding-left: 0; padding-right: 0; }
	.side { position: sticky; top: 20px; align-self: start; padding-top: 18px; }
	.toc-card { display: block; }
	.toc-card[hidden] { display: none; }
	.post-ti { font-size: 44px; }
	.post-body p { font-size: 17px; }
	.post-body h2 { font-size: 20px; }
	.it-ph { width: 132px; height: 132px; }
	.it-ti { font-size: 18px; }
	.it-su { font-size: 14.5px; -webkit-line-clamp: 2; }
	.page-ti { font-size: 36px; }
}
@media (max-width: 380px) {
	.cs-proscons { grid-template-columns: 1fr; }
	.cs-product { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
@media print { .hd, .panel, .cats, .side, .ad, .ft { display: none !important; } }

/* 위쪽 광고 칸이 안 채워졌을 때 대신 보이는 카드(같은 높이) */
.fb-card { display: none; margin: 0; text-align: left; }
.ad.fb .fb-card { display: block; }
.ad.fb .adsbygoogle, .ad.fb .ad-lab { display: none !important; } /* ins 인라인 display:block 을 이기려면 !important — 구글 unfill-optimized 빈 채움 박스가 대체 카드 위에 남던 버그(11-17 실측) */

/* 보강 — 터치 타깃 · PC 사이드 광고 자리(짧은 페이지에서 푸터가 밀리지 않게) */
.post-tags a { display: inline-flex; align-items: center; min-height: 36px; }
.rel-more { display: inline-flex; align-items: center; min-height: 36px; }
.crumb { display: inline-block; padding: 6px 0; }
@media (min-width: 1024px) { .side-ad { min-height: 290px; } }

/* ══ redswan 고유 ══ */
html { overflow-x: clip; }
.hd { background: var(--g9); border-bottom: 0; color: #fff; }
.hd a, .hd-menu, .hd-search button { color: #fff; }
.hd-nav a:hover { background: rgba(255,255,255,.14); }
.hd-search input { border-color: transparent; }

/* 글 페이지 — 머리는 커버 위에 얹는다 */
#tt-body-page .hd { position: absolute; left: 0; right: 0; top: 0; z-index: 30; background: transparent; }
#tt-body-page .panel { position: absolute; left: 0; right: 0; top: 56px; z-index: 29; }
#tt-body-page .cats { display: none; }
.main .cover { display: none; }
body > .cover { display: block; }
.cover { position: relative; height: 440px; background: var(--g9); color: #fff; overflow: hidden; }
.cover-ph { position: absolute; inset: 0; }
.cover-ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,32,47,.5) 0, rgba(16,32,47,0) 24%, rgba(16,32,47,0) 34%, rgba(16,32,47,.9) 100%); }
.cover-in { position: absolute; left: 0; right: 0; bottom: 24px; max-width: 1160px; margin: 0 auto; padding: 0 var(--gut); z-index: 2; }
.cover-cat { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 14px; background: var(--soft); color: var(--g9); font-size: 13px; font-weight: 800; text-decoration: none; }
.cover-ti { margin: 10px 0 0; max-width: 800px; font-size: 32px; line-height: 1.35; font-weight: 800; color: #fff; }
.post-notice .cover, .post-lock .cover { height: 300px; }
.post { padding-top: 0; }
.by { gap: 10px; margin-top: 18px; flex-wrap: nowrap; align-items: center; }
.by .av { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--g9); display: inline-flex; align-items: center; justify-content: center; }
.by .av img { width: 22px; height: 20px; }
.by-tx { font-size: 13px; line-height: 1.55; color: var(--mu); }
.by-tx strong { color: var(--ink); }
.lead { margin-top: 16px; }
.lead .cs-summary { order: 1; }
.lead .cs-basis { order: 2; }
.lead .cs-basis-warn { order: 3; }
.lead .cs-facts { order: 4; }
.lead .cs-disclosure { order: 5; }

/* 근거 · 기준일 상자 */
.cs-basis { background: #fff; border: 1px solid var(--nline); border-radius: 12px; padding: 14px 16px; font-size: 13.5px; line-height: 1.6; }
.cs-basis-title { display: block; margin-bottom: 8px; font-size: 12.5px; font-weight: 800; color: var(--g); }
.cs-basis dl { display: grid; grid-template-columns: 76px 1fr; gap: 6px 10px; margin: 0; }
.cs-basis dt { color: var(--mu); }
.cs-basis dd { margin: 0; font-weight: 500; }
.cs-basis-warn { background: var(--warn); border: 1px solid #e8cf94; border-radius: 8px; padding: 10px 12px; font-size: 13.5px; line-height: 1.6; }

/* 본문 — 소제목 남색 · 표는 보고서 모양 */
.post-body h2 { color: var(--g9); }
.post-body h2:not(.nonum)::before { color: var(--g); }
.post-body table { background: #fff; }
.post-body th, .post-body td { border-color: var(--nline); }
.post-body thead th, .post-body th { background: var(--g9); color: #fff; width: auto; }
.post-body tbody th { background: var(--soft); color: var(--ink); width: 34%; }
.post-body td { background: #fff; }

/* 목록 — 큰 사진 카드 */
.it { border-bottom: 0; }
.it-link { display: block; padding: 0 0 26px; }
.it-ph { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 12px; background: var(--g9); }
.it-tx { display: block; padding-top: 12px; }
.it-ti { margin: 8px 0 4px; font-size: 18px; line-height: 1.4; color: var(--g9); -webkit-line-clamp: 3; }
.it-su { font-size: 13.5px; -webkit-line-clamp: 2; }
.it-meta { margin-top: 8px; }
.it-date { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 12px; background: #fff; border: 1px solid var(--nline); color: var(--g); font-size: 12px; font-weight: 700; }
.it-notice .it-tx, .it-lock .it-tx { padding-top: 0; }
.it-notice .it-link, .it-lock .it-link { padding: 16px 0; }
#tt-body-index .main > .it:first-of-type { padding-bottom: 26px; }
#tt-body-index .main > .it:first-of-type .it-link { position: relative; display: block; height: 520px; margin: 0 calc(var(--gut) * -1); padding: 0; color: #fff; overflow: hidden; }
#tt-body-index .main > .it:first-of-type .it-ph { position: absolute; inset: 0; width: auto; aspect-ratio: auto; border-radius: 0; }
#tt-body-index .main > .it:first-of-type .it-link::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,32,47,.35) 0, rgba(16,32,47,0) 30%, rgba(16,32,47,.9) 100%); }
#tt-body-index .main > .it:first-of-type .it-tx { position: absolute; left: var(--gut); right: var(--gut); bottom: 22px; z-index: 2; padding: 0; }
#tt-body-index .main > .it:first-of-type .it-cat { background: var(--soft); color: var(--g9); height: 26px; padding: 0 11px; margin: 0; }
#tt-body-index .main > .it:first-of-type .it-ti { margin: 10px 0 6px; font-size: 32px; line-height: 1.35; color: #fff; }
#tt-body-index .main > .it:first-of-type .it-su { color: rgba(255,255,255,.9); -webkit-line-clamp: 1; }
#tt-body-index .main > .it:first-of-type .it-meta { margin-top: 10px; }

/* 분류 — 이전 글 모음 · 하위 분류 줄 · 폰 메뉴의 트리 */
.cats-in .cs-legacy { display: block; }
.cats-in .cs-legacy-list { display: flex; gap: 8px; margin-left: 8px; }
.cs-legacy-list[hidden] { display: none !important; }
.cs-legacy-btn { height: 34px; padding: 0 14px; border-radius: 17px; border: 1px dashed var(--ln); background: transparent; color: var(--mu); font-size: 14px; font-weight: 700; white-space: nowrap; cursor: pointer; }
.cs-legacy-btn[aria-expanded="true"] { display: none; }
.cats-sub { display: none; }
.cats-sub.on { display: flex; gap: 8px; max-width: 1160px; margin: 0 auto; padding: 8px var(--gut) 4px; overflow-x: auto; scrollbar-width: none; }
.cats-sub a { flex: none; display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 16px; border: 1px solid var(--nline); background: #fff; color: var(--g9); font-size: 13.5px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.cats-sub a.is-here { background: var(--g); border-color: var(--g); color: #fff; }
.panel-cats { margin-top: 12px; }
.panel-cats ul, .panel-cats li { display: block; }
.panel-cats .link_tit, .panel-cats img, .panel-cats .c_cnt { display: none; }
.panel-cats a { display: flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 700; border-bottom: 1px solid var(--ln2); }
.panel-cats .sub_category_list a { padding-left: 16px; font-weight: 500; font-size: 14.5px; }
.panel-cats .cs-legacy-btn { width: 100%; text-align: left; border-radius: 8px; height: 44px; }
.panel-cats .cs-legacy-list { padding-left: 12px; }

/* 푸터 — 중개사 등록 표시 */
.cs-realtor { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.14); }

@media (min-width: 1024px) {
	.cover { height: 560px; }
	.cover-ti { font-size: 48px; }
	.post-notice .cover, .post-lock .cover { height: 300px; }
	#tt-body-index .main > .it:first-of-type .it-link { margin: 0; border-radius: 12px; height: 460px; }
	#tt-body-index .main > .it:first-of-type .it-ti { font-size: 40px; }
	.it-ti { font-size: 20px; }
}
