/* ==========================================================================
   다솜 민화 공동체 (Dasom Minhwa Atelier) 스타일시트
   디자인 콘셉트: 한지(韓紙)의 은은한 미색과 따뜻한 원목 화실의 아늑함
   ========================================================================== */

:root {
  /* 배경 & 기본 컬러 (한지 미색 & 아이보리) */
  --bg-hanji: #FAF6EE;
  --bg-card: #FFFFFF;
  --bg-card-warm: #FDFBF7;
  --bg-subtle: #F3EBDD;
  --border-color: #E6DCB8;
  --border-light: #EFE8D6;

  /* 원목 브라운 계열 */
  --wood-dark: #382417;
  --wood-primary: #523725;
  --wood-medium: #795548;
  --wood-light: #A1887F;
  --wood-cream: #D7CCC8;

  /* 전통 한국 포인트 색상 (쑥색 & 다홍색) */
  --color-mugwort: #3F5B46;      /* 쑥색 (단아하고 차분한 그린) */
  --color-mugwort-light: #5A7B62;
  --color-dahong: #B83B36;       /* 다홍색/주사색 (낙관 인장 색) */
  --color-dahong-hover: #9E2B27;
  --color-ochre: #C18544;        /* 황토/치자색 */

  /* 텍스트 컬러 */
  --text-main: #2C241E;
  --text-secondary: #5C5248;
  --text-muted: #8A7E72;
  --text-light: #FAF6EE;

  /* 폰트 패밀리 */
  --font-serif: 'Gowun Batang', 'Song Myung', 'Noto Serif KR', serif;
  --font-sans: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* 그림자 & 라운딩 */
  --shadow-sm: 0 2px 8px rgba(60, 40, 20, 0.05);
  --shadow-md: 0 8px 24px rgba(60, 40, 20, 0.08);
  --shadow-lg: 0 16px 36px rgba(60, 40, 20, 0.12);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 50px;

  /* 트랜지션 */
  --trans-smooth: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 기본 리셋 & 전체 스타일 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-hanji);
  color: var(--text-main);
  line-height: 1.65;
  background-image: 
    radial-gradient(#d6cbb6 0.75px, transparent 0.75px), 
    radial-gradient(#e8ddcc 0.75px, var(--bg-hanji) 0.75px);
  background-size: 30px 30px;
  background-position: 0 0, 15px 15px;
  user-select: none; /* 작품 보호를 위한 선택 방지 */
}

/* 저작권 보호: 이미지 드래그 방지 */
img {
  max-width: 100%;
  height: auto;
  display: block;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  pointer-events: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 90px 0;
}

/* 섹션 공통 헤더 */
.section-header {
  text-align: center;
  margin-bottom: 54px;
}

.sub-heading {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-mugwort);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--wood-dark);
  margin-bottom: 14px;
}

.title-divider {
  width: 50px;
  height: 3px;
  background-color: var(--color-dahong);
  margin: 0 auto 18px;
  border-radius: 2px;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto;
  word-break: keep-all;
}

/* 낙관(전통 도장) 인장 스타일 */
.stamp-seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background-color: var(--color-dahong);
  color: #FFF;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.15rem;
  border-radius: 8px;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.4), 0 3px 6px rgba(184, 59, 54, 0.25);
  letter-spacing: -1px;
}

.stamp-seal.small {
  width: 32px;
  height: 32px;
  font-size: 0.95rem;
  border-radius: 6px;
}

/* 실제 오령 표현희 작가 낙관 이미지 스타일 */
.stamp-seal-img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(184, 59, 54, 0.35);
  display: block;
  flex-shrink: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stamp-seal-img:hover {
  transform: scale(1.06) rotate(-1deg);
  box-shadow: 0 5px 14px rgba(184, 59, 54, 0.45);
}

.stamp-seal-img.small {
  width: 40px;
  height: 40px;
  border-radius: 6px;
}

.wm-seal-img {
  width: 26px;
  height: 26px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
  flex-shrink: 0;
}

.lightbox-watermark .wm-seal-img {
  width: 32px;
  height: 32px;
  border-radius: 5px;
}

/* 공통 버튼 디자인 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--trans-smooth);
}

.btn-primary {
  background-color: var(--wood-primary);
  color: #FFF;
  box-shadow: 0 4px 12px rgba(82, 55, 37, 0.2);
}

.btn-primary:hover {
  background-color: var(--wood-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(56, 36, 23, 0.3);
}

.btn-secondary {
  background-color: var(--color-mugwort);
  color: #FFF;
  box-shadow: 0 4px 12px rgba(63, 91, 70, 0.2);
}

.btn-secondary:hover {
  background-color: #2F4434;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border: 1.5px solid var(--wood-primary);
  color: var(--wood-primary);
}

.btn-outline:hover {
  background-color: var(--wood-primary);
  color: #FFF;
}

.btn-large {
  padding: 14px 28px;
  font-size: 1.05rem;
  font-weight: 600;
}

.btn-full {
  width: 100%;
}

/* 저작권 보호 토스트 알림창 */
.toast {
  position: fixed;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--wood-dark);
  color: #FFF;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  z-index: 9999;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
  opacity: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.toast i {
  color: #FFB74D;
  font-size: 1.1rem;
}

