/*
Theme Name: 동사연 - 전남동부지역사회연구소
Theme URI: https://scngo.or.kr
Author: SMT
Author URI: https://scngo.or.kr
Description: 전남동부지역사회연구소(동사연) 홈페이지 커스텀 테마. 순천만 생태환경과 지역사회 공공성을 위한 시민행동을 알리는 사이트입니다.
Template: astra
Version: 2.0.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dongsayeon
*/

/* ============================================================
   1. Web Fonts — 로컬 Variable Fonts
   ============================================================ */
@font-face {
  font-family: 'Pretendard Variable';
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
  src: url('./assets/fonts/PretendardVariable.woff2') format('woff2-variations');
}

@font-face {
  font-family: 'SUIT Variable';
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  src: url('./assets/fonts/SUIT-Variable.woff2') format('woff2-variations');
}

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@400;500;700;900&display=swap');

/* ============================================================
   2. Design Tokens
   ============================================================ */
:root {
  /* Brand — Civic Blue */
  --brand-50:  #eef5fb;
  --brand-100: #d5e6f3;
  --brand-200: #abcde7;
  --brand-300: #7eb0d8;
  --brand-400: #4d8fc5;
  --brand-500: #2c75b3;
  --brand-600: #1e5e96;
  --brand-700: #174a78;
  --brand-800: #11385c;
  --brand-900: #0a2440;
  --brand-950: #051426;

  /* Accent — Living Coral */
  --accent-50:  #fef3ef;
  --accent-100: #fcdfd3;
  --accent-200: #f9bea7;
  --accent-300: #f29274;
  --accent-400: #e96b48;
  --accent-500: #d44e2c;
  --accent-600: #b03b1f;

  /* Action — Civic Red */
  --action-100: #fdebe8;
  --action-300: #e88472;
  --action-400: #d65a44;
  --action-500: #b8412b;
  --action-600: #8f2f1f;

  /* Neutrals */
  --paper:      #fafaf8;
  --paper-warm: #f4f4f1;
  --paper-100:  #ececea;
  --paper-200:  #d8d8d4;
  --paper-300:  #b4b4ae;
  --paper-400:  #87877f;
  --paper-500:  #5a5a54;
  --paper-600:  #3d3d38;
  --paper-700:  #2a2a26;
  --paper-800:  #1a1a17;
  --ink:        #111110;
  --white:      #ffffff;

  /* Semantic */
  --fg-1: var(--ink);
  --fg-2: var(--paper-600);
  --fg-3: var(--paper-500);
  --fg-4: var(--paper-400);
  --border-1: var(--paper-200);
  --border-2: var(--paper-300);

  /* Typography */
  --font-sans: 'Pretendard Variable', 'SUIT Variable', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-display: 'SUIT Variable', 'Pretendard Variable', sans-serif;
  --font-serif: 'Noto Serif KR', 'Times New Roman', serif;
  --font-mono: 'SF Mono', ui-monospace, Menlo, monospace;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(20,19,15,0.04);
  --shadow-sm: 0 1px 3px rgba(20,19,15,0.06), 0 1px 2px rgba(20,19,15,0.04);
  --shadow-md: 0 4px 12px rgba(20,19,15,0.08), 0 1px 3px rgba(20,19,15,0.04);
  --shadow-lg: 0 12px 32px rgba(20,19,15,0.12), 0 4px 8px rgba(20,19,15,0.06);

  /* Motion */
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-in-out: cubic-bezier(0.5, 0, 0.2, 1);
  --dur-fast: 120ms;
  --dur-base: 200ms;
  --dur-slow: 360ms;
}

/* ============================================================
   3. Reset & Base
   ============================================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* ── Lucide 아이콘 SVG 전역 기반 ──────────────────────────────
   lucide.createIcons()가 <i data-lucide="*">를
   <svg class="lucide lucide-{name}">로 교체합니다.
   이 때 기존 CSS의 `i { width/height }` 규칙은 무효화되므로
   svg.lucide 에도 동일한 레이아웃 규칙을 적용합니다.          */
svg.lucide {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  overflow: visible;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-700); text-decoration: none; }
a:hover { color: var(--brand-900); }
button { font-family: inherit; cursor: pointer; }
ul, ol { list-style: none; }

/* ============================================================
   Astra 기본 요소 재정의 - 콘텐츠 컨테이너 유지, 빌더 컴포넌트만 숨김
   ============================================================ */

/* Astra 헤더 빌더 컴포넌트 숨김 */
#ast-fixed-header,
.main-header-bar,
.ast-masthead-custom-menu-items,
.astra-hfb-header,
.hfb-header { display: none !important; }

body.ast-header-break-point .main-header-bar { display: none !important; }

/* 페이지 기본 리셋 */
#page { margin: 0; padding: 0; max-width: 100%; }
.site { padding: 0; }

/* site-header / site-footer: 커스텀 헤더/푸터가 내부에 렌더링됨 - 표시 유지 */
.site-header,
.site-footer {
  background: transparent;
  padding: 0;
  margin: 0;
  border: none;
  box-shadow: none;
}

/* ============================================================
   ★★★ 핵심: Astra 사이드바 완전 제거 ★★★
   Astra는 body.ast-right-sidebar / body.ast-left-sidebar 클래스를 기반으로
   float 레이아웃을 적용함. 아래 CSS가 그것을 완전히 무력화함.
   ============================================================ */

/* 사이드바 DOM 완전 숨김 */
body #secondary,
body .ast-primary-sidebar,
body .ast-secondary-sidebar,
body .widget-area,
body aside.sidebar,
body .secondary { display: none !important; }

/* ── Astra의 실제 사이드바 selector 직접 override ── */
/* (Astra style.min.css 에서 사용하는 selector 패턴) */
.ast-right-sidebar #primary,
.ast-left-sidebar  #primary,
.ast-right-sidebar #primary.content-area,
.ast-left-sidebar  #primary.content-area,
body.ast-right-sidebar #primary,
body.ast-left-sidebar  #primary,
body.ast-right-sidebar .content-area,
body.ast-left-sidebar  .content-area {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.ast-right-sidebar #secondary,
.ast-left-sidebar  #secondary,
body.ast-right-sidebar #secondary,
body.ast-left-sidebar  #secondary,
body.ast-right-sidebar .ast-primary-sidebar,
body.ast-left-sidebar  .ast-primary-sidebar {
  display: none !important;
  width: 0 !important;
  float: none !important;
}

/* 콘텐츠 wrapper 전체 너비 강제 */
body #content,
body .site-content,
body .ast-flex-1 {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  min-width: 100% !important;
  display: block !important;
}

body .ast-container {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  clear: both !important;
  overflow: visible !important;
}

/* #primary float 무효화 */
body #primary,
body #primary.content-area,
body .site-content #primary {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  float: none !important;
  display: block !important;
}

/* 프론트 페이지 wrapper 명시적 full-width */
.ds-front-wrapper {
  width: 100%;
  max-width: 100%;
  display: block;
}

/* 본문 entry-content 리셋 */
.entry-content {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}


/* ============================================================
   4. Top Utility Bar
   ============================================================ */
.ds-topbar {
  background: var(--brand-900);
  color: var(--paper-300);
  font-size: 12px;
  padding: 7px 0;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 110;
}
.ds-topbar-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ds-topbar .left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.ds-topbar .slogan {
  color: var(--accent-300);
  font-weight: 600;
}
.ds-topbar a {
  color: var(--paper-300);
  text-decoration: none;
  margin-left: 18px;
  transition: color 0.15s;
}
.ds-topbar a:hover { color: var(--paper); }

/* ============================================================
   5. Header / Main GNB
   ============================================================ */
header.ds-gnb {
  background: var(--white);
  border-bottom: 1px solid var(--border-1);
  box-shadow: 0 1px 0 rgba(0,0,0,0.02), 0 4px 16px rgba(10,36,64,0.04);
  position: sticky;
  top: 0;
  z-index: 100;
}

.ds-gnb-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.ds-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: opacity 0.2s;
  padding: 4px 6px;
  border-radius: 10px;
}
.ds-logo:hover { opacity: 0.88; color: inherit; }
.ds-logo .symbol {
  width: 56px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
  mix-blend-mode: multiply;
}
.ds-logo .wordmark {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.1;
}
.ds-logo .wm-main {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--brand-900);
  letter-spacing: -0.04em;
}
.ds-logo .wm-sub {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  color: var(--paper-500);
  letter-spacing: -0.02em;
}

/* Main Nav */
nav.ds-main-nav {
  display: flex;
  gap: 2px;
  align-items: center;
  padding: 4px;
  background: var(--paper-warm);
  border-radius: 14px;
}
.ds-nav-item { position: relative; }
.ds-nav-item > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  color: var(--paper-600);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  border-radius: 10px;
  letter-spacing: -0.015em;
  transition: all 0.18s var(--ease-out);
}
.ds-nav-item > a .nav-ico,
.ds-nav-item > a svg.lucide.nav-ico {
  width: 16px;
  height: 16px;
  color: var(--paper-400);
  transition: all 0.18s;
  flex-shrink: 0;
}
.ds-nav-item:hover > a {
  color: var(--brand-700);
  background: var(--white);
  box-shadow: 0 1px 3px rgba(10,36,64,0.06);
}
.ds-nav-item:hover > a .nav-ico { color: var(--brand-500); }
.ds-nav-item.active > a {
  color: var(--paper);
  background: linear-gradient(135deg, var(--brand-600) 0%, var(--brand-700) 100%);
  box-shadow: 0 2px 6px rgba(30,94,150,0.32), inset 0 1px 0 rgba(255,255,255,0.12);
}
.ds-nav-item.active > a .nav-ico { color: var(--accent-300); }

/* identity nav item */
.ds-nav-item.identity > a {
  padding-left: 22px;
  position: relative;
}
.ds-nav-item.identity > a::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 16px;
  background: var(--accent-400);
  border-radius: 2px;
  opacity: 0.7;
}
.ds-nav-item.identity:hover > a::before { background: var(--accent-500); opacity: 1; }
.ds-nav-item.identity.active > a { color: var(--paper); }
.ds-nav-item.identity.active > a::before { background: var(--accent-300); opacity: 1; }

