/* =============================================
  about.css | 협회소개 페이지 전용 스타일
  - donate 후원 페이지 스타일 포함
   ============================================= */

/* ── 페이지 헤더 배너 이미지 */
.page-header {
  background-image: url('../../image/banner/협회소개.png');
}
body[data-page="regions"] .page-header {
  background-image: url('../../image/banner/협회소개.png');
}

/* ── 섹션 타이틀 */
.section-heading {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--gray-dark);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gray-light);
  margin-bottom: 48px;
}

/* ── 인사말 레이아웃 */
.greeting-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: flex-start;
}
.img-placeholder {
  width: 100%;
  /* aspect-ratio: 3/4; */
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.img-placeholder img {
  width: 100%;
  height: auto;
  display: block;
}
.greeting-text h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--gray-dark);
  margin-bottom: 20px;
  line-height: 1.6;
  word-break: keep-all;     /* 단어 단위로 줄바꿈 */
  overflow-wrap: break-word; /* 너무 길면 줄바꿈 */
}
.greeting-text p {
  font-size: var(--text-base);
  color: var(--gray-dark);
  line-height: 1.95;
  margin-bottom: 20px;
  word-break: keep-all;
}

/* ── 미션/비전 */
.v-section { margin-bottom: 72px; }
.v-label {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--green-main);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.v-title {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 14px;
  line-height: 1.35;
}
.v-desc {
  font-size: var(--text-base);
  color: var(--gray-mid);
  line-height: 1.85;
  word-break: keep-all;
  max-width: 700px;
}
.v-head { margin-bottom: 36px; }

