/* ═══════════════════════════════════════════
   자하특허법률사무소 — 칼럼 페이지 공통 스타일
   브랜드 컬러: #5B2C8D (주조) / #4A2070 (진한) / #7B3FA8 (밝은)
   ═══════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { word-break: keep-all; }

/* ── 스티키 상단 바 ── */
.col-topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(247, 245, 240, 0.9);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}
.col-topbar-inner {
  max-width: 760px; margin: 0 auto;
  padding: 12px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.col-tel {
  display: inline-flex; align-items: center; gap: 7px;
  background: #5B2C8D; color: #fff;
  font-size: 0.82rem; font-weight: 700;
  padding: 8px 15px; border-radius: 100px;
  text-decoration: none;
  transition: background 0.25s ease;
}
.col-tel:hover { background: #4A2070; }

/* ── 본문 래퍼 ── */
.col-wrap { max-width: 760px; margin: 0 auto; padding: 40px 20px 80px; }

.col-back {
  display: inline-block; font-size: 0.8rem; font-weight: 600;
  color: #78716C; text-decoration: none; margin-bottom: 28px;
}
.col-back:hover { color: #5B2C8D; }

.col-label {
  display: inline-block;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em;
  color: #5B2C8D; background: #F7F2FC;
  border-radius: 100px; padding: 5px 13px; margin-bottom: 18px;
}
.col-title {
  font-size: clamp(1.75rem, 4.5vw, 2.6rem);
  font-weight: 900; line-height: 1.25; letter-spacing: -0.03em;
  margin: 0 0 16px;
}
.col-byline {
  font-size: 0.82rem; color: #78716C; margin: 0 0 36px;
  padding-bottom: 28px; border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.col-dot { color: #D1D5DB; margin: 0 4px; }

/* ── 핵심 요약 박스 ── */
.col-summary {
  background: #EDE3F5;
  border: 1px solid rgba(91, 44, 141, 0.18);
  border-radius: 18px;
  padding: 24px 26px;
  margin-bottom: 44px;
}
.col-summary-title {
  font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: #5B2C8D; margin-bottom: 14px;
}
.col-summary ul { margin: 0; padding: 0; list-style: none; }
.col-summary li {
  position: relative; padding-left: 20px;
  font-size: 0.9rem; line-height: 1.8; color: #2E1A46;
  font-weight: 500;
}
.col-summary li + li { margin-top: 8px; }
.col-summary li::before {
  content: ''; position: absolute; left: 3px; top: 12px;
  width: 6px; height: 6px; border-radius: 50%; background: #7B3FA8;
}

/* ── 본문 prose ── */
.col-prose { font-size: 0.98rem; line-height: 1.9; color: #3F3A36; }
.col-prose h2 {
  font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em;
  color: #1C1917; margin: 48px 0 16px; padding-left: 14px;
  border-left: 4px solid #5B2C8D; line-height: 1.4;
}
.col-prose h3 {
  font-size: 1.05rem; font-weight: 700;
  color: #1C1917; margin: 32px 0 12px;
}
.col-prose p { margin: 0 0 18px; }
.col-prose ul, .col-prose ol { margin: 0 0 20px; padding-left: 22px; }
.col-prose li { margin-bottom: 8px; }
.col-prose strong { font-weight: 700; color: #1C1917; }
.col-prose a { color: #5B2C8D; text-decoration: underline; text-underline-offset: 3px; }

.col-prose blockquote {
  margin: 28px 0; padding: 18px 22px;
  background: #F7F2FC;
  border-left: 4px solid #7B3FA8;
  border-radius: 0 12px 12px 0;
  font-size: 0.93rem; color: #3E2857; line-height: 1.85;
}
.col-prose blockquote p:last-child { margin-bottom: 0; }

.col-prose table {
  width: 100%; border-collapse: collapse;
  margin: 26px 0; font-size: 0.88rem;
  border: 1px solid rgba(0, 0, 0, 0.09); border-radius: 12px; overflow: hidden;
}
.col-prose thead { background: #F7F2FC; }
.col-prose th {
  text-align: left; font-weight: 700; color: #4A2070;
  padding: 12px 14px; border-bottom: 1px solid rgba(91, 44, 141, 0.15);
}
.col-prose td {
  padding: 12px 14px; border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  vertical-align: top; line-height: 1.75;
}
.col-prose tbody tr:last-child td { border-bottom: none; }
/* 좁은 화면에서 표는 가로 스크롤 */
.col-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.col-note {
  margin-top: 36px; padding: 14px 18px;
  background: rgba(0, 0, 0, 0.03); border-radius: 10px;
  font-size: 0.8rem; color: #78716C; line-height: 1.8;
}

/* ── FAQ ── */
.col-faq { margin-top: 56px; }
.col-faq h2 {
  font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em;
  margin: 0 0 18px;
}
.faq-item {
  background: #fff; border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 14px; padding: 0 20px; margin-bottom: 9px;
  transition: border-color 0.25s ease;
}
.faq-item[open] { border-color: rgba(91, 44, 141, 0.28); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 17px 0; font-weight: 700; font-size: 0.92rem; color: #1C1917;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-size: 1.25rem; font-weight: 400; color: #5B2C8D; flex-shrink: 0;
}
.faq-item[open] summary::after { content: '\2212'; }
.faq-answer {
  margin: 0; padding: 0 0 19px;
  font-size: 0.87rem; line-height: 1.85; color: #57534E;
}
.faq-answer a { color: #5B2C8D; font-weight: 600; }

/* ── 하단 CTA ── */
.col-cta {
  margin-top: 56px; padding: 36px 30px;
  background: linear-gradient(145deg, #4A2070 0%, #5B2C8D 55%, #7B3FA8 100%);
  border-radius: 22px; text-align: center; color: #fff;
}
.col-cta-title { font-size: 1.25rem; font-weight: 800; margin-bottom: 8px; }
.col-cta-sub { font-size: 0.88rem; color: rgba(255, 255, 255, 0.7); line-height: 1.8; margin: 0 0 22px; }
.col-cta-btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.col-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 100px;
  font-weight: 700; font-size: 0.9rem; text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease;
}
.col-btn:hover { transform: translateY(-2px); }
.col-btn-primary { background: #fff; color: #4A2070; }
.col-btn-primary:hover { background: #F7F2FC; }
.col-btn-ghost { background: rgba(255, 255, 255, 0.14); color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.3); }
.col-btn-ghost:hover { background: rgba(255, 255, 255, 0.22); }
.col-cta-addr { margin: 22px 0 0; font-size: 0.76rem; color: rgba(255, 255, 255, 0.55); line-height: 1.7; }

/* ── 푸터 ── */
.col-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  padding: 28px 20px 40px; text-align: center;
}
.col-footer p { margin: 0 0 5px; font-size: 0.75rem; color: #9CA3AF; line-height: 1.7; }