/* drop-arrow 아이콘 */
.ds-nav-item .drop-arrow,
.ds-nav-item svg.lucide.drop-arrow {
  width: 13px;
  height: 13px;
  color: var(--paper-400);
  transition: transform 0.25s var(--ease-out);
  margin-left: -2px;
}
.ds-nav-item.has-drop.drop-open .drop-arrow,
.ds-nav-item.has-drop:focus-within .drop-arrow { transform: rotate(180deg); color: var(--brand-500); }

/* ★ hover 브릿지: nav item 아래 투명 영역으로 갭 채움 */
.ds-nav-item.has-drop::after {
  content: '';
  position: absolute;
  bottom: -16px; /* dropdown top gap과 같거나 더 크게 */
  left: -10px;
  right: -10px;
  height: 16px;
  background: transparent;
  display: none;
}
.ds-nav-item.has-drop.drop-open::after { display: block; }

/* ============================================================
   Dropdown Sub-menu
   ============================================================ */
.ds-dropdown {
  position: absolute;
  top: 100%; /* gap을 padding-top으로 처리해 hover 영역 끊기지 않게 */
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  /* 위쪽 16px은 투명 패딩 (호버 브릿지) */
  padding: 16px 0 0 0;
  background: transparent;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s var(--ease-out), transform 0.2s var(--ease-out), visibility 0.2s;
  z-index: 200;
  min-width: 180px;
}
/* 드롭다운 실제 카드 */
.ds-dropdown-inner {
  background: var(--white);
  border: 1px solid var(--border-1);
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(10,36,64,0.13), 0 2px 8px rgba(10,36,64,0.06);
  padding: 8px;
  position: relative;
}
/* 삼각 화살표 */
.ds-dropdown-inner::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 6px;
  background: var(--white);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  filter: drop-shadow(0 -1px 0 var(--border-1));
}

/* JS .drop-open 클래스로 제어 (hover 대신 — 갭 문제 해결) */
.ds-nav-item.has-drop.drop-open .ds-dropdown,
.ds-nav-item.has-drop:focus-within .ds-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.ds-drop-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--fg-2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: all 0.15s;
  white-space: nowrap;
}
.ds-drop-item:hover {
  background: var(--brand-50);
  color: var(--brand-700);
}
.ds-drop-ico {
  width: 28px;
  height: 28px;
  background: var(--paper-warm);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s;
}
.ds-drop-item:hover .ds-drop-ico { background: var(--brand-100); }
.ds-drop-ico i, .ds-drop-ico svg.lucide { width: 14px; height: 14px; color: var(--brand-600); }

/* ============================================================
   LNB 서브메뉴바 (아카이브/싱글 페이지)
   ============================================================ */
.ds-lnb {
  background: var(--white);
  border-bottom: 1px solid var(--border-1);
  position: sticky;
  top: 72px; /* GNB 높이에 맞춤 */
  z-index: 90;
  width: 100%;
}
.ds-lnb-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 0;
}
.ds-lnb-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-600);
  padding: 9px 18px 9px 0;
  border-right: 1px solid var(--border-1);
  margin-right: 16px;
  white-space: nowrap;
  flex-shrink: 0;
}
.ds-lnb-label i, .ds-lnb-label svg.lucide { width: 14px; height: 14px; }

.ds-lnb-items {
  display: flex;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}
.ds-lnb-items::-webkit-scrollbar { display: none; }

.ds-lnb-item {
  padding: 9px 14px;
  color: var(--fg-2);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: all 0.15s;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.ds-lnb-item:hover { color: var(--brand-700); border-bottom-color: var(--brand-300); }
.ds-lnb-item.active { color: var(--brand-700); border-bottom-color: var(--brand-600); font-weight: 700; }

/* ============================================================
   Mobile Nav 서브그룹 (아코디언)
   ============================================================ */
.ds-mob-group { border-bottom: 1px solid var(--border-1); }
.ds-mob-group:last-of-type { border-bottom: none; }
.ds-mob-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  color: var(--ink);
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.015em;
  transition: background 0.15s;
  width: 100%;
}
.ds-mob-item:hover { background: var(--brand-50); color: var(--brand-700); }
.ds-mob-item i, .ds-mob-item svg.lucide { width: 20px; height: 20px; color: var(--brand-500); flex-shrink: 0; }
.ds-mob-item span { flex: 1; }
.ds-mob-arrow {
  width: 16px !important;
  height: 16px !important;
  color: var(--fg-3) !important;
  transition: transform 0.25s !important;
}
.ds-mob-group.open .ds-mob-arrow { transform: rotate(90deg); }

.ds-mob-subs {
  display: none;
  flex-direction: column;
  background: var(--paper-warm);
  padding: 4px 0;
}
.ds-mob-group.open .ds-mob-subs { display: flex; }
.ds-mob-sub-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px 11px 52px;
  color: var(--fg-2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.15s;
}
.ds-mob-sub-item:hover { color: var(--brand-700); background: var(--brand-50); }
.ds-mob-sub-item i, .ds-mob-sub-item svg.lucide { width: 15px; height: 15px; color: var(--brand-400); }



/* GNB CTA */
.ds-gnb-cta {
  display: flex;
  gap: 8px;
  align-items: center;
}
.ds-gnb-cta-divider {
  width: 1px;
  height: 24px;
  background: var(--paper-200);
  margin: 0 4px;
}
.ds-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--paper-warm);
  border: 1px solid transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-2);
  transition: all 0.2s;
}
.ds-icon-btn:hover {
  background: var(--white);
  border-color: var(--brand-200);
  color: var(--brand-700);
  box-shadow: 0 2px 6px rgba(10,36,64,0.06);
}
.ds-icon-btn svg, .ds-icon-btn i { width: 18px; height: 18px; }

/* Buttons */
.ds-btn {
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 10px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s var(--ease-out);
  letter-spacing: -0.015em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}
.ds-btn svg, .ds-btn i { width: 14px; height: 14px; }

.ds-btn-donate {
  background: linear-gradient(135deg, var(--accent-500) 0%, var(--accent-600) 100%);
  color: var(--paper);
  box-shadow: 0 2px 6px rgba(212,78,44,0.32), inset 0 1px 0 rgba(255,255,255,0.18);
  position: relative;
  overflow: hidden;
}
.ds-btn-donate::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.2s;
}
.ds-btn-donate:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(212,78,44,0.42), inset 0 1px 0 rgba(255,255,255,0.22);
  color: var(--paper);
}
.ds-btn-donate:hover::before { opacity: 1; }

.ds-btn-outline {
  background: var(--white);
  color: var(--brand-700);
  border-color: var(--paper-200);
}
.ds-btn-outline:hover {
  background: var(--brand-50);
  border-color: var(--brand-400);
  color: var(--brand-800);
}

/* Mobile menu toggle */
.ds-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.ds-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  display: block;
  transition: all 0.3s;
}

/* ============================================================
   6. Hero Slider
   ============================================================ */
.ds-hero {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: var(--ink);
}
.ds-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s var(--ease-out);
}
.ds-hero-slide.active { opacity: 1; }
.ds-hero-slide .bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ds-hero-overlay {
  position: absolute;
  inset: 0;
}
.ds-hero-overlay.dark {
  background: linear-gradient(95deg, rgba(8,32,26,0.88) 0%, rgba(8,32,26,0.55) 50%, rgba(8,32,26,0.2) 100%);
}
.ds-hero-overlay.warm {
  background: linear-gradient(95deg, rgba(17,17,16,0.82) 0%, rgba(17,17,16,0.45) 55%, rgba(17,17,16,0.1) 100%);
}

.ds-hero-content {
  position: absolute;
  inset: 0;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--paper);
}
.ds-slide-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.ds-slide-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-300);
  font-weight: 700;
  letter-spacing: 0.1em;
}
.ds-slide-num .total { color: rgba(255,255,255,0.5); }
.ds-slide-cat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-300);
}
.ds-slide-cat::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--accent-400);
}

.ds-hero h1 {
  font-family: var(--font-display);
  font-size: 42px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
  max-width: 700px;
  color: var(--paper);
}
.ds-hero h1 .em { color: var(--accent-300); }
.ds-hero p.desc {
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(255,255,255,0.85);
  max-width: 500px;
  margin: 0 0 18px;
  font-weight: 400;
}
.ds-btn-ghost-light {
  background: transparent;
  color: var(--paper);
  border: 1px solid rgba(255,255,255,0.4);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
  text-decoration: none;
}
.ds-btn-ghost-light:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.7);
  color: var(--paper);
}

/* Hero nav */
.ds-hero-nav-wrap {
  position: absolute;
  bottom: 20px;
  right: 32px;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 5;
}
.ds-hero-arrows { display: flex; gap: 6px; }
.ds-hero-arrows button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--paper);
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ds-hero-arrows button:hover { background: rgba(255,255,255,0.2); }
.ds-hero-arrows button svg,
.ds-hero-arrows button i { width: 18px; height: 18px; }
.ds-hero-dots { display: flex; gap: 8px; align-items: center; }
.ds-hero-dots .dot {
  width: 36px;
  height: 3px;
  background: rgba(255,255,255,0.25);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  padding: 0;
}
.ds-hero-dots .dot.active { background: var(--accent-400); }

/* ============================================================
   7. Donate Strip
   ============================================================ */
.ds-donate-strip {
  background: var(--brand-700);
  color: var(--paper);
}
.ds-donate-strip-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 22px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.ds-donate-strip .left {
  display: flex;
  align-items: center;
  gap: 18px;
}
.ds-strip-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ds-strip-icon svg,
.ds-strip-icon i, .ds-strip-icon svg.lucide { width: 22px; height: 22px; color: var(--paper); }
.ds-strip-text .label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-300);
  font-weight: 700;
  margin-bottom: 4px;
}
.ds-strip-text .head {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.ds-donate-strip .right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.ds-phone-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-family: var(--font-mono);
}
.ds-phone-block .lbl {
  font-size: 10px;
  color: var(--paper-300);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ds-phone-block .num {
  font-size: 20px;
  font-weight: 700;
  color: var(--paper);
  letter-spacing: -0.01em;
}
.ds-btn-donate-big {
  background: var(--accent-500);
  color: var(--paper);
  border: none;
  padding: 14px 26px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
  text-decoration: none;
}
.ds-btn-donate-big:hover { background: var(--accent-600); color: var(--paper); }
.ds-btn-donate-big svg,
.ds-btn-donate-big i { width: 16px; height: 16px; }

/* ============================================================
   8. Section Base
   ============================================================ */
section.ds-main-section { padding: 48px 0; }
section.ds-main-section.bg-warm { background: var(--paper-warm); }
.ds-section-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
.ds-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 22px;
}
.ds-section-head .title {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ds-section-head .title h2 {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--ink);
  line-height: 1.15;
}
.ds-section-head .more {
  color: var(--brand-600);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s;
}
.ds-section-head .more:hover { color: var(--brand-800); gap: 8px; }
.ds-section-head .more svg,
.ds-section-head .more i { width: 14px; height: 14px; }

