/* ============================================================
   TOWN TV
   ============================================================ */
.tv__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .tv__grid { grid-template-columns: 1fr; } }
.tv__card { display: flex; flex-direction: column; gap: 14px; transition: transform 0.18s; }
.tv__card:hover { transform: translateY(-3px); }
.tv__thumb { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-16); overflow: hidden; background-color: #ccc; }
.tv__thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.4) 100%); }
.tv__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 64px; height: 64px; border-radius: 999px; background: rgba(255,255,255,0.95); color: var(--brand-blue); display: flex; align-items: center; justify-content: center; box-shadow: var(--sh-2); z-index: 2; }
.tv__dur { position: absolute; right: 12px; bottom: 12px; padding: 4px 10px; border-radius: 6px; background: rgba(0,0,0,0.7); color: #fff; font-size: calc(13px * var(--fs)); font-weight: 700; z-index: 2; }
.tv__meta h3 { margin: 0 0 6px; font-size: calc(18px * var(--fs)); font-weight: 700; letter-spacing: -0.02em; line-height: 1.4; }
.tv__meta span { font-size: calc(14px * var(--fs)); color: var(--color-label-alt); }

/* ============================================================
   GALLERY
   ============================================================ */
.gal__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 220px 220px;
  gap: 16px;
}
@media (max-width: 900px) { .gal__grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: 200px 200px 200px; } }
.gal__cell {
  position: relative;
  border-radius: var(--r-16);
  overflow: hidden;
  display: flex; align-items: flex-end; padding: 18px;
  color: #fff;
  transition: transform 0.18s;
}
.gal__cell:hover { transform: scale(1.02); box-shadow: var(--sh-2); }
.gal__cell::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.55) 100%); }
.gal__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.gal__cell.span-2 { grid-column: span 2; grid-row: span 2; }
@media (max-width: 900px) { .gal__cell.span-2 { grid-column: span 2; grid-row: span 1; } }
/* 칩 배경은 항상 흰색이므로 글자는 라이트/다크 무관하게 진한색 고정.
   다크모드에서 --color-label-strong 이 흰색으로 바뀌면 흰배경+흰글자로 안 보임. */