.mission-box {
  background: linear-gradient(135deg, var(--green-dark), var(--green-main));
  border-radius: var(--radius-xl);
  padding: 52px 48px;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.mission-box::before,
.mission-box::after {
  content: ''; position: absolute; border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.mission-box::before { width: 300px; height: 300px; top: -80px; right: -60px; }
.mission-box::after  { width: 200px; height: 200px; bottom: -60px; left: -40px; }

.mission-badge {
  display: inline-block;
  border: 1.5px solid rgba(255,255,255,.5);
  border-radius: 20px;
  padding: 5px 18px;
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  margin-bottom: 20px;
}
.mission-text {
  font-size: var(--text-xl);
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 16px;
  position: relative; z-index: 1;
  word-break: keep-all;
}
.mission-sub {
  font-size: var(--text-base);
  opacity: .8;
  line-height: 1.8;
  position: relative; z-index: 1;
  word-break: keep-all;
}

.vision-box {
  border: 2px solid var(--green-main);
  border-radius: var(--radius-xl);
  padding: 40px 48px;
  text-align: center;
  background: var(--white);
}
.vision-text {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.6;
  margin-bottom: 12px;
  word-break: keep-all;
}
.vision-sub {
  font-size: var(--text-md);
  color: var(--gray-mid);
  line-height: 1.8;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.value-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 20px;
  text-align: center;
  border-top: 4px solid var(--green-main);
  transition: var(--trans);
  cursor: pointer;
}
.value-card:hover {
  transform: scale(1.13) translateY(-12px);
  box-shadow: 0 36px 80px rgba(0,0,0,0.18), 0 14px 36px rgba(45,106,79,0.24);
  z-index: 20;
  background: linear-gradient(135deg, #fff 55%, #e8f5e9);
  border-top-width: 5px;
  border-top-color: var(--green-dark);
}
.value-icon {
  width: 52px; height: 52px;
  margin: 0 auto 14px;
  background: var(--green-pale);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.value-icon svg { width: 26px; height: 26px; }
.value-keyword {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 8px;
}
.value-desc {
  font-size: var(--text-md);
  color: var(--gray-mid);
  line-height: 1.7;
  word-break: keep-all;
}

.strategy-list { display: flex; flex-direction: column; gap: 14px; }
.strategy-item {
  display: flex; align-items: flex-start; gap: 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 24px;
}
.strategy-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--green-dark);
  color: var(--white);
  font-size: var(--text-base);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.strategy-body { flex: 1; }
.strategy-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 5px;
}
.strategy-desc {
  font-size: var(--text-md);
  color: var(--gray-mid);
  line-height: 1.75;
  word-break: keep-all;
}

.slogan-banner {
  background: var(--green-pale);
  border-radius: var(--radius-xl);
  padding: 44px 40px;
  text-align: center;
}
.slogan-label {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--green-main);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.slogan-img {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 14px 0;
}
.slogan-img img {
  width: 20%;
  min-width: 250px;
}
/* .slogan-text {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--green-dark);
  line-height: 1.5;
  margin-bottom: 12px;
  word-break: keep-all;
}
.slogan-text em {
  font-style: normal;
  border-bottom: 3px solid var(--green-main);
  padding-bottom: 2px;
} */
.slogan-sub {
  font-size: var(--text-md);
  color: var(--gray-mid);
  line-height: 1.8;
}

/* ── 연혁 타임라인 래퍼 (지그재그 SVG 방식) */
.history-wrap { width: 100%; overflow: hidden; }

/* ── 조직도 이미지 영역 (사용자) */
.org-img-section {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 8px;
}
.org-img-section img { width: 100%; display: block; }
.org-img-empty {
  background: var(--green-pale);
  border: 2px dashed #c8dfa6;
  border-radius: var(--radius);
  padding: 60px 20px;
  text-align: center;
  color: var(--gray-mid);
  font-size: var(--text-md);
}

/* ── 조직도 이미지: PC는 좌우 여백을 두고 원본 크기 이하로만(확대 안 함), 모바일은 화면 꽉 채움 */
.org-chart-view { text-align: center; }
.org-chart-view img {
  display: block;
  margin: 0 auto;
  max-width: 60%;
  width: auto;
  height: auto;
  border-radius: 12px;
  border: 1px solid #e3eadd;
  background: #fff;
}
@media (max-width: 768px) {
  .org-chart-view img { max-width: 100%; width: 100%; }
}

/* ── 임원진 그룹 목록 */
.og-list { display: flex; flex-direction: column; gap: 48px; }

/* ── 핵심 임원 카드 그리드 (함께하는 사람들) */
.og-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  grid-auto-rows: 1fr;
  gap: 14px;
  margin-top: 20px;
}
.og-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: var(--trans);
  position: relative;
  height: 100%;
}
.og-card:hover { border-color: var(--green-light); box-shadow: var(--shadow); }
.og-card .og-photo-tip {
  top: 50%;
  right: 16px;
  left: auto;
  transform: translateY(-50%);
}
.og-card.has-photo:hover .og-photo-tip { display: block; }
.og-card.has-photo { cursor: pointer; }

/* 사진 없는 카드 — 아바타 영역 숨김 */
.og-card:not(.has-photo) .og-card-avatar { display: none; }

.og-card-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--green-pale);
  border: 1px solid #c8dfa6;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.og-card-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.og-card-avatar-ph {
  width: 22px; height: 22px;
  background: url('../../icons/user-circle.png') no-repeat center / contain;
  opacity: 0.25;
}
.og-card-info { flex: 1; min-width: 0; }

/* 직책·이름·설명 한 줄 통합 */
.og-card-header {
  display: flex;
  align-items: baseline;
  gap: 5px;
  overflow: hidden;
}
.og-card-role {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--green-main);
  /* letter-spacing: 0.3px;
  white-space: nowrap;
  flex-shrink: 0; */
  white-space: normal;
  word-break: keep-all;
}
.og-card-name {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--gray-dark);
  /* white-space: nowrap;
  flex-shrink: 0; */
  white-space: normal;
  word-break: keep-all;
}
.og-card-sep {
  color: #c8dfa6;
  font-size: var(--text-xs);
  flex-shrink: 0;
}
.og-card-detail {
  font-size: var(--text-12);
  color: var(--gray-mid);
  /* white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis; */
  min-width: 0;
}