/* Eyebrow */
.ds-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-600);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ds-eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--brand-600);
}

/* ============================================================
   9. Notice + Statement Boards
   ============================================================ */
.ds-boards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.ds-board {
  background: var(--white);
  border: 1px solid var(--border-1);
  border-radius: 14px;
  padding: 28px;
  transition: all 0.2s;
}
.ds-board:hover {
  border-color: var(--border-2);
  box-shadow: var(--shadow-sm);
}
.ds-board-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 8px;
}
.ds-board-head h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  margin: 0;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.01em;
}
.ds-board-head h3 svg,
.ds-board-head h3 i { width: 22px; height: 22px; color: var(--brand-600); }
.ds-board-head .more-link {
  color: var(--fg-3);
  text-decoration: none;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.ds-board-head .more-link:hover { color: var(--brand-600); }

.ds-board-list { list-style: none; padding: 0; margin: 0; }
.ds-board-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border-1);
}
.ds-board-list li:last-child { border-bottom: none; }

.ds-board-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
}
.ds-board-item:hover .title-txt { color: var(--brand-600); }
.ds-board-item-content {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.title-txt {
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.15s;
}
.ds-pill {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 4px;
  flex-shrink: 0;
}
.ds-pill.notice { background: var(--brand-100); color: var(--brand-700); }
.ds-pill.urgent { background: var(--action-100); color: var(--action-600); }
.ds-pill.statement { background: var(--accent-100); color: var(--accent-600); }
.ds-pill.new { background: var(--accent-500); color: var(--paper); padding: 2px 6px; }
.ds-board-date {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-3);
  flex-shrink: 0;
}

/* ============================================================
   10. Photo Grid 4×3
   ============================================================ */
.ds-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.ds-photo-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.25s var(--ease-out);
  cursor: pointer;
  display: block;
  color: inherit;
  text-decoration: none;
}
.ds-photo-card:hover { transform: translateY(-4px); }
.ds-photo-card:hover .ds-thumb img { transform: scale(1.06); }
.ds-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-200);
  position: relative;
  border-radius: 12px;
}
.ds-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}
.ds-cat-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255,255,255,0.95);
  color: var(--brand-700);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.ds-photo-body { padding: 14px 4px 4px; }
.ds-photo-body h4 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 6px;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 42px;
  letter-spacing: -0.01em;
}
.ds-photo-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-3);
}

/* ============================================================
   11. Sub-category Tiles (4개 활동나눔)
   ============================================================ */
.ds-subs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.ds-sub-tile {
  background: var(--white);
  border: 1px solid var(--border-1);
  border-radius: 12px;
  padding: 20px 14px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.ds-sub-tile:hover {
  background: var(--brand-50);
  border-color: var(--brand-400);
  color: var(--brand-700);
}
.ds-sub-tile .ic {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--paper-warm);
  color: var(--brand-600);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.ds-sub-tile:hover .ic { background: var(--brand-600); color: var(--paper); }
.ds-sub-tile .ic svg,
.ds-sub-tile .ic i { width: 20px; height: 20px; }
.ds-sub-tile .nm { font-size: 13.5px; font-weight: 700; letter-spacing: -0.01em; }
.ds-sub-tile .ct { font-family: var(--font-mono); font-size: 10px; color: var(--fg-3); }

/* ============================================================
   12. Publications / Reports
   ============================================================ */
.ds-pub-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
}
.ds-pub-feature {
  background: var(--white);
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  border: 1px solid var(--border-1);
}
.ds-pub-feature .img {
  background: var(--paper-200);
  position: relative;
  min-height: 260px;
}
.ds-pub-feature .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ds-pub-feature .img .badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--brand-600);
  color: var(--paper);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 5px 10px;
  border-radius: 4px;
}
.ds-pub-feature .body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ds-pub-feature .cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-600);
  margin-bottom: 10px;
}
.ds-pub-feature h4 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.ds-pub-feature p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--fg-2);
  margin: 0 0 16px;
}
.ds-pub-feature .meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-3);
}

.ds-pub-list { display: flex; flex-direction: column; gap: 8px; }
.ds-pub-item {
  background: var(--white);
  border: 1px solid var(--border-1);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  color: var(--ink);
}
.ds-pub-item:hover { border-color: var(--brand-300); transform: translateX(4px); color: var(--ink); }
.ds-pub-ico {
  width: 38px;
  height: 38px;
  background: var(--brand-50);
  color: var(--brand-600);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ds-pub-ico svg,
.ds-pub-ico i { width: 18px; height: 18px; }
.ds-pub-txt .meta { font-size: 13.5px; font-weight: 700; color: var(--ink); line-height: 1.4; letter-spacing: -0.01em; }
.ds-pub-txt .sub { font-family: var(--font-mono); font-size: 11px; color: var(--fg-3); margin-top: 4px; }

/* ============================================================
   13. Floating Donate Button
   ============================================================ */
.ds-float-donate {
  position: fixed;
  right: 28px;
  bottom: 28px;
  background: var(--accent-500);
  color: var(--paper);
  border: none;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(212,78,44,0.4);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s var(--ease-out);
  z-index: 50;
  text-decoration: none;
}
.ds-float-donate:hover {
  background: var(--accent-600);
  transform: translateY(-2px);
  color: var(--paper);
}
.ds-float-donate svg,
.ds-float-donate i, .ds-float-donate svg.lucide { width: 18px; height: 18px; }

/* ============================================================
   14. Footer
   ============================================================ */
footer.ds-site-footer {
  background: var(--brand-950);
  color: var(--paper-300);
  padding: 56px 0 0;
  margin-top: 0;
}
.ds-footer-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
.ds-footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ds-footer-org .logo-light {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.ds-footer-org .logo-light img {
  height: 48px;
  background: rgba(255,255,255,0.95);
  padding: 4px 8px;
  border-radius: 8px;
  width: auto;
}
.ds-footer-org .logo-light .wm {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--paper);
  letter-spacing: -0.03em;
}
.ds-footer-org .slogan {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--paper);
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}
.ds-footer-org .since {
  font-size: 12.5px;
  color: var(--paper-300);
  line-height: 1.65;
  max-width: 320px;
}
.ds-footer-col h5 {
  font-size: 13px;
  font-weight: 700;
  color: var(--paper);
  margin: 0 0 16px;
  letter-spacing: 0.02em;
}
.ds-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.ds-footer-col li a {
  color: var(--paper-300);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.15s;
}
.ds-footer-col li a:hover { color: var(--accent-300); }

.ds-footer-info {
  padding: 22px 0;
  font-size: 12px;
  color: var(--paper-400);
  font-family: var(--font-mono);
  line-height: 1.7;
  display: flex;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ds-footer-info b { color: var(--paper-200); font-family: var(--font-sans); font-weight: 600; }

.ds-footer-bottom {
  padding: 18px 0 22px;
  font-size: 11px;
  color: var(--paper-400);
  display: flex;
  justify-content: space-between;
}

/* ============================================================
   15. Single Post / Page (기존 스타일 보강)
   ============================================================ */
.ds-post-header {
  background: var(--paper-warm);
  padding: 56px 32px 40px;
  border-bottom: 1px solid var(--border-1);
}
.ds-post-header-inner {
  max-width: 900px;
  margin: 0 auto;
}
.ds-post-header .category {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-600);
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ds-post-header .category::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--brand-600);
}
.ds-post-header h1 {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 16px;
}
.ds-post-header .meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--fg-3);
}

.ds-post-body {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 32px;
}
.ds-post-body .entry-content {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
}
.ds-post-body .entry-content p { margin-bottom: 1.5em; }
.ds-post-body .entry-content h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 2.5em 0 0.8em;
  color: var(--ink);
}
.ds-post-body .entry-content h3 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  margin: 2em 0 0.6em;
  color: var(--ink);
}
.ds-post-body .entry-content img {
  max-width: 100%;
  border-radius: 10px;
  margin: 1.5em 0;
}
.ds-post-body .entry-content blockquote {
  border-left: 3px solid var(--brand-600);
  padding: 12px 20px;
  margin: 2em 0;
  background: var(--brand-50);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--fg-2);
}

.ds-post-footer {
  padding-top: 36px;
  border-top: 1px solid var(--border-1);
  margin-top: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* Archive page */
.ds-archive-header {
  background: var(--brand-900);
  color: var(--paper);
  padding: 48px 32px 36px;
}
.ds-archive-header-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.ds-archive-header .eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-300);
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ds-archive-header .eyebrow::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--accent-400);
}
.ds-archive-header h1 {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--paper);
  margin: 0;
}

.ds-archive-body {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 32px;
}
.ds-post-list { display: flex; flex-direction: column; gap: 0; }
.ds-post-list-item {
  padding: 22px 0;
  border-bottom: 1px solid var(--border-1);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}
.ds-post-list-item:first-child { border-top: 1px solid var(--border-1); }
.ds-post-list-item a {
  text-decoration: none;
  color: var(--ink);
}
.ds-post-list-item a:hover .ds-list-title { color: var(--brand-600); }
.ds-list-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.ds-list-title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
  transition: color 0.15s;
}
.ds-list-date {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-3);
  flex-shrink: 0;
}

/* ============================================================
   16. Pagination
   ============================================================ */
.ds-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 40px 32px;
  flex-wrap: wrap;
}
.ds-pagination a,
.ds-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid var(--border-1);
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-2);
  text-decoration: none;
  transition: all 0.15s;
}
.ds-pagination a:hover { background: var(--brand-50); border-color: var(--brand-400); color: var(--brand-700); }
.ds-pagination span.current { background: var(--brand-600); border-color: var(--brand-600); color: var(--paper); }

