/* ===== 블로그 공통 스타일 (blog.css) ===== */

/* 카테고리 그리드 */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.category-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;
  transition: box-shadow 0.18s, transform 0.18s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow);
}

.category-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
  transform: translateY(-3px);
}

.category-card .cat-icon { font-size: 2rem; }
.category-card .cat-name { font-size: 0.92rem; font-weight: 700; color: var(--text); }
.category-card .cat-desc { font-size: 0.78rem; color: var(--muted); line-height: 1.5; }
.category-card .cat-count { font-size: 0.75rem; color: var(--primary); font-weight: 600; }

/* 포스트 카드 */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.post-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.18s, transform 0.18s;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.post-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
  transform: translateY(-3px);
}

.post-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #eff6ff;
  color: var(--primary);
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 0.73rem;
  font-weight: 700;
  width: fit-content;
}

.post-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
}

.post-card-summary {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
}

.post-card-meta {
  font-size: 0.75rem;
  color: var(--muted);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.post-card-read-more {
  font-size: 0.82rem;
  color: var(--primary);
  font-weight: 600;
  align-self: flex-start;
}

/* 홈 블로그 섹션 */
.blog-section {
  padding: 56px 0;
  border-top: 1px solid var(--border);
}

.blog-section.bg-white { background: #fff; }
[data-theme="dark"] .blog-section.bg-white { background: var(--card-bg); }

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
}

.section-header h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
}

.section-more {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.section-more:hover { text-decoration: underline; }

/* 운영자 미니 박스 */
.author-mini-box {
  background: linear-gradient(135deg, #eff6ff, #f5f3ff);
  border: 1px solid #dbeafe;
  border-radius: var(--radius);
  padding: 28px 32px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.author-mini-avatar {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), #7b3fa0);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
  color: white;
}

.author-mini-info { flex: 1; }

.author-mini-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.author-mini-name a {
  color: var(--primary);
  text-decoration: none;
}

.author-mini-name a:hover { text-decoration: underline; }

.author-mini-role {
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 6px;
}

.author-mini-bio {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.6;
}

.author-mini-principles {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.author-mini-principles span {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 0.73rem;
  color: var(--muted);
}

/* 칼럼 카드 */
.column-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.18s, transform 0.18s;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  color: inherit;
}

.column-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
  transform: translateY(-3px);
}

.column-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f5f3ff;
  color: #7b3fa0;
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 0.73rem;
  font-weight: 700;
  width: fit-content;
}

.column-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
}

.column-card-summary {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.6;
}

.column-card-meta {
  font-size: 0.75rem;
  color: var(--muted);
}

/* ===== 글 상세 페이지 ===== */
.post-detail-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}

.post-breadcrumb {
  font-size: 0.8rem;
  color: var(--muted);
  padding: 16px 0;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.post-breadcrumb a { color: var(--primary); text-decoration: none; }
.post-breadcrumb a:hover { text-decoration: underline; }
.post-breadcrumb .sep { color: var(--muted); }

.post-header { padding: 32px 0 28px; }

.post-cat-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  background: #eff6ff;
  color: var(--primary);
  margin-bottom: 12px;
}

.post-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 14px;
}

.post-summary {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 16px;
  border-left: 3px solid var(--primary);
  padding-left: 14px;
}

.post-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--muted);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.post-meta span { display: flex; align-items: center; gap: 4px; }

/* 목차 */
.post-toc {
  background: #f8faff;
  border: 1px solid #dbeafe;
  border-radius: 10px;
  padding: 18px 22px;
  margin: 28px 0;
}

.post-toc-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.post-toc ol {
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.post-toc ol li a {
  font-size: 0.88rem;
  color: var(--primary);
  text-decoration: none;
}

.post-toc ol li a:hover { text-decoration: underline; }

/* 본문 */
.post-body {
  padding: 8px 0;
}

.post-body h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  margin: 36px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}

.post-body p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.85;
  margin-bottom: 14px;
}

.post-body ul, .post-body ol {
  padding-left: 20px;
  margin-bottom: 14px;
}

.post-body li {
  font-size: 0.93rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 6px;
}

.post-body strong { color: var(--text); font-weight: 700; }

/* 핵심 요약 박스 */
.post-summary-box {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  padding: 20px 22px;
  margin: 32px 0;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.7;
}

