/* ═══════════════════════════════════════════════════════════
   배리어프리 가이드 — 메인 스타일시트
   색상 수정: :root 변수 섹션
   ═══════════════════════════════════════════════════════════ */

/* ── 변수 ──────────────────────────────────────────────── */
:root {
  --primary:       #1A6FC4;
  --primary-dark:  #145699;
  --primary-light: #EBF4FF;
  --accent:        #F59E0B;
  --accent-dark:   #D97706;
  --text:          #1F2937;
  --text-muted:    #6B7280;
  --text-light:    #9CA3AF;
  --bg:            #FFFFFF;
  --bg-soft:       #F9FAFB;
  --bg-muted:      #F3F4F6;
  --border:        #E5E7EB;
  --border-dark:   #D1D5DB;
  --radius:        8px;
  --radius-lg:     12px;
  --shadow-sm:     0 1px 3px rgba(0,0,0,.08);
  --shadow:        0 4px 12px rgba(0,0,0,.1);
  --shadow-lg:     0 8px 24px rgba(0,0,0,.12);
  --max-w:         1120px;
  --content-w:     760px;
  --font:          'Noto Sans KR', 'Apple SD Gothic Neo', sans-serif;
  --font-size-base: 16px;
  --line-height:   1.75;
}

/* ── 리셋 & 기본 ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: var(--font-size-base); scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: var(--line-height);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
ul, ol { padding-left: 1.5rem; }

/* ── 레이아웃 ───────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem; }
.content-wrap { max-width: var(--content-w); margin: 0 auto; }

/* ── 헤더 ───────────────────────────────────────────────── */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}
.site-logo:hover { text-decoration: none; }
.logo-badge {
  background: var(--primary);
  color: #fff;
  border-radius: 6px;
  padding: 2px 8px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .05em;
}
.site-nav { display: flex; align-items: center; gap: .25rem; }
.site-nav a {
  padding: .4rem .75rem;
  border-radius: var(--radius);
  font-size: .9rem;
  color: var(--text);
  transition: background .15s, color .15s;
}
.site-nav a:hover { background: var(--primary-light); color: var(--primary); text-decoration: none; }
.site-nav a.active { background: var(--primary-light); color: var(--primary); font-weight: 600; }
.nav-btn {
  background: var(--primary);
  color: #fff !important;
  padding: .4rem 1rem;
  border-radius: 20px;
  font-size: .85rem;
  font-weight: 600;
}
.nav-btn:hover { background: var(--primary-dark) !important; color: #fff; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .2s;
}

/* ── 히어로 ─────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #2563EB 100%);
  color: #fff;
  padding: 5rem 0 4rem;
  text-align: center;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 20px;
  padding: .3rem 1rem;
  font-size: .8rem;
  margin-bottom: 1.25rem;
  letter-spacing: .05em;
}
.hero h1 { font-size: 2.25rem; font-weight: 800; line-height: 1.3; margin-bottom: 1rem; }
.hero p { font-size: 1.1rem; opacity: .9; max-width: 560px; margin: 0 auto 2rem; }
.hero-btns { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .65rem 1.5rem;
  border-radius: 8px;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
  border: none;
  text-decoration: none;
}
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: #EBF4FF; text-decoration: none; }
.btn-outline-white { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.6); }
.btn-outline-white:hover { background: rgba(255,255,255,.1); text-decoration: none; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); text-decoration: none; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); text-decoration: none; }

/* ── 섹션 공통 ──────────────────────────────────────────── */
.section { padding: 4rem 0; }
.section-alt { background: var(--bg-soft); }
.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: .5rem;
  color: var(--text);
}
.section-sub {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: .95rem;
}
.section-header { margin-bottom: 2rem; }
.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.section-header-row .more-link {
  font-size: .875rem;
  color: var(--primary);
  font-weight: 500;
  white-space: nowrap;
}

/* ── 카드 그리드 ────────────────────────────────────────── */
.card-grid { display: grid; gap: 1.25rem; }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow .2s, transform .15s;
  display: flex;
  flex-direction: column;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.card-cat {
  font-size: .75rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  border-radius: 4px;
  padding: 2px 8px;
  display: inline-block;
  margin-bottom: .6rem;
}
.card h3 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: .5rem;
}
.card h3 a { color: var(--text); }
.card h3 a:hover { color: var(--primary); text-decoration: none; }
.card-desc { color: var(--text-muted); font-size: .875rem; flex: 1; }
.card-meta { margin-top: .75rem; font-size: .8rem; color: var(--text-light); display: flex; gap: .75rem; flex-wrap: wrap; }
.card-icon-wrap {
  background: var(--bg-soft);
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

/* ── 카테고리 카드 ──────────────────────────────────────── */
.cat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: box-shadow .2s, transform .15s;
  text-decoration: none;
  display: block;
}
.cat-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); text-decoration: none; }
.cat-icon { font-size: 2rem; margin-bottom: .75rem; }
.cat-name { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: .4rem; }
.cat-desc { font-size: .85rem; color: var(--text-muted); line-height: 1.55; }
.cat-count { margin-top: .75rem; font-size: .8rem; color: var(--primary); font-weight: 600; }