/* ============================================================
   후원하기 준비중 모달
   ============================================================ */
.ds-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 20, 38, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.ds-modal-backdrop:not([hidden]) {
  opacity: 1;
}
.ds-modal-backdrop[hidden] {
  display: none !important;
}

.ds-modal {
  background: var(--white);
  border-radius: 24px;
  padding: 40px 36px 32px;
  max-width: 420px;
  width: 100%;
  position: relative;
  text-align: center;
  box-shadow: 0 32px 64px rgba(5,20,38,0.28);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s var(--ease-out);
}
.ds-modal-backdrop:not([hidden]) .ds-modal {
  transform: translateY(0) scale(1);
}

.ds-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-1);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--fg-3);
  transition: all 0.15s;
}
.ds-modal-close:hover { background: var(--paper-warm); color: var(--ink); }
.ds-modal-close i,
.ds-modal-close svg { width: 18px; height: 18px; display: block; flex-shrink: 0; }

.ds-modal-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--accent-500), var(--accent-400));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 12px 32px rgba(212,78,44,0.35);
  animation: ds-pulse 2.4s ease-in-out infinite;
}
.ds-modal-icon i, .ds-modal-icon svg.lucide { width: 32px; height: 32px; color: var(--paper); }

@keyframes ds-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 12px 32px rgba(212,78,44,0.35); }
  50% { transform: scale(1.06); box-shadow: 0 16px 40px rgba(212,78,44,0.5); }
}

.ds-modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-50);
  color: var(--accent-600);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--accent-200);
  margin-bottom: 16px;
}
.ds-modal-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--accent-500);
  border-radius: 50%;
  animation: ds-blink 1.2s ease-in-out infinite;
}
@keyframes ds-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.ds-modal-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1.3;
  margin: 0 0 14px;
}

.ds-modal-desc {
  font-size: 15px;
  line-height: 1.75;
  color: var(--fg-3);
  margin-bottom: 24px;
}

.ds-modal-contact {
  background: var(--paper-warm);
  border: 1px solid var(--border-1);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 24px;
  text-align: left;
}
.ds-modal-contact > p:first-child {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--fg-3);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.ds-modal-account {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}
.ds-modal-account .bank {
  font-size: 12px;
  font-weight: 700;
  background: var(--brand-100);
  color: var(--brand-700);
  padding: 2px 8px;
  border-radius: 4px;
}
.ds-modal-account strong {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 800;
  color: var(--brand-800);
  letter-spacing: 0.02em;
}
.ds-modal-account-name {
  font-size: 13px;
  color: var(--fg-3);
  margin-bottom: 12px;
}
.ds-modal-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-2);
}
.ds-modal-phone i, .ds-modal-phone svg.lucide { width: 15px; height: 15px; color: var(--brand-600); }

.ds-modal-ok {
  width: 100%;
  padding: 15px;
  background: var(--brand-700);
  color: var(--paper);
  border: none;
  border-radius: 12px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: -0.01em;
  transition: background 0.2s, transform 0.15s;
}
.ds-modal-ok:hover {
  background: var(--brand-800);
  transform: translateY(-1px);
}

/* ============================================================
   17. 동사연 소개 섹션 (메인 페이지)
   ============================================================ */
.ds-about-section { background: var(--white); }

.ds-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.ds-about-text .ds-eyebrow { margin-bottom: 14px; }

.ds-about-text h2 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 20px;
}

.ds-about-lead {
  font-size: 16px;
  line-height: 1.8;
  color: var(--fg-2);
  margin-bottom: 14px;
  font-weight: 500;
}

.ds-about-body {
  font-size: 15px;
  line-height: 1.75;
  color: var(--fg-3);
  margin-bottom: 28px;
}

/* 핵심 가치 4개 */
.ds-about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 28px;
}

.ds-about-value {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--paper-warm);
  border-radius: 10px;
  padding: 14px 16px;
  border: 1px solid var(--border-1);
  transition: border-color 0.2s;
}
.ds-about-value:hover { border-color: var(--brand-300); }

.ds-about-value-icon {
  width: 36px;
  height: 36px;
  background: var(--brand-100);
  color: var(--brand-600);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ds-about-value-icon i, .ds-about-value-icon svg.lucide { width: 18px; height: 18px; }

.ds-about-value div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ds-about-value strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.ds-about-value span {
  font-size: 12px;
  color: var(--fg-3);
  line-height: 1.4;
}

.ds-about-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* 사진 + 통계 블록 */
.ds-about-stats-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 460px;
}

.ds-about-photo-bg {
  position: absolute;
  inset: 0;
}
.ds-about-photo-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ds-about-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,20,38,0.35) 0%, rgba(5,20,38,0.78) 100%);
}

.ds-about-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  height: 100%;
  min-height: 460px;
}

.ds-about-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: background 0.2s;
}
.ds-about-stat:hover { background: rgba(255,255,255,0.06); }

.ds-about-stat-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--paper);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}
.ds-about-stat-unit {
  font-size: 24px;
  color: var(--accent-300);
}
.ds-about-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  text-align: center;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

/* ============================================================
   18. 사이트맵 페이지
   ============================================================ */
.ds-sitemap-body {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 32px 64px;
}

.ds-sitemap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.ds-sitemap-group--wide {
  grid-column: span 2;
}

.ds-sitemap-group {
  background: var(--white);
  border: 1px solid var(--border-1);
  border-radius: 14px;
  padding: 24px;
  transition: box-shadow 0.2s;
}
.ds-sitemap-group:hover { box-shadow: var(--shadow-sm); }

.ds-sitemap-group-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 14px;
}
.ds-sitemap-icon {
  width: 34px;
  height: 34px;
  background: var(--brand-50);
  color: var(--brand-600);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ds-sitemap-icon i, .ds-sitemap-icon svg.lucide { width: 17px; height: 17px; }

.ds-sitemap-group-head h2 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.ds-sitemap-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ds-sitemap-group ul li a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 7px;
  color: var(--fg-2);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.15s;
}
.ds-sitemap-group ul li a:hover {
  background: var(--brand-50);
  color: var(--brand-700);
}
.ds-sitemap-group ul li a i, .ds-sitemap-group ul li a svg.lucide { width: 14px; height: 14px; flex-shrink: 0; color: var(--brand-500); }

/* 최근 게시물 목록 */
.ds-sitemap-posts { gap: 0 !important; }
.ds-sitemap-posts li a {
  display: grid !important;
  grid-template-columns: auto 1fr auto !important;
  gap: 8px !important;
  padding: 10px 10px !important;
  border-bottom: 1px solid var(--border-1);
}
.ds-sitemap-posts li:last-child a { border-bottom: none; }
.ds-sitemap-post-title {
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--ink);
}
.ds-sitemap-post-date {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-3);
  flex-shrink: 0;
  white-space: nowrap;
}

/* 사이트맵 연락처 블록 */
.ds-sitemap-contact {
  background: var(--brand-950);
  border-radius: 16px;
  overflow: hidden;
}
.ds-sitemap-contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.ds-sitemap-contact-info,
.ds-sitemap-contact-donate {
  padding: 36px 40px;
}
.ds-sitemap-contact-info {
  border-right: 1px solid rgba(255,255,255,0.08);
}
.ds-sitemap-contact-info h3,
.ds-sitemap-contact-donate h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--paper);
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
.ds-sitemap-contact-info p {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--paper-300);
  margin-bottom: 8px;
  font-family: var(--font-mono);
}
.ds-sitemap-contact-info p i, .ds-sitemap-contact-info p svg.lucide { width: 15px; height: 15px; color: var(--accent-300); flex-shrink: 0; }
.ds-sitemap-account {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--accent-300);
  letter-spacing: -0.01em;
}

/* ============================================================
   19. 모바일 Nav Drawer
   ============================================================ */
.ds-mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--border-1);
  box-shadow: var(--shadow-lg);
  z-index: 98;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-out);
}
.ds-mobile-nav.open {
  max-height: 600px;
}
.ds-mobile-nav-inner {
  padding: 16px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ds-mob-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.015em;
  transition: background 0.15s;
}
.ds-mob-item:hover { background: var(--brand-50); color: var(--brand-700); }
.ds-mob-item i, .ds-mob-item svg.lucide { width: 20px; height: 20px; color: var(--brand-500); }

.ds-mob-cta {
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border-1);
}

/* 햄버거 열림 상태 */
.ds-menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.ds-menu-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.ds-menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.ds-menu-toggle span {
  transition: all 0.3s var(--ease-out);
  transform-origin: center;
}

/* ============================================================
   20. Responsive — 완전한 반응형
   ============================================================ */

