/* 칼럼 (목록 /column/ · 글 /column/<slug>/) — fc.css·sub.css 다음에 불러온다. 메인과 같은 파랑·연회색 톤 */
.cl { padding-bottom: 96px; }
.cl em { font-style: normal; color: var(--blue); }
.cl-cat { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 6px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .02em; color: var(--blue); background: var(--blue-soft); }
.cl-date { font-size: 13px; color: var(--ink3); }
.cl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; border-radius: 10px; font-size: 14.5px; font-weight: 600; color: #fff; text-decoration: none; background: var(--blue); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 8px 18px -8px rgba(43, 92, 255, .75); transition: background .2s; }
.cl-btn:hover { background: var(--blue-d); }
.cl svg { width: 16px; height: 16px; flex: none; }

/* ═══ 목록 ═══ */
.cl-hero { padding: 72px 0 40px; text-align: center; }
.light .cl-hero h1 { margin: 20px 0 14px; font-size: clamp(32px, 4.6vw, 54px); font-weight: 650; letter-spacing: -.045em; line-height: 1.15; }
.light .cl-hero p { max-width: 600px; margin: 0 auto; font-size: 16.5px; line-height: 1.7; color: var(--ink2); }

.cl-feature { display: grid; grid-template-columns: 1.4fr 1fr; overflow: hidden; border-radius: 16px; border: 1px solid var(--l); background: #fff; text-decoration: none; color: inherit; transition: border-color .25s, box-shadow .25s; }
.cl-feature:hover { border-color: #d6d6d6; box-shadow: 0 24px 48px -28px rgba(0, 0, 0, .22); }
.cl-feature-l { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: clamp(24px, 3.5vw, 44px); }
.cl-badge { font-size: 13px; font-weight: 600; color: var(--blue); }
.light .cl-feature h2 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 650; letter-spacing: -.035em; line-height: 1.3; color: var(--ink); }
.light .cl-feature-l p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--ink2); }
.cl-feature-r { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: clamp(24px, 3.5vw, 44px); color: #fff; background: linear-gradient(150deg, #4a74ff, var(--blue) 55%, #1f48e0); }
.cl-feature-r::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px); background-size: 32px 32px; pointer-events: none; }
.cl-feature-r ol { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cl-feature-r li { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 12px; background: rgba(255, 255, 255, .12); font-size: 15.5px; font-weight: 600; }
.cl-feature-r li i { font-style: normal; font-family: var(--mono); font-size: 12.5px; opacity: .7; }
.cl-more { position: relative; display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; }
.cl-feature:hover .cl-more svg { transform: translateX(3px); }
.cl-more svg { transition: transform .2s; }

.cl-list-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; margin-top: 64px; align-items: start; }
.cl-list-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--l); }
.light .cl-list-top h2 { font-size: 22px; font-weight: 650; letter-spacing: -.03em; }
.cl-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cl-chips button { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--l); background: #fff; font-size: 13.5px; font-weight: 500; color: var(--ink2); transition: all .2s; }
.cl-chips button span { font-family: var(--mono); font-size: 11.5px; color: var(--ink3); }
.cl-chips button:hover { border-color: #d0d0d0; color: var(--ink); }
.cl-chips button.on { color: #fff; background: var(--blue); border-color: var(--blue); }
.cl-chips button.on span { color: rgba(255, 255, 255, .75); }

.cl-cards { list-style: none; margin: 0; padding: 0; }
.cl-cards-list li { border-bottom: 1px solid var(--l); }
.cl-cards-list a { display: block; padding: 26px 4px; text-decoration: none; color: inherit; transition: background .2s, padding .3s var(--ease); }
.cl-cards-list a:hover { padding-left: 14px; background: linear-gradient(90deg, var(--blue-soft), transparent 70%); }
.light .cl-card h3 { margin: 12px 0 8px; font-size: 19px; font-weight: 650; letter-spacing: -.03em; line-height: 1.4; color: var(--ink); }
.light .cl-card p { margin: 0 0 12px; font-size: 14.5px; line-height: 1.7; color: var(--ink2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cl-card a:hover h3 { color: var(--blue); }
.cl-empty { padding: 40px 0; text-align: center; color: var(--ink3); }

.cl-side { display: grid; gap: 16px; position: sticky; top: 100px; }
.cl-box { padding: 20px 22px; border-radius: 14px; border: 1px solid var(--l); background: #fff; }
.cl-box > b { display: block; margin-bottom: 12px; font-size: 14px; font-weight: 650; }
.cl-catlist { list-style: none; margin: 0; padding: 0; }
.cl-catlist a { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14.5px; color: var(--ink2); text-decoration: none; }
.cl-catlist a:hover { color: var(--blue); }
.cl-catlist span { font-family: var(--mono); font-size: 12.5px; color: var(--ink3); }
.cl-picks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cl-picks li { display: grid; grid-template-columns: 22px 1fr; gap: 6px; font-size: 14px; line-height: 1.5; }
.cl-picks i { font-style: normal; font-family: var(--mono); font-weight: 600; color: var(--blue); }
.cl-picks a { color: var(--ink); text-decoration: none; }
.cl-picks a:hover { color: var(--blue); }
.cl-cta { padding: 22px; border-radius: 14px; color: #fff; background: linear-gradient(150deg, #4a74ff, var(--blue) 60%, #1f48e0); }
.cl-cta-k { font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; opacity: .75; }
.cl-cta b { display: block; margin: 8px 0; font-size: 17px; font-weight: 650; line-height: 1.4; letter-spacing: -.02em; }
.light .cl-cta p { margin: 0 0 16px; font-size: 13.5px; line-height: 1.6; opacity: .85; }
.cl-cta .cl-btn { width: 100%; color: var(--blue); background: #fff; box-shadow: none; }
.cl-cta .cl-btn:hover { background: #eef2ff; }

/* ═══ 글 ═══ */
.cl-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 36px; font-size: 13.5px; color: var(--ink3); }
.cl-crumb a { color: var(--ink2); text-decoration: none; }
.cl-crumb a:hover { color: var(--blue); }
.cl-crumb i { font-style: normal; color: #cfcfcf; }
.cl-head { max-width: 860px; padding: 28px 0 36px; }
.light .cl-head h1 { margin: 16px 0 16px; font-size: clamp(28px, 3.6vw, 44px); font-weight: 650; letter-spacing: -.045em; line-height: 1.25; }
.light .cl-desc { margin: 0; font-size: 17px; line-height: 1.75; color: var(--ink2); }
.cl-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin-top: 22px; font-size: 13.5px; color: var(--ink3); }
.cl-by { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.cl-by img { border-radius: 6px; }

.cl-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 56px; align-items: start; padding-top: 32px; border-top: 1px solid var(--l); }
.cl-article { min-width: 0; max-width: 780px; }
.cl-sum { margin-bottom: 40px; padding: 24px 26px; border-radius: 16px; border: 1px solid rgba(43, 92, 255, .18); background: linear-gradient(180deg, #f3f6ff, #fff); }
.cl-sum-h { display: flex; align-items: baseline; gap: 10px; margin-bottom: 16px; }
.cl-sum-h b { font-size: 16px; font-weight: 650; }
.cl-sum-h span { font-family: var(--mono); font-size: 12px; color: var(--blue); }
.cl-sum ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.cl-sum li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; }
.cl-sum li i { font-style: normal; font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--blue); padding-top: 2px; }
.cl-sum li b { display: block; font-size: 13px; font-weight: 600; color: var(--blue); }
.light .cl-sum li p { margin: 2px 0 0; font-size: 15.5px; line-height: 1.65; color: var(--ink); }

.cl-toc-m { display: none; margin-bottom: 32px; border-radius: 12px; border: 1px solid var(--l); background: #fff; }
.cl-toc-m summary { padding: 14px 18px; font-size: 14.5px; font-weight: 600; cursor: pointer; }
.cl-toc-m ol { margin: 0; padding: 0 18px 16px 36px; font-size: 14px; line-height: 1.9; }
.cl-toc-m a { color: var(--ink2); text-decoration: none; }

/* 본문 타이포 */
.cl-body { font-size: 16.5px; line-height: 1.85; color: #333; }
.cl-body > * + * { margin-top: 18px; }
.light .cl-body p { margin: 0; }
.light .cl-body > p + p, .light .cl-body > * + p { margin-top: 18px; }
.light .cl-body h2 { margin-top: 64px; padding-top: 4px; font-size: clamp(22px, 2.2vw, 27px); font-weight: 650; letter-spacing: -.035em; line-height: 1.4; color: var(--ink); scroll-margin-top: 110px; }
.light .cl-body h2::before { content: "Q."; margin-right: 8px; font-family: var(--mono); font-size: .8em; color: var(--blue); }
.light .cl-body h2#refs::before, .light .cl-body h2#faq::before { content: none; }
.light .cl-body h2 + p { margin-top: 16px; padding-left: 16px; border-left: 3px solid var(--blue); font-weight: 600; color: var(--ink); }
.light .cl-body h3 { margin-top: 36px; font-size: 19px; font-weight: 650; letter-spacing: -.02em; }
.cl-body strong { font-weight: 650; color: var(--ink); }
.cl-body a { color: var(--blue); text-underline-offset: 3px; }
.cl-body ul, .cl-body ol { padding-left: 22px; }
.cl-body li + li { margin-top: 6px; }
.cl-body li::marker { color: var(--blue); }
.cl-body ul:has(> li > input[type="checkbox"]) { list-style: none; padding: 18px 20px; border-radius: 14px; border: 1px solid var(--l); background: #fff; }
.cl-body li:has(> input[type="checkbox"]) { position: relative; padding-left: 30px; }
.cl-body li > input[type="checkbox"] { position: absolute; left: 0; top: .42em; width: 18px; height: 18px; margin: 0; appearance: none; -webkit-appearance: none; border-radius: 5px; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12 5 5 9-10' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
.cl-table { overflow-x: auto; border-radius: 14px; border: 1px solid var(--l); background: #fff; }
.cl-table table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.6; }
.cl-table th { padding: 13px 16px; text-align: left; font-weight: 600; color: var(--ink); white-space: nowrap; background: #f6f7fa; border-bottom: 1px solid var(--l); }
.cl-table td { padding: 13px 16px; vertical-align: top; border-top: 1px solid #f0f0f0; }
.cl-table td:first-child { font-weight: 600; color: var(--ink); white-space: nowrap; }
.cl-note { margin: 0; padding: 18px 20px 18px 50px; position: relative; border-radius: 14px; font-size: 15px; line-height: 1.75; color: #3a3a3a; background: #fff8e8; border: 1px solid #f6e3b5; }
.cl-note::before { content: "!"; position: absolute; left: 18px; top: 19px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; background: #e0a100; }
.light .cl-note p { margin: 0; }
.cl-refs { list-style: none; padding: 0 !important; font-size: 14.5px; }
.cl-refs li { padding: 10px 0; border-bottom: 1px solid #f0f0f0; }
.cl-refs span { color: var(--ink3); font-size: 13px; }
.cl-faq { display: grid; gap: 10px; }
.cl-faq details { border-radius: 12px; border: 1px solid var(--l); background: #fff; transition: border-color .2s; }
.cl-faq details[open] { border-color: rgba(43, 92, 255, .35); }
.cl-faq summary { display: flex; gap: 10px; padding: 16px 20px; font-size: 16px; font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; }
.cl-faq summary::-webkit-details-marker { display: none; }
.cl-faq summary b { color: var(--blue); font-family: var(--mono); }
.cl-faq summary::after { content: "+"; margin-left: auto; font-size: 20px; line-height: 1; color: var(--ink3); transition: transform .2s; }
.cl-faq details[open] summary::after { transform: rotate(45deg); }
.light .cl-faq details p { margin: 0; padding: 0 20px 18px 46px; font-size: 15px; line-height: 1.75; color: var(--ink2); }

.cl-author { display: flex; gap: 16px; margin-top: 56px; padding: 22px 24px; border-radius: 14px; border: 1px solid var(--l); background: #fff; }
.cl-author img { border-radius: 12px; flex: none; }
.cl-author b { font-size: 15.5px; }
.light .cl-author p { margin: 6px 0 0; font-size: 14px; line-height: 1.7; color: var(--ink2); }

.cl-toc { padding: 20px 22px; border-radius: 14px; border: 1px solid var(--l); background: #fff; }
.cl-toc > b { display: block; margin-bottom: 10px; font-size: 14px; font-weight: 650; }
.cl-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.cl-toc li { counter-increment: t; }
.cl-toc a { display: grid; grid-template-columns: 22px 1fr; gap: 4px; padding: 7px 0; font-size: 13.5px; line-height: 1.5; color: var(--ink2); text-decoration: none; border-left: 2px solid transparent; transition: color .2s; }
.cl-toc a::before { content: counter(t, decimal-leading-zero); font-family: var(--mono); font-size: 11.5px; color: var(--ink3); padding-top: 2px; }
.cl-toc a:hover, .cl-toc a.on { color: var(--blue); }
.cl-toc a.on::before { color: var(--blue); }

.cl-related { margin-top: 80px; padding-top: 40px; border-top: 1px solid var(--l); }
.light .cl-related h2 { margin-bottom: 20px; font-size: 22px; font-weight: 650; letter-spacing: -.03em; }
.cl-related .cl-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cl-related .cl-card a { display: block; height: 100%; padding: 22px; border-radius: 14px; border: 1px solid var(--l); background: #fff; text-decoration: none; color: inherit; transition: border-color .2s, box-shadow .2s; }
.cl-related .cl-card a:hover { border-color: #d6d6d6; box-shadow: 0 18px 36px -24px rgba(0, 0, 0, .25); }
.light .cl-related .cl-card h3 { font-size: 17px; }

/* ═══ 반응형 ═══ */
@media (max-width: 1000px) {
  .cl-list-layout, .cl-layout { grid-template-columns: 1fr; }
  .cl-side { position: static; }
  .cl-layout .cl-toc { display: none; }
  .cl-toc-m { display: block; }
  .cl-related .cl-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .cl-hero { padding: 48px 0 28px; }
  .cl-feature { grid-template-columns: 1fr; }
  .cl-feature-r { padding: 20px 22px; }
  .cl-body { font-size: 16px; }
  .cl-related .cl-cards { grid-template-columns: 1fr; }
  .cl-table td:first-child { white-space: normal; }
}

/* 제목 위 꼬리표 (가이드 페이지 style.css의 .pill과 같은 모양) */
.cl-hero .pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 5px 5px; border-radius: 999px; border: 1px solid var(--l); background: #fff; font-size: 13.5px; font-weight: 500; color: var(--ink2); }
.cl-hero .pill b { padding: 2px 10px; border-radius: 6px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .04em; color: #fff; background: var(--blue); }

/* 코드 예시 (robots.txt, 메타 태그, 정규식, JSON-LD) */
.cl-body pre { margin: 0; padding: 18px 20px; overflow-x: auto; border-radius: 14px; background: #0f1424; color: #e6e9f2; font-family: var(--mono); font-size: 13.5px; line-height: 1.7; -webkit-overflow-scrolling: touch; }
.cl-body pre code { font: inherit; color: inherit; background: none; padding: 0; }
.cl-body :not(pre) > code { padding: 2px 6px; border-radius: 6px; font-family: var(--mono); font-size: .88em; color: #1f48e0; background: var(--blue-soft); word-break: break-all; }

/* ═══ 대표 이미지 · 카드 그리드 (2026-11-12) ═══
   목록은 2열 카드: 이미지(왼쪽 위 카테고리 뱃지) → 제목 2줄 → 날짜 • 읽는 시간 */
.cl-thumb { position: relative; display: block; overflow: hidden; aspect-ratio: 2 / 1; border-radius: 12px; background: #eef1f6; }
.cl-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.cl-thumb b { position: absolute; left: 12px; top: 12px; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.2; color: #fff; background: rgba(38, 42, 52, .78); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.cl-thumb-none { display: grid; place-items: center; padding: 20px; background: linear-gradient(140deg, #eef2ff, #f6f8fc); }
.cl-thumb-none i { font-style: normal; font-size: 17px; font-weight: 700; text-align: center; color: var(--ink); }
.cl-card a:hover .cl-thumb img, .cl-feature:hover .cl-thumb img { transform: scale(1.03); }

.cl-cards-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; padding-top: 28px; }
.cl-cards-list li { border-bottom: 0; }
.cl-cards-list a, .cl-cards-list a:hover { padding: 0; background: none; }
.cl-card a { display: block; text-decoration: none; color: inherit; }
.light .cl-card h3 { margin: 16px 0 10px; font-size: 17px; font-weight: 600; letter-spacing: -.025em; line-height: 1.55; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 3.1em; }
.cl-card .cl-date { display: inline-flex; align-items: center; gap: 8px; }
.cl-card .cl-date i { font-style: normal; font-size: 9px; color: #b5b5b5; }

/* 대표 글: 왼쪽 글, 오른쪽 대표 이미지 */
.cl-feature { grid-template-columns: 1fr 1.15fr; align-items: center; }
.cl-feature-r { padding: 20px; color: inherit; background: none; }
.cl-feature-r::before { content: none; }
.cl-feature-r .cl-thumb { border-radius: 12px; }
.cl-feature-l .cl-more { margin-top: 6px; color: var(--blue); }

/* 관련 글: 같은 카드, 3열 */
.cl-related .cl-card a, .cl-related .cl-card a:hover { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }

/* 글 맨 위 대표 이미지 */
.cl-cover { margin: 0 0 32px; overflow: hidden; border-radius: 16px; border: 1px solid var(--l); background: #eef1f6; }
.cl-cover img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; }

@media (max-width: 720px) {
  .cl-cards-list { grid-template-columns: 1fr; gap: 28px; }
  .cl-feature { grid-template-columns: 1fr; }
  .cl-feature-r { order: -1; padding: 14px 14px 0; }
}