/* 모바일: 줄바꿈 허용 */
@media (max-width: 600px) {
  .og-card-header { flex-wrap: wrap; overflow: visible; }
  .og-card-detail { white-space: normal; overflow: visible; text-overflow: clip; }
}

@media (max-width: 1024px) {
  .og-card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .og-card-grid { grid-template-columns: 1fr; }
}

.og-section-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--gray-dark);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--green-dark);
  margin-bottom: 0;
}
.og-row {
  display: flex;
  align-items: flex-start;
  gap: 0;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-light);
}
.og-row:last-child { border-bottom: none; }
.og-role {
  flex: 0 0 140px;
  font-size: var(--text-md);
  color: var(--gray-mid);
  padding-top: 2px;
  word-break: keep-all;
}
.og-info { flex: 1; min-width: 0; }
.og-name-wrap {
  position: relative;
  display: inline-block;
}
.og-name-wrap.has-photo { cursor: pointer; }
.og-photo-badge {
  display: inline-block;
  width: 14px; height: 14px;
  background: url('../../icons/photograph.png') no-repeat center / contain;
  opacity: 0.45;
  vertical-align: middle;
  margin-left: 5px;
  position: relative;
  top: -1px;
  transition: opacity .15s;
}
.og-name-wrap.has-photo:hover .og-photo-badge { opacity: 0.8; }
.og-name {
  font-size: var(--text-md);
  color: var(--gray-dark);
  font-weight: 500;
}
.og-detail-text {
  font-size: var(--text-sm);
  color: var(--gray-mid);
  margin-top: 3px;
  line-height: 1.6;
  word-break: keep-all;
}
/* 사진 hover */
.og-photo-tip {
  display: none;
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  width: 270px; height: 360px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
  z-index: 10;
  pointer-events: none;
}
.og-photo-tip img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.og-name-wrap.has-photo:hover .og-photo-tip { display: block; }

@media (max-width: 768px) {
  .og-role { flex: 0 0 100px; font-size: var(--text-sm); }
  .og-name  { font-size: var(--text-sm); }
  .og-detail-text { font-size: var(--text-xs); }
  .og-photo-tip { display: none !important; }
}
@media (max-width: 480px) {
  .og-row { flex-direction: column; gap: 4px; }
  .og-role { flex: none; }
}

/* ── 조직도 */
.org-chart {
  display: flex; flex-direction: column; align-items: center;
  padding: 8px 0 16px; overflow-x: auto;
}
.org-box {
  padding: 10px 24px;
  border-radius: 6px;
  font-size: var(--text-lg);
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  min-width: 100px;
}
.org-box.type-top  { background: var(--green-dark); color: var(--white); }
.org-box.type-mid  { background: var(--green-main); color: var(--white); }
.org-box.type-sub  { background: var(--green-pale); color: var(--green-dark); border: 1px solid var(--green-light); }
.org-box.type-gray { background: var(--gray-bg);    color: var(--gray-dark); border: 1px solid var(--gray-light); }
.org-vline        { width: 2px; height: 24px; background: var(--gray-light); }
.org-aside-hline  { width: 36px; height: 2px; background: var(--gray-light); }
.org-fork         { display: flex; align-items: flex-start; position: relative; justify-content: center; width: 100%; }
.org-fork::before {
  content: ''; position: absolute;
  top: 0; left: 50px; right: 50px;
  height: 2px; background: var(--gray-light);
}
.org-fork-item    { display: flex; flex-direction: column; align-items: center; padding: 0 12px; }
.org-fork-item .org-vline { height: 20px; }

/* 조직도 fork 변형 — members.html 전용 */
.org-fork--2col   { max-width: 640px; }
.org-fork--2col::before { left: calc(50% - 130px); right: calc(50% - 130px); }
.org-fork--4col   { max-width: 800px; }
.org-fork--4col::before { left: calc(50% - 280px); right: calc(50% - 280px); }
.org-fork-item--wide  { padding: 0 48px; }
.org-fork-item--std   { padding: 0 20px; }
.org-box--dept    { min-width: 90px; }
.org-fork-vwrap   { display: flex; flex-direction: column; align-items: center; }