/* ── 1280px (large laptop) ── */
@media (max-width: 1280px) {
  .ds-gnb-wrap,
  .ds-donate-strip-wrap,
  .ds-section-wrap,
  .ds-footer-wrap,
  .ds-sitemap-body,
  .ds-archive-body {
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* ── 1024px (tablet landscape) ── */
@media (max-width: 1024px) {
  .ds-photo-grid { grid-template-columns: repeat(3, 1fr); }
  .ds-subs-grid  { grid-template-columns: repeat(2, 1fr); }
  .ds-footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .ds-pub-grid   { grid-template-columns: 1fr; }
  .ds-pub-feature { grid-template-columns: 1fr 1.2fr; }

  /* 소개 섹션 */
  .ds-about-grid { gap: 40px; }
  .ds-about-text h2 { font-size: 30px; }
  .ds-about-stat-num { font-size: 38px; }

  /* 사이트맵 */
  .ds-sitemap-grid { grid-template-columns: repeat(2, 1fr); }
  .ds-sitemap-group--wide { grid-column: span 2; }

  /* GNB 축소 */
  .ds-nav-item > a { padding: 10px 13px; font-size: 14px; }
}

/* ── 768px (tablet portrait / mobile) ── */
@media (max-width: 768px) {
  /* 탑바 */
  .ds-topbar-wrap { flex-direction: column; gap: 5px; align-items: flex-start; padding: 8px 20px; }
  .ds-topbar-sep, .ds-topbar-desc { display: none; }
  .ds-topbar-right { margin-left: 0; }
  .ds-topbar a { margin-left: 0; margin-right: 12px; }

  /* GNB */
  .ds-gnb { position: sticky; top: 0; }
  .ds-gnb-wrap { padding: 12px 20px; }
  nav.ds-main-nav { display: none; } /* 데스크톱 nav 숨김 — 모바일 drawer 사용 */
  .ds-gnb-cta-divider, .ds-gnb-cta .ds-btn-outline { display: none; }
  .ds-menu-toggle { display: flex; }
  .ds-mobile-nav { display: block; }

  /* Hero */
  .ds-hero { height: 200px; }
  .ds-hero h1 { font-size: 26px; max-width: 100%; }
  .ds-hero p.desc { font-size: 13px; max-width: 100%; }
  .ds-hero-content { padding: 0 20px; }
  .ds-hero-nav-wrap { right: 20px; bottom: 14px; gap: 10px; }
  .ds-hero-dots .dot { width: 24px; }

  /* Donate strip */
  .ds-donate-strip-wrap { flex-direction: column; align-items: flex-start; gap: 20px; padding: 20px; }
  .ds-donate-strip .right { width: 100%; justify-content: space-between; }

  /* Sections */
  .ds-section-wrap { padding: 0 20px; }
  section.ds-main-section { padding: 36px 0; }

  /* Boards */
  .ds-boards { grid-template-columns: 1fr; gap: 16px; }
  .ds-board { padding: 20px; }

  /* Photo grid */
  .ds-photo-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .ds-photo-body h4 { font-size: 13px; min-height: auto; }

  /* Sub tiles */
  .ds-subs-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .ds-sub-tile { padding: 16px 10px; }
  .ds-sub-tile .nm { font-size: 12px; }

  /* Publications */
  .ds-pub-grid { grid-template-columns: 1fr; }
  .ds-pub-feature { grid-template-columns: 1fr; }
  .ds-pub-feature .img { min-height: 180px; }
  .ds-pub-feature .body { padding: 20px; }

  /* 동사연 소개 */
  .ds-about-grid { grid-template-columns: 1fr; gap: 32px; }
  .ds-about-text h2 { font-size: 26px; }
  .ds-about-stats-wrap { min-height: 320px; order: -1; }
  .ds-about-stats { min-height: 320px; }
  .ds-about-stat-num { font-size: 36px; }
  .ds-about-values { grid-template-columns: 1fr 1fr; }

  /* Section head */
  .ds-section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .ds-section-head .title h2 { font-size: 26px; }

  /* Footer */
  .ds-footer-wrap { padding: 0 20px; }
  .ds-footer-top { grid-template-columns: 1fr 1fr; gap: 24px; }
  .ds-footer-info { flex-direction: column; gap: 14px; }
  .ds-footer-info > div:last-child { text-align: left; }
  .ds-footer-bottom { flex-direction: column; gap: 8px; }

  /* Floating donate */
  .ds-float-donate { right: 14px; bottom: 14px; padding: 12px 18px; font-size: 13px; }
  .ds-float-donate span.label-text { display: none; }

  /* Archive/single */
  .ds-archive-header { padding: 36px 20px 28px; }
  .ds-archive-header h1 { font-size: 28px; }
  .ds-archive-body { padding: 24px 20px; }
  .ds-post-header { padding: 36px 20px 28px; }
  .ds-post-header h1 { font-size: 24px; }
  .ds-post-body { padding: 32px 20px; }

  /* Sitemap */
  .ds-sitemap-body { padding: 32px 20px 48px; }
  .ds-sitemap-grid { grid-template-columns: 1fr 1fr; }
  .ds-sitemap-group--wide { grid-column: span 2; }
  .ds-sitemap-contact-inner { grid-template-columns: 1fr; }
  .ds-sitemap-contact-info { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .ds-sitemap-contact-info,
  .ds-sitemap-contact-donate { padding: 28px 24px; }
}

/* ── 480px (small mobile) ── */
@media (max-width: 480px) {
  /* Topbar 숨김 */
  .ds-topbar { display: none; }

  /* Logo 축소 */
  .ds-logo .symbol { width: 40px; height: 30px; }
  .ds-logo .wm-main { font-size: 18px; }
  .ds-logo .wm-sub { display: none; }

  /* Hero */
  .ds-hero { height: 175px; }
  .ds-hero h1 { font-size: 22px; line-height: 1.2; }
  .ds-hero p.desc { display: none; }

  /* Photo grid 1컬럼 */
  .ds-photo-grid { grid-template-columns: 1fr; }

  /* Sub tiles 2컬럼 */
  .ds-subs-grid { grid-template-columns: repeat(2, 1fr); }

  /* 소개 */
  .ds-about-values { grid-template-columns: 1fr; }
  .ds-about-stats { grid-template-columns: 1fr 1fr; }

  /* 사이트맵 */
  .ds-sitemap-grid { grid-template-columns: 1fr; }
  .ds-sitemap-group--wide { grid-column: span 1; }

  /* Footer 1컬럼 */
  .ds-footer-top { grid-template-columns: 1fr; gap: 20px; }

  /* 게시판 */
  .ds-board-head h3 { font-size: 18px; }
  .title-txt { font-size: 14px; }

  /* Section head */
  .ds-section-head .title h2 { font-size: 22px; }

  /* 소개 actions */
  .ds-about-actions { flex-direction: column; }
  .ds-about-actions .ds-btn { justify-content: center; }
}

/* ── 360px (very small) ── */
@media (max-width: 360px) {
  .ds-hero { height: 150px; }
  .ds-hero h1 { font-size: 19px; }
  .ds-gnb-wrap { padding: 10px 14px; }
  .ds-section-wrap { padding: 0 14px; }
  .ds-footer-wrap { padding: 0 14px; }
}


/* ============================================================
   섹션 아카이브 레이아웃
   (archive.php — 활동나눔 / 알림소통 / 정책과대안)
   ============================================================ */

/* ── 2컬럼 래퍼 ── */
.ds-arch-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px;
  display: grid;
  grid-template-columns: 228px 1fr;
  gap: 32px;
  align-items: flex-start;
}

/* ══════════════════════════════════════
   좌측 사이드바
═══════════════════════════════════════ */
.ds-arch-sidebar {
  position: sticky;
  top: 88px;
  max-height: calc(100vh - 104px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scrollbar-width: thin;
  scrollbar-color: var(--border-2) transparent;
}
.ds-arch-sidebar::-webkit-scrollbar { width: 4px; }
.ds-arch-sidebar::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 2px; }

/* 사이드바 섹션 카드 */
.ds-sidebar-section {
  background: var(--white);
  border: 1px solid var(--border-1);
  border-radius: 14px;
  padding: 18px;
}

/* Primary nav (섹션 메인) */
.ds-sidebar-primary {
  border: 2px solid var(--brand-600);
  padding: 0;
  overflow: hidden;
}
.ds-sidebar-primary-head {
  background: var(--brand-700);
  color: var(--paper);
  padding: 13px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ds-sp-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.ds-sp-title i, .ds-sp-title svg.lucide { width: 16px; height: 16px; }
.ds-sp-total {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  font-family: var(--font-mono);
}
.ds-sidebar-primary-body { padding: 8px 8px 10px; }

/* 사이드바 헤딩 */
.ds-sidebar-h {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ds-sidebar-h i, .ds-sidebar-h svg.lucide { width: 14px; height: 14px; color: var(--brand-600); }

/* Side nav 링크 */
.ds-side-nav { display: flex; flex-direction: column; gap: 2px; }
.ds-side-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--fg-2);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: all 0.15s;
  position: relative;
}
.ds-side-link:hover { background: var(--paper-warm); color: var(--ink); }
.ds-side-link.active {
  background: var(--brand-50);
  color: var(--brand-700);
  font-weight: 700;
  padding-left: 16px;
}
.ds-side-link.active::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 18px;
  background: var(--brand-600);
  border-radius: 2px;
}
.ds-side-name {
  display: flex;
  align-items: center;
  gap: 7px;
}
.ds-side-name i, .ds-side-name svg.lucide { width: 14px; height: 14px; color: var(--paper-400); }
.ds-side-link.active .ds-side-name i, .ds-side-link.active .ds-side-name svg.lucide { color: var(--brand-500); }
.ds-side-ct {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-3);
  font-weight: 600;
  padding: 2px 6px;
  background: var(--paper-warm);
  border-radius: 999px;
  min-width: 26px;
  text-align: center;
}
.ds-side-link:hover .ds-side-ct { background: var(--white); }
.ds-side-link.active .ds-side-ct { background: var(--brand-100); color: var(--brand-700); }

/* 태그 */
.ds-tag-row { display: flex; flex-wrap: wrap; gap: 5px; }
.ds-tag-pill {
  font-size: 11.5px;
  padding: 4px 9px;
  background: var(--paper-warm);
  color: var(--fg-2);
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.15s;
  border: 1px solid transparent;
}
.ds-tag-pill:hover { background: var(--brand-50); color: var(--brand-700); border-color: var(--brand-200); }

/* CTA 카드 */
.ds-sidebar-cta {
  background: var(--brand-50) !important;
  border-color: var(--brand-200) !important;
}
.ds-sidebar-cta h3 { color: var(--brand-800); }
.ds-sidebar-cta p { font-size: 12.5px; line-height: 1.6; color: var(--brand-800); margin: 0 0 12px; }

/* ══════════════════════════════════════
   우측 콘텐츠
═══════════════════════════════════════ */
.ds-arch-content { min-width: 0; }

/* Page header */
.ds-arch-page-header {
  background: linear-gradient(135deg, var(--brand-50), var(--paper-warm));
  border: 1px solid var(--border-1);
  border-radius: 16px;
  padding: 24px 28px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}
.ds-arch-ph-title { display: flex; align-items: flex-start; gap: 14px; }
.ds-arch-ph-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--brand-700);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ds-arch-ph-icon i, .ds-arch-ph-icon svg.lucide { width: 24px; height: 24px; }
.ds-arch-ph-parent {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-600);
  display: block;
  margin-bottom: 4px;
}
.ds-arch-ph-h1 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0;
  line-height: 1.2;
}
.ds-arch-ph-desc {
  font-size: 13.5px;
  color: var(--fg-2);
  margin: 6px 0 0;
  line-height: 1.55;
}
.ds-arch-ph-stats { display: flex; gap: 20px; align-items: center; flex-shrink: 0; }
.ds-arch-stat { display: flex; flex-direction: column; align-items: flex-end; }
.ds-arch-stat .num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--brand-700);
  letter-spacing: -0.02em;
  line-height: 1;
}
.ds-arch-stat .lbl { font-size: 11px; color: var(--fg-3); margin-top: 3px; }
.ds-arch-stat-div { width: 1px; height: 36px; background: var(--paper-300); }