/* ── 주요 글 (featured) ────────────────────────────────── */
.featured-card {
  background: var(--primary-light);
  border: 1px solid #C3DEFF;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.featured-card .badge-featured {
  font-size: .72rem;
  font-weight: 700;
  background: var(--accent);
  color: #fff;
  border-radius: 4px;
  padding: 2px 7px;
  display: inline-block;
}

/* ── 글 상세 ─────────────────────────────────────────────── */
.article-header { padding: 3rem 0 2rem; border-bottom: 1px solid var(--border); }
.breadcrumb { font-size: .82rem; color: var(--text-muted); margin-bottom: 1rem; display: flex; gap: .4rem; flex-wrap: wrap; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb span { color: var(--text-light); }
.article-cat-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 4px;
  padding: 3px 10px;
  font-size: .8rem;
  font-weight: 600;
  margin-bottom: .75rem;
}
.article-title { font-size: 1.75rem; font-weight: 800; line-height: 1.4; margin-bottom: .75rem; }
.article-summary { font-size: 1.05rem; color: var(--text-muted); margin-bottom: 1rem; }
.article-meta { display: flex; gap: 1rem; font-size: .82rem; color: var(--text-light); flex-wrap: wrap; }
.article-meta span { display: flex; align-items: center; gap: .3rem; }

/* ── 목차 ───────────────────────────────────────────────── */
.toc-box {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}
.toc-box h4 { font-size: .9rem; font-weight: 700; margin-bottom: .75rem; color: var(--text-muted); }
.toc-box ol { margin: 0; padding-left: 1.25rem; }
.toc-box li { font-size: .9rem; margin-bottom: .3rem; }
.toc-box a { color: var(--text); }

/* ── 글 본문 ─────────────────────────────────────────────── */
.article-content { padding: 2rem 0; }
.article-content h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 2.25rem 0 .85rem;
  padding-bottom: .4rem;
  border-bottom: 2px solid var(--primary-light);
  color: var(--text);
}
.article-content h3 { font-size: 1.1rem; font-weight: 700; margin: 1.5rem 0 .6rem; }
.article-content p { margin-bottom: 1rem; }
.article-content ul, .article-content ol { margin-bottom: 1rem; }
.article-content li { margin-bottom: .35rem; }
.article-content table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .9rem; }
.article-content th { background: var(--primary); color: #fff; padding: .6rem .85rem; text-align: left; }
.article-content td { padding: .6rem .85rem; border-bottom: 1px solid var(--border); }
.article-content tr:nth-child(even) td { background: var(--bg-soft); }
.compare-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .875rem; }
.compare-table th { background: var(--primary); color: #fff; padding: .6rem .85rem; }
.compare-table td { padding: .6rem .85rem; border-bottom: 1px solid var(--border); }
.compare-table tr:nth-child(even) td { background: var(--bg-soft); }

.notice-box {
  background: #FFF7ED;
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}
.notice-box p { margin: 0; font-size: .9rem; }
.checklist-box {
  background: var(--primary-light);
  border: 1px solid #C3DEFF;
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.checklist-box h3 { font-size: .95rem; font-weight: 700; margin-bottom: .75rem; }
.checklist-box ul { list-style: none; padding: 0; }
.checklist-box li { padding: .25rem 0; font-size: .9rem; border-bottom: 1px solid rgba(0,0,0,.05); }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.25rem; margin: 1rem 0; }
.faq-item h3 { font-size: .95rem; font-weight: 700; margin-bottom: .5rem; color: var(--primary); }
.faq-item p { font-size: .9rem; margin: 0; color: var(--text-muted); }
.article-note { font-size: .82rem; color: var(--text-light); border-top: 1px solid var(--border); padding-top: .75rem; margin-top: 2rem; }

/* ── 저자 박스 ──────────────────────────────────────────── */
.author-box {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin: 2.5rem 0;
}
.author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  flex-shrink: 0;
}
.author-info h4 { font-size: .95rem; font-weight: 700; margin-bottom: .25rem; }
.author-info p { font-size: .85rem; color: var(--text-muted); margin: 0; }

