/* 일사천리 칼럼: 목록(column/index.html)과 글(column/*.html)
   색은 디자인 파일(dark.css, premium.css 등)의 색 이름을 그대로 써서
   어떤 디자인으로 바꿔도 함께 따라갑니다. */
:root { --col-accent: var(--purple-text); --col-read: 760px; }

/* ───── 목록 ───── */
.col-hero { padding-block: 72px 40px; background: radial-gradient(50% 70% at 92% 0%, rgba(124, 92, 255, .24) 0%, transparent 70%), var(--bg); }
.col-hero .eyebrow-chip { background: rgba(255, 255, 255, .1); color: var(--text); border: 0; }
.col-hero h1 { margin-top: 18px; font-size: clamp(36px, 5vw, 56px); font-weight: 800; letter-spacing: -.045em; line-height: 1.15; color: var(--text); }
.col-hero p { margin-top: 14px; max-width: 34em; font-size: 17px; color: var(--text-2); }
.col-cats { margin-top: 32px; }

.col-list { padding-block: 16px 96px; }
.col-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.col-card {
  display: grid; grid-template-rows: auto auto 1fr auto; gap: 12px; padding: 26px; border-radius: 18px;
  background: var(--surface); border: 1px solid var(--line); color: var(--text); transition: border-color .2s, transform .2s;
}
.col-card:hover { border-color: var(--col-accent); transform: translateY(-2px); }
.col-card[hidden] { display: none; }
.col-card-top { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-3); }
.col-card-top b { color: var(--col-accent); font-weight: 700; }
.col-card h2, .col-card h3 { font-size: 20px; font-weight: 800; line-height: 1.4; letter-spacing: -.03em; text-wrap: balance; }
.col-card p { font-size: 15px; line-height: 1.7; color: var(--text-2); }
.col-card-more { font-size: 14px; font-weight: 700; color: var(--col-accent); }
.col-card-more::after { content: " →"; }
.col-feature { grid-column: span 2; padding: 34px; background: linear-gradient(140deg, rgba(124, 92, 255, .16) 0%, transparent 60%), var(--surface); }
.col-feature h2 { font-size: clamp(24px, 2.6vw, 30px); }
.col-feature p { font-size: 16px; max-width: 36em; }
.col-empty { padding: 40px; text-align: center; color: var(--text-3); border: 1px dashed var(--line-2); border-radius: 18px; }
@media (max-width: 960px) {
  .col-grid { grid-template-columns: 1fr; }
  .col-feature { grid-column: auto; padding: 26px; }
}

/* ───── 글 ───── */
.col-article { padding-block: 48px 40px; }
.col-wrap { max-width: var(--col-read); margin-inline: auto; }
.col-crumb { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--text-3); }
.col-crumb a:hover { color: var(--text); }
.col-crumb span[aria-hidden] { opacity: .6; }
.col-cat { margin-top: 28px; font-size: 14px; font-weight: 700; color: var(--col-accent); }
.col-article h1 { margin-top: 10px; font-size: clamp(30px, 4.4vw, 46px); font-weight: 800; line-height: 1.25; letter-spacing: -.04em; text-wrap: balance; }
.col-lead { margin-top: 18px; font-size: 18px; line-height: 1.75; color: var(--text-2); }
.col-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 24px; padding-bottom: 28px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--text-3); }

.col-summary { margin-top: 36px; padding: 22px 24px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--col-accent); }
.col-summary strong { display: block; font-size: 14px; color: var(--col-accent); margin-bottom: 10px; }
.col-summary ul { display: grid; gap: 8px; }
.col-summary li { position: relative; padding-left: 16px; font-size: 16px; line-height: 1.65; }
.col-summary li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--col-accent); }

.col-body { margin-top: 12px; font-size: 17px; line-height: 1.85; color: var(--text); }
.col-body h2 { margin-top: 56px; font-size: clamp(22px, 2.6vw, 27px); font-weight: 800; line-height: 1.4; letter-spacing: -.03em; }
.col-body h3 { margin-top: 32px; font-size: 19px; font-weight: 700; }
.col-body p { margin-top: 16px; color: var(--text-2); }
.col-body p strong, .col-body li strong { color: var(--text); }
.col-body ul, .col-body ol { margin-top: 16px; display: grid; gap: 10px; color: var(--text-2); }
.col-body ul li { position: relative; padding-left: 18px; }
.col-body ul li::before { content: ""; position: absolute; left: 2px; top: .78em; width: 6px; height: 6px; border-radius: 50%; background: var(--text-3); }
.col-body ol { counter-reset: ol; }
.col-body ol li { position: relative; padding-left: 34px; counter-increment: ol; }
.col-body ol li::before { content: counter(ol); position: absolute; left: 0; top: .2em; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; background: var(--surface-2); color: var(--col-accent); }
.col-body a { color: var(--col-accent); text-decoration: underline; text-underline-offset: 3px; }

.col-table-wrap { margin-top: 20px; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.col-table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; line-height: 1.6; }
.col-table th, .col-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.col-table thead th { background: var(--surface-2); font-size: 14px; color: var(--text); }
.col-table tbody th { color: var(--text); font-weight: 700; white-space: nowrap; }
.col-table td { color: var(--text-2); }
.col-table tr:last-child th, .col-table tr:last-child td { border-bottom: 0; }

.col-note { margin-top: 24px; padding: 18px 20px; border-radius: 14px; background: var(--surface-2); font-size: 15px; line-height: 1.7; color: var(--text-2); }
.col-note strong { color: var(--text); }
.col-prompt { margin-top: 20px; padding: 20px 22px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line-2); font-size: 15px; line-height: 1.8; color: var(--text); white-space: pre-line; }
.col-prompt b { display: block; margin-bottom: 6px; font-size: 13px; color: var(--col-accent); }

.col-faq-wrap { margin-top: 64px; }
.col-faq-wrap > h2 { font-size: clamp(22px, 2.6vw, 27px); font-weight: 800; letter-spacing: -.03em; margin-bottom: 8px; }
.col-cta { margin-top: 56px; }
.col-cta .program-cta { margin: 0; }

.col-more { padding-block: 24px 96px; }
.col-more-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.col-more-head h2 { font-size: 22px; font-weight: 800; letter-spacing: -.03em; }
.col-more-head a { font-size: 14px; font-weight: 700; color: var(--col-accent); }
.col-more .col-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 720px) {
  .col-hero { padding-block: 48px 32px; }
  .col-article { padding-block: 32px 24px; }
  .col-body { font-size: 16px; }
  .col-table { min-width: 0; font-size: 14px; }
  .col-table th, .col-table td { padding: 12px 10px; }
  .col-table tbody th { white-space: normal; }
  .col-more .col-grid { grid-template-columns: 1fr; }
}