/* Filter chips (활동나눔) */
.ds-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
  padding: 12px 16px;
  background: var(--brand-50);
  border-radius: 10px;
  align-items: center;
  border: 1px solid var(--brand-100);
}
.ds-fc-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-700);
  margin-right: 6px;
}
.ds-fc-chip {
  background: var(--white);
  border: 1px solid var(--border-1);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--fg-1);
  text-decoration: none;
}
.ds-fc-chip:hover { border-color: var(--brand-400); color: var(--brand-700); }
.ds-fc-chip.active { background: var(--brand-700); color: var(--paper); border-color: var(--brand-700); }

/* Control bar */
.ds-ctrl-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 0 16px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--ink);
}
.ds-ctrl-left { flex-shrink: 0; }
.ds-ctrl-result { font-size: 13px; color: var(--fg-2); }
.ds-ctrl-result b { color: var(--ink); font-weight: 700; }
.ds-ctrl-right { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.ds-ctrl-sort {
  padding: 7px 10px;
  border: 1px solid var(--border-1);
  border-radius: 6px;
  background: var(--white);
  font-family: inherit;
  font-size: 12.5px;
  color: var(--ink);
  cursor: pointer;
}

/* View toggle */
.ds-view-toggle { display: flex; border: 1px solid var(--border-1); border-radius: 6px; overflow: hidden; }
.ds-vt-btn {
  padding: 7px 10px;
  background: var(--white);
  border: none;
  cursor: pointer;
  color: var(--fg-3);
  transition: all 0.15s;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
}
.ds-vt-btn.active { background: var(--brand-700); color: var(--paper); }
.ds-vt-btn:hover:not(.active) { background: var(--paper-warm); color: var(--ink); }
.ds-vt-btn i, .ds-vt-btn svg.lucide { width: 14px; height: 14px; }

/* ── Featured Post ── */
.ds-featured-post {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--border-1);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 24px;
  transition: all 0.25s var(--ease-out);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.ds-featured-post:hover {
  box-shadow: 0 8px 32px rgba(10,36,64,0.12);
  border-color: var(--brand-300);
  transform: translateY(-2px);
}
.ds-fp-thumb {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--paper-200);
  position: relative;
}
.ds-fp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.ds-featured-post:hover .ds-fp-thumb img { transform: scale(1.04); }
.ds-fp-thumb-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--brand-50), var(--brand-100));
  display: flex;
  align-items: center;
  justify-content: center;
}
.ds-fp-thumb-placeholder i, .ds-fp-thumb-placeholder svg.lucide { width: 48px; height: 48px; color: var(--brand-400); }

.ds-fp-pin {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent-500);
  color: var(--paper);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  z-index: 2;
}
.ds-fp-pin i, .ds-fp-pin svg.lucide { width: 12px; height: 12px; }

.ds-fp-body {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ds-fp-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-600);
  margin-bottom: 10px;
}
.ds-fp-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.ds-fp-excerpt {
  font-size: 14px;
  line-height: 1.65;
  color: var(--fg-2);
  margin: 0 0 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ds-fp-meta {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: var(--fg-3);
  font-family: var(--font-mono);
  align-items: center;
  flex-wrap: wrap;
}
.ds-fp-meta span { display: inline-flex; align-items: center; gap: 4px; }
.ds-fp-meta i, .ds-fp-meta svg.lucide { width: 12px; height: 12px; }

/* ── 섹션 타이틀 ── */
.ds-posts-section-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--fg-2);
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.ds-posts-section-title i, .ds-posts-section-title svg.lucide { width: 16px; height: 16px; color: var(--brand-500); }
.ds-posts-more {
  margin-left: auto;
  font-size: 12.5px;
  color: var(--brand-600);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}
.ds-posts-more:hover { color: var(--brand-800); }
.ds-posts-more i, .ds-posts-more svg.lucide { width: 13px; height: 13px; }

/* ── Activity Card Grid ── */
.ds-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 32px;
}
.ds-activity-card {
  background: var(--white);
  border: 1px solid var(--border-1);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.22s var(--ease-out);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.ds-activity-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(10,36,64,0.10);
  border-color: var(--brand-300);
}
.ds-ac-thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--paper-200);
  position: relative;
}
.ds-ac-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.ds-activity-card:hover .ds-ac-thumb img { transform: scale(1.06); }
.ds-ac-thumb-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--paper-warm), var(--brand-50));
  display: flex;
  align-items: center;
  justify-content: center;
}
.ds-ac-thumb-placeholder i, .ds-ac-thumb-placeholder svg.lucide { width: 32px; height: 32px; color: var(--brand-300); }

.ds-ac-cat-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255,255,255,0.95);
  color: var(--brand-700);
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  backdrop-filter: blur(6px);
  z-index: 2;
}
.ds-ac-new-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--accent-500);
  color: var(--paper);
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  z-index: 2;
}
.ds-ac-date-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  background: linear-gradient(to right, rgba(10,36,64,0.85), transparent);
  color: var(--paper);
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-mono);
}
.ds-ac-body { padding: 14px 16px; flex: 1; display: flex; flex-direction: column; }
.ds-ac-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 8px;
  color: var(--ink);
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 42px;
}
.ds-activity-card:hover .ds-ac-title { color: var(--brand-700); }
.ds-ac-excerpt {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38px;
}
.ds-ac-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border-1);
  font-size: 11px;
  color: var(--fg-3);
  font-family: var(--font-mono);
}
.ds-ac-stats { display: flex; gap: 10px; }
.ds-ac-stats span { display: inline-flex; align-items: center; gap: 3px; }
.ds-ac-stats i, .ds-ac-stats svg.lucide { width: 11px; height: 11px; }
.ds-ac-author { color: var(--brand-700); font-weight: 600; font-family: var(--font-sans); font-size: 12px; }

/* ── List View ── */
.ds-posts-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}
.ds-list-item {
  background: var(--white);
  border: 1px solid var(--border-1);
  border-radius: 12px;
  padding: 16px;
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 18px;
  align-items: center;
  cursor: pointer;
  transition: all 0.18s;
  text-decoration: none;
  color: inherit;
}
.ds-list-item:hover { border-color: var(--brand-300); box-shadow: 0 2px 12px rgba(10,36,64,0.06); }
.ds-li-thumb {
  aspect-ratio: 4/3;
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper-200);
  position: relative;
  flex-shrink: 0;
}
.ds-li-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ds-li-cat-mini {
  position: absolute;
  top: 6px;
  left: 6px;
  background: rgba(255,255,255,0.95);
  color: var(--brand-700);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
}
.ds-li-main { min-width: 0; }
.ds-li-head { display: flex; gap: 8px; align-items: center; margin-bottom: 5px; }
.ds-li-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-600);
}
.ds-li-new {
  background: var(--accent-500);
  color: var(--paper);
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 9px;
  font-weight: 700;
}
.ds-li-title {
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 5px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.ds-list-item:hover .ds-li-title { color: var(--brand-700); }
.ds-li-excerpt {
  font-size: 13px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ds-li-meta {
  display: flex;
  gap: 14px;
  font-size: 11.5px;
  color: var(--fg-3);
  font-family: var(--font-mono);
  align-items: center;
}
.ds-li-meta span { display: inline-flex; align-items: center; gap: 3px; }
.ds-li-meta i, .ds-li-meta svg.lucide { width: 11px; height: 11px; }
.ds-li-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.ds-li-date { font-family: var(--font-mono); font-size: 12px; color: var(--ink); font-weight: 700; }
.ds-li-attach {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--brand-600);
  padding: 3px 8px;
  background: var(--brand-50);
  border-radius: 999px;
}
.ds-li-attach i, .ds-li-attach svg.lucide { width: 11px; height: 11px; }

/* 페이지네이션 */
.ds-arch-content .ds-pagination { margin-top: 36px; }

/* 게시물 없음 */
.ds-no-posts {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  color: var(--fg-3);
  text-align: center;
  background: var(--paper-warm);
  border-radius: 16px;
  border: 1px dashed var(--border-2);
}
.ds-no-posts i, .ds-no-posts svg.lucide { width: 48px; height: 48px; margin-bottom: 14px; opacity: 0.4; }
.ds-no-posts p { font-size: 15px; margin: 0; }

/* ══════════════════════════════════════
   반응형 — 섹션 아카이브
═══════════════════════════════════════ */

/* 태블릿 (1024px) */
@media (max-width: 1024px) {
  .ds-arch-wrap { grid-template-columns: 200px 1fr; gap: 20px; padding: 24px; }
  .ds-posts-grid { grid-template-columns: repeat(2, 1fr); }
  .ds-featured-post { grid-template-columns: 260px 1fr; }
  .ds-arch-ph-h1 { font-size: 22px; }
  .ds-arch-ph-stats { display: none; }
}

/* 모바일 (768px) */
@media (max-width: 768px) {
  /* 사이드바를 상단으로 접기 */
  .ds-arch-wrap {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 16px;
  }
  .ds-arch-sidebar {
    position: static;
    max-height: none;
    overflow-y: visible;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .ds-arch-sidebar::-webkit-scrollbar { display: none; }
  /* 사이드바 카드 가로 스크롤 */
  .ds-sidebar-section { flex-shrink: 0; width: 200px; margin-bottom: 0; }
  .ds-sidebar-cta { display: none; }

  /* 콘텐츠 */
  .ds-featured-post { grid-template-columns: 1fr; }
  .ds-fp-thumb { aspect-ratio: 16/9; }
  .ds-fp-body { padding: 16px; }
  .ds-fp-title { font-size: 18px; }

  .ds-posts-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .ds-arch-page-header { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; }
  .ds-arch-ph-stats { flex-direction: row; }
  .ds-ctrl-bar { flex-direction: column; align-items: stretch; }
  .ds-ctrl-right { margin-left: 0; justify-content: flex-end; }
  .ds-list-item { grid-template-columns: 120px 1fr; }
  .ds-li-right { display: none; }
}

/* 모바일 소 (480px) */
@media (max-width: 480px) {
  .ds-posts-grid { grid-template-columns: 1fr; }
  .ds-filter-chips { gap: 4px; padding: 10px; }
  .ds-arch-sidebar { display: none; } /* 아주 작은 화면에서는 사이드바 숨김 */
  .ds-list-item { grid-template-columns: 1fr; }
  .ds-li-thumb { aspect-ratio: 16/9; width: 100%; }
}

/* ============================================================
   동사연 소개 페이지 (page-about.php)
   ============================================================ */

.ds-about-page { }

/* ── Hero ── */
.ds-about-hero {
  background: var(--brand-950);
  color: var(--paper);
  padding: 72px 0 80px;
}
.ds-about-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 64px;
  align-items: center;
}
.ds-about-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent-300);
  text-transform: uppercase;
  margin-bottom: 24px;
}
.ds-about-eyebrow-line {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--accent-400);
  border-radius: 1px;
}
.ds-about-hero-h1 {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.3;
  color: var(--paper);
  margin: 0 0 20px;
}
.ds-about-accent { color: var(--accent-400); }
.ds-about-hero-desc {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255,255,255,0.65);
  margin: 0 0 28px;
  max-width: 520px;
}
.ds-about-key-info {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.ds-about-key-item { display: flex; flex-direction: column; gap: 2px; }
.ds-about-key-item .lbl { font-size: 10px; color: rgba(255,255,255,0.45); letter-spacing: 0.08em; text-transform: uppercase; }
.ds-about-key-item .val { font-size: 14px; font-weight: 700; color: var(--paper); }

/* Hero Image */
.ds-about-hero-image {
  position: relative;
  border-radius: 20px;
  overflow: visible;
}
.ds-about-hero-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 20px;
  border: 4px solid rgba(255,255,255,0.08);
}
.ds-about-hero-img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: rgba(255,255,255,0.05);
  border: 2px dashed rgba(255,255,255,0.15);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ds-about-hero-img-placeholder i, .ds-about-hero-img-placeholder svg.lucide { width: 64px; height: 64px; color: rgba(255,255,255,0.2); }