.gal__tag { position: absolute; top: 14px; left: 14px; padding: 5px 10px; border-radius: 6px; background: rgba(255,255,255,0.95); color: #1a1a1a; font-size: calc(13px * var(--fs)); font-weight: 700; z-index: 2; }
html[data-dark='true'] .gal__tag { color: #1a1a1a; }
.gal__cap { position: relative; z-index: 2; font-weight: 700; font-size: calc(16px * var(--fs)); letter-spacing: -0.02em; text-shadow: 0 2px 8px rgba(0,0,0,0.4); }
.gal__empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  padding: 60px 24px;
  border: 1px dashed rgba(112,115,124,0.30);
  border-radius: 14px;
  color: var(--color-label-alt);
  font-size: calc(15px * var(--fs));
  background: rgba(255,255,255,0.5);
}
.gal__empty p { margin: 0; }
.board__empty {
  display: flex; align-items: center; justify-content: center;
  padding: 40px 24px;
  border: 1px dashed rgba(112,115,124,0.28);
  border-radius: 12px;
  color: var(--color-label-alt);
  font-size: calc(15px * var(--fs));
  background: rgba(255,255,255,0.6);
  min-height: 120px;
}
.board__list .board__empty { grid-column: 1 / -1; }

/* ============================================================
   SLOW STARTER BANNER — With 슬로우 스타터 캠페인
   ============================================================ */
.ssb { padding: 36px 0; }
.ssb__card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 56px 64px;
  background: linear-gradient(135deg, #1d3868 0%, #2c5fa0 60%, #4f8acb 100%);
  border-radius: 28px;
  color: #fff;
  overflow: hidden;
  box-shadow: 0 24px 60px -36px rgba(29,56,104,0.55);
}
.ssb__deco { position: absolute; inset: 0; pointer-events: none; }
.ssb__deco svg { width: 100%; height: 100%; }
.ssb__body { position: relative; z-index: 1; max-width: 720px; }
.ssb__eyebrow {
  display: inline-block;
  font-size: calc(13px * var(--fs));
  font-weight: 800;
  letter-spacing: 0.18em;
  padding: 6px 14px;
  background: rgba(255,255,255,0.16);
  border-radius: 999px;
  margin-bottom: 14px;
}
.ssb__title {
  margin: 0 0 14px;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: #fff;
}
.ssb__title em {
  display: inline-block;
  margin-top: 4px;
  font-style: italic;
  font-weight: 700;
  color: #FFCB47;
  font-size: 0.7em;
  letter-spacing: 0.04em;
}
.ssb__lead {
  margin: 0 0 18px;
  font-size: calc(17px * var(--fs));
  line-height: 1.7;
  color: rgba(255,255,255,0.92);
  word-break: keep-all;
}
.ssb__lead strong { color: #FFCB47; font-weight: 700; }
.ssb__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 28px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}
.ssb__list li {
  position: relative;
  padding-left: 26px;
  font-size: calc(15px * var(--fs));
  font-weight: 500;
  color: rgba(255,255,255,0.92);
  line-height: 1.5;
}
.ssb__list li::before {
  content: '';
  position: absolute; left: 0; top: 9px;
  width: 16px; height: 2px;
  background: #FFCB47;
}
.ssb__close {
  margin: 8px 0 0;
  padding-top: 18px;
  border-top: 1px dashed rgba(255,255,255,0.22);
  font-size: calc(15px * var(--fs));
  line-height: 1.6;
  color: rgba(255,255,255,0.88);
  word-break: keep-all;
}
.ssb__close strong { color: #FFCB47; font-weight: 700; }

@media (max-width: 720px) {
  .ssb__card { padding: 36px 28px; border-radius: 20px; }
  .ssb__list { grid-template-columns: 1fr; }
}

/* ============================================================
   GREETING PREVIEW — 이사장 인사말 미리보기
   ============================================================ */
.grtp { padding: 56px 0; }
.grtp__card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px 56px;
  background: linear-gradient(135deg, #fafbfd 0%, #ffffff 60%, #f5f9ff 100%);
  border: 1px solid var(--color-line, rgba(85,96,120,0.18));
  border-radius: 24px;
  box-shadow: 0 18px 48px -32px rgba(20,28,48,0.20);
  position: relative;
  overflow: hidden;
}
.grtp__card::before {
  content: '"';
  position: absolute;
  top: -20px; right: 40px;
  font-family: 'Paperlogy', serif;
  font-size: 220px;
  font-weight: 800;
  color: var(--brand-cta, #0066ff);
  opacity: 0.06;
  line-height: 1;
  pointer-events: none;
}
.grtp__photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
  background: var(--color-bg-deep, #f3f5f9);
  box-shadow: 0 16px 36px -22px rgba(20,28,48,0.40);
}
.grtp__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.grtp__body { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.grtp__eyebrow {
  display: inline-flex; align-items: center;
  font-size: calc(13px * var(--fs));
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--brand-cta, #0066ff);
  text-transform: uppercase;
}
.grtp__title {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--color-label-strong);
  line-height: 1.35;
}
.grtp__title em {
  font-style: normal;
  color: var(--brand-cta, #0066ff);
  position: relative;
}
.grtp__title em::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 3px;
  height: 10px;
  background: rgba(0, 102, 255, 0.16);
  z-index: -1;
}
.grtp__excerpt {
  margin: 4px 0 0;
  font-size: calc(16px * var(--fs));
  line-height: 1.75;
  color: var(--color-label-neutral, #3a4150);
  word-break: keep-all;
}
.grtp__excerpt strong { font-weight: 700; color: var(--color-label-strong); }
.grtp__sign {
  display: flex; flex-direction: column; gap: 2px;
  padding-top: 14px;
  margin-top: 4px;
  border-top: 1px dashed var(--color-line, rgba(85,96,120,0.22));
}
.grtp__sign-org {
  font-size: calc(13px * var(--fs));
  font-weight: 600;
  color: var(--color-label-alt, #6a7283);
}
.grtp__sign-name {
  font-size: calc(20px * var(--fs));
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-label-strong);
  font-family: 'Paperlogy', 'Pretendard Variable', sans-serif;
}
.grtp__cta {
  display: inline-flex; align-items: center; gap: 8px;
  align-self: flex-start;
  margin-top: 6px;
  padding: 12px 22px;
  background: var(--color-label-strong, #14181f);
  color: #fff;
  border-radius: 999px;
  font-size: calc(14px * var(--fs));
  font-weight: 700;
  text-decoration: none;
  transition: transform .12s ease, box-shadow .12s ease;
}
.grtp__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px -10px rgba(20,28,48,0.55);
}
html[data-dark='true'] .grtp__card {
  background: linear-gradient(135deg, var(--color-bg-elev, #1a1d21) 0%, var(--color-bg-deep, #14171a) 100%);
  border-color: var(--color-line);
}
html[data-dark='true'] .grtp__cta { background: #fff; color: #14181f; }
html[data-dark='true'] .grtp__title em::after { background: rgba(122,180,236,0.28); }

@media (max-width: 900px) {
  .grtp__card { grid-template-columns: 1fr; gap: 28px; padding: 32px 28px; }
  .grtp__photo { max-width: 220px; margin: 0 auto; }
}

/* ============================================================
   DONATE BAND
   ============================================================ */
.donate__card {
  position: relative;
  padding: 56px 56px;
  border-radius: var(--r-32);
  background: linear-gradient(120deg, #6B1F3A 0%, #B0436A 60%, #E08AA6 100%);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  overflow: hidden;
}
@media (max-width: 900px) { .donate__card { grid-template-columns: 1fr; padding: 36px 28px; } }
.donate__bg { position: absolute; inset: 0; pointer-events: none; }
.donate__bg svg { width: 100%; height: 100%; }
.donate__main { position: relative; }
.donate__eyebrow { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,0.2); font-size: calc(13px * var(--fs)); font-weight: 700; }
.donate__title { margin: 16px 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.15; font-weight: 800; letter-spacing: -0.03em; }
.donate__body { margin: 0; font-size: calc(16px * var(--fs)); line-height: 1.6; max-width: 580px; opacity: 0.94; }
.donate__body strong { color: #FFE08A; font-weight: 800; }
.donate__stats { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 24px; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.2); border-radius: var(--r-20); backdrop-filter: blur(8px); min-width: 200px; }
.donate__stat { display: flex; flex-direction: column; gap: 2px; }
.donate__stat span { font-size: calc(28px * var(--fs)); font-weight: 800; letter-spacing: -0.02em; color: #fff; }
.donate__stat em { font-size: calc(13px * var(--fs)); font-style: normal; opacity: 0.8; }
.donate__cta { position: relative; grid-column: 1 / -1; display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

/* ============================================================
   SUBSIDIARY
   ============================================================ */
.sub__row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
@media (max-width: 900px) { .sub__row { grid-template-columns: repeat(2, 1fr); } }
.subtag {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  gap: 8px; padding: 28px 16px;
  background: var(--bg);
  border: 1px solid color-mix(in srgb, var(--c) 22%, transparent);
  border-radius: var(--r-20);
  transition: all 0.18s;
}
.subtag:hover { transform: translateY(-3px); border-color: var(--c); box-shadow: var(--sh-2); }
.subtag__new { position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 3px; padding: 3px 8px; border-radius: 999px; background: var(--c); color: #fff; font-size: calc(12px * var(--fs)); font-weight: 700; }
.subtag__ico { display: inline-flex; padding: 14px; border-radius: var(--r-16); background: #fff; color: var(--c); margin-bottom: 4px; }
.subtag__lab { font-size: calc(17px * var(--fs)); font-weight: 800; letter-spacing: -0.02em; color: var(--c); }
.subtag__sub { font-size: calc(13px * var(--fs)); color: var(--color-label-neutral); opacity: 0.85; }

/* ============================================================
   VALUES + MAP
   ============================================================ */
.values__layout { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: stretch; }
@media (max-width: 1000px) { .values__layout { grid-template-columns: 1fr; } }
.values__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 700px) { .values__grid { grid-template-columns: repeat(2, 1fr); } }
.vcard {
  position: relative;
  padding: 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-16);
  transition: all 0.18s;
}
.vcard::before { content: ''; position: absolute; left: 24px; top: 0; width: 32px; height: 4px; background: var(--c); border-radius: 0 0 4px 4px; }
.vcard:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.22); transform: translateY(-2px); }
.vcard__num { font-size: calc(13px * var(--fs)); font-weight: 800; letter-spacing: 0.06em; color: rgba(255,255,255,0.6); margin-bottom: 12px; padding-top: 4px; }
.vcard__title { font-size: calc(20px * var(--fs)); font-weight: 800; letter-spacing: -0.025em; margin-bottom: 8px; color: #fff; }
.vcard__body { margin: 0; font-size: calc(14px * var(--fs)); line-height: 1.55; color: rgba(255,255,255,0.78); }

.map { background: var(--color-bg-elev); border-radius: var(--r-20); overflow: hidden; box-shadow: var(--sh-3); display: flex; flex-direction: column; color: var(--color-label-normal); }
html[data-dark='false'] .wt-section--dark .map { color: var(--color-label-normal); }
.map__head { display: flex; align-items: center; gap: 12px; padding: 20px 24px; border-bottom: 1px solid var(--color-line); color: var(--brand-cta); }
.map__title { font-size: calc(16px * var(--fs)); font-weight: 800; color: var(--color-label-strong); }
.map__addr { font-size: calc(13px * var(--fs)); color: var(--color-label-alt); margin-top: 2px; }
.map__canvas { position: relative; aspect-ratio: 16/10; overflow: hidden; background: #eef0f3; border-radius: 16px; }
.map__roughmap { width: 100%; height: 100%; }
/* 카카오 RoughMap 자동 삽입 주소·전화 정보 블록은 메인에서 숨김 */
.map__canvas .roughmap_lebel,
.map__canvas [class*="roughmap_lebel"] { display: none !important; }
.map__chip { position: absolute; right: 12px; top: 12px; padding: 5px 10px; border-radius: 6px; background: rgba(0,0,0,0.65); color: #fff; font-size: calc(12px * var(--fs)); font-weight: 700; z-index: 10; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); pointer-events: none; }
.map__info { display: flex; flex-direction: column; gap: 8px; padding: 20px 24px; border-top: 1px solid var(--color-line); }
.map__info > div { display: flex; justify-content: space-between; font-size: calc(14px * var(--fs)); }
.map__info strong { color: var(--color-label-strong); font-weight: 700; }
.map__info span { color: var(--color-label-neutral); }
.map__cta { padding: 0 24px 24px; display: flex; gap: 8px; }
.map__cta .wt-btn { flex: 1; height: 44px; padding: 0 12px; font-size: calc(14px * var(--fs)); justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.ft { background: #0a0d12; color: rgba(255,255,255,0.7); padding: 64px 0 32px; }
.ft__top { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }
@media (max-width: 900px) { .ft__top { grid-template-columns: 1fr; gap: 32px; } }
.ft__brand p { margin: 4px 0; font-size: calc(13px * var(--fs)); }
.ft__org { margin-top: 16px !important; font-size: calc(15px * var(--fs)) !important; color: rgba(255,255,255,0.92); }
.ft__org strong { color: #fff; font-weight: 800; }
.ft__addr { color: rgba(255,255,255,0.65); }
.ft__sub { font-size: calc(13px * var(--fs)) !important; color: rgba(255,255,255,0.5); margin-top: 12px !important; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.08); max-width: 280px; }
.ft__links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.ft__links h4 { font-size: calc(14px * var(--fs)); font-weight: 800; color: #fff; margin: 0 0 14px; letter-spacing: -0.01em; }
.ft__links ul { display: flex; flex-direction: column; gap: 8px; }
.ft__links li { font-size: calc(14px * var(--fs)); cursor: pointer; }
.ft__links li:hover { color: #fff; }
.ft__sns { flex-direction: row !important; flex-wrap: wrap; }
.ft__chip { display: inline-flex; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,0.1); font-size: calc(13px * var(--fs)); font-weight: 600; }
.ft__partners { padding: 32px 0; border-bottom: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.ft__partners > span { font-size: calc(13px * var(--fs)); font-weight: 700; color: rgba(255,255,255,0.5); letter-spacing: 0.04em; }
.ft__partnerrow { display: flex; gap: 12px; flex-wrap: wrap; flex: 1; }
.ft__partner { padding: 10px 16px; border-radius: 8px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); font-size: calc(13px * var(--fs)); font-weight: 600; color: rgba(255,255,255,0.78); }
/* ── 협력기관 스트립 (Footer 직전, 흰 배경) ── */
.partners-strip {
  background: #fff;
  padding: 48px 0;
  border-top: 1px solid var(--color-line, rgba(0,0,0,0.08));
}
.partners-strip__head {
  text-align: center;
  margin-bottom: 28px;
}
.partners-strip__eyebrow {
  display: block;
  font-size: calc(13px * var(--fs));
  font-weight: 700;
  color: var(--brand-cta, #0066ff);
  letter-spacing: 0.18em;
  margin-bottom: 6px;
}
.partners-strip__head h3 {
  margin: 0;
  font-size: calc(22px * var(--fs));
  font-weight: 800;
  color: var(--color-label-strong);
  letter-spacing: -0.025em;
}
.partners-strip__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px 16px;
  align-items: center;
  justify-items: center;
}
.partners-strip__item {
  width: 100%;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border: 1px solid var(--color-line, rgba(0,0,0,0.06));
  border-radius: 10px;
  background: #ffffff;
  transition: border-color .12s ease, transform .12s ease, box-shadow .12s ease;
}
.partners-strip__item:hover {
  border-color: rgba(0,0,0,0.18);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}
.partners-strip__item img {
  max-width: 100%;
  max-height: 48px;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}
@media (max-width: 1024px) {
  .partners-strip__grid { grid-template-columns: repeat(4, 1fr); }
}
/* 데스크탑에서는 마퀴 숨김, 모바일에서는 그리드 숨기고 마퀴 표시 */
.partners-strip__marquee { display: none; }
@media (max-width: 720px) {
  .partners-strip { padding: 24px 0; }
  .partners-strip__head { margin-bottom: 14px; }
  .partners-strip__head h3 { font-size: calc(17px * var(--fs)); }
  .partners-strip__eyebrow { margin-bottom: 4px; font-size: calc(12px * var(--fs)); }
  .partners-strip__grid { display: none; }
  .partners-strip__marquee {
    display: block;
    overflow: hidden;
    /* 좌우 끝 fade out */
    mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  }
  .partners-strip__track {
    display: flex;
    gap: 14px;
    width: max-content;
    animation: partners-marquee 28s linear infinite;
  }
  .partners-strip__track:hover { animation-play-state: paused; }
  .partners-strip__marquee .partners-strip__item {
    width: 130px; height: 52px;
    flex-shrink: 0;
    padding: 6px 10px;
  }
  .partners-strip__marquee .partners-strip__item img { max-height: 36px; }
}
@keyframes partners-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
html[data-dark='true'] .partners-strip { background: var(--color-bg-elev, #1a1d21); border-top-color: rgba(255,255,255,0.08); }
html[data-dark='true'] .partners-strip__item { background: #fff; border-color: rgba(0,0,0,0.06); }

.ft__info {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ft__info ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.ft__info li {
  font-size: calc(14px * var(--fs));
  color: rgba(255,255,255,0.78);
  letter-spacing: -0.01em;
}
.ft__info strong {
  color: rgba(255,255,255,0.5);
  font-weight: 600;
  margin-right: 6px;
  font-size: calc(12px * var(--fs));
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ft__info a { color: rgba(255,255,255,0.88); text-decoration: none; }
.ft__info a:hover { color: #fff; text-decoration: underline; }
.ft__links a { color: rgba(255,255,255,0.7); text-decoration: none; }
.ft__links a:hover { color: #fff; text-decoration: underline; }

.ft__bottom { padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: calc(13px * var(--fs)); color: rgba(255,255,255,0.4); }

/* 모바일에서 숨길 푸터 요소 (방문/후원/SNS/팩스 등)
   ※ 데스크탑에선 따로 손대지 않음 — 각 요소가 자기 본래 display 값
   (.ft__links=grid, p/li/div=block/list-item 등)을 그대로 유지하도록.
   이전에 `display: revert` 를 두었더니 .ft__links 의 grid 가 block 으로
   풀려 채용공고/고객지원/SNS 가 한 컬럼으로 쌓였던 버그를 유발. */
.ft__mobile-links { display: none; }

/* ───────── 푸터 모바일 최적화 ───────── */
@media (max-width: 720px) {
  /* 상단 빈 공백 축소 — 28→12. !important 로 styles-v2.css 의 .ft 글로벌 룰 덮어씀 */
  .ft { padding: 12px 0 16px !important; }
  /* 푸터 안 wt-container 도 가장자리까지. 내부 텍스트만 14px 안쪽 들여쓰기 */
  .ft .wt-container { padding-left: 14px !important; padding-right: 14px !important; max-width: 100% !important; }
  .ft__top { padding-bottom: 14px !important; gap: 12px !important; border-bottom-color: rgba(255,255,255,0.10) !important; }
  .ft__brand p { font-size: calc(14px * var(--fs)); }
  .ft__brandmark { font-size: calc(20px * var(--fs)) !important; }
  .ft__brandsub { font-size: calc(13px * var(--fs)) !important; }
  .ft__brandimg { height: 35px !important; }
  /* ❌ 중복 "감사합니다" 제거 — .ft__brandmark 에서 이미 노출됨.
     기관 풀네임은 아래 .ft__info "기관명" 라인에 존재 → .ft__org 숨김 */
  .ft__org { display: none !important; }
  .ft__brandtext { margin-bottom: 4px !important; }
  .ft__sub { max-width: none; }

  /* 사용자 지정: 모바일에서 필수만 노출 — 나머지 .ft__hide-mobile 일괄 숨김 */
  .ft__hide-mobile { display: none !important; }

  /* 모바일 필수 링크 (개인정보·이용약관·이메일무단수집거부) — 한 줄 */
  .ft__mobile-links {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 4px 8px;
    padding: 14px 0 10px;
    border-top: 1px solid rgba(255,255,255,0.10);
  }
  .ft__mobile-links a {
    font-size: calc(13px * var(--fs));
    color: rgba(255,255,255,0.78);
    text-decoration: none;
    padding: 4px 0;
    white-space: nowrap;
  }
  .ft__mobile-links a:hover { color: #fff; text-decoration: underline; }
  .ft__mobile-links a:not(:last-child)::after {
    content: '|';
    margin-left: 10px;
    color: rgba(255,255,255,0.25);
    text-decoration: none;
    display: inline-block;
  }

  /* 빠른 링크/고객지원/SNS 3열 → 1열 + 섹션 사이 구분선 */
  .ft__links { grid-template-columns: 1fr; gap: 0; }
  .ft__links > div { padding: 16px 0; border-top: 1px solid rgba(255,255,255,0.10); }
  .ft__links > div:first-child { border-top: 0; padding-top: 0; }
  .ft__links h4 { margin: 0 0 10px; font-size: calc(15px * var(--fs)); }
  .ft__links ul { gap: 10px; }
  .ft__links li { font-size: calc(15px * var(--fs)); padding: 4px 0; }
  /* 빠른 링크(첫 섹션) 의 4 항목만 2열 그리드로 — 가로 공간 활용 */
  .ft__links > div:first-child ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
  .ft__sns { gap: 8px; }
  .ft__sns-link { font-size: calc(14px * var(--fs)) !important; padding: 6px 12px; background: rgba(255,255,255,0.06); border-radius: 999px; }
  .ft__sns-ico { display: inline-flex; }

  /* 기관 정보 — 세로 스택, 라벨/값 한 줄 단위로 */
  .ft__info { padding: 16px 0; }
  .ft__info ul { flex-direction: column; gap: 6px; }
  .ft__info li { font-size: calc(13.5px * var(--fs)); display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
  .ft__info strong { font-size: calc(12px * var(--fs)); min-width: 78px; margin-right: 0; }

  .ft__bottom { padding-top: 16px; justify-content: center; text-align: center; font-size: calc(13px * var(--fs)); }
}

@media (max-width: 480px) {
  /* .ft / .ft__top / .ft__org 룰은 위(≤720) 블록의 !important 가 이미 처리.
     여기선 폰트 크기 미세 조정만. */
  .ft__brandmark { font-size: calc(20px * var(--fs)) !important; }
  .ft__brandsub { font-size: calc(13px * var(--fs)) !important; }
  .ft__brand p { font-size: calc(13px * var(--fs)); }

  .ft__links h4 { font-size: calc(14px * var(--fs)); margin-bottom: 8px; }
  .ft__links li { font-size: calc(14px * var(--fs)); }
  .ft__sns-link { font-size: calc(13px * var(--fs)) !important; }

  .ft__info li { font-size: calc(13px * var(--fs)); }
  .ft__info strong { min-width: 72px; }

  .ft__partners { padding: 20px 0; gap: 14px; }
  .ft__partnerrow { gap: 8px; }
}

/* ── 약관 페이지 본문 ── */
.legal-doc { padding: 20px 0 60px; }
.legal-doc__effective {
  font-size: calc(13px * var(--fs));
  color: var(--color-label-alternative);
  text-align: right;
  margin: 0 0 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-line);
}
.legal-section { margin-bottom: 36px; }
.legal-section__h {
  font-size: calc(18px * var(--fs));
  font-weight: 700;
  color: var(--color-label-strong);
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(0,0,0,0.14);
  letter-spacing: -0.02em;
}
.legal-section__body {
  font-size: calc(15px * var(--fs));
  color: var(--color-label-strong);
  line-height: 1.75;
  letter-spacing: -0.01em;
}
.legal-section__body p { margin: 0 0 12px; }
.legal-section__body ul,
.legal-section__body ol { margin: 0 0 12px; padding-left: 22px; }
.legal-section__body li { margin-bottom: 4px; }
.legal-section__body strong { color: var(--color-label-strong); font-weight: 700; }
.legal-section__body a { color: var(--brand-cta, #0066ff); text-decoration: none; }
.legal-section__body a:hover { text-decoration: underline; }
html[data-dark='true'] .legal-section__h { border-bottom-color: rgba(255,255,255,0.2); }

/* ============================================================
   RESPONSIVE / MISC
   ============================================================ */
@media (max-width: 1024px) {
  .gnb__inner { gap: 12px; }
  .gnb__item { padding: 0 10px; font-size: calc(15px * var(--fs)); }
}
@media (max-width: 720px) {
  .util__inner { height: auto; padding: 8px 20px; flex-wrap: wrap; gap: 8px; }
  .gnb__nav { display: none; }
  /* 좁은 화면에서 방문신청/후원하기 버튼이 세로로 깨져 보임 → 햄버거 메뉴 안에서 접근 가능하므로 숨김 */
  .gnb__btn--visit, .gnb__btn--donate { display: none; }
  /* 유틸리티 바 — 로그인/통합검색은 사이트맵 안으로 통합 (헤더 영역에서는 숨김) */
  .util__quick { display: none !important; }
  .util__quick--search { display: none !important; }
  .util__divider { display: none; }
  /* 햄버거 메뉴를 우측 끝으로 — gnb__util 안에서 마지막 자리에 자동 배치되며,
     visit/donate 버튼이 숨겨졌으므로 자연히 우측에 단독으로 보임 */
  .gnb__util { margin-left: auto; }
  .wt-section { padding: 41px 0; }
  .sec-h__title { font-size: calc(28px * var(--fs)); }
}
