/* 상권 블로그 — templates/pages/blog_*.html (10-08) */
.chip.tag { display: inline-flex; align-items: center; margin: 0; padding: 3px 10px; font-size: 14px; line-height: inherit; vertical-align: baseline; background: var(--soft); color: var(--text-2); font-weight: 600; }   /* 다른 파일의 .tag(작은 꼬리표)가 덮어 글자가 위로 붙었다 (10-13) */
.post { padding: 0; overflow: hidden; }
.post-thumb img { display: block; width: 100%; height: auto; }
.post-body { padding: 8px 22px 24px; font-size: 16.5px; line-height: 1.85; color: var(--text); }
.post-body h2 { margin: 30px 0 10px; font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.post-body h3 { margin: 22px 0 8px; font-size: 18px; font-weight: 800; }
.post-body p { margin: 10px 0; }
.post-body b { color: var(--blue); }
.post-body .post-list { margin: 10px 0; padding-left: 20px; list-style: disc; display: grid; gap: 4px; }
.post-body .tscroll { margin: 14px 0; }
.post-body .t td, .post-body .t th { font-size: 15px; }
.post-src { margin-top: 26px; padding: 14px 16px; border-radius: var(--r-s); background: var(--soft); font-size: 14px; color: var(--text-2); }
.post-src .ps-h { font-weight: 800; margin-bottom: 6px; color: var(--text); }
.post-src ul { display: grid; gap: 4px; padding-left: 16px; list-style: disc; }
.blog-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.blog-bar input { flex: 0 1 260px; min-width: 0; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; font: inherit; font-size: 15px; }
.post-cards { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .post-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .post-cards.big { grid-template-columns: 1fr 1fr 1fr; } }
.post-cards a { display: grid; gap: 6px; height: 100%; padding-bottom: 6px; color: var(--text); }
.post-cards a:hover { text-decoration: none; }
.post-cards a:hover b { color: var(--blue); }
.post-cards img { width: 100%; height: auto; border-radius: var(--r-s); border: 1px solid var(--line); }
.pc-cat { font-size: 13px; font-weight: 800; color: var(--teal-text); }
.post-cards b { font-size: 16.5px; line-height: 1.45; }
.pc-sum { font-size: 14px; line-height: 1.6; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-cards small { font-size: 13px; color: var(--text-3); }
.chips-list a[aria-current="page"] { background: var(--blue); color: #fff; }
/* 두 칸 — 본문 + 오른쪽 곁단 (10-08 · 청약로그ON 블로그 틀) */
.blog-layout { grid-column: 1 / -1; display: grid; gap: 18px; align-items: start; }
@media (min-width: 1000px) { .blog-layout { grid-template-columns: minmax(0, 1fr) 236px; }   /* 곁단 300 → 236 — 본문이 좁아 보였다 (10-13 남덕호님) */ .blog-side { position: sticky; top: 16px; } }
.blog-main { display: grid; gap: 18px; min-width: 0; }
.blog-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: -4px 0 14px; }
.blog-tags span { font-size: 13px; font-weight: 800; color: var(--text-3); margin-right: 2px; }
.blog-tags a { padding: 4px 10px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--text-2); background: var(--soft); }
.blog-tags a i { font-style: normal; margin-left: 4px; color: var(--text-3); font-size: 12px; }
.blog-tags a:hover { text-decoration: none; color: var(--blue); }
.blog-tags a[aria-current="page"] { background: var(--blue); color: #fff; }
.blog-tags a[aria-current="page"] i { color: rgba(255,255,255,.8); }
.blog-side { display: grid; gap: 14px; }
.bsd { padding: 16px 18px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); }
.bsd-h { font-size: 15px; font-weight: 800; margin-bottom: 10px; color: var(--text); }
.bsd-list li { display: flex; justify-content: space-between; padding: 5px 0; font-size: 14.5px; border-bottom: 1px dashed var(--line); }
.bsd-list li:last-child { border-bottom: 0; }
.bsd-list span { color: var(--text-3); font-size: 13px; }
.bsd-tags, .bsd-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.bsd-tags a, .bsd-chips a { padding: 4px 10px; border-radius: 999px; font-size: 13.5px; font-weight: 600; background: var(--soft); color: var(--text-2); }
.bsd-tags a:hover, .bsd-chips a:hover { text-decoration: none; color: var(--blue); }
.bsd-ol { counter-reset: b; display: grid; gap: 8px; font-size: 14px; line-height: 1.5; }
.bsd-ol li { counter-increment: b; display: flex; gap: 8px; align-items: baseline; }
.bsd-ol li::before { content: counter(b); flex: 0 0 18px; font-weight: 800; color: var(--blue); font-size: 13px; }
.bsd-ol.rank li a { flex: 1; min-width: 0; }
.bsd-ol.rank li b { font-size: 13.5px; color: var(--text); font-variant-numeric: tabular-nums; }
.bsd-more { margin-top: 10px; font-size: 13.5px; font-weight: 700; }
.bsd-src { margin-top: 6px; font-size: 12px; color: var(--text-3); }
.bsd-chips + .bsd-more, .bsd-src + .bsd-chips { margin-top: 10px; }

/* 본문 인용 · 주의 상자 · 번호 목록 (gen_blog.md · 10-08) */
.post-note { margin: 18px 0; padding: 14px 16px; border-left: 4px solid #f59e0b; background: #fffbeb; border-radius: 0 10px 10px 0; color: #78350f; }
.post-note p { margin: 0; }
ol.post-list { padding-left: 1.4em; }
ol.post-list li { margin: 4px 0; }
.post-body ol.post-list { list-style: decimal; }
/* 지원 · 대출로 잇는 상자 (10-13) */
.bsd-sup { border: 1px solid #cfe0ff; background: #f5f9ff; }
.bsd-sup .bsd-h span { margin-left: 4px; font-size: 12.5px; font-weight: 700; color: var(--blue); }
.post-cta { border: 1px solid #cfe0ff; }
.post-cta .chips-list { margin-top: 12px; }
/* 글 목록 「더 보기」 — 20편씩 (10-13) */
.b-more-row { margin-top: 16px; text-align: center; }
#b-more { width: 100%; max-width: 420px; padding: 13px 16px; border: 1px solid var(--blue); border-radius: 12px; background: #fff; font: inherit; font-size: 16px; font-weight: 700; color: var(--blue); cursor: pointer; }
#b-more:hover { background: #eaf1fd; }