.ds-about-since-badge {
  position: absolute;
  bottom: -20px;
  right: -16px;
  background: var(--accent-500);
  color: var(--paper);
  border-radius: 14px;
  padding: 16px 20px;
  text-align: center;
  box-shadow: 0 12px 32px rgba(212,78,44,0.45);
}
.ds-since-label { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; display: block; margin-bottom: 2px; opacity: 0.8; }
.ds-since-num { font-family: var(--font-display); font-size: 36px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; display: block; }
.ds-since-unit { font-size: 18px; }
.ds-since-sub { font-size: 11px; display: block; margin-top: 4px; opacity: 0.8; }

/* ── 공통 섹션 ── */
.ds-about-section-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 40px;
}
.ds-about-section-head { text-align: center; margin-bottom: 48px; }
.ds-about-eyebrow-center {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--brand-600);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}
.ds-about-section-head h2 {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0;
}

/* ── Stats ── */
.ds-about-stats-section { background: var(--paper-warm); border-bottom: 1px solid var(--border-1); }
.ds-about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.ds-about-stat-card {
  background: var(--white);
  border: 1px solid var(--border-1);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  transition: all 0.2s;
}
.ds-about-stat-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(10,36,64,0.08); }
.ds-asc-num {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 800;
  color: var(--brand-700);
  letter-spacing: -0.04em;
  line-height: 1;
}
.ds-asc-plus { font-size: 28px; }
.ds-asc-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.ds-asc-desc { font-size: 12.5px; color: var(--fg-3); line-height: 1.5; }

/* ── Values ── */
.ds-about-values-section { background: var(--white); }
.ds-about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ds-about-value-card {
  background: var(--paper-warm);
  border: 1px solid var(--border-1);
  border-radius: 20px;
  padding: 32px 28px;
  transition: all 0.22s;
}
.ds-about-value-card:hover {
  background: var(--white);
  border-color: var(--brand-300);
  box-shadow: 0 8px 24px rgba(10,36,64,0.08);
  transform: translateY(-4px);
}
.ds-avc-icon {
  width: 52px;
  height: 52px;
  background: var(--brand-700);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.ds-avc-icon i, .ds-avc-icon svg.lucide { width: 26px; height: 26px; color: var(--paper); }
.ds-about-value-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.ds-about-value-card p { font-size: 14px; line-height: 1.7; color: var(--fg-2); margin: 0; }

/* ── Contact ── */
.ds-about-contact-section { background: var(--brand-950); }
.ds-about-contact-section .ds-about-section-inner { padding-bottom: 72px; }
.ds-about-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.ds-about-contact-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 32px;
  color: var(--paper);
}
.ds-about-contact-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--paper);
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ds-about-contact-card h3 i, .ds-about-contact-card h3 svg.lucide { width: 20px; height: 20px; color: var(--accent-400); }
.ds-about-contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ds-about-contact-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: rgba(255,255,255,0.75); }
.ds-about-contact-list i, .ds-about-contact-list svg.lucide { width: 16px; height: 16px; color: var(--brand-400); flex-shrink: 0; margin-top: 2px; }

.ds-about-donate-card { background: var(--brand-800); border-color: var(--brand-600); }
.ds-about-account { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.ds-about-account .bank {
  font-size: 12px;
  font-weight: 700;
  background: var(--brand-600);
  color: var(--paper);
  padding: 3px 8px;
  border-radius: 4px;
}
.ds-about-account .acct {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 800;
  color: var(--paper);
  letter-spacing: 0.02em;
}
.ds-about-account-name { font-size: 13px; color: rgba(255,255,255,0.55); margin-bottom: 20px; }

/* ── Timeline ── */
.ds-history-page .ds-about-section-inner { max-width: 860px; }
.ds-timeline { display: flex; flex-direction: column; gap: 48px; }
.ds-timeline-year { }
.ds-tl-year-head {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--brand-700);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--brand-100);
}
.ds-tl-items { display: flex; flex-direction: column; gap: 0; }
.ds-tl-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-1);
  position: relative;
}
.ds-tl-item::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 28px;
  bottom: -28px;
  width: 2px;
  background: var(--border-1);
}
.ds-tl-item:last-child::before { display: none; }
.ds-tl-date {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 800;
  color: var(--brand-700);
  padding-top: 2px;
  position: relative;
  z-index: 1;
}
.ds-tl-date::after {
  content: '';
  position: absolute;
  top: 7px;
  right: -14px;
  width: 10px;
  height: 10px;
  background: var(--brand-600);
  border-radius: 50%;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--brand-300);
}
.ds-tl-content strong { font-size: 15.5px; font-weight: 700; color: var(--ink); display: block; margin-bottom: 6px; }
.ds-tl-content p { font-size: 14px; line-height: 1.65; color: var(--fg-2); margin: 0; }

/* ── Charter ── */
.ds-charter-page .ds-about-section-inner { max-width: 800px; }
.ds-charter-body { display: flex; flex-direction: column; gap: 32px; }
.ds-charter-chapter h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--brand-700);
  border-left: 3px solid var(--brand-600);
  padding-left: 14px;
  margin: 0 0 16px;
}
.ds-charter-article {
  padding: 16px 18px;
  background: var(--paper-warm);
  border-radius: 10px;
  margin-bottom: 10px;
}
.ds-charter-article strong { display: block; font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.ds-charter-article p, .ds-charter-article ol { font-size: 14px; line-height: 1.7; color: var(--fg-2); margin: 0; }
.ds-charter-article ol { padding-left: 18px; }
.ds-charter-article ol li { margin-bottom: 4px; }
.ds-charter-download {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background: var(--brand-50);
  border: 1px solid var(--brand-200);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-700);
}
.ds-charter-download i, .ds-charter-download svg.lucide { width: 20px; height: 20px; }
.ds-charter-download a { margin-left: auto; }
.ds-btn-outline {
  background: var(--white);
  color: var(--brand-700);
  border: 1px solid var(--brand-300);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.15s;
}
.ds-btn-outline:hover { background: var(--brand-50); border-color: var(--brand-500); }