/* 임원 이름 간격: inline style 대신 gap 활용 */
.name-item + .name-item { margin-left: 12px; }
.name-row--lg .name-item + .name-item { margin-left: 16px; }

/* 임원진 섹션 여백 */
.section-heading--mt { margin-top: 56px; }

/* ── 임원 테이블 */
.member-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-lg);
}
.member-table tr { border-bottom: 1px solid var(--gray-light); }
.member-table td {
  padding: 14px 12px;
  vertical-align: top;
  line-height: 1.7;
}
.member-table td.role-cell {
  width: 160px;
  color: var(--gray-mid);
  font-size: var(--text-lg);
  padding-left: 0;
  white-space: nowrap;
}
.name-item {
  line-height: 1.9;
  font-size: var(--text-lg);
  color: var(--gray-dark);
}
.name-sub {
  font-size: var(--text-md);
  color: var(--gray-mid);
  margin-left: 4px;
}

/* ── 지역협회 갤러리 */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.gallery-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: var(--trans);
}
.gallery-card:hover {
  border-color: var(--green-main);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.gallery-thumb {
  width: 100%; aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--gray-light);
  display: block;
}
.gallery-info  { padding: 14px 16px; }
.gallery-title {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--gray-dark);
  margin-bottom: 6px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ── 오시는길 */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: stretch;
}
.map-wrap {
  background: var(--gray-light);
  border-radius: var(--radius);
  overflow: hidden;
  /* aspect-ratio: 4/3; */
  position: relative;
}
.contact-map {
  width: 100%;
  height: 100%;
  min-height: 600px;
  background: #edf4ec;
}
.map-wrap iframe { width: 100%; height: 100%; border: none; display: block; }
.map-kakao-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: #fee500;
  color: #3c1e1e;
  border-radius: var(--radius);
  font-size: var(--text-sm);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
  transition: var(--trans);
  z-index: 10;
}
.map-kakao-btn:hover {
  background: #f0d900;
  box-shadow: 0 4px 12px rgba(0,0,0,.24);
  transform: translateY(-1px);
}
.map-kakao-btn svg { width: 15px; height: 15px; }
.map-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px;
  background: #e8eeeb;
  color: var(--gray-mid);
  font-size: var(--text-md);
}
.info-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.info-card-head {
  background: var(--green-dark);
  color: var(--white);
  padding: 20px 24px;
}
.info-card-head h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: 3px;
}
.info-card-head p {
  font-size: var(--text-md);
  opacity: .8;
}
.info-card-body { padding: 4px 0; }
.info-row {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--gray-light);
}
.info-row:last-child { border-bottom: none; }
.info-icon {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--green-pale);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.info-icon svg { width: 18px; height: 18px; }
.info-content { flex: 1; }
.info-label {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--gray-mid);
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 3px;
}
.info-value {
  font-size: var(--text-md);
  color: var(--gray-dark);
  line-height: 1.65;
  font-weight: 500;
  word-break: keep-all;
}
.info-value a { color: var(--green-main); text-decoration: none; }
.info-value a:hover { text-decoration: underline; }

