/* 세무사 칼럼 페이지 공통 스타일 (홈페이지 index.html과 같은 색·글꼴) */
:root {
    --navy: #1f2352;
    --navy-dark: #171a3f;
    --sky: #8fb4e8;
    --sky-light: #dbe7f8;
    --green: #12955f;
    --text: #1e293b;
    --muted: #64748b;
    --bg: #f6f8fb;
    --line: #e2e8f0;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Noto Sans KR', sans-serif; color: var(--text); background: #fff; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
.inner { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* 상단 메뉴 */
.nav { background: var(--navy); position: sticky; top: 0; z-index: 10; }
.nav .inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; font-size: 19px; white-space: nowrap; }
.brand svg { width: 26px; height: 26px; }
.nav-links { display: flex; gap: 22px; }
.nav-links a { color: #e2e8f0; font-size: 15px; font-weight: 500; white-space: nowrap; }
.nav-links a:hover { color: #fff; }
.nav-links a.highlight { color: var(--sky); }

/* 본문 영역 */
.article-wrap { max-width: 780px; padding-top: 24px; padding-bottom: 64px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.crumbs a:hover { color: var(--green); text-decoration: underline; }
.col-meta { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.col-cat { color: var(--green); font-weight: 700; }

.article-head { border-bottom: 1px solid var(--line); padding-bottom: 24px; margin-bottom: 28px; }
.article-head h1 { font-size: 30px; line-height: 1.4; color: var(--navy); word-break: keep-all; letter-spacing: -0.01em; }
.article-head .lead { font-size: 17px; line-height: 1.75; color: #334155; margin-top: 14px; word-break: keep-all; }
.byline { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.byline img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: top; background: var(--sky-light); }
.byline div { display: flex; flex-direction: column; line-height: 1.35; }
.byline strong { font-size: 15px; color: var(--navy); }
.byline span { font-size: 13px; color: var(--muted); }

.toc { background: var(--bg); border-radius: 12px; padding: 18px 22px; margin-bottom: 32px; }
.toc strong { display: block; font-size: 14px; color: var(--navy); margin-bottom: 6px; }
.toc ol { padding-left: 20px; font-size: 15px; }
.toc li { padding: 2px 0; }
.toc a:hover { color: var(--green); text-decoration: underline; }

.article-body { font-size: 17px; line-height: 1.85; word-break: keep-all; overflow-wrap: break-word; }
.article-body > * + * { margin-top: 18px; }
.article-body h2 { font-size: 23px; line-height: 1.45; color: var(--navy); margin-top: 48px; padding-top: 8px; scroll-margin-top: 80px; }
.article-body h3 { font-size: 19px; line-height: 1.5; color: var(--navy); margin-top: 32px; }
.article-body strong { color: var(--navy-dark); background: linear-gradient(transparent 62%, #d6f0e3 62%); }
.article-body a { color: var(--green); text-decoration: underline; }
.article-body ul, .article-body ol { padding-left: 24px; }
.article-body li + li { margin-top: 6px; }
.callout { background: #f0f9f4; border-left: 4px solid var(--green); border-radius: 0 10px 10px 0; padding: 16px 20px; font-size: 16px; }
.callout > * + * { margin-top: 10px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.6; }
th, td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
th { background: var(--bg); color: var(--navy); font-weight: 700; white-space: nowrap; }

.disclaimer { margin-top: 40px; font-size: 13px; color: var(--muted); background: var(--bg); border-radius: 8px; padding: 12px 16px; word-break: keep-all; }

/* 상담 안내 */
.cta { margin-top: 28px; background: var(--navy); color: #fff; border-radius: 14px; padding: 28px; }
.cta h2 { font-size: 21px; }
.cta p { color: #cbd5e1; margin-top: 4px; font-size: 15px; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.btn { display: inline-block; padding: 12px 20px; border-radius: 8px; font-weight: 700; font-size: 15px; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: #0f7a4e; }
.btn-line { border: 1px solid #64748b; color: #fff; }
.btn-line:hover { border-color: #fff; }
.cta .blog-link { margin-top: 18px; font-size: 14px; }
.cta .blog-link a { color: var(--sky); text-decoration: underline; }

/* 칼럼 목록 */
.related { margin-top: 48px; }
.related h2 { font-size: 20px; color: var(--navy); margin-bottom: 12px; }
.list-head { margin-bottom: 24px; }
.list-head h1 { font-size: 30px; color: var(--navy); }
.list-head p { color: var(--muted); margin-top: 6px; word-break: keep-all; }
.col-list { list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 6px 22px; }
.col-list li + li { border-top: 1px solid #eef2f6; }
.col-list a { display: block; padding: 16px 0; }
.col-list a:hover .col-title { color: var(--green); text-decoration: underline; }
.col-title { display: block; font-size: 16px; font-weight: 700; color: var(--text); line-height: 1.45; word-break: keep-all; }
.col-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; color: var(--muted); margin-top: 4px; word-break: keep-all; }
.col-list.big .col-title { font-size: 18px; }
.col-all { display: block; text-align: center; padding: 16px 0; font-size: 14px; font-weight: 700; color: var(--navy); }
.col-all:hover { color: var(--green); }
.empty { color: var(--muted); padding: 40px 0; text-align: center; }

footer { background: var(--navy-dark); color: #94a3b8; font-size: 13px; padding: 24px 0; line-height: 1.8; }
footer a:hover { color: #fff; }

@media (max-width: 640px) {
    .nav .inner { height: auto; flex-direction: column; align-items: flex-start; padding-top: 12px; padding-bottom: 10px; gap: 6px; }
    .nav-links { gap: 16px; overflow-x: auto; max-width: 100%; }
    .nav-links a { font-size: 14px; }
    .article-head h1, .list-head h1 { font-size: 24px; }
    .article-head .lead { font-size: 16px; }
    .article-body { font-size: 16px; }
    .article-body h2 { font-size: 20px; margin-top: 40px; }
    .cta { padding: 22px 18px; }
    .col-list { padding: 4px 16px; }
}