/* ── Support ── */
.ds-support-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
}
.ds-support-account-card {
  background: var(--brand-950);
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 24px;
  color: var(--paper);
}
.ds-sac-head { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.ds-sac-head i, .ds-sac-head svg.lucide { width: 24px; height: 24px; color: var(--accent-400); }
.ds-sac-head h3 { font-size: 18px; font-weight: 700; color: var(--paper); margin: 0; }
.ds-sac-account { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.ds-sac-account .bank {
  background: var(--brand-600);
  color: var(--paper);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}
.ds-sac-account .acct {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 800;
  color: var(--paper);
  letter-spacing: 0.02em;
}
.ds-sac-name { font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 20px; }
.ds-sac-notice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  line-height: 1.55;
}
.ds-sac-notice i, .ds-sac-notice svg.lucide { width: 15px; height: 15px; flex-shrink: 0; color: var(--accent-300); margin-top: 2px; }

.ds-support-how h3 { font-size: 18px; font-weight: 700; color: var(--ink); margin: 0 0 20px; }
.ds-support-steps { display: flex; flex-direction: column; gap: 16px; }
.ds-step { display: flex; align-items: flex-start; gap: 16px; }
.ds-step-num {
  width: 36px;
  height: 36px;
  background: var(--brand-700);
  color: var(--paper);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  flex-shrink: 0;
}
.ds-step-content strong { display: block; font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.ds-step-content p { font-size: 13.5px; color: var(--fg-2); margin: 0; line-height: 1.6; }

.ds-support-side { display: flex; flex-direction: column; gap: 16px; }
.ds-support-contact-card {
  background: var(--paper-warm);
  border: 1px solid var(--border-1);
  border-radius: 16px;
  padding: 22px;
}
.ds-support-contact-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ds-support-contact-card h3 i, .ds-support-contact-card h3 svg.lucide { width: 16px; height: 16px; color: var(--brand-600); }
.ds-support-contact-card p { font-size: 14px; color: var(--fg-2); margin: 0 0 4px; }
.ds-support-cta-card {
  background: linear-gradient(135deg, var(--brand-800), var(--brand-950));
  border-radius: 20px;
  padding: 28px;
  color: var(--paper);
  text-align: center;
  flex: 1;
}
.ds-scc-icon {
  width: 56px;
  height: 56px;
  background: var(--accent-500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 8px 24px rgba(212,78,44,0.4);
}
.ds-scc-icon i, .ds-scc-icon svg.lucide { width: 28px; height: 28px; color: var(--paper); }
.ds-support-cta-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--paper);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.ds-support-cta-card p { font-size: 13.5px; color: rgba(255,255,255,0.65); margin: 0 0 20px; line-height: 1.6; }
.ds-support-cta-card .ds-btn-donate { width: 100%; justify-content: center; }

/* 반응형 — 소개 페이지 */
@media (max-width: 1024px) {
  .ds-about-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .ds-about-hero-image { max-width: 480px; }
  .ds-about-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .ds-about-values-grid { grid-template-columns: repeat(2, 1fr); }
  .ds-support-grid { grid-template-columns: 1fr; }
  .ds-support-side { flex-direction: row; }
}
@media (max-width: 768px) {
  .ds-about-hero { padding: 48px 0 64px; }
  .ds-about-hero-inner { padding: 0 20px; }
  .ds-about-hero-h1 { font-size: 28px; }
  .ds-about-contact-grid { grid-template-columns: 1fr; }
  .ds-about-values-grid { grid-template-columns: 1fr; }
  .ds-about-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .ds-about-section-inner { padding: 40px 20px; }
  .ds-tl-item { grid-template-columns: 44px 1fr; }
  .ds-support-side { flex-direction: column; }
  .ds-about-since-badge { right: 0; }
}

/* ============================================================
   GNB 회원가입 버튼 (topbar 로그인/회원가입 링크)
   ============================================================ */
.ds-topbar-right { display: flex; align-items: center; gap: 0; }
.ds-topbar-right a { color: var(--paper-300); text-decoration: none; margin-left: 18px; font-size: 12px; transition: color 0.15s; }
.ds-topbar-right a:hover { color: var(--paper); }

/* ============================================================
   21. 아카이브 검색바
   ============================================================ */
.ds-ctrl-search {
  flex: 1;
  min-width: 160px;
  max-width: 320px;
  position: relative;
  display: flex;
  align-items: center;
}
.ds-ctrl-search i, .ds-ctrl-search svg.lucide {
  position: absolute;
  left: 10px;
  width: 14px;
  height: 14px;
  color: var(--fg-4);
  pointer-events: none;
}
.ds-ctrl-search input {
  width: 100%;
  padding: 7px 10px 7px 32px;
  border: 1px solid var(--border-1);
  border-radius: 6px;
  font-family: inherit;
  font-size: 13px;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.ds-ctrl-search input:focus {
  outline: none;
  border-color: var(--brand-400);
  box-shadow: 0 0 0 3px rgba(44,117,179,0.1);
}

/* ============================================================
   22. 발간자료 리스트 (정책과 대안)
   ============================================================ */
.ds-pub-list-arch {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ds-pub-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--border-1);
  border-radius: 12px;
  padding: 20px 24px;
  transition: all 0.2s var(--ease-out);
}
.ds-pub-list-item:hover { border-color: var(--brand-300); box-shadow: 0 4px 16px rgba(10,36,64,0.06); }
.ds-pub-list-body { flex: 1; min-width: 0; }
.ds-pub-list-cat {
  display: inline-block;
  background: var(--brand-700);
  color: var(--paper);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.ds-pub-list-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.ds-pub-list-title a { color: inherit; text-decoration: none; }
.ds-pub-list-title a:hover { color: var(--brand-700); }
.ds-pub-list-excerpt { font-size: 13px; color: var(--fg-3); line-height: 1.5; margin: 0 0 8px; }
.ds-pub-list-meta { display: flex; align-items: center; gap: 14px; font-size: 12px; color: var(--fg-3); }
.ds-pub-list-meta span { display: inline-flex; align-items: center; gap: 4px; }
.ds-pub-list-meta i, .ds-pub-list-meta svg.lucide { width: 13px; height: 13px; }
.ds-pub-list-actions { display: flex; gap: 8px; flex-shrink: 0; }

/* ============================================================
   23. 동사연TV 전용 레이아웃
   ============================================================ */

/* TV Featured */
.ds-tv-featured {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 0;
  background: var(--ink);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 24px;
  border: 1px solid var(--paper-700);
}
.ds-tv-feat-thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--paper-800);
  display: block;
  overflow: hidden;
}
.ds-tv-feat-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.ds-tv-feat-thumb:hover img { transform: scale(1.04); }
.ds-tv-feat-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper-800);
}
.ds-tv-feat-thumb-placeholder i, .ds-tv-feat-thumb-placeholder svg.lucide { width: 64px; height: 64px; color: var(--paper-600); }
.ds-tv-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255,255,255,0.5);
  transition: all 0.2s;
}
.ds-tv-feat-thumb:hover .ds-tv-play-btn { background: rgba(255,255,255,0.35); transform: translate(-50%,-50%) scale(1.1); }
.ds-tv-play-btn i, .ds-tv-play-btn svg.lucide { width: 22px; height: 22px; color: var(--paper); margin-left: 2px; }

/* Type badge (YT / 자체) */
.ds-tv-type-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 3px;
  letter-spacing: 0.04em;
  z-index: 2;
}
.ds-tv-type-badge.yt { background: #ff0000; color: var(--paper); }
.ds-tv-type-badge.self { background: var(--brand-600); color: var(--paper); }

.ds-tv-feat-body {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ds-tv-feat-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-300);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.ds-tv-feat-label i, .ds-tv-feat-label svg.lucide { width: 13px; height: 13px; }
.ds-tv-feat-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.3;
  margin: 0 0 12px;
}
.ds-tv-feat-title a { color: var(--paper); text-decoration: none; }
.ds-tv-feat-title a:hover { color: var(--accent-300); }
.ds-tv-feat-excerpt { font-size: 13.5px; line-height: 1.65; color: rgba(255,255,255,0.65); margin: 0 0 14px; }
.ds-tv-feat-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.ds-tv-feat-meta {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-mono);
}
.ds-tv-feat-meta span { display: inline-flex; align-items: center; gap: 5px; }
.ds-tv-feat-meta i, .ds-tv-feat-meta svg.lucide { width: 12px; height: 12px; }

/* Hashtag pills */
.ds-tv-hash {
  font-size: 12px;
  color: var(--brand-400);
  text-decoration: none;
  transition: color 0.15s;
}
.ds-tv-hash:hover { color: var(--accent-300); }

/* TV Category tabs */
.ds-tv-cat-tabs {
  background: var(--paper-warm);
  border: 1px solid var(--border-1);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 18px;
}
.ds-tv-tab-row {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  flex-wrap: wrap;
}
.ds-tv-tab-row::-webkit-scrollbar { display: none; }
.ds-tv-tab-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--fg-3);
  text-transform: uppercase;
  padding-right: 12px;
  border-right: 1px solid var(--border-1);
  margin-right: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}
.ds-tv-tab {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-2);
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.ds-tv-tab span { font-family: var(--font-mono); font-size: 11px; color: var(--fg-4); }
.ds-tv-tab:hover { background: var(--white); color: var(--brand-700); }
.ds-tv-tab.active { background: var(--brand-700); color: var(--paper); }
.ds-tv-tab.active span { color: rgba(255,255,255,0.7); }

/* TV Video Grid */
.ds-tv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 32px;
}
.ds-tv-card {
  background: var(--white);
  border: 1px solid var(--border-1);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.22s var(--ease-out);
  display: flex;
  flex-direction: column;
}
.ds-tv-card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(10,36,64,0.10); border-color: var(--brand-200); }

.ds-tv-thumb {
  aspect-ratio: 16/9;
  position: relative;
  background: var(--paper-800);
  overflow: hidden;
}
.ds-tv-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.ds-tv-card:hover .ds-tv-thumb img { transform: scale(1.05); }
.ds-tv-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-50);
}
.ds-tv-thumb-placeholder i, .ds-tv-thumb-placeholder svg.lucide { width: 32px; height: 32px; color: var(--brand-300); }

.ds-tv-cat-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(255,255,255,0.92);
  color: var(--brand-700);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
  z-index: 2;
}
.ds-tv-duration {
  position: absolute;
  bottom: 7px;
  right: 8px;
  background: rgba(0,0,0,0.82);
  color: var(--paper);
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-mono);
  padding: 2px 6px;
  border-radius: 3px;
}
.ds-tv-lock {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0,0,0,0.6);
  color: var(--paper);
  width: 24px;
  height: 24px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.ds-tv-lock i, .ds-tv-lock svg.lucide { width: 13px; height: 13px; }

.ds-tv-card-body { padding: 12px 14px; flex: 1; display: flex; flex-direction: column; }
.ds-tv-card-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 40px;
}
.ds-tv-card:hover .ds-tv-card-title { color: var(--brand-700); }
.ds-tv-card-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
.ds-tv-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--fg-3);
  font-family: var(--font-mono);
  margin-top: auto;
}
.ds-tv-card-meta span { display: inline-flex; align-items: center; gap: 4px; }
.ds-tv-card-meta i, .ds-tv-card-meta svg.lucide { width: 11px; height: 11px; }

/* ── 반응형 ── */
@media (max-width: 1024px) {
  .ds-tv-grid { grid-template-columns: repeat(3, 1fr); }
  .ds-tv-featured { grid-template-columns: 340px 1fr; }
}
@media (max-width: 768px) {
  .ds-ctrl-bar { flex-direction: column; align-items: stretch; }
  .ds-ctrl-search { max-width: 100%; }
  .ds-ctrl-right { justify-content: flex-end; }
  .ds-tv-grid { grid-template-columns: repeat(2, 1fr); }
  .ds-pub-list-item { flex-direction: column; align-items: flex-start; }
  .ds-tv-featured { grid-template-columns: 1fr; }
  .ds-tv-feat-body { padding: 20px; }
  .ds-tv-feat-title { font-size: 18px; }
  .ds-tv-tab-row { flex-wrap: nowrap; }
}
@media (max-width: 480px) {
  .ds-tv-grid { grid-template-columns: 1fr; }
}