/* ── 오시는 법 교통편 */
.transport-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 2px;
}
.transport-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.transport-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.8em;
  padding: 2px 4px;
  border-radius: 4px;
  font-size: var(--text-xs);
  font-weight: 700;
  white-space: nowrap;
  line-height: 1.6;
  margin-top: 1px;
}
.transport-bus    { background: #dcfce7; color: #15803d; } 
.transport-subway { background: #fef3c7; color: #92400e } 
.transport-car    { background: #dbeafe; color: #1d4ed8; }
.transport-text {
  flex: 1;
  font-size: var(--text-md);
  color: var(--gray-dark);
  line-height: 1.65;
  font-weight: 500;
  word-break: keep-all;
}

/* ── 주요사업 인트로 */
.project-intro {
  background: linear-gradient(135deg, #f0f7f2 0%, #e8f4ec 100%);
  border-left: 4px solid var(--green-main);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-bottom: 40px;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--gray-700);
  word-break: keep-all;
}
.project-intro strong,
.project-intro::before {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green-main);
  margin-bottom: 8px;
}

/* ── 주요사업 (project.html) */
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 52px;
}
.project-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--trans);
}
.project-card:hover {
  transform: scale(1.13) translateY(-12px);
  box-shadow: 0 36px 80px rgba(0,0,0,0.18), 0 14px 36px rgba(45,106,79,0.24);
  z-index: 20;
  background: linear-gradient(135deg, #fff 55%, #e8f5e9);
}
.project-card-head {
  padding: 24px 28px 20px;
  border-bottom: 1px solid var(--gray-light);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.project-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: var(--text-2xl);
  flex-shrink: 0;
}
.project-card-body { padding: 20px 28px 24px; }
.project-card-title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 6px;
}
.project-card-sub {
  font-size: var(--text-md);
  color: var(--gray-mid);
  line-height: 1.6;
}
.project-detail-list {
  display: flex; flex-direction: column; gap: 8px;
}
.project-detail-item {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: var(--text-md);
  color: var(--gray-dark);
  line-height: 1.7;
}
.project-detail-item::before {
  content: '▸';
  color: var(--green-main);
  flex-shrink: 0;
  margin-top: 1px;
}

.project-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: linear-gradient(135deg, var(--green-dark), var(--green-main));
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  margin-bottom: 52px;
}
.project-stat-item { text-align: center; color: #fff; }
.project-stat-num {
  font-size: var(--text-2xl);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
}
.project-stat-num span { font-size: var(--text-xl); }
.project-stat-unit {
  font-size: var(--text-md);
  font-weight: 500;
  opacity: .75;
}
.project-stat-label {
  font-size: var(--text-md);
  opacity: .8;
  margin-top: 4px;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.partner-item {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 18px 12px;
  text-align: center;
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--green-dark);
  transition: var(--trans);
}
.partner-item:hover {
  border-color: var(--green-main);
  background: var(--green-pale);
}

/* ── 정관 (constitution.html) */
.constitution-wrap {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.constitution-chapter { border-bottom: 1px solid var(--gray-light); }
.constitution-chapter:last-child { border-bottom: none; }
.constitution-chapter-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px;
  cursor: pointer;
  background: var(--white);
  transition: var(--trans);
  user-select: none;
}
.constitution-chapter-head:hover { background: var(--gray-bg); }
.constitution-chapter.open .constitution-chapter-head { background: var(--green-pale); }
.constitution-chapter-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--green-dark);
}
.constitution-chapter-body {
  display: none;
  padding: 8px 24px 24px;
  background: #fafcfa;
}
.constitution-chapter.open .constitution-chapter-body { display: block; }
.constitution-article { margin-bottom: 20px; }
.constitution-article:last-child { margin-bottom: 0; }
.constitution-article-title {
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--gray-dark);
  margin-bottom: 6px;
}
.constitution-article-content {
  font-size: var(--text-md);
  color: var(--gray-dark);
  line-height: 1.85;
}
.constitution-article-content ol {
  padding-left: 20px;
  list-style: decimal;
  margin-top: 6px;
}
.constitution-article-content ol li { margin-bottom: 4px; }
.chapter-arrow {
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--gray-mid);
  transition: transform .25s;
  flex-shrink: 0;
}
.constitution-chapter.open .chapter-arrow {
  transform: rotate(180deg);
  border-top-color: var(--green-dark);
}
.doc-info-bar {
  background: var(--green-pale);
  border-radius: var(--radius);
  padding: 18px 24px;
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap; gap: 12px;
}
.doc-info-bar-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--green-dark);
}
.doc-info-bar-date {
  font-size: var(--text-md);
  color: var(--gray-mid);
  margin-top: 2px;
}

