/* 세무칼럼 전용 스타일: 루트 style.css의 색·헤더·푸터를 그대로 쓰고 칼럼 본문만 더한다. 칼럼 본문 글꼴은 나눔스퀘어라운드. */
@import url("https://cdn.jsdelivr.net/gh/moonspam/NanumSquareRound@1.0/nanumsquareround.min.css");

.column-main {
  font-family: "NanumSquareRound", "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

.column-page {
  background: var(--white);
}

.column-page .site-header {
  color: #174a78;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}

.column-page .site-nav {
  color: #174a78;
}

.column-page .site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}

.column-main {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: calc(var(--header-height, 90px) + 48px) 0 80px;
}

.column-hero h1,
.article h1 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.column-hero p {
  margin: 0 0 36px;
  color: var(--muted);
}

.column-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.column-filter button {
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.column-filter button[aria-pressed="true"] {
  border-color: #174a78;
  color: var(--white);
  background: #174a78;
}

.column-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.column-card a {
  display: block;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.column-card a:hover,
.column-card a:focus-visible {
  border-color: #174a78;
  box-shadow: 0 8px 24px rgba(23, 74, 120, 0.08);
}

.column-card h2 {
  margin: 6px 0 8px;
  font-size: 19px;
  line-height: 1.45;
}

.column-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.column-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  color: var(--gray);
  font-size: 13px;
}

.column-tag {
  color: #174a78;
  font-weight: 600;
}

.column-empty {
  padding: 40px 0;
  color: var(--muted);
  text-align: center;
}

/* 글 페이지 */
.breadcrumb {
  margin: 0 0 18px;
  color: var(--gray);
  font-size: 13px;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.article .column-meta {
  margin: 0 0 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.article-body {
  font-size: 15.3px;
  line-height: 1.48;
  word-break: keep-all;
}

.article-body h2 {
  margin: 44px 0 14px;
  padding-left: 12px;
  border-left: 4px solid #174a78;
  font-size: 19.8px;
  line-height: 1.45;
}

.article-body p {
  margin: 0 0 18px;
}

.article-body strong {
  color: #174a78;
}

.article-body blockquote {
  margin: 20px 0;
  padding: 14px 18px;
  border-left: 4px solid #174a78;
  background: var(--paper);
  font-size: 13.5px;
}

.article-body blockquote p:last-child {
  margin-bottom: 0;
}

.article-body ul,
.article-body ol {
  margin: 0 0 18px;
  padding-left: 22px;
}

.table-wrap {
  margin: 20px 0;
  overflow-x: auto;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.article-body th,
.article-body td {
  padding: 9px 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.article-body th {
  background: var(--paper);
  white-space: nowrap;
}

.article-note {
  margin: 36px 0 0;
  color: var(--gray);
  font-size: 13px;
}

.author-box {
  margin: 48px 0 0;
  padding: 24px;
  border-radius: 14px;
  background: var(--paper);
  text-align: center;
}

.author-lead {
  margin: 0 0 18px;
  color: var(--ink);
  font-weight: 600;
}

.author-people {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 20px;
}

.author-person {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  text-align: left;
}

.author-person img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
}

.author-person h2 {
  margin: 0 0 2px;
  font-size: 16px;
}

.author-person a {
  color: #174a78;
  font-size: 14px;
}

.author-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.author-actions a {
  padding: 8px 16px;
  border: 1px solid #174a78;
  border-radius: 999px;
  color: #174a78;
  font-size: 14px;
  font-weight: 600;
}

.author-actions a:first-child {
  color: var(--white);
  background: #174a78;
}

.column-back {
  display: inline-block;
  margin-top: 32px;
  color: #174a78;
  font-size: 15px;
}

@media (max-width: 560px) {
  .article-body {
    font-size: 16px;
  }

  .author-people {
    grid-template-columns: 1fr;
  }

  .author-person {
    justify-content: flex-start;
  }
}