.toast.show {
  bottom: 30px;
  opacity: 1;
}

/* ==========================================================================
   상단 네비게이션 헤더
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(250, 246, 238, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: var(--trans-smooth);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--wood-dark);
  letter-spacing: -0.5px;
}

.logo-sub {
  font-size: 0.65rem;
  color: var(--wood-medium);
  letter-spacing: 2px;
  font-weight: 600;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 8px;
}

.nav-link {
  padding: 8px 16px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-pill);
  transition: var(--trans-smooth);
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link:hover, .nav-link.active {
  color: var(--wood-dark);
  background-color: var(--bg-subtle);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-toggle {
  display: none;
  background: none;
  font-size: 1.4rem;
  color: var(--wood-dark);
  padding: 6px;
}

/* ==========================================================================
   메인 히어로 섹션
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 110px 24px 90px;
  text-align: center;
  background: linear-gradient(180deg, #F5EDE0 0%, #FAF6EE 100%);
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}

.hero-content {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background-color: rgba(63, 91, 70, 0.1);
  color: var(--color-mugwort);
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 22px;
  border: 1px solid rgba(63, 91, 70, 0.2);
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  background-color: var(--color-mugwort);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.7; }
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--wood-dark);
  line-height: 1.35;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-title .highlight {
  color: var(--color-dahong);
  position: relative;
  display: inline-block;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 38px;
  word-break: keep-all;
}

.hero-cta-group {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.stat-card {
  background: var(--bg-card);
  padding: 16px 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 200px;
  transition: var(--trans-smooth);
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--bg-subtle);
  color: var(--wood-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.stat-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.stat-num {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--wood-dark);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   1. 작품 갤러리 섹션
   ========================================================================== */
.gallery-section {
  background-color: var(--bg-hanji);
}

.filter-wrapper {
  margin-bottom: 36px;
  display: flex;
  justify-content: center;
}

.category-filters {
  display: inline-flex;
  gap: 10px;
  padding: 6px;
  background-color: var(--bg-subtle);
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-color);
  flex-wrap: wrap;
  justify-content: center;
}

.filter-btn {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 500;
  background: transparent;
  color: var(--text-secondary);
  transition: var(--trans-smooth);
}

.filter-btn:hover {
  color: var(--wood-dark);
}

.filter-btn.active {
  background-color: var(--wood-primary);
  color: #FFF;
  box-shadow: 0 2px 8px rgba(82, 55, 37, 0.25);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}

/* 작품 카드 */
.artwork-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.artwork-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: #D3C4A5;
}

.art-img-box {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background-color: #F1ECE1;
}

.art-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.artwork-card:hover .art-img {
  transform: scale(1.04);
}

/* 워터마크 스타일 (요구사항: 우측 하단 반투명 인장 합성) */
.art-watermark {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 6px;
  background-color: rgba(30, 20, 10, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.9);
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.wm-stamp {
  background-color: var(--color-dahong);
  color: #FFF;
  font-family: var(--font-serif);
  font-size: 0.7rem;
  padding: 2px 4px;
  border-radius: 3px;
  font-weight: 700;
}

.wm-text {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: -0.2px;
}

.art-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 12px;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  color: var(--wood-primary);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.art-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(44, 36, 30, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.artwork-card:hover .art-overlay {
  opacity: 1;
}

.view-btn {
  padding: 10px 20px;
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--wood-dark);
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transform: translateY(10px);
  transition: transform 0.3s ease;
}

.artwork-card:hover .view-btn {
  transform: translateY(0);
}

.art-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.art-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--wood-dark);
  margin-bottom: 6px;
  font-weight: 700;
}

.art-artist {
  font-size: 0.88rem;
  color: var(--color-mugwort);
  margin-bottom: 10px;
}

.art-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.art-footer {
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.art-material {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.like-btn {
  background: transparent;
  color: var(--text-muted);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: var(--trans-smooth);
}

.like-btn:hover, .like-btn.liked {
  color: var(--color-dahong);
}

.like-btn.liked i {
  font-weight: 900;
}

/* ==========================================================================
   2. 민화 이야기 섹션
   ========================================================================== */
.story-section {
  background-color: #F6F0E4;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.symbol-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.symbol-card {
  background: var(--bg-card);
  padding: 28px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--trans-smooth);
}

.symbol-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.symbol-header {
  margin-bottom: 14px;
}

.symbol-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 3px 8px;
  background-color: var(--bg-subtle);
  color: var(--wood-primary);
  border-radius: 4px;
  margin-bottom: 6px;
}