/* ── 반응형 */
@media (max-width: 900px) {
  .value-grid     { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid   { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .project-grid   { grid-template-columns: 1fr; }
  .project-stats  { grid-template-columns: repeat(2, 1fr); }
  .partner-grid   { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .greeting-layout  { grid-template-columns: 1fr; }
  .img-placeholder  { display: block; max-width: 280px; margin: 0 auto; }
  .img-placeholder img { width: 100%; height: auto; }
  .mission-box      { padding: 36px 24px; }
  .vision-box       { padding: 32px 24px; }
  .slogan-banner    { padding: 36px 20px; }
  .slogan-text      { font-size: var(--text-xl); }
  .mission-text     { font-size: var(--text-lg); }
  .strategy-item    { flex-direction: column; gap: 12px; }
  .org-fork::before { left: 30px; right: 30px; }
  .contact-map      { min-height: 400px; }
}
@media (max-width: 480px) {
  .value-grid    { grid-template-columns: 1fr; }
  .gallery-grid  { grid-template-columns: 1fr; }
  .contact-map   { min-height: 300px; }
  .project-stats { grid-template-columns: repeat(2, 1fr); padding: 24px 16px; }
  .partner-grid  { grid-template-columns: repeat(2, 1fr); }
}


/* ══════════════════════════════════════════════
  후원하기 페이지
══════════════════════════════════════════════ */

/* ── 후원 탭 */
.donate-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--green-main);
  margin-bottom: 32px;
}
.donate-tab {
  padding: 12px 32px;
  font-size: var(--text-md);
  font-weight: 500;
  color: var(--gray-mid);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: color .15s, border-color .15s;
}
.donate-tab:hover  { color: var(--green-main); }
.donate-tab.active { color: var(--green-main); border-bottom-color: var(--green-main); font-weight: 700; }

/* ── 후원 폼 레이아웃 */
.donate-form { max-width: 560px; }
.donate-form .form-group { margin-bottom: 20px; }
.donate-form label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gray-dark);
  margin-bottom: 6px;
}
.donate-form label .req { color: var(--error); margin-left: 2px; }

/* ── 금액 프리셋 */
.amount-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.amount-btn {
  padding: 8px 18px;
  font-size: var(--text-sm);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--gray-dark);
  cursor: pointer;
  transition: all .15s;
}
.amount-btn:hover  { border-color: var(--green-main); color: var(--green-main); }
.amount-btn.active { border-color: var(--green-main); background: var(--green-main); color: var(--white); }

/* ── 후원 안내 박스 */
.donate-notice {
  padding: 16px 20px;
  background: var(--green-pale);
  border-left: 4px solid var(--green-main);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 28px;
  font-size: var(--text-sm);
  color: var(--gray-dark);
  line-height: 1.7;
}

/* ── 완료 화면 */
.donate-complete {
  text-align: center;
  padding: 48px 24px;
  max-width: 520px;
  margin: 0 auto;
}
.donate-complete-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--green-main);
  color: var(--white);
  font-size: 28px;
  line-height: 64px;
  margin: 0 auto 20px;
}
.donate-complete h3 { font-size: var(--text-lg); font-weight: 700; margin-bottom: 12px; }
.donate-complete p  { color: var(--gray-mid); font-size: var(--text-md); line-height: 1.7; }

/* ── 계좌 안내 박스 */
.donate-account {
  margin: 24px auto;
  padding: 24px 28px;
  background: var(--gray-bg);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  text-align: left;
  max-width: 360px;
}
.donate-account dl { display: grid; grid-template-columns: 80px 1fr; gap: 10px 12px; }
.donate-account dt { font-size: var(--text-sm); color: var(--gray-mid); font-weight: 500; }
.donate-account dd { font-size: var(--text-md); color: var(--gray-dark); font-weight: 600; }

.donate-complete-note {
  margin-top: 16px;
  font-size: var(--text-sm) !important;
  color: var(--gray-mid) !important;
  line-height: 1.7;
}
.donate-complete-note a { color: var(--green-main); }