/* ── 관련 글 ─────────────────────────────────────────────── */
.related-section { padding: 2rem 0; border-top: 1px solid var(--border); }
.related-section h3 { font-size: 1rem; font-weight: 700; margin-bottom: 1rem; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.related-item {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .85rem 1rem;
}
.related-item a { font-size: .85rem; font-weight: 600; color: var(--text); }
.related-item a:hover { color: var(--primary); }

/* ── 신뢰 섹션 ──────────────────────────────────────────── */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.trust-card {
  text-align: center;
  padding: 1.75rem 1.25rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.trust-icon { font-size: 2rem; margin-bottom: .75rem; }
.trust-card h3 { font-size: .95rem; font-weight: 700; margin-bottom: .4rem; }
.trust-card p { font-size: .85rem; color: var(--text-muted); }

/* ── 편집 원칙 ──────────────────────────────────────────── */
.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.principle-item {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.principle-num {
  background: var(--primary);
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 700;
  flex-shrink: 0;
}
.principle-item h4 { font-size: .9rem; font-weight: 700; margin-bottom: .2rem; }
.principle-item p { font-size: .82rem; color: var(--text-muted); margin: 0; }

/* ── CTA 섹션 ───────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, #2563EB 100%);
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}
.cta-section h2 { font-size: 1.6rem; font-weight: 700; margin-bottom: .75rem; }
.cta-section p { font-size: 1rem; opacity: .9; margin-bottom: 1.75rem; }

/* ── 관리자 ─────────────────────────────────────────────── */
.admin-wrap { display: flex; min-height: 100vh; background: #F1F5F9; }
.admin-sidebar {
  width: 240px;
  background: #1E293B;
  color: #CBD5E1;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}
.admin-sidebar-logo {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #334155;
  font-size: .95rem;
  font-weight: 700;
  color: #fff;
}
.admin-sidebar-logo small { display: block; font-size: .7rem; color: #94A3B8; font-weight: 400; margin-top: 2px; }
.admin-nav { padding: .75rem 0; flex: 1; }
.admin-nav a {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .6rem 1.5rem;
  font-size: .875rem;
  color: #94A3B8;
  transition: background .15s, color .15s;
}
.admin-nav a:hover { background: #334155; color: #fff; text-decoration: none; }
.admin-nav a.active { background: var(--primary); color: #fff; }
.admin-nav .nav-section-title {
  padding: .75rem 1.5rem .25rem;
  font-size: .7rem;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 600;
}
.admin-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.admin-topbar {
  background: #fff;
  border-bottom: 1px solid #E2E8F0;
  padding: .85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .875rem;
}
.admin-content { padding: 1.75rem; flex: 1; }
.admin-page-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 1.5rem; color: var(--text); }
.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
.stat-card {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius);
  padding: 1.25rem;
}
.stat-card .stat-label { font-size: .78rem; color: var(--text-muted); margin-bottom: .3rem; }
.stat-card .stat-value { font-size: 1.75rem; font-weight: 700; color: var(--text); }
.stat-card .stat-sub { font-size: .75rem; color: var(--primary); margin-top: .2rem; }
.admin-panel {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius);
  overflow: hidden;
}
.admin-panel-header {
  padding: .85rem 1.25rem;
  border-bottom: 1px solid #E2E8F0;
  font-size: .9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.admin-panel-body { padding: 1.25rem; }
.admin-table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.admin-table th { background: var(--bg-soft); padding: .6rem .85rem; text-align: left; font-weight: 600; color: var(--text-muted); font-size: .78rem; }
.admin-table td { padding: .65rem .85rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table .actions { display: flex; gap: .4rem; }
.badge-published { background: #DCFCE7; color: #166534; padding: 2px 8px; border-radius: 4px; font-size: .72rem; font-weight: 600; }
.badge-draft { background: #FEF3C7; color: #92400E; padding: 2px 8px; border-radius: 4px; font-size: .72rem; font-weight: 600; }
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .35rem; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .55rem .85rem;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  font-size: .9rem;
  font-family: var(--font);
  color: var(--text);
  transition: border-color .15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,111,196,.1); }
.form-group textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.btn-sm { padding: .35rem .75rem; font-size: .8rem; border-radius: 6px; }
.btn-danger { background: #EF4444; color: #fff; }
.btn-danger:hover { background: #DC2626; }
.btn-secondary { background: var(--bg-muted); color: var(--text); border: 1px solid var(--border-dark); }
.btn-secondary:hover { background: var(--border); }
.admin-notice {
  background: #FFF7ED;
  border: 1px solid #FDE68A;
  border-radius: var(--radius);
  padding: .85rem 1rem;
  font-size: .82rem;
  color: #92400E;
  margin-bottom: 1.5rem;
}
.admin-login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F1F5F9;
}
.admin-login-box {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  width: 100%;
  max-width: 380px;
  box-shadow: var(--shadow);
}
.admin-login-box h1 { font-size: 1.3rem; font-weight: 700; margin-bottom: .3rem; }
.admin-login-box .sub { font-size: .85rem; color: var(--text-muted); margin-bottom: 1.5rem; }

/* ── 페이지 헤더 ────────────────────────────────────────── */
.page-hero {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  padding: 3rem 0 2.5rem;
}
.page-hero h1 { font-size: 1.75rem; font-weight: 800; margin-bottom: .5rem; }
.page-hero p { color: var(--text-muted); font-size: 1rem; }

/* ── 컨택트 폼 ──────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 2.5rem; }
.contact-info h3 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.contact-info p { font-size: .9rem; color: var(--text-muted); margin-bottom: 1rem; }
.contact-form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; }
.contact-form h3 { font-size: 1rem; font-weight: 700; margin-bottom: 1.25rem; }

/* ── 사이트맵 ───────────────────────────────────────────── */
.sitemap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.sitemap-section h3 { font-size: .95rem; font-weight: 700; margin-bottom: .75rem; padding-bottom: .4rem; border-bottom: 2px solid var(--primary-light); }
.sitemap-section ul { list-style: none; padding: 0; }
.sitemap-section li { font-size: .875rem; padding: .25rem 0; border-bottom: 1px solid var(--bg-muted); }

/* ── 칼럼 ───────────────────────────────────────────────── */
.column-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border-left: 4px solid var(--primary);
  transition: box-shadow .2s;
}
.column-card:hover { box-shadow: var(--shadow); }
.column-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: .72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: .6rem;
}
.column-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .4rem; }
.column-card h3 a { color: var(--text); }
.column-card h3 a:hover { color: var(--primary); }
.column-card p { font-size: .875rem; color: var(--text-muted); margin-bottom: .6rem; }
.column-meta { font-size: .8rem; color: var(--text-light); }

/* ── 푸터 ───────────────────────────────────────────────── */
.site-footer {
  background: #1E293B;
  color: #94A3B8;
  padding: 3rem 0 1.5rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer-brand .logo { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: .5rem; }
.footer-brand p { font-size: .85rem; line-height: 1.6; margin-bottom: .75rem; }
.footer-brand .email { font-size: .82rem; color: var(--accent); }
.footer-col h4 { font-size: .85rem; font-weight: 700; color: #fff; margin-bottom: .75rem; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: .35rem; }
.footer-col a { font-size: .82rem; color: #94A3B8; }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
  font-size: .78rem;
}
.footer-bottom-links { display: flex; gap: 1rem; }
.footer-bottom-links a { color: #64748B; }
.footer-bottom-links a:hover { color: #fff; }

/* ── 법적 페이지 ────────────────────────────────────────── */
.legal-content h2 { font-size: 1.15rem; font-weight: 700; margin: 2rem 0 .6rem; }
.legal-content h3 { font-size: 1rem; font-weight: 700; margin: 1.25rem 0 .4rem; }
.legal-content p { margin-bottom: .85rem; font-size: .93rem; }
.legal-content ul { margin-bottom: .85rem; font-size: .93rem; }
.legal-content li { margin-bottom: .3rem; }

/* ── 반응형 ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .sitemap-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .stat-cards { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 1.75rem; }
}

@media (max-width: 640px) {
  .card-grid-3, .card-grid-2, .card-grid-4 { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .sitemap-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .stat-cards { grid-template-columns: 1fr 1fr; }
  .hero { padding: 3rem 0 2.5rem; }
  .hero h1 { font-size: 1.45rem; }
  .hero p { font-size: .95rem; }
  .section { padding: 2.5rem 0; }
  .article-title { font-size: 1.35rem; }
  .site-nav { display: none; }
  .hamburger { display: flex; }
  .site-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: .75rem;
    gap: .25rem;
    box-shadow: var(--shadow);
  }
  .admin-sidebar { display: none; }
  .form-row { grid-template-columns: 1fr; }
}