.symbol-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--wood-dark);
}

.symbol-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.symbol-points {
  list-style: none;
  border-top: 1px dashed var(--border-color);
  padding-top: 12px;
}

.symbol-points li {
  font-size: 0.85rem;
  color: var(--wood-medium);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.symbol-points li i {
  color: var(--color-mugwort);
  font-size: 0.8rem;
}

/* 4단계 기법 프로세스 */
.craft-guide-box {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
}

.craft-guide-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--wood-dark);
  text-align: center;
  margin-bottom: 36px;
}

.step-process {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.step-item {
  flex: 1;
  text-align: center;
  padding: 10px;
}

.step-num {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-dahong);
  margin-bottom: 8px;
}

.step-item h4 {
  font-size: 1.1rem;
  color: var(--wood-dark);
  margin-bottom: 8px;
  font-weight: 600;
}

.step-item p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  word-break: keep-all;
}

.step-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wood-light);
  font-size: 1.2rem;
  padding-top: 24px;
}

/* ==========================================================================
   3. 공동체 커뮤니티 섹션
   ========================================================================== */
.community-section {
  background-color: var(--bg-hanji);
}

.community-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.board-tabs {
  display: flex;
  gap: 8px;
}

.tab-btn {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 500;
  background-color: var(--bg-subtle);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  transition: var(--trans-smooth);
}

.tab-btn:hover {
  background-color: #E7DDCD;
  color: var(--wood-dark);
}

.tab-btn.active {
  background-color: var(--wood-primary);
  color: #FFF;
  border-color: var(--wood-primary);
}

.board-container {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.post-list {
  display: flex;
  flex-direction: column;
}

.post-item {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: background-color 0.2s ease;
  cursor: pointer;
}

.post-item:last-child {
  border-bottom: none;
}

.post-item:hover {
  background-color: var(--bg-card-warm);
}

.post-main {
  flex-grow: 1;
}

.post-meta-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.post-category-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
}

.cat-talk { background-color: #E8F5E9; color: #2E7D32; }
.cat-feedback { background-color: #FFF3E0; color: #E65100; }
.cat-notice { background-color: #FFEBEE; color: #C62828; }

.post-author-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.post-title-text {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--wood-dark);
  margin-bottom: 4px;
  line-height: 1.4;
}

.post-snippet {
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-side {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.comment-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background-color: var(--bg-subtle);
  border-radius: var(--radius-pill);
  color: var(--wood-primary);
  font-weight: 600;
}

/* ==========================================================================
   4. 협회 & 공방 소개 섹션
   ========================================================================== */
.about-section {
  background-color: #F8F3EA;
  border-top: 1px solid var(--border-color);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
}

.about-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.atelier-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-mugwort);
  margin-bottom: 12px;
}

.about-card-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--wood-dark);
  margin-bottom: 18px;
}

.about-card-text {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 28px;
  word-break: keep-all;
}