.post-summary-box ul { padding-left: 18px; margin-top: 8px; }
.post-summary-box li { margin-bottom: 4px; }
.post-summary-box strong { color: var(--primary); }

/* 주의사항 박스 */
.post-mistakes {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 10px;
  padding: 20px 22px;
  margin: 28px 0;
}

.post-mistakes-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #92400e;
  margin-bottom: 10px;
}

.post-mistakes ul {
  padding-left: 18px;
  margin: 0;
}

.post-mistakes li {
  font-size: 0.88rem;
  color: #78350f;
  line-height: 1.65;
  margin-bottom: 5px;
}

/* 체크리스트 */
.post-checklist {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  padding: 20px 22px;
  margin: 28px 0;
}

.post-checklist-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #065f46;
  margin-bottom: 10px;
}

.post-checklist ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.post-checklist li {
  font-size: 0.88rem;
  color: #064e3b;
  line-height: 1.5;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.post-checklist li::before {
  content: '✅';
  flex-shrink: 0;
  margin-top: 1px;
}

/* FAQ */
.post-faq { margin: 32px 0; }

.post-faq-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 14px;
}

.post-faq details {
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
}

.post-faq details summary {
  padding: 14px 18px;
  font-size: 0.93rem;
  font-weight: 600;
  cursor: pointer;
  background: var(--bg);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.post-faq details summary::after {
  content: '+';
  font-size: 1.1rem;
  color: var(--primary);
}

.post-faq details[open] summary::after { content: '−'; }

.post-faq details .faq-answer {
  padding: 14px 18px;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
  border-top: 1px solid var(--border);
  background: var(--card-bg);
}

/* 편집자 박스 */
.post-author-box {
  background: linear-gradient(135deg, #eff6ff, #f5f3ff);
  border: 1px solid #dbeafe;
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 40px 0;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.post-author-box .author-avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), #7b3fa0);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  color: white;
}

.post-author-box .author-info { flex: 1; }
.post-author-box .author-label { font-size: 0.73rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.post-author-box .author-name { font-size: 0.97rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.post-author-box .author-name a { color: var(--primary); text-decoration: none; }
.post-author-box .author-bio { font-size: 0.83rem; color: var(--muted); line-height: 1.6; }
.post-author-box .author-note { font-size: 0.78rem; color: var(--muted); margin-top: 8px; }

/* 관련 글 */
.related-posts { margin: 32px 0 40px; }

.related-posts-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
}

.related-posts-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.related-post-link {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px 16px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
  font-size: 0.9rem;
  color: var(--primary);
}

.related-post-link:hover { background: #eff6ff; }

/* 글 목록 페이지 */
.posts-list-header {
  background: linear-gradient(135deg, #1a6fc4, #7b3fa0);
  color: #fff;
  padding: 48px 0 40px;
}

.posts-list-header h1 { font-size: 1.6rem; font-weight: 800; margin-bottom: 8px; }
.posts-list-header p { opacity: 0.85; font-size: 0.95rem; }

.posts-list-content { padding: 48px 0 72px; }

.posts-category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.filter-btn {
  padding: 6px 16px;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  background: var(--card-bg);
  font-size: 0.83rem;
  cursor: pointer;
  color: var(--muted);
  transition: all 0.15s;
  font-family: inherit;
}

.filter-btn:hover, .filter-btn.active {
  border-color: var(--primary);
  background: #eff6ff;
  color: var(--primary);
  font-weight: 600;
}

/* 운영자 페이지 */
.author-page-header {
  background: linear-gradient(135deg, #1a6fc4, #7b3fa0);
  color: #fff;
  padding: 56px 0 48px;
}

.author-profile {
  display: flex;
  align-items: center;
  gap: 24px;
}

.author-avatar-large {
  width: 80px;
  height: 80px;
  background: rgba(255,255,255,0.2);
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  flex-shrink: 0;
}

.author-profile-name { font-size: 1.7rem; font-weight: 800; margin-bottom: 4px; }
.author-profile-role { opacity: 0.8; font-size: 0.9rem; margin-bottom: 8px; }
.author-profile-bio { opacity: 0.9; font-size: 0.95rem; line-height: 1.6; }

/* 관리자 모드 */
.admin-layout {
  display: flex;
  min-height: 100vh;
  background: #f0f2f5;
}

.admin-sidebar {
  width: 240px;
  background: #1a1d27;
  color: #ccc;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.admin-sidebar-logo {
  padding: 22px 20px 18px;
  border-bottom: 1px solid #2a2d3a;
}

.admin-sidebar-logo .logo-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
}

.admin-sidebar-logo .logo-sub {
  font-size: 0.72rem;
  color: #666;
  margin-top: 2px;
}

.admin-nav { padding: 12px 0; flex: 1; }

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  font-size: 0.88rem;
  color: #aaa;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
}

.admin-nav-item:hover { background: #252836; color: #fff; }
.admin-nav-item.active { background: #1a3a6a; color: #60a5fa; font-weight: 600; }
.admin-nav-item .nav-icon { font-size: 1rem; width: 20px; }

.admin-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.admin-topbar {
  background: #fff;
  padding: 14px 28px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-topbar-title { font-size: 1rem; font-weight: 700; color: #1a1a2e; }

.admin-topbar-actions { display: flex; gap: 10px; align-items: center; }

.admin-content { padding: 28px; overflow-y: auto; flex: 1; }

/* 대시보드 카드 */
.dashboard-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.dash-card {
  background: #fff;
  border-radius: 10px;
  padding: 18px 20px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}

.dash-card-label { font-size: 0.78rem; color: #6b7280; font-weight: 600; margin-bottom: 8px; }
.dash-card-value { font-size: 1.8rem; font-weight: 800; color: #1a6fc4; }

/* 관리자 테이블 */
.admin-table-wrap {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
  overflow: hidden;
}

.admin-table-header {
  padding: 16px 20px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-table-header h3 { font-size: 0.95rem; font-weight: 700; color: #1a1a2e; }

.admin-btn {
  padding: 7px 16px;
  border-radius: 8px;
  font-size: 0.83rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}

.admin-btn-primary { background: #1a6fc4; color: #fff; }
.admin-btn-primary:hover { background: #145ea8; }
.admin-btn-secondary { background: #f1f5f9; color: #475569; }
.admin-btn-secondary:hover { background: #e2e8f0; }
.admin-btn-danger { background: #fee2e2; color: #dc2626; }
.admin-btn-danger:hover { background: #fecaca; }
.admin-btn-sm { padding: 4px 10px; font-size: 0.75rem; }

table.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: 12px 20px; text-align: left; border-bottom: 1px solid #f1f5f9; font-size: 0.85rem; }
.admin-table th { background: #f8fafc; color: #475569; font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.4px; }
.admin-table td { color: #374151; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: #f8fafc; }

.status-badge {
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 0.73rem;
  font-weight: 700;
}

.status-published { background: #d1fae5; color: #065f46; }
.status-draft { background: #fef3c7; color: #92400e; }

/* 관리자 폼 */
.admin-form-wrap {
  background: #fff;
  border-radius: 10px;
  padding: 24px 28px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
  max-width: 820px;
}

.admin-form-title { font-size: 1rem; font-weight: 700; color: #1a1a2e; margin-bottom: 20px; }

.admin-form-group { margin-bottom: 16px; }

.admin-form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}

.admin-form-group input,
.admin-form-group textarea,
.admin-form-group select {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #1a1a2e;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s;
  background: #fafafa;
}

.admin-form-group input:focus,
.admin-form-group textarea:focus,
.admin-form-group select:focus {
  border-color: #1a6fc4;
  background: #fff;
}

.admin-form-group textarea { resize: vertical; min-height: 100px; }

.admin-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.admin-form-actions { display: flex; gap: 10px; margin-top: 20px; }

/* 관리자 로그인 */
.admin-login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f2f5;
}

.admin-login-card {
  background: #fff;
  border-radius: 14px;
  padding: 40px 36px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.1);
  text-align: center;
}

.admin-login-logo { font-size: 2rem; margin-bottom: 8px; }
.admin-login-title { font-size: 1.3rem; font-weight: 800; color: #1a1a2e; margin-bottom: 6px; }
.admin-login-sub { font-size: 0.83rem; color: #6b7280; margin-bottom: 24px; line-height: 1.5; }

.admin-login-card input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.95rem;
  outline: none;
  margin-bottom: 12px;
  font-family: inherit;
  transition: border-color 0.2s;
}

.admin-login-card input:focus { border-color: #1a6fc4; }

.admin-login-btn {
  width: 100%;
  padding: 12px;
  background: #1a6fc4;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
  margin-bottom: 10px;
}

.admin-login-btn:hover { background: #145ea8; }

.admin-login-demo {
  width: 100%;
  padding: 10px;
  background: #f1f5f9;
  color: #475569;
  border: none;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
  margin-bottom: 16px;
}

.admin-login-demo:hover { background: #e2e8f0; }

.admin-login-notice {
  font-size: 0.75rem;
  color: #9ca3af;
  line-height: 1.6;
  border-top: 1px solid #f1f5f9;
  padding-top: 16px;
  margin-top: 8px;
}

/* 사이트맵 페이지 */
.sitemap-section { margin-bottom: 36px; }
.sitemap-section h2 { font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 14px; }
.sitemap-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.sitemap-list li a { font-size: 0.9rem; color: var(--primary); text-decoration: none; display: flex; align-items: center; gap: 6px; }
.sitemap-list li a:hover { text-decoration: underline; }

/* 404 */
.not-found-wrap {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}

.not-found-code { font-size: 5rem; font-weight: 900; color: var(--primary); opacity: 0.2; line-height: 1; }
.not-found-title { font-size: 1.5rem; font-weight: 800; color: var(--text); margin-bottom: 12px; }
.not-found-desc { font-size: 0.95rem; color: var(--muted); line-height: 1.7; margin-bottom: 28px; }

/* 다크모드 */
[data-theme="dark"] .post-summary-box { background: #1a2a4a; border-color: #2a3a5c; }
[data-theme="dark"] .post-mistakes { background: #2a1a0a; border-color: #7c3200; }
[data-theme="dark"] .post-mistakes li { color: #fcd9a0; }
[data-theme="dark"] .post-checklist { background: #0a2a1a; border-color: #065f3a; }
[data-theme="dark"] .post-checklist li { color: #a7f3d0; }
[data-theme="dark"] .post-toc { background: #1a2035; border-color: #2a3a5c; }
[data-theme="dark"] .post-author-box { background: linear-gradient(135deg, #1a2a4a, #2a1a3a); border-color: #2a3a5c; }
[data-theme="dark"] .author-mini-box { background: linear-gradient(135deg, #1a2a4a, #2a1a3a); border-color: #2a3a5c; }
[data-theme="dark"] .post-card { background: #1a1d27; }
[data-theme="dark"] .column-card { background: #1a1d27; }
[data-theme="dark"] .category-card { background: #1a1d27; }
[data-theme="dark"] .post-faq details summary { background: #1a1d27; }
[data-theme="dark"] .post-faq details .faq-answer { background: #141720; }
[data-theme="dark"] .related-post-link { background: #1a1d27; }
[data-theme="dark"] .related-post-link:hover { background: #1a2a4a; }
[data-theme="dark"] .admin-layout { background: #0f1117; }
[data-theme="dark"] .admin-form-wrap { background: #1a1d27; }
[data-theme="dark"] .admin-table-wrap { background: #1a1d27; }
[data-theme="dark"] .admin-table th { background: #252836; color: #9ca3b0; }
[data-theme="dark"] .admin-table td { color: #e8eaf0; border-color: #2a2d3a; }
[data-theme="dark"] .admin-table tr:hover td { background: #252836; }
[data-theme="dark"] .admin-topbar { background: #1a1d27; border-color: #2a2d3a; }
[data-theme="dark"] .dash-card { background: #1a1d27; }
[data-theme="dark"] .admin-login-card { background: #1a1d27; }
[data-theme="dark"] .admin-form-group input,
[data-theme="dark"] .admin-form-group textarea,
[data-theme="dark"] .admin-form-group select { background: #252836; border-color: #2a2d3a; color: #e8eaf0; }

/* 반응형 */
@media (max-width: 640px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .post-grid { grid-template-columns: 1fr; }
  .author-mini-box { flex-direction: column; }
  .post-title { font-size: 1.4rem; }
  .author-profile { flex-direction: column; text-align: center; }
  .admin-sidebar { display: none; }
  .admin-form-row { grid-template-columns: 1fr; }
  .dashboard-cards { grid-template-columns: repeat(2, 1fr); }
  .section-header { flex-direction: column; gap: 8px; }
}