/* ── 반응형 */
@media (max-width: 768px) {
  .donate-tab  { padding: 10px 20px; font-size: var(--text-sm); }
  .donate-form { max-width: 100%; }
  .amount-btn  { padding: 8px 14px; }
}

/* ══════════════════════════════════════════════
   연혁 타임라인 (REQ-018)
   - SVG stepped(직각 꺾임) 연결선 + 대형 원 아이콘
   - ① 타이틀  ② 상세내용(더보기/접기)  ③ 대형 원  ④ 연도 숫자
   ══════════════════════════════════════════════ */

/* ══ 가로 타임라인 — 네비게이션 영역 ══ */

.history-wrap { overflow: visible; }

.ht-scroll-outer {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
  will-change: scroll-position;
  transform: translateZ(0);
}
.ht-scroll-outer:active { cursor: grabbing; }
.ht-scroll-outer::-webkit-scrollbar { display: none; }

.ht-stage   { position: relative; transform: translateZ(0); }
.ht-svg     { position: absolute; top: 0; left: 0; pointer-events: none; overflow: visible; will-change: transform; }

/* 노드: 클릭 가능 */
.ht-node {
  position: absolute; top: 0; bottom: 0;
  cursor: pointer;
  transition: opacity .15s;
}
.ht-node:hover { opacity: .8; }

/* 연도 숫자 — top/color 는 JS inline */
.ht-year {
  position: absolute;
  left: 0; right: 0;
  text-align: center;
  font-size: var(--text-lg);
  font-weight: 800;
  letter-spacing: -1px;
  transition: transform .15s;
}
.ht-node.ht-active .ht-year {
  transform: scale(1.25);
  text-shadow: 0 2px 8px rgba(45, 106, 79, 0.35);
}

.ht-circle.ht-active {
  stroke-width: 5;
  filter: drop-shadow(0 0 8px rgba(45, 106, 79, 0.55));
}

/* ══ 하단 상세 영역 ══ */
.ht-detail {
  margin-top: 32px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease;
}
.ht-detail.htd-show {
  opacity: 1;
  transform: translateY(0);
}

.htd-inner {
  background: #fff;
  border: 1px solid #ddecd4;
  border-radius: 12px;
  padding: 28px 36px 32px;
}

.htd-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 2px solid #e8f2e0;
}
.htd-year {
  font-size: var(--text-3xl);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;
}
.htd-label {
  font-size: var(--text-md);
  font-weight: 700;
  letter-spacing: -.3px;
}

.htd-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 0;
}
.htd-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid #f0f5eb;
}
.htd-item:last-child { border-bottom: none; }
.htd-month {
  flex-shrink: 0;
  font-size: var(--text-xs); font-weight: 700;
  color: var(--green-main);
  min-width: 36px;
  padding-top: 1px;
}
.htd-text {
  flex: 1;
  font-size: var(--text-15);
  color: #2a3a28;
  line-height: 1.6;
  word-break: keep-all;
  display: flex;
  align-items: baseline;
  gap: 0;
}

.htd-date {
  flex: 0 0 8em;
  font-weight: 700;
  color: var(--green-main);
  font-size: var(--text-base);
}

.htd-body {
  flex: 1;
}

/* ══ 모바일: 가로 슬라이드 타임라인 (≤768px) ══ */
@media (max-width: 768px) {
  /* 가로 스크롤 유지 — 수직 전환 없음 */
  .ht-scroll-outer {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* SVG 이미지·경로 그대로 노출 */
  .ht-svg { display: block; }

  /* 연도 폰트 살짝 축소 */
  .ht-year { font-size: var(--text-md); }

  /* 상세 패널 패딩·폰트 조정 */
  .htd-inner { padding: 20px; }
  .htd-year  { font-size: var(--text-2xl); }
  .htd-label { font-size: var(--text-sm); }
  .htd-text  { font-size: var(--text-sm); flex-direction: column; gap: 2px; }
  .htd-date  { flex: none; }
  .htd-body  { flex: none; }
}