.atelier-features {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.feature-item i {
  font-size: 1.2rem;
  color: var(--wood-primary);
  background-color: var(--bg-subtle);
  padding: 12px;
  border-radius: 10px;
  flex-shrink: 0;
}

.feature-item strong {
  display: block;
  font-size: 1rem;
  color: var(--wood-dark);
  margin-bottom: 2px;
}

.feature-item span {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* 지도 일러스트 그래픽 카드 */
.map-graphic-box {
  background: linear-gradient(135deg, #E6DCB8 0%, #D8CCA6 100%);
  height: 140px;
  border-radius: var(--radius-md);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.map-illustration {
  text-align: center;
  color: var(--wood-dark);
}

.pin-icon {
  font-size: 2.2rem;
  color: var(--color-dahong);
  margin-bottom: 6px;
}

.map-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.info-list {
  list-style: none;
  margin-bottom: 24px;
}

.info-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  gap: 12px;
}

.info-label {
  color: var(--text-muted);
  font-weight: 500;
  flex-shrink: 0;
}

.info-val {
  color: var(--text-main);
  font-weight: 500;
  text-align: right;
  word-break: keep-all;
}

/* ==========================================================================
   푸터 스타일
   ========================================================================== */
.site-footer {
  background-color: #2D1E15;
  color: #DDD4C8;
  padding: 60px 0 40px;
  border-top: 3px solid var(--color-dahong);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: #FFF;
  font-weight: 700;
}

.footer-desc {
  font-size: 0.88rem;
  color: #B5A89B;
  line-height: 1.6;
}

.footer-links h4, .footer-copyright h4 {
  font-size: 1rem;
  color: #FFF;
  margin-bottom: 14px;
  font-weight: 600;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  font-size: 0.88rem;
  color: #B5A89B;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #FFF;
}

.footer-copyright p {
  font-size: 0.85rem;
  color: #B5A89B;
  line-height: 1.6;
  margin-bottom: 12px;
}

.copy-text {
  font-size: 0.78rem;
  color: #8C7F72;
}

/* ==========================================================================
   모달 팝업 공통 스타일 (라이트박스 & 글쓰기 & 문의)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(20, 15, 10, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.08);
  color: var(--wood-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--trans-smooth);
  z-index: 10;
}

.modal-close:hover {
  background-color: var(--wood-primary);
  color: #FFF;
}

/* 1. 고화질 라이트박스 뷰어 */
.lightbox-box {
  background-color: var(--bg-card);
  width: 100%;
  max-width: 1050px;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  position: relative;
  display: flex;
  flex-direction: column;
}

.lightbox-flex {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-height: 90vh;
  overflow: hidden;
}

.lightbox-img-wrap {
  position: relative;
  background-color: #1A1412;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 20px;
}

.lightbox-img-wrap img {
  max-height: 80vh;
  max-width: 100%;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.lightbox-watermark {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  color: rgba(255, 255, 255, 0.85);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.78rem;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.lb-stamp {
  background-color: var(--color-dahong);
  color: #FFF;
  font-family: var(--font-serif);
  padding: 2px 5px;
  border-radius: 3px;
  font-weight: 700;
  font-size: 0.72rem;
}

.lightbox-details {
  padding: 36px 32px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.lb-cat {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 10px;
  background-color: var(--bg-subtle);
  color: var(--wood-primary);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 4px;
  margin-bottom: 10px;
}

.lb-title {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  color: var(--wood-dark);
  margin-bottom: 18px;
}

.lb-meta-table {
  background-color: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 20px;
}

.lb-meta-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 0.88rem;
}

.lb-meta-row:last-child {
  border-bottom: none;
}

.meta-label {
  color: var(--text-muted);
}

.meta-value {
  color: var(--wood-dark);
  font-weight: 600;
}

.lb-description-box {
  margin-bottom: 24px;
}

.lb-description-box h4 {
  font-size: 0.95rem;
  color: var(--wood-primary);
  margin-bottom: 8px;
}

.lb-description-box p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.lb-comments-section {
  border-top: 1px solid var(--border-color);
  padding-top: 18px;
  margin-top: auto;
}

.lb-comments-section h4 {
  font-size: 0.9rem;
  color: var(--wood-dark);
  margin-bottom: 10px;
}

.lb-comment-list {
  max-height: 110px;
  overflow-y: auto;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.comment-bubble {
  background-color: #F8F4EC;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

.comment-bubble strong {
  color: var(--wood-primary);
  margin-right: 6px;
}

.lb-comment-form {
  display: flex;
  gap: 8px;
}

.lb-comment-form input[type="text"] {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  padding: 8px 14px;
  font-size: 0.85rem;
  outline: none;
}

.lb-comment-form input#lbCommentAuthor {
  width: 90px;
  flex-shrink: 0;
}

.lb-comment-form input#lbCommentText {
  flex-grow: 1;
}

/* 2. 글쓰기 & 문의 모달 폼 */
.modal-content.form-modal {
  background-color: var(--bg-card);
  width: 100%;
  max-width: 580px;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 14px;
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--wood-dark);
}

.form-group {
  margin-bottom: 18px;
}

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

label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--wood-dark);
  margin-bottom: 6px;
}

input[type="text"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background-color: var(--bg-card-warm);
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--text-main);
  outline: none;
  transition: var(--trans-smooth);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--wood-primary);
  background-color: #FFF;
  box-shadow: 0 0 0 3px rgba(82, 55, 37, 0.1);
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
}

/* ==========================================================================
   반응형 미디어 쿼리 (태블릿 & 모바일 완벽 대응)
   ========================================================================== */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .lightbox-flex {
    grid-template-columns: 1fr;
    max-height: 85vh;
    overflow-y: auto;
  }
  .lightbox-img-wrap {
    padding: 24px;
    height: 380px;
  }
  .lightbox-img-wrap img {
    max-height: 100%;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .footer-content {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 10px 0;
  }
  .mobile-toggle {
    display: block;
  }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-hanji);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 24px;
    display: none;
    box-shadow: var(--shadow-md);
  }
  .main-nav.open {
    display: block;
  }
  .main-nav ul {
    flex-direction: column;
    gap: 4px;
  }
  .header-actions .btn {
    display: none;
  }

  .hero-title {
    font-size: 2rem;
  }
  .hero-desc {
    font-size: 1rem;
  }
  .step-process {
    flex-direction: column;
  }
  .step-divider {
    transform: rotate(90deg);
    padding: 8px 0;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .post-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .post-side {
    width: 100%;
    justify-content: space-between;
  }
}
