/* ============================================================
   사단법인 우리누리플러스 리뉴얼 — 메인 스타일시트
   컨셉: 청소년의 에너지가 화면에서 움직인다
   배색: 프레시 그린 / 일렉트릭 블루 / 코랄 (로고 3색 현대화)
   반응형: 모바일(~767) / 태블릿(768~1023) / 데스크톱(1024~)
   ============================================================ */

:root {
  --green: #16b364;
  --green-deep: #0e9151;
  --green-soft: #e5f8ee;
  --blue: #2563eb;
  --blue-deep: #1d4ed8;
  --blue-soft: #e9f0fe;
  --coral: #ff5a5f;
  --coral-deep: #ef4348;
  --coral-soft: #ffecec;
  --yellow: #ffc531;
  --ink: #0a0a0a;
  --ink-70: #141414;
  --ink-50: #1a1a1a; /* ★흰 바탕엔 회색 금지 — 전부 새까맣게 */
  --line: #e5e7eb;
  --bg: #ffffff;
  --bg-soft: #f6faf8;
  --radius: 18px;
  --shadow: 0 14px 34px rgba(17, 24, 39, .16);
  --shadow-lg: 0 26px 60px rgba(17, 24, 39, .26);
  --header-h: 134px; /* 상단 유틸 38 + 메인 96 */
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
          "Malgun Gothic", "맑은 고딕", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 18px; /* 가시성: 전체 폰트 상향 */
  overflow-x: clip; /* hidden은 body를 스크롤 컨테이너로 만들어 window 스크롤 이벤트가 끊김 */
  word-break: keep-all;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }

.container { width: min(1200px, 92%); margin: 0 auto; }

/* ------------------------------------------------------------
   헤더
   ------------------------------------------------------------ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}
.site-header { border-bottom: 3px solid transparent; border-image: linear-gradient(90deg, var(--green), #2f8fe0, #22c1c3, var(--coral)) 1; }
.site-header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.06); }

/* 상단 유틸 바 (음영) */
.topbar {
  background: linear-gradient(180deg, #0e8f51, #0a7a44);
  border-bottom: 0;
  box-shadow: 0 6px 16px rgba(10,122,68,.30);
  position: relative; z-index: 2;
}
.topbar-inner {
  width: min(1200px, 92%); margin: 0 auto; height: 38px;
  display: flex; align-items: center; justify-content: flex-end; gap: 22px;
}
.topbar-inner a { font-size: 15.5px; font-weight: 700; color: #eafff3; transition: color .15s; }
.topbar-inner a:hover { color: #fff; }
.topbar-inner .top-donate { color: #fff; font-weight: 800; }

/* 메인 바 */
.mainbar-inner {
  width: min(1200px, 92%); height: 96px; margin: 0 auto;
  display: flex; align-items: center; gap: 24px;
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo img { height: 80px; width: auto; }

/* 컬러풀 메뉴 — 항목마다 색, 밑줄, 누르면 세로 배너 펼침 */
.gnb { margin: 0 auto; height: 100%; display: flex; align-items: center; }
.gnb > ul { display: flex; align-items: center; gap: 9px; height: 100%; }
.gnb > ul > li { position: relative; height: 100%; display: flex; align-items: center; --mc: var(--green); --mcd: var(--green-deep); --mcs: var(--green-soft); }
.gnb > ul > li:nth-child(2) { --mc: #2f8fe0; --mcd: var(--blue-deep); --mcs: var(--blue-soft); }
.gnb > ul > li:nth-child(3) { --mc: #22c1c3; --mcd: #0e8f91; --mcs: #e0f7f7; }
.gnb > ul > li:nth-child(4) { --mc: var(--coral); --mcd: var(--coral-deep); --mcs: var(--coral-soft); }
/* 메뉴 = 컬러 카드 단추 (낮은 높이, 아이콘+라벨, 호버시 색 채움) */
.gnb > ul > li > a {
  position: relative; display: flex; align-items: center; gap: 9px;
  height: 60px; padding: 0 14px; border-radius: 16px;
  background: var(--mcs); color: var(--mcd);
  font-weight: 800; font-size: 19px; letter-spacing: -.02em;
  border: 1.6px solid rgba(15,23,42,.16);
  box-shadow: 0 10px 22px rgba(17,24,39,.20), 0 2px 6px rgba(17,24,39,.12);
  transition: transform .18s cubic-bezier(.2,.7,.3,1), background .2s, color .2s, box-shadow .2s, border-color .2s;
}
.gnb > ul > li > a .mi { font-size: 24px; line-height: 1; filter: saturate(1.1); }
/* 후원안내 하트 = 흰 원형 칩으로 감싸 빨간 바탕에서도 또렷하게 */
.gnb > ul > li:nth-child(4) > a .mi {
  width: 34px; height: 34px; border-radius: 50%;
  background: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px; box-shadow: 0 2px 6px rgba(0,0,0,.18); flex-shrink: 0;
}
.gnb > ul > li:hover > a, .gnb > ul > li.active > a {
  background: var(--mc); color: #fff; transform: translateY(-3px);
  border-color: rgba(15,23,42,.20);
  box-shadow: 0 16px 34px rgba(17,24,39,.30);
}
.gnb > ul > li > a::after { content: none; }

/* 검색 pill */
.hsearch {
  flex-shrink: 0; display: flex; align-items: center; gap: 6px;
  width: 220px; height: 46px; padding: 0 6px 0 20px;
  border: 1.6px solid var(--line); border-radius: 999px; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.hsearch:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px rgba(22,179,100,.12); }
.hsearch input { flex: 1; min-width: 0; border: 0; background: none; font-size: 15px; font-family: inherit; outline: none; }
.hsearch button {
  width: 34px; height: 34px; border-radius: 50%; font-size: 15px; flex-shrink: 0;
  background: var(--green); color: #fff; display: grid; place-items: center;
}
.hsearch button:hover { background: var(--green-deep); }

/* 드롭다운 = 세로 현수막(위→아래로 펼쳐짐), 상단은 항목 색 */
.gnb .depth2 {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  min-width: 210px; overflow: hidden;
  background: #fff; border-radius: 0 0 16px 16px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); border-top: 4px solid var(--mc);
  max-height: 0; opacity: 0; visibility: hidden;
  transition: max-height .35s cubic-bezier(.2,.7,.3,1), opacity .25s, visibility .35s;
}
.gnb > ul > li:hover .depth2 { max-height: 440px; opacity: 1; visibility: visible; }
.gnb .depth2 ul, .gnb .depth2 { padding: 0; }
.gnb .depth2 li { border-bottom: 1px solid var(--line); }
.gnb .depth2 li:last-child { border-bottom: 0; }
.gnb .depth2 a {
  display: flex; align-items: center; gap: 8px; padding: 15px 20px; font-weight: 700; font-size: 16.5px;
  color: var(--ink); transition: background .15s, color .15s, padding .15s;
}
.gnb .depth2 a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mc); flex-shrink: 0; opacity: 0; transition: opacity .15s; }
.gnb .depth2 a:hover { background: var(--mcs); color: var(--mcd); padding-left: 24px; }
.gnb .depth2 a:hover::before { opacity: 1; }

/* 데스크톱에서는 모바일 드로어용 후원버튼 숨김 (중복 방지) */
.m-donate { display: none; }

.btn-donate {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 7px;
  padding: 13px 26px; border-radius: 999px;
  background: linear-gradient(135deg, var(--coral), var(--coral-deep));
  color: #fff; font-weight: 800; font-size: 17px;
  box-shadow: 0 6px 18px rgba(255, 90, 95, .35);
  transition: transform .2s, box-shadow .2s;
}
.btn-donate:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 10px 24px rgba(255,90,95,.45); }

/* 모바일 햄버거 */
.nav-toggle { display: none; width: 46px; height: 46px; position: relative; z-index: 1102; }
.nav-toggle span {
  display: block; width: 24px; height: 3px; margin: 5px auto; border-radius: 2px;
  background: var(--ink); transition: all .3s;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ------------------------------------------------------------
   히어로 (메인)
   ------------------------------------------------------------ */
/* ============================================================
   히어로 캐러셀 (사진) — 글자는 왼쪽 배색 위, 인물은 오른쪽
   ============================================================ */
.hero-carousel {
  position: relative; margin-top: var(--header-h);
  height: clamp(460px, 62vh, 620px); overflow: hidden; background: #fff;
}
.hcar-track { display: flex; height: 100%; will-change: transform; transition: transform .6s cubic-bezier(.5,0,.1,1); }
.hslide { position: relative; flex: 0 0 100%; height: 100%; overflow: hidden; }
.hslide-media { position: absolute; inset: 0; z-index: 0; }
.hslide-media img, .hslide-media video { width: 100%; height: 100%; object-fit: cover; object-position: 78% center; }
.hslide-media img { animation: kenburns 16s ease-in-out infinite alternate; }
@keyframes kenburns { 0% { transform: scale(1.02); } 100% { transform: scale(1.13); } }
.hslide-panel { position: absolute; inset: 0; z-index: 1; }
.hslide.t-green .hslide-panel { background: linear-gradient(90deg, #dff5ea 0%, #dff5ea 34%, rgba(223,245,234,.5) 50%, transparent 66%); }
.hslide.t-navy  .hslide-panel { background: linear-gradient(90deg, #dde7fb 0%, #dde7fb 34%, rgba(221,231,251,.5) 50%, transparent 66%); }
.hslide.t-coral .hslide-panel { background: linear-gradient(90deg, #ffe5df 0%, #ffe5df 34%, rgba(255,229,223,.5) 50%, transparent 66%); }
.hslide-textwrap { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; }
.hslide-text { width: min(560px, 90%); }
.hslide-label { display: inline-block; font-size: 18px; font-weight: 800; color: var(--green-deep); margin-bottom: 14px; }
.hslide.t-navy .hslide-label { color: var(--blue-deep); }
.hslide.t-coral .hslide-label { color: var(--coral-deep); }
.hslide-title { font-size: clamp(34px, 4.6vw, 56px); font-weight: 900; line-height: 1.2; letter-spacing: -1.5px; color: var(--ink); }
.hslide-sub { margin-top: 18px; font-size: clamp(17px, 2vw, 21px); font-weight: 600; color: var(--ink-70); }
.hslide-btn {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 30px;
  padding: 16px 34px; border-radius: 999px; font-weight: 800; font-size: 18px; color: #fff;
  background: linear-gradient(135deg, var(--green), var(--green-deep));
  box-shadow: 0 10px 24px rgba(14,145,81,.32); transition: transform .2s, box-shadow .2s;
}
.hslide.t-navy .hslide-btn { background: linear-gradient(135deg, #2f8fe0, var(--blue-deep)); box-shadow: 0 10px 24px rgba(29,78,216,.32); }
.hslide.t-coral .hslide-btn { background: linear-gradient(135deg, var(--coral), var(--coral-deep)); box-shadow: 0 10px 24px rgba(239,67,72,.32); }
.hslide-btn b { transition: transform .2s; }
.hslide-btn:hover { transform: translateY(-3px); } .hslide-btn:hover b { transform: translateX(4px); }
.rotator { display: inline-block; min-width: 2.2em; text-align: center; padding: 1px 14px; margin: 0 2px; border-radius: 12px;
  background: var(--green); color: #fff; font-weight: 900; transition: transform .28s cubic-bezier(.2,.7,.3,1.4), opacity .28s; }
.rotator.swap { transform: translateY(-16px) scale(.8); opacity: 0; }
/* 화살표 + 도트 */
.hcar-arrow {
  position: absolute; z-index: 5; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%; font-size: 28px; color: var(--ink);
  background: rgba(255,255,255,.85); box-shadow: var(--shadow); transition: background .2s, transform .2s;
}
.hcar-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.hcar-arrow.prev { left: 20px; } .hcar-arrow.next { right: 20px; }
.hcar-dots { position: absolute; z-index: 5; bottom: 22px; left: 0; right: 0; display: flex; justify-content: center; gap: 9px; }
.hdot { width: 11px; height: 11px; border-radius: 50%; background: rgba(15,15,15,.25); transition: all .2s; }
.hdot:hover { background: rgba(15,15,15,.5); }
.hdot.on { background: var(--green); width: 30px; border-radius: 6px; }

@media (max-width: 767px) {
  .hero-carousel { height: auto; }
  .hslide { display: flex; flex-direction: column; }
  .hslide-media { position: relative; height: 240px; order: 2; }
  .hslide-media img, .hslide-media video { object-position: center 30%; }
  .hslide-panel { display: none; }
  .hslide-textwrap { position: relative; order: 1; }
  .hslide-text { width: 100%; padding: 26px 7% 22px; text-align: center; }
  .hslide.t-green .hslide-textwrap { background: #dff5ea; }
  .hslide.t-navy .hslide-textwrap { background: #dde7fb; }
  .hslide.t-coral .hslide-textwrap { background: #ffe5df; }
  .hcar-arrow { display: none; }
  .hcar-dots { bottom: auto; top: 12px; }
}

/* 흐르는 키워드 마퀴 */
.marquee {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 3;
  padding: 15px 0; overflow: hidden; white-space: nowrap;
  background: rgba(17,24,39,.55); backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255,255,255,.14);
}
.marquee-track { display: inline-block; animation: marquee 26s linear infinite; }
.marquee span { display: inline-block; margin: 0 26px; color: #fff; font-weight: 700; font-size: 15px; opacity: .92; }
.marquee span i { font-style: normal; color: var(--yellow); margin-right: 8px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ------------------------------------------------------------
   공통 섹션
   ------------------------------------------------------------ */
.section { padding: 40px 0; }
.section.tint { background: var(--bg-soft); }
.sec-head { text-align: center; margin-bottom: 28px; }
.sec-eyebrow {
  display: inline-block; padding: 7px 18px; border-radius: 999px;
  font-size: 14px; font-weight: 800; letter-spacing: 1px;
  background: var(--green-soft); color: var(--green-deep);
}
.sec-eyebrow.blue { background: var(--blue-soft); color: var(--blue-deep); }
.sec-eyebrow.coral { background: var(--coral-soft); color: var(--coral-deep); }
.sec-title { margin-top: 16px; font-size: clamp(30px, 4.4vw, 50px); font-weight: 900; letter-spacing: -1px; }
.sec-desc { margin-top: 12px; color: var(--ink-70); font-size: clamp(17px, 2vw, 21px); font-weight: 600; }

/* 스크롤 리빌 */
/* 스크롤 등장 애니메이션 (AOS 방식: 방향별 + 스태거) */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); will-change: opacity, transform; }
.reveal.left { transform: translateX(-46px); }
.reveal.right { transform: translateX(46px); }
.reveal.zoom { transform: scale(.9); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; } .reveal.d4 { transition-delay: .4s; }

/* ------------------------------------------------------------
   숫자로 보는 우리누리
   ------------------------------------------------------------ */
.stats-band {
  position: relative; z-index: 4; margin-top: 44px; /* 마퀴와 겹치지 않게 */
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: #fff; border-radius: 24px; box-shadow: var(--shadow-lg); overflow: hidden;
}
.stat {
  padding: 26px 16px; text-align: center; position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.stat + .stat::before {
  content: ""; position: absolute; left: 0; top: 24%; height: 52%; width: 1px; background: var(--line);
}
.stat .s-emoji { font-size: 34px; margin-bottom: 4px; }
.stat .num {
  font-size: clamp(30px, 3.6vw, 42px); font-weight: 900; letter-spacing: -1px;
  color: var(--green-deep); line-height: 1.1;
}
.stat:nth-child(2) .num { color: var(--blue-deep); }
.stat:nth-child(3) .num { color: var(--coral-deep); }
.stat:nth-child(4) .num { color: #b58a00; }
.stat .num small { font-size: .55em; font-weight: 800; margin-left: 2px; }
.stat .label { margin-top: 7px; font-weight: 700; color: var(--ink-70); font-size: 15px; }

/* ------------------------------------------------------------
   사업 카드
   ------------------------------------------------------------ */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.biz-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: #fff; box-shadow: var(--shadow);
  transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s;
}
.biz-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.biz-card .thumb { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.biz-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.biz-card:hover .thumb img { transform: scale(1.09); }
.biz-card .thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(14,145,81,.55));
  opacity: 0; transition: opacity .3s;
}
.biz-card:hover .thumb::after { opacity: 1; }
.biz-card .body { padding: 22px 22px 26px; }
.biz-card .tag {
  display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: .5px;
  color: var(--green-deep); background: var(--green-soft);
  padding: 4px 12px; border-radius: 999px; margin-bottom: 10px;
}
.biz-card.blue .tag { color: var(--blue-deep); background: var(--blue-soft); }
.biz-card.coral .tag { color: var(--coral-deep); background: var(--coral-soft); }
.biz-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.biz-card p { color: var(--ink-50); font-size: 14.5px; line-height: 1.55; }
.biz-card .go {
  margin-top: 14px; display: inline-flex; align-items: center; gap: 5px;
  font-weight: 800; font-size: 14px; color: var(--green-deep);
}
.biz-card .go::after { content: "→"; transition: transform .2s; }
.biz-card:hover .go::after { transform: translateX(5px); }

/* ------------------------------------------------------------
   앨범 스트립 (메인)
   ------------------------------------------------------------ */
.album-strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: 300px;
  gap: 18px; overflow-x: auto; padding: 6px 6px 22px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.album-strip::-webkit-scrollbar { height: 8px; }
.album-strip::-webkit-scrollbar-thumb { background: #cfe7db; border-radius: 4px; }
.album-item {
  scroll-snap-align: start; border-radius: var(--radius); overflow: hidden;
  position: relative; box-shadow: var(--shadow); background: #fff;
  transition: transform .3s;
}
.album-item:hover { transform: translateY(-6px) rotate(-.6deg); }
.album-item img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.album-item .cap {
  padding: 14px 16px; font-weight: 700; font-size: 15px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ------------------------------------------------------------
   공지 리스트 (메인)
   ------------------------------------------------------------ */
.notice-flex { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.notice-list li { border-bottom: 1px solid var(--line); }
.notice-list a {
  display: flex; align-items: center; gap: 16px; padding: 18px 6px;
  transition: background .15s; border-radius: 10px;
}
.notice-list a:hover { background: var(--green-soft); }
.notice-list .t {
  flex: 1; font-weight: 600; font-size: 16px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.notice-list .d { color: var(--ink-50); font-size: 14px; font-variant-numeric: tabular-nums; }
.notice-list .badge-new {
  flex-shrink: 0; font-size: 11px; font-weight: 800; color: #fff;
  background: var(--coral); border-radius: 999px; padding: 3px 8px;
}

/* ------------------------------------------------------------
   후원 배너
   ------------------------------------------------------------ */
.support-band {
  position: relative; overflow: hidden; border-radius: 28px;
  background: linear-gradient(120deg, var(--green-deep), var(--blue-deep));
  color: #fff; padding: 72px 8%; text-align: center;
}
.support-band::before, .support-band::after {
  content: ""; position: absolute; border-radius: 50%;
  background: rgba(255,255,255,.1);
}
.support-band::before { width: 320px; height: 320px; top: -140px; left: -100px; }
.support-band::after { width: 260px; height: 260px; bottom: -120px; right: -80px; }
.support-band h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 900; position: relative; }
.support-band p { margin: 14px 0 32px; font-size: clamp(15px, 2vw, 19px); opacity: .95; position: relative; }
.support-band .btn-hero.primary { color: var(--coral-deep); }

/* ------------------------------------------------------------
   푸터
   ------------------------------------------------------------ */
.site-footer { background: #101828; color: #cbd5e1; padding: 60px 0 34px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-grid .f-logo { display: inline-block; background: #fff; padding: 14px 20px; border-radius: 16px; }
.footer-grid .f-logo img { height: 48px; filter: none; opacity: 1; }
.footer-grid h4 { color: #fff; font-size: 15px; font-weight: 800; margin-bottom: 14px; letter-spacing: 1px; }
.footer-grid li { margin-bottom: 9px; font-size: 16px; }
.footer-grid a { color: #e2e8f0; }
.footer-grid a:hover { color: #fff; text-decoration: underline; }
.footer-info { margin-top: 16px; font-size: 15.5px; line-height: 1.8; color: #dbe2ea; }
.footer-bottom {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid #1f2b3e;
  font-size: 14px; color: #aeb8c6; text-align: center;
}

/* 맨위로 버튼 */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 900;
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--green); color: #fff; font-size: 20px; font-weight: 900;
  box-shadow: 0 8px 20px rgba(22,179,100,.4);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: all .3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--green-deep); }

/* ------------------------------------------------------------
   서브페이지 공통
   ------------------------------------------------------------ */
/* 서브페이지 헤더: 페이지별 일러스트 배경(왼쪽 비어있음) + 왼쪽 제목 */
/* 헤더 = 본문과 같은 폭(컨테이너)의 16:9 배너 → 아래 콘텐츠와 폭이 딱 맞음.
   16:9 박스에 16:9 사진이 꽉 차므로 머리·얼굴이 잘리지 않음 */
.sub-hero {
  position: relative; width: min(1200px, 92%);
  margin: calc(var(--header-h) + 24px) auto 8px;
  aspect-ratio: 16 / 9; display: flex; align-items: center; overflow: hidden;
  border-radius: 24px; box-shadow: var(--shadow-lg); background: #eaf3fc;
}
/* 안전용 뒤 레이어(사진 비율이 다를 때 빈틈 방지) */
.sub-hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  object-position: center; z-index: 0;
  filter: blur(30px) brightness(1.02) saturate(1.1); transform: scale(1.2);
}
/* 앞 레이어: 16:9 박스를 꽉 채움(cover) — 박스와 사진 비율이 같아 잘림 거의 없음 */
.sub-hero-media {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  object-position: center; z-index: 1; will-change: transform;
  animation: heroKB 24s ease-in-out infinite alternate;
  transition: object-position .25s ease-out;
}
/* 정지화면에 은은한 모션 — 켄번즈(살짝 줌+팬) */
@keyframes heroKB {
  0%   { transform: scale(1.005) translate(0, 0); }
  100% { transform: scale(1.03) translate(-0.8%, 0); }
}
/* 둥둥 떠다니는 요소 (공책·별·하트·반짝임·풍선) */
.sub-hero-floats { position: absolute; inset: 0; z-index: 2; pointer-events: none; will-change: transform; }
.sub-hero-floats span {
  position: absolute; font-size: 30px; opacity: .92;
  filter: drop-shadow(0 5px 10px rgba(0,0,0,.14));
  animation: hdrBob 6s ease-in-out infinite;
}
.sub-hero-floats span:nth-child(1) { left: 12%; top: 24%; animation-delay: 0s; font-size: 34px; }
.sub-hero-floats span:nth-child(2) { left: 30%; top: 62%; animation-delay: 1.1s; }
.sub-hero-floats span:nth-child(3) { left: 62%; top: 20%; animation-delay: 2.2s; }
.sub-hero-floats span:nth-child(4) { left: 80%; top: 58%; animation-delay: .6s; font-size: 26px; }
.sub-hero-floats span:nth-child(5) { left: 46%; top: 32%; animation-delay: 1.7s; }
@keyframes hdrBob {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50%      { transform: translateY(-18px) rotate(5deg); }
}
@media (prefers-reduced-motion: reduce) {
  .sub-hero-media { animation: none; }
  .sub-hero-floats span { animation: none; }
}
.sub-hero-scrim {
  position: absolute; inset: 0; z-index: 3;
  background: linear-gradient(90deg, rgba(255,255,255,.72) 0%, rgba(255,255,255,.3) 30%, transparent 52%);
}
.sub-hero.dark .sub-hero-scrim {
  background: linear-gradient(90deg, rgba(10,18,34,.62) 0%, rgba(10,18,34,.2) 32%, transparent 55%);
}
.sub-hero-inner { position: relative; z-index: 4; text-align: left; width: 100%; max-width: none; margin: 0; padding: 0 clamp(28px, 5%, 60px); }
.sub-hero h1 { font-size: clamp(32px, 4.2vw, 46px); font-weight: 900; letter-spacing: -1px; color: var(--ink); }
.sub-hero.dark h1 { color: #fff; text-shadow: 0 3px 16px rgba(0,0,0,.4); }
.sub-hero .crumb { margin-top: 12px; font-size: 16px; font-weight: 700; color: var(--ink-70); }
.sub-hero.dark .crumb { color: rgba(255,255,255,.92); }
.sub-hero .crumb a:hover { text-decoration: underline; }

/* 3D 홀로그램 영상 헤더 — 본문과 같은 폭의 16:9 배너(영상이 16:9라 꽉 맞음) */
.holo-vhero {
  position: relative; width: min(1200px, 92%);
  margin: calc(var(--header-h) + 24px) auto 8px;
  aspect-ratio: 16 / 9; overflow: hidden;
  display: flex; align-items: center; background: #04070e;
  border-radius: 24px; box-shadow: var(--shadow-lg);
}
.holo-vhero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
  filter: blur(34px) brightness(.5) saturate(1.5) hue-rotate(-6deg); transform: scale(1.3);
}
.holo-vhero-fg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1;
}
.holo-vhero-scrim {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(90deg, rgba(4,10,22,.9) 0%, rgba(4,10,22,.55) 30%, rgba(4,10,22,0) 56%),
              radial-gradient(120% 80% at 60% 50%, transparent 40%, rgba(4,10,22,.35) 100%);
}
.holo-vhero-inner { position: relative; z-index: 3; text-align: left; width: 100%; max-width: none; margin: 0; padding: 0 clamp(28px, 5%, 60px); }
.holo-vhero h1 {
  font-size: clamp(32px, 4.2vw, 46px); font-weight: 900; letter-spacing: -1px;
  color: #fff; text-shadow: 0 3px 18px rgba(0,0,0,.55);
}
.holo-vhero .crumb { margin-top: 12px; font-size: 16px; font-weight: 700; color: rgba(255,255,255,.92); }
.holo-vhero .crumb a { color: rgba(255,255,255,.92); }
.holo-vhero .crumb a:hover { text-decoration: underline; }
@media (max-width: 767px) {
  .sub-hero-scrim { background: linear-gradient(90deg, rgba(255,255,255,.72) 0%, rgba(255,255,255,.35) 55%, rgba(255,255,255,.1) 100%); }
  .sub-hero.dark .sub-hero-scrim { background: linear-gradient(90deg, rgba(10,18,34,.75), rgba(10,18,34,.4)); }
}

/* 서브 탭 네비 */
.sub-tabs { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: var(--header-h); z-index: 500; }
.sub-tabs ul { display: flex; gap: 6px; overflow-x: auto; justify-content: center; }
.sub-tabs a {
  display: block; padding: 17px 20px; font-weight: 700; font-size: 15.5px;
  color: var(--ink-50); border-bottom: 3px solid transparent; white-space: nowrap;
  transition: color .2s;
}
.sub-tabs a:hover { color: var(--green-deep); }
.sub-tabs li.on a { color: var(--green-deep); border-bottom-color: var(--green); }

.sub-content { padding: 48px 0 70px; }
.sub-content .lead {
  font-size: clamp(20px, 2.8vw, 28px); font-weight: 800; line-height: 1.5;
  text-align: center; margin-bottom: 32px; letter-spacing: -.3px;
}
.sub-content .lead .hl { color: var(--green-deep); }
.prose { max-width: 860px; margin: 0 auto; font-size: 19px; font-weight: 500; color: var(--ink-70); line-height: 1.85; }
.prose p { margin-bottom: 22px; }
.prose strong { color: var(--ink); }

/* 인사말 카드 프레임 */
.greet-card {
  max-width: none; margin: 0 auto; background: #fff;
  border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-lg);
  padding: 48px clamp(24px, 5vw, 60px); position: relative; overflow: hidden;
}
.greet-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px;
  background: linear-gradient(90deg, var(--green), #2f8fe0, var(--coral));
}
.greet-card .prose { max-width: none; }
/* 음영 처리 박스 (기관의 목적 등 강조) */
.shade-box {
  margin-top: 34px; padding: 32px clamp(20px, 4vw, 40px);
  background: linear-gradient(135deg, var(--green-soft), #eaf5ff);
  border-radius: 18px; border: 1px solid #d7ecdf;
}
.shade-box h3 { font-size: 24px; font-weight: 900; color: var(--green-deep); margin-bottom: 14px; }
.shade-box p { font-size: 18px; font-weight: 500; color: var(--ink-70); margin-bottom: 16px; }
.shade-box p:last-child { margin-bottom: 0; }
.shade-quote {
  font-size: 20px !important; font-weight: 800 !important; color: var(--ink) !important;
  padding: 16px 22px; border-left: 5px solid var(--green); background: rgba(255,255,255,.6);
  border-radius: 0 12px 12px 0; margin: 20px 0 !important;
}
/* 인사말 서명 */
.sign { margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--line); text-align: right; font-size: 18px; font-weight: 600; color: var(--ink-70); }
.sign b { font-size: 23px; font-weight: 900; margin-left: 8px; color: var(--ink); }

/* 정보 박스 */
.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
.info-card {
  background: #fff; border: 1px solid var(--line); border-radius: 22px;
  padding: 40px 34px; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s;
}
.info-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.info-card .ico {
  width: 70px; height: 70px; border-radius: 20px; display: grid; place-items: center;
  font-size: 36px; margin-bottom: 20px; background: var(--green-soft);
}
.info-card:nth-child(2) .ico { background: var(--blue-soft); }
.info-card:nth-child(3) .ico { background: var(--coral-soft); }
.info-card h3 { font-size: 24px; font-weight: 900; margin-bottom: 10px; }
.info-card p { color: var(--ink-70); font-size: 17px; font-weight: 500; }

/* ------------------------------------------------------------
   연혁 타임라인
   ------------------------------------------------------------ */
/* 연혁 박스 — 카드 안에 넣고 내부 스크롤(길게 안 내려가게) */
.timeline-box {
  max-width: none; margin: 0 auto 10px; background: #fff;
  border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-lg);
  padding: 40px clamp(20px, 4vw, 54px);
  max-height: 560px; overflow-y: auto; overflow-x: hidden;
  scrollbar-width: thin; scrollbar-color: var(--green) #eef2f6;
}
.timeline-box::-webkit-scrollbar { width: 12px; }
.timeline-box::-webkit-scrollbar-track { background: #eef2f6; border-radius: 10px; }
.timeline-box::-webkit-scrollbar-thumb { background: var(--green); border-radius: 10px; border: 3px solid #eef2f6; }
.timeline-box::-webkit-scrollbar-thumb:hover { background: var(--green-deep); }
/* 스크롤 박스 안에서는 항목·세로선이 항상 보이도록(스크롤 리빌 숨김 방지) */
.timeline-box .tl-item { opacity: 1 !important; transform: none !important; }
.timeline-box .timeline::before { transform: translateX(-50%) scaleY(1) !important; }
.timeline { position: relative; max-width: 640px; margin: 0 auto; padding-left: 0; }
.timeline::before {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(var(--green), var(--blue)); border-radius: 2px;
  transform: translateX(-50%);
}
.tl-item { position: relative; width: 50%; padding: 0 44px 46px; }
.tl-item:nth-child(odd) { left: 0; text-align: right; }
.tl-item:nth-child(even) { left: 50%; text-align: left; }
.tl-item::before {
  content: ""; position: absolute; top: 6px; width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 4px solid var(--green); z-index: 1;
}
.tl-item:nth-child(odd)::before { right: -10px; }
.tl-item:nth-child(even)::before { left: -10px; }
.tl-item .year {
  display: inline-block; font-weight: 900; font-size: 20px; color: var(--green-deep);
  margin-bottom: 6px;
}
.tl-item .desc {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 20px; box-shadow: var(--shadow); font-size: 15.5px; font-weight: 600;
  display: inline-block;
}

/* ------------------------------------------------------------
   프로그램 상세 카드 (사업안내)
   ------------------------------------------------------------ */
.prog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.prog-card {
  display: flex; gap: 22px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
  transition: transform .25s, border-color .25s;
}
.prog-card:hover { transform: translateY(-5px); border-color: var(--green); }
.prog-card .no {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 15px;
  display: grid; place-items: center; font-weight: 900; font-size: 20px; color: #fff;
  background: linear-gradient(135deg, var(--green), var(--blue));
}
.prog-card h3 { font-size: 19px; font-weight: 800; margin-bottom: 6px; }
.prog-card p { color: var(--ink-50); font-size: 15px; }
.prog-card .chips { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.prog-card .chips span {
  font-size: 12.5px; font-weight: 700; padding: 4px 11px; border-radius: 999px;
  background: var(--bg-soft); color: var(--ink-70); border: 1px solid var(--line);
}

/* ------------------------------------------------------------
   게시판
   ------------------------------------------------------------ */
/* 게시판/목록 카드 프레임 */
.content-card {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow); padding: clamp(16px, 3vw, 34px); overflow: hidden;
}
.content-card .board-list { border-top: 0; }
.content-card .board-list li:first-child a { padding-top: 6px; }

.search-note {
  margin-bottom: 18px; padding: 14px 20px; border-radius: 12px;
  background: var(--green-soft); color: var(--green-deep); font-weight: 700; font-size: 15.5px;
}
.search-note a { color: var(--blue-deep); text-decoration: underline; }
.board-list { border-top: 2px solid var(--ink); }
.board-list li { border-bottom: 1px solid var(--line); }
.board-list a { display: flex; align-items: center; gap: 18px; padding: 20px 10px; transition: background .15s; }
.board-list a:hover { background: var(--bg-soft); }
.board-list .no { flex-shrink: 0; width: 44px; text-align: center; color: var(--ink-50); font-weight: 700; font-size: 14px; }
.board-list .t { flex: 1; font-weight: 600; font-size: 16.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board-list .t .clip { margin-left: 6px; font-size: 13px; }
.board-list .d { flex-shrink: 0; color: var(--ink-50); font-size: 14.5px; font-variant-numeric: tabular-nums; }

/* 갤러리(앨범) 그리드 */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gal-card {
  border-radius: var(--radius); overflow: hidden; background: #fff;
  box-shadow: var(--shadow); transition: transform .3s;
}
.gal-card:hover { transform: translateY(-8px); }
.gal-card .thumb { aspect-ratio: 3/2; overflow: hidden; background: var(--bg-soft); }
.gal-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.gal-card:hover .thumb img { transform: scale(1.08); }
.gal-card .body { padding: 18px 20px 22px; }
.gal-card h3 { font-size: 16.5px; font-weight: 700; line-height: 1.45; max-height: 3em; overflow: hidden; }
.gal-card .d { margin-top: 8px; color: var(--ink-50); font-size: 13.5px; }

/* 게시글 뷰 */
.post-view { max-width: 900px; margin: 0 auto; }
.post-view .post-head { border-bottom: 2px solid var(--ink); padding-bottom: 22px; margin-bottom: 34px; }
.post-view h1 { font-size: clamp(22px, 3.4vw, 32px); font-weight: 800; line-height: 1.4; }
.post-view .meta { margin-top: 12px; color: var(--ink-50); font-size: 14.5px; display: flex; gap: 18px; }
.post-body { font-size: 16.5px; color: var(--ink-70); overflow-wrap: break-word; }
.post-body img { margin: 18px auto; border-radius: 12px; }
.post-body p { margin-bottom: 14px; }
.post-files {
  margin-top: 44px; background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 14px; padding: 20px 24px;
}
.post-files h4 { font-size: 15px; font-weight: 800; margin-bottom: 12px; }
.post-files li { margin-bottom: 8px; }
.post-files a { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--blue-deep); }
.post-files a:hover { text-decoration: underline; }
.post-nav { margin-top: 40px; display: flex; justify-content: space-between; gap: 12px; }
.btn-list {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 30px;
  border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-size: 15px;
  transition: background .2s;
}
.btn-list:hover { background: var(--green-deep); }

/* ------------------------------------------------------------
   후원 페이지
   ------------------------------------------------------------ */
.donate-kinds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 60px; }
.donate-kind {
  text-align: center; padding: 42px 26px; border-radius: 22px;
  background: #fff; border: 1.6px solid rgba(15,23,42,.14); transition: all .25s;
  box-shadow: 0 14px 30px rgba(17,24,39,.16), 0 3px 8px rgba(17,24,39,.10);
}
.donate-kind:hover { border-color: var(--coral); transform: translateY(-6px); box-shadow: 0 24px 48px rgba(17,24,39,.26); }
.donate-kind .emoji { font-size: 44px; }
.donate-kind h3 { margin: 14px 0 8px; font-size: 21px; font-weight: 800; }
.donate-kind p { color: var(--ink-50); font-size: 15px; }
.account-box {
  background: linear-gradient(120deg, var(--green-deep), var(--blue-deep));
  border-radius: 24px; color: #fff; padding: 46px 8%; text-align: center;
}
.account-box h3 { font-size: 22px; font-weight: 800; margin-bottom: 18px; }
.account-box .acct {
  display: inline-block; margin: 6px 10px; padding: 14px 28px; border-radius: 14px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3);
  font-size: clamp(17px, 2.6vw, 22px); font-weight: 800; letter-spacing: .5px;
}
.account-box .note { margin-top: 18px; font-size: 15px; opacity: .92; }
.donate-info-table { width: 100%; border-collapse: collapse; margin-top: 50px; border-top: 2px solid var(--ink); }
.donate-info-table th, .donate-info-table td { padding: 18px 16px; border-bottom: 1px solid var(--line); text-align: left; font-size: 15.5px; }
.donate-info-table th { width: 180px; background: var(--bg-soft); font-weight: 800; }

/* ------------------------------------------------------------
   오시는 길
   ------------------------------------------------------------ */
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.map-wrap iframe { width: 100%; height: 880px; border: 0; display: block; }
/* 지도 아래 길찾기 버튼 */
.map-btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 22px; }
.map-nav-btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 15px 30px; border-radius: 14px; font-weight: 800; font-size: 18px;
  border: 1.6px solid transparent; transition: transform .18s cubic-bezier(.2,.7,.3,1), box-shadow .2s, background .2s;
}
.map-nav-btn .mnb-ico { font-size: 21px; }
.map-nav-btn.kakao { background: #FEE500; color: #191600; box-shadow: 0 10px 24px rgba(254,229,0,.45); }
.map-nav-btn.kakao:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(254,229,0,.55); }
.map-nav-btn.kmap { background: #fff; color: var(--ink); border-color: rgba(15,23,42,.16); box-shadow: 0 10px 22px rgba(17,24,39,.14); }
.map-nav-btn.kmap:hover { transform: translateY(-3px); border-color: var(--green); box-shadow: 0 16px 30px rgba(17,24,39,.20); }
.addr-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }

/* ============================================================
   반응형 — 태블릿 (768~1023)
   ============================================================ */
@media (max-width: 1023px) {
  .hsearch { display: none; } /* 태블릿: 4색 메뉴+로고 공간 확보 위해 검색 숨김 */
  .logo img { height: 62px !important; }
  .gnb > ul { gap: 8px; }
  .gnb > ul > li > a { height: 52px; padding: 0 13px; font-size: 16px; gap: 6px; }
  .gnb > ul > li > a .mi { font-size: 20px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }
  .stat { padding: 30px 12px; }
  .notice-flex { grid-template-columns: 1fr; }
  .prog-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .info-cards, .donate-kinds, .addr-cards { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 44px 0; }
}

/* ============================================================
   반응형 — 모바일 (~767)
   ============================================================ */
@media (max-width: 767px) {
  :root { --header-h: 60px; }
  body { font-size: 16.5px; }
  .logo img { height: 36px; }

  /* 모바일: 유틸바·검색 숨기고 단일 바 */
  .topbar { display: none; }
  .hsearch { display: none; }
  .mainbar-inner { height: 60px; width: 92%; }
  .nav-toggle { display: block; margin-left: auto; }
  .gnb {
    position: fixed; inset: 0; z-index: 1100; margin: 0;
    background: #fff; padding: calc(var(--header-h) + 20px) 8% 40px;
    transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.7,.3,1);
    overflow-y: auto;
  }
  body.nav-open .gnb { transform: none; }
  .gnb { display: block; }
  .gnb > ul { flex-direction: column; gap: 12px; align-items: stretch; width: 100%; }
  .gnb > ul > li { border-bottom: 0; height: auto; width: 100%; display: block; }
  .gnb > ul > li > a { height: 62px; width: 100%; padding: 0 20px; font-size: 20px; font-weight: 800; border-radius: 16px; }
  .gnb > ul > li > a .mi { font-size: 26px; }
  .gnb .depth2 {
    position: static; transform: none; opacity: 1; visibility: visible;
    box-shadow: none; padding: 0 0 14px 14px; min-width: 0; display: none;
  }
  .gnb > ul > li.open .depth2 { display: block; }
  .gnb .depth2 a { font-size: 16px; padding: 9px 10px; }
  .gnb .m-donate {
    margin-top: 26px; display: flex; justify-content: center; padding: 15px;
    border-radius: 999px; background: linear-gradient(135deg, var(--coral), var(--coral-deep));
    color: #fff; font-weight: 800; font-size: 17px;
  }

  .hero { min-height: 90svh; }
  .hero-content { padding: 0 0 96px; }
  .hero-cta { margin-top: 26px; }
  .btn-hero { padding: 14px 24px; font-size: 16px; }
  .marquee span { margin: 0 16px; font-size: 14px; }
  .scroll-hint { display: none; }
  .blob.b3, .blob.b4 { display: none; }

  .stats-band { margin-top: 30px; }
  .stats-grid { grid-template-columns: 1fr 1fr; border-radius: 18px; }
  .stat { padding: 24px 8px; }
  .stat + .stat::before { display: none; }

  .section { padding: 38px 0; }
  .sec-head { margin-bottom: 26px; }
  .card-grid { grid-template-columns: 1fr; gap: 18px; }
  .album-strip { grid-auto-columns: 78%; }
  .support-band { padding: 52px 7%; border-radius: 20px; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }

  .sub-tabs a { padding: 14px 14px; font-size: 14.5px; }
  .sub-content { padding: 48px 0 70px; }
  .info-cards, .donate-kinds, .addr-cards { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; gap: 18px; }
  .prog-card { flex-direction: column; gap: 14px; }

  /* 타임라인: 한 줄 세로 */
  .timeline::before { left: 10px; }
  .tl-item, .tl-item:nth-child(odd), .tl-item:nth-child(even) {
    width: 100%; left: 0; text-align: left; padding: 0 0 34px 38px;
  }
  .tl-item:nth-child(odd)::before, .tl-item:nth-child(even)::before { left: 2px; right: auto; }

  .board-list .no { display: none; }
  .board-list a { gap: 10px; padding: 16px 6px; }
  .board-list .t { font-size: 15.5px; }
  .map-wrap iframe { height: 560px; }
  .to-top { right: 14px; bottom: 14px; width: 44px; height: 44px; }
}

/* ============================================================
   다이나믹 강화 팩 — 청소년 사이트답게 역동적으로
   ============================================================ */

/* 상단 무지개 스크롤 진행바 */
.progress-bar {
  position: fixed; top: 0; left: 0; z-index: 1300; height: 4px; width: 0;
  background: linear-gradient(90deg, var(--green), var(--blue), var(--coral), var(--yellow));
  background-size: 300% 100%;
  animation: rainbowShift 6s linear infinite;
  border-radius: 0 3px 3px 0;
}
@keyframes rainbowShift { to { background-position: 300% 0; } }

/* 히어로 단어 통통 등장 (JS가 .word 스팬으로 분해) */
.hero-title .word {
  display: inline-block; opacity: 0;
  transform: translateY(46px) scale(.7) rotate(4deg);
  animation: wordPop .75s cubic-bezier(.18, 1.6, .4, 1) forwards;
  animation-delay: calc(.25s + var(--i, 0) * .12s);
}
@keyframes wordPop { to { opacity: 1; transform: none; } }

/* 회전 단어 (꿈→배움→성장…) */
.rotator {
  display: inline-block; min-width: 2.2em; text-align: center;
  padding: 1px 14px; margin: 0 2px; border-radius: 12px;
  background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.42);
  font-weight: 900; color: #ffe28a;
  transition: transform .28s cubic-bezier(.2,.7,.3,1.4), opacity .28s;
}
.rotator.swap { transform: translateY(-16px) scale(.8); opacity: 0; }

/* 이중 마퀴 (위아래 반대 방향) */
.marquee { padding: 8px 0; }
.marquee-track { display: block; line-height: 1.9; }
.marquee-track.rev { animation: marqueeRev 30s linear infinite; }
.marquee-track.rev span { opacity: .75; font-size: 13.5px; }
.marquee-track.rev span i { color: #7dd8ff; }
@keyframes marqueeRev { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* 통계 이모지 바운스 */
.stat .s-emoji { font-size: 34px; animation: emojiBounce 2.6s ease-in-out infinite; }
.stat:nth-child(2) .s-emoji { animation-delay: .4s; }
.stat:nth-child(3) .s-emoji { animation-delay: .8s; }
.stat:nth-child(4) .s-emoji { animation-delay: 1.2s; }
@keyframes emojiBounce {
  0%, 100% { transform: translateY(0); }
  18% { transform: translateY(-9px) scale(1.12); }
  36% { transform: translateY(0); }
}

/* 섹션 사이 물결 그래픽 */
.wave-divider { line-height: 0; margin-bottom: -1px; position: relative; }
.wave-divider svg { width: 100%; height: 40px; display: block; }
.wave-divider .w1 { opacity: .45; }
.wave-divider.to-tint path { fill: var(--bg-soft); }
.wave-divider.to-white { background: var(--bg-soft); }
.wave-divider.to-white path { fill: #fff; }
.wave-divider svg { animation: waveBob 7s ease-in-out infinite; }
@keyframes waveBob { 0%, 100% { transform: translateY(0) scaleY(1); } 50% { transform: translateY(4px) scaleY(1.12); } }

/* 후원 배너 떠오르는 이모지 */
.float-emoji {
  position: absolute; bottom: -46px; font-size: 26px; opacity: 0; z-index: 0;
  animation: emojiRise 7s linear infinite;
}
@keyframes emojiRise {
  0% { transform: translateY(0) rotate(0); opacity: 0; }
  12% { opacity: .85; }
  88% { opacity: .85; }
  100% { transform: translateY(-330px) rotate(24deg); opacity: 0; }
}

/* CTA 버튼 반짝임 스윕 */
/* 히어로/밴드 공용 버튼 (복구) */
.btn-hero {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 32px; border-radius: 999px; font-weight: 800; font-size: 18px;
  transition: transform .2s, box-shadow .2s;
}
.btn-hero.primary { background: #fff; color: var(--green-deep); box-shadow: 0 8px 24px rgba(0,0,0,.22); }
.btn-hero.ghost { border: 2px solid rgba(255,255,255,.75); color: #fff; }
.btn-hero.ghost.dark { border-color: var(--line); color: var(--ink-70); background: #fff; }
.btn-hero:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,.28); }

.btn-hero.shine { position: relative; overflow: hidden; }
.btn-hero.shine::after {
  content: ""; position: absolute; top: -40%; bottom: -40%; width: 36px;
  left: -60px; transform: rotate(20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.85), transparent);
  animation: shineSweep 3.2s ease-in-out infinite;
}
@keyframes shineSweep { 0%, 55% { left: -60px; } 85%, 100% { left: 120%; } }

/* 후원하기 버튼 심장박동 링 */
.btn-donate { position: relative; }
.btn-donate::before {
  content: ""; position: absolute; inset: -3px; border-radius: 999px;
  border: 2px solid var(--coral); opacity: 0;
  animation: pulseRing 2.4s ease-out infinite;
}
@keyframes pulseRing {
  0% { transform: scale(.9); opacity: .8; }
  70%, 100% { transform: scale(1.28); opacity: 0; }
}

/* 카드 3D 틸트 (JS가 --rx/--ry 세팅) */
.biz-card {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px));
  will-change: transform;
}
.biz-card:hover { --lift: -10px; }

/* 갤러리 카드 살짝 기울어진 등장 */
.gal-card.reveal { transform: translateY(36px) rotate(1.6deg) scale(.94); }
.gal-card.reveal:nth-child(even) { transform: translateY(36px) rotate(-1.6deg) scale(.94); }
.gal-card.reveal.in { transform: none; }

/* 타임라인: 선이 그려지고 항목이 팝 */
.timeline::before { transform: translateX(-50%) scaleY(0); transform-origin: top; transition: transform 1.6s cubic-bezier(.2,.7,.3,1); }
.timeline.draw::before { transform: translateX(-50%) scaleY(1); }
.tl-item.reveal { transform: translateY(30px) scale(.82); }
.tl-item.reveal.in { transform: none; }
.tl-item::before { transition: transform .4s cubic-bezier(.2,.7,.3,1.6) .2s; }
.tl-item.reveal:not(.in)::before { transform: scale(0); }

/* 서브히어로 장식 별 (얇은 띠라 물결·하단여백 제거) */
.sub-hero .deco.d3 { display: none; }
.deco-star {
  position: absolute; color: rgba(255,255,255,.75); font-size: 22px;
  animation: starTwinkle 3s ease-in-out infinite;
}
.deco-star.s1 { top: 24%; left: 14%; }
.deco-star.s2 { top: 18%; right: 20%; font-size: 16px; animation-delay: 1s; }
.deco-star.s3 { bottom: 34%; right: 9%; animation-delay: 2s; }
@keyframes starTwinkle {
  0%, 100% { opacity: .4; transform: scale(.85) rotate(0); }
  50% { opacity: 1; transform: scale(1.25) rotate(18deg); }
}
.sub-hero .pop-in {
  animation: popIn .7s cubic-bezier(.18, 1.5, .4, 1) both;
}
@keyframes popIn { from { opacity: 0; transform: translateY(30px) scale(.85); } to { opacity: 1; transform: none; } }
.sub-wave { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; z-index: 2; }
.sub-wave svg { width: 100%; height: 28px; display: block; }

/* 히어로 블롭: 부유 애니 + 마우스 패럴랙스(--px/--py를 JS가 세팅) 동시 적용 */
.blob { will-change: transform; }
@keyframes float {
  0%, 100% { transform: translate(var(--px, 0px), var(--py, 0px)) scale(1); }
  50% { transform: translate(var(--px, 0px), calc(var(--py, 0px) - 34px)) scale(1.08); }
}

@media (max-width: 767px) {
  .marquee-track.rev { display: none; }
  .wave-divider svg { height: 36px; }
  .sub-hero, .holo-vhero { width: 92%; aspect-ratio: 16 / 10; margin-top: calc(var(--header-h) + 14px); border-radius: 18px; }
  .float-emoji { font-size: 20px; }
}

/* ============================================================
   3D 홀로그램 교육영상 — 다크 네온 테마
   ============================================================ */
.holo-badge {
  display: inline-block; padding: 7px 18px; border-radius: 999px;
  font-size: 13.5px; font-weight: 900; letter-spacing: 1px;
  color: #7dd8ff; background: rgba(56, 189, 248, .12);
  border: 1px solid rgba(56, 189, 248, .45);
  text-shadow: 0 0 12px rgba(56, 189, 248, .6);
  animation: holoBlink 2.6s ease-in-out infinite;
}
@keyframes holoBlink { 0%, 100% { box-shadow: 0 0 6px rgba(56,189,248,.25); } 50% { box-shadow: 0 0 20px rgba(56,189,248,.6); } }

/* 메인 페이지 홀로그램 밴드 */
.holo-band {
  background: radial-gradient(120% 140% at 20% 0%, #16283e 0%, #0b1526 55%, #060c18 100%);
  color: #fff; padding: 52px 0; position: relative; overflow: hidden;
}
.holo-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(125, 216, 255, .035) 3px 4px);
}
.holo-band-inner { display: grid; grid-template-columns: 1fr 2.1fr; gap: 40px; align-items: center; }
.holo-band-text h2 {
  margin: 18px 0 16px; font-size: clamp(30px, 4.4vw, 48px); font-weight: 900; line-height: 1.22;
  background: linear-gradient(105deg, #fff 30%, #7dd8ff 70%, #b28bff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.holo-band-text p { color: #b9cbe2; font-size: 16.5px; margin-bottom: 28px; }
.holo-band-text .btn-hero.primary { color: #0b1526; }
.holo-band-videos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.holo-band-videos a {
  border-radius: 16px; overflow: hidden; position: relative;
  border: 1px solid rgba(125, 216, 255, .25);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .5), 0 0 22px rgba(56, 189, 248, .12);
  transition: transform .3s, box-shadow .3s;
}
.holo-band-videos a:hover { transform: translateY(-6px) scale(1.03); box-shadow: 0 14px 36px rgba(0,0,0,.6), 0 0 34px rgba(56,189,248,.35); }
.holo-band-videos img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.holo-band-videos a:nth-child(2), .holo-band-videos a:nth-child(4) { transform: translateY(18px); }
.holo-band-videos a:nth-child(2):hover, .holo-band-videos a:nth-child(4):hover { transform: translateY(12px) scale(1.03); }

/* 홀로그램 페이지 본문 */
.holo-zone {
  background: radial-gradient(130% 120% at 50% 0%, #14243a 0%, #0b1526 50%, #070d19 100%);
  color: #fff; padding: 80px 0 100px; position: relative; overflow: hidden;
}
.holo-zone::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(125, 216, 255, .03) 3px 4px);
}
.holo-head { text-align: center; margin-bottom: 46px; position: relative; }
.holo-head h2 { margin: 18px 0 14px; font-size: clamp(24px, 3.6vw, 38px); font-weight: 900; }
.holo-head p { color: #b9cbe2; font-size: 16px; }

.holo-player-wrap {
  position: relative; display: grid; grid-template-columns: minmax(0, 560px) 1fr;
  gap: 36px; align-items: center; max-width: 1000px; margin: 0 auto 40px;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(125, 216, 255, .22);
  border-radius: 24px; padding: 30px;
}
.holo-glow {
  position: absolute; inset: -40px; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 60% at 30% 50%, rgba(56, 189, 248, .18), transparent 70%);
  filter: blur(10px);
}
#holoPlayer {
  width: 100%; aspect-ratio: 1; border-radius: 16px; background: #000;
  box-shadow: 0 10px 44px rgba(0, 0, 0, .6), 0 0 30px rgba(56, 189, 248, .2);
}
.holo-info .np { font-size: 12px; font-weight: 900; letter-spacing: 2.5px; color: #7dd8ff; margin-bottom: 10px; }
.holo-info h3 { font-size: clamp(22px, 2.8vw, 30px); font-weight: 900; margin-bottom: 12px; }
.holo-info p { color: #b9cbe2; font-size: 16px; }

.holo-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 34px; }
.holo-chip {
  padding: 10px 22px; border-radius: 999px; font-weight: 800; font-size: 14.5px;
  color: #b9cbe2; background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .16); transition: all .2s;
}
.holo-chip:hover { color: #fff; border-color: rgba(125, 216, 255, .5); }
.holo-chip.on {
  color: #0b1526; background: linear-gradient(105deg, #7dd8ff, #38bdf8);
  border-color: transparent; box-shadow: 0 4px 18px rgba(56, 189, 248, .4);
}

.holo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.holo-item {
  text-align: left; border-radius: 16px; overflow: hidden; padding: 0 0 16px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12);
  color: #fff; transition: transform .25s, border-color .25s, box-shadow .25s;
}
.holo-item:hover, .holo-item.playing {
  transform: translateY(-6px); border-color: rgba(125, 216, 255, .55);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .5), 0 0 24px rgba(56, 189, 248, .22);
}
.holo-item .thumb { position: relative; display: block; }
.holo-item .thumb img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.holo-item .play {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 34px; color: #fff; background: rgba(7, 13, 25, .35);
  opacity: 0; transition: opacity .2s; text-shadow: 0 0 18px rgba(56, 189, 248, .9);
}
.holo-item:hover .play { opacity: 1; }
.holo-item.playing .play { opacity: 1; }
.holo-item .h-cat {
  display: inline-block; margin: 12px 14px 4px; font-size: 11.5px; font-weight: 800;
  color: #7dd8ff; letter-spacing: .5px;
}
.holo-item .h-title { display: block; margin: 0 14px; font-weight: 700; font-size: 15px; }
.holo-note { margin-top: 36px; text-align: center; color: #8fa3bd; font-size: 14px; }

/* 교육 페이지의 홀로그램 카드 강조 */
.prog-card.prog-holo {
  background: linear-gradient(120deg, #14243a, #0b1526);
  border-color: rgba(125, 216, 255, .4); color: #fff;
}
.prog-card.prog-holo h3 { color: #7dd8ff; }
.prog-card.prog-holo p { color: #b9cbe2; }
.prog-card.prog-holo .chips span { background: rgba(125, 216, 255, .1); color: #7dd8ff; border-color: rgba(125, 216, 255, .3); }
.prog-card.prog-holo .no { background: linear-gradient(135deg, #38bdf8, #6366f1); }
.holo-link {
  display: inline-block; margin-top: 14px; font-weight: 800; font-size: 14.5px;
  color: #7dd8ff; border-bottom: 1px dashed rgba(125, 216, 255, .5); padding-bottom: 2px;
}
.holo-link:hover { color: #fff; border-color: #fff; }

@media (max-width: 1023px) {
  .holo-grid { grid-template-columns: repeat(3, 1fr); }
  .holo-player-wrap { grid-template-columns: 1fr; gap: 22px; }
  .holo-band-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 767px) {
  .holo-band { padding: 36px 0; }
  .holo-zone { padding: 40px 0 54px; }
  .holo-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .holo-player-wrap { padding: 18px; }
  .holo-band-videos { gap: 12px; }
}

/* ============================================================
   일러스트 스티커 · 팝업 · 신청폼 (경기공유서비스 st)
   ============================================================ */

/* 히어로 스티커 — 흰 테두리 원형 배지가 씰룩씰룩 */
.sticker {
  position: absolute; z-index: 2; font-size: 30px;
  width: 64px; height: 64px; display: grid; place-items: center;
  background: #fff; border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
  animation: stickerWiggle 3.4s ease-in-out infinite;
}
.sticker.st1 { top: 17%; left: 12%; rotate: -8deg; }
.sticker.st2 { top: 58%; left: 7%; rotate: 6deg; animation-delay: -.8s; }
.sticker.st3 { top: 20%; right: 13%; rotate: 10deg; animation-delay: -1.6s; }
.sticker.st4 { top: 62%; right: 8%; rotate: -6deg; animation-delay: -2.4s; }
.sticker.st5 { top: 40%; right: 22%; rotate: 4deg; animation-delay: -3s; width: 52px; height: 52px; font-size: 24px; }
@keyframes stickerWiggle {
  0%, 100% { transform: translateY(0) rotate(-4deg) scale(1); }
  25% { transform: translateY(-10px) rotate(4deg) scale(1.06); }
  50% { transform: translateY(0) rotate(-2deg) scale(1); }
  75% { transform: translateY(-6px) rotate(5deg) scale(1.04); }
}
.doodle {
  position: absolute; z-index: 2; color: var(--yellow);
  font-size: 26px; font-weight: 900; text-shadow: 0 2px 8px rgba(0,0,0,.3);
  animation: starTwinkle 2.8s ease-in-out infinite;
}
.doodle.dd1 { top: 30%; left: 22%; }
.doodle.dd2 { bottom: 30%; left: 30%; color: #7dd8ff; animation-delay: -1s; }
.doodle.dd3 { top: 46%; right: 30%; color: var(--coral); animation-delay: -2s; font-size: 18px; }

/* 어두운 섹션 → 흰 섹션 물결 */
.wave-divider.from-dark { background: #060c18; }
.wave-divider.from-dark path { fill: #fff; }

/* GNB 드롭다운 항목 순차 슬라이드 */
.gnb .depth2 li { opacity: 0; transform: translateY(8px); transition: all .25s; }
.gnb > ul > li:hover .depth2 li { opacity: 1; transform: none; }
.gnb > ul > li:hover .depth2 li:nth-child(1) { transition-delay: .03s; }
.gnb > ul > li:hover .depth2 li:nth-child(2) { transition-delay: .08s; }
.gnb > ul > li:hover .depth2 li:nth-child(3) { transition-delay: .13s; }
.gnb > ul > li:hover .depth2 li:nth-child(4) { transition-delay: .18s; }
@media (max-width: 767px) {
  .gnb .depth2 li { opacity: 1; transform: none; }
}

/* 알림창 팝업 */
.site-popup {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(10, 16, 28, .55); backdrop-filter: blur(4px);
  display: grid; place-items: center; padding: 20px;
  animation: popupFade .3s ease;
}
@keyframes popupFade { from { opacity: 0; } }
.popup-box {
  position: relative; width: min(480px, 94vw); overflow: hidden;
  background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg);
  animation: popIn .45s cubic-bezier(.18, 1.4, .4, 1);
}
.popup-box img { width: 100%; display: block; }
.popup-box .popup-body { padding: 26px 26px 30px; }
.popup-box h3 { font-size: 21px; font-weight: 900; margin-bottom: 10px; }
.popup-box p { color: var(--ink-70); font-size: 15.5px; margin-bottom: 18px; }
.popup-close {
  position: absolute; top: 12px; right: 12px; width: 38px; height: 38px;
  border-radius: 50%; background: rgba(17, 24, 39, .55); color: #fff;
  font-size: 16px; font-weight: 700; backdrop-filter: blur(4px);
}
.popup-close:hover { background: var(--coral); }

/* 후원·영수증 신청 폼 */
.form-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 56px; }
.apply-card {
  background: #fff; border: 2px solid var(--line); border-radius: 22px;
  padding: 34px 30px; transition: border-color .25s, box-shadow .25s;
}
.apply-card:hover { border-color: var(--green); box-shadow: var(--shadow-lg); }
.apply-card:nth-child(2):hover { border-color: var(--coral); }
.apply-card h3 { font-size: 21px; font-weight: 900; margin-bottom: 6px; }
.apply-card > p { color: var(--ink-50); font-size: 14.5px; margin-bottom: 22px; }
.apply-form label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 14px; color: var(--ink-70); }
.apply-form input, .apply-form select, .apply-form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: 12px;
  font-family: inherit; font-size: 15px; color: var(--ink);
  transition: border-color .2s, box-shadow .2s; background: #fff;
}
.apply-form input:focus, .apply-form select:focus, .apply-form textarea:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(22, 179, 100, .15);
}
.apply-form .agree { display: flex; gap: 8px; align-items: flex-start; font-weight: 500; font-size: 13px; color: var(--ink-50); }
.apply-form .agree input { width: auto; margin-top: 2px; }
.btn-submit {
  width: 100%; padding: 15px; border-radius: 999px; margin-top: 6px;
  background: linear-gradient(135deg, var(--green), var(--green-deep));
  color: #fff; font-weight: 800; font-size: 16px;
  transition: transform .2s, box-shadow .2s;
}
.btn-submit.coral { background: linear-gradient(135deg, var(--coral), var(--coral-deep)); }
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(22, 179, 100, .35); }
.btn-submit.coral:hover { box-shadow: 0 8px 22px rgba(255, 90, 95, .4); }
.form-msg { margin-top: 12px; font-weight: 700; font-size: 14.5px; min-height: 1.4em; }
.form-msg.ok { color: var(--green-deep); }
.form-msg.err { color: var(--coral-deep); }
.form-note { margin-top: 26px; text-align: center; color: var(--ink-50); font-size: 14px; }

/* 후원 QR 밴드 (효성 CMS) */
.qr-band {
  display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center;
  margin-top: 30px; padding: 40px 5%;
  background: #fff; border: 2px dashed var(--coral); border-radius: 24px;
}
.qr-box { position: relative; text-align: center; }
.qr-box img {
  width: 360px; height: 360px; object-fit: contain; background: #fff;
  border-radius: 18px; padding: 16px;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  animation: qrPulse 3s ease-in-out infinite;
}
@keyframes qrPulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(17,24,39,.08); }
  50% { box-shadow: 0 10px 34px rgba(255,90,95,.35); }
}
.qr-scan {
  margin-top: 16px; font-weight: 800; font-size: 20px; color: var(--coral-deep);
}
.qr-text h3 { font-size: clamp(23px, 2.8vw, 29px); font-weight: 900; margin-bottom: 12px; color: #000; }
.qr-text p { color: #222; font-size: 18px; margin-bottom: 20px; }
.qr-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.qr-btns .btn-hero { font-size: 15px; padding: 13px 26px; }
.qr-btns .btn-hero.primary { background: linear-gradient(135deg, var(--coral), var(--coral-deep)); color: #fff; box-shadow: 0 6px 18px rgba(255,90,95,.35); }
.qr-btns .btn-hero.ghost.dark { border-color: var(--ink-50); color: var(--ink-70); }
@media (max-width: 767px) {
  .qr-band { grid-template-columns: 1fr; text-align: center; gap: 22px; padding: 30px 6%; justify-items: center; }
  .qr-box img { width: 300px; height: 300px; }
  .qr-btns { justify-content: center; }
}

@media (max-width: 767px) {
  .sticker { width: 46px; height: 46px; font-size: 21px; }
  .sticker.st3, .sticker.st5 { display: none; }
  .doodle { display: none; }
  .form-duo { grid-template-columns: 1fr; }
}

/* ============================================================
   영상 슬라이더 박스 (홀로그램 밴드 안, 16:9)
   ============================================================ */
.holo-slider { width: 100%; }
.vslide-box {
  position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: 20px; background: #05080f;
  border: 1px solid rgba(125,216,255,.25);
  box-shadow: 0 20px 50px rgba(0,0,0,.5), 0 0 30px rgba(56,189,248,.15);
}
.vslide-track {
  position: absolute; inset: 0; display: flex; height: 100%; will-change: transform;
  transition: transform .6s cubic-bezier(.55, 0, .1, 1);
}
.vslide { position: relative; flex: 0 0 100%; height: 100%; overflow: hidden; }
/* 영상/포스터는 잘림 없이 꽉 차게(contain) + 뒤에 블러 배경으로 16:9 채움 */
.vslide .vslide-poster, .vslide video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; z-index: 1;
}
.vslide::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: inherit; background-size: cover; background-position: center;
  filter: blur(26px) brightness(.45); transform: scale(1.25);
}
/* 교육내용 투명 레이어(현재 영상 제목) */
.vslide-caption {
  position: absolute; z-index: 4; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; gap: 12px; padding: 26px 22px 18px;
  background: linear-gradient(0deg, rgba(5,8,15,.9), transparent);
  color: #fff;
}
.vslide-caption .vs-cat {
  font-weight: 800; font-size: 12px; color: #0b1526; background: #7dd8ff;
  padding: 4px 10px; border-radius: 999px; flex-shrink: 0;
}
.vslide-caption .vs-title { font-weight: 800; font-size: 17px; }
/* 화살표 */
.vslide-arrow {
  position: absolute; z-index: 5; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%; font-size: 26px; line-height: 1; color: #fff;
  background: rgba(5,8,15,.45); border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(6px); transition: background .2s, transform .2s;
}
.vslide-arrow:hover { background: rgba(56,189,248,.6); transform: translateY(-50%) scale(1.08); }
.vslide-arrow.prev { left: 12px; }
.vslide-arrow.next { right: 12px; }
/* 소리 토글 */
.vslide-sound {
  position: absolute; z-index: 5; top: 14px; right: 14px;
  width: 42px; height: 42px; border-radius: 50%; font-size: 18px;
  background: rgba(5,8,15,.5); border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(6px); transition: background .2s;
}
.vslide-sound:hover { background: rgba(56,189,248,.6); }
.vslide-sound[data-muted="0"] { background: rgba(56,189,248,.7); }
/* 카운터 */
.vslide-count {
  position: absolute; z-index: 5; top: 14px; left: 14px;
  padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; color: #cbd5e1;
  background: rgba(5,8,15,.5); border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(6px); font-variant-numeric: tabular-nums;
}
.vslide-count b { color: #fff; }

@media (max-width: 767px) {
  .vslide-arrow { width: 40px; height: 40px; font-size: 22px; }
  .vslide-caption .vs-title { font-size: 15px; }
}

/* ============================================================
   서브히어로 사진 배경
   ============================================================ */
.sub-hero-photo {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  transform: scale(1.06);
  animation: heroPhotoZoom 16s ease-in-out infinite alternate;
}
@keyframes heroPhotoZoom { to { transform: scale(1.14); } }
/* 사진 헤더는 중립 반투명 딤(색깔 곱하기 필터 제거) — 사진이 자연스럽게 보이고 제목만 또렷 */
.sub-hero.has-photo::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(15,23,20,.28) 0%, rgba(15,23,20,.5) 100%);
}
.sub-hero.has-photo .deco, .sub-hero.has-photo .deco-star { display: none; }
.sub-hero.has-photo h1 { text-shadow: 0 3px 18px rgba(0,0,0,.55); }
.sub-hero.has-photo h1, .sub-hero.has-photo .crumb,
.sub-hero.has-photo .deco, .sub-hero.has-photo .deco-star { position: relative; z-index: 2; }

/* ============================================================
   교육 프로그램 카드 — 사진형
   ============================================================ */
.prog-card { flex-direction: column; gap: 0; padding: 0; overflow: hidden; }
.prog-card .prog-thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.prog-card .prog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.prog-card:hover .prog-thumb img { transform: scale(1.07); }
.prog-card .prog-no {
  position: absolute; top: 14px; left: 14px; width: 42px; height: 42px;
  display: grid; place-items: center; border-radius: 12px;
  font-weight: 900; font-size: 17px; color: #fff;
  background: linear-gradient(135deg, var(--green), var(--blue));
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
}
.prog-card .prog-body { padding: 22px 24px 26px; }
.prog-card.prog-holo .prog-thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(11,21,38,.65));
}
.prog-card.prog-holo .prog-no { background: linear-gradient(135deg, #38bdf8, #6366f1); }

/* 돌봄 카드 — 사진형 */
.care-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.care-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s;
}
.care-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.care-card .care-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.care-card .care-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.care-card:hover .care-thumb img { transform: scale(1.07); }
.care-card .care-ico {
  position: absolute; bottom: -24px; left: 24px; width: 54px; height: 54px;
  display: grid; place-items: center; border-radius: 16px; font-size: 26px;
  background: #fff; box-shadow: var(--shadow);
}
.care-card .care-body { padding: 34px 26px 28px; }
.care-card .care-body h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.care-card .care-body p { color: var(--ink-50); font-size: 15px; }
@media (max-width: 767px) {
  .care-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   교육 실적 (연혁 페이지)
   ============================================================ */
.perf-band {
  margin-top: 70px; padding: 50px 6% 44px; border-radius: 26px;
  background: linear-gradient(135deg, var(--green-deep), var(--blue-deep)); color: #fff;
  position: relative; overflow: hidden;
}
.perf-band::after {
  content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background: rgba(255,255,255,.08); top: -120px; right: -80px;
}
.perf-title { font-size: clamp(28px, 4vw, 42px); font-weight: 900; text-align: center; position: relative; color: #fff; }
.perf-title .hl { color: #ffe28a; }
.perf-sub { text-align: center; margin-top: 12px; color: #fff; font-size: clamp(17px, 2vw, 20px); font-weight: 600; }
.perf-nums { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; margin: 38px 0 32px; position: relative; }
.perf-num {
  min-width: 220px; text-align: center; padding: 30px 26px; border-radius: 20px;
  background: #fff; box-shadow: 0 12px 30px rgba(0,0,0,.2);
}
.perf-num b { display: block; font-size: clamp(38px, 5.2vw, 54px); font-weight: 900; line-height: 1; color: var(--green-deep); }
.perf-num:nth-child(2) b { color: var(--blue-deep); }
.perf-num:nth-child(3) b { color: var(--coral-deep); }
.perf-num span { display: block; margin-top: 12px; font-size: 18px; color: #000; font-weight: 800; }
.perf-table-wrap {
  overflow: auto; border-radius: 16px; position: relative;
  max-height: 440px;
  scrollbar-width: thin; scrollbar-color: var(--green) rgba(255,255,255,.25);
}
.perf-table-wrap::-webkit-scrollbar { width: 12px; height: 12px; }
.perf-table-wrap::-webkit-scrollbar-track { background: rgba(255,255,255,.18); border-radius: 10px; }
.perf-table-wrap::-webkit-scrollbar-thumb { background: var(--green); border-radius: 10px; border: 3px solid rgba(255,255,255,.25); }
.perf-table-wrap::-webkit-scrollbar-thumb:hover { background: var(--green-deep); }
.perf-table { width: 100%; border-collapse: collapse; background: rgba(255,255,255,.96); color: var(--ink); font-size: 14.5px; min-width: 520px; }
.perf-table th, .perf-table td { padding: 11px 14px; text-align: right; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.perf-table th:first-child, .perf-table td:first-child { text-align: left; font-weight: 700; }
.perf-table thead th { background: var(--bg-soft); font-weight: 800; position: sticky; top: 0; }
.perf-table td.strong { font-weight: 800; color: var(--green-deep); }
.perf-table .memo { font-size: 12px; color: var(--coral-deep); font-weight: 700; }
.perf-table tfoot td { background: var(--green-soft); font-weight: 900; border-top: 2px solid var(--green); position: sticky; bottom: 0; }
@media (max-width: 767px) {
  .perf-num { min-width: 44%; padding: 16px 10px; }
}

/* ============================================================
   퀵링크 카드 (경기공유서비스 스타일, 밝은 컬러)
   ============================================================ */
.quick-cards-wrap { position: relative; z-index: 5; margin-top: 40px; }
.quick-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.qcard {
  position: relative; display: flex; align-items: center; gap: 14px;
  padding: 24px 22px; border-radius: 20px; color: #fff; overflow: hidden;
  box-shadow: 0 14px 30px rgba(17,24,39,.14); isolation: isolate;
  transition: transform .25s cubic-bezier(.2,.7,.3,1), box-shadow .25s;
}
.qcard::after { /* 우상단 원 장식 */
  content: ""; position: absolute; z-index: -1; top: -30px; right: -30px;
  width: 90px; height: 90px; border-radius: 50%; background: rgba(255,255,255,.18);
}
.qcard:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(17,24,39,.22); }
.qcard.c-green { background: linear-gradient(135deg, #16b364, #0e9151); }
.qcard.c-blue  { background: linear-gradient(135deg, #2f8fe0, #2563eb); }
.qcard.c-navy  { background: linear-gradient(135deg, #38bdf8, #4f46e5); }
.qcard.c-sky   { background: linear-gradient(135deg, #22c1c3, #2f8fe0); }
.qcard.c-coral { background: linear-gradient(135deg, #ff7a6b, #ef4348); }
.qc-ico { font-size: 38px; line-height: 1; }
.qc-t { font-weight: 800; font-size: 20px; flex: 1; }
.qc-arrow {
  width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.25);
  display: grid; place-items: center; font-weight: 900; transition: transform .2s, background .2s;
}
.qcard:hover .qc-arrow { transform: translateX(4px); background: rgba(255,255,255,.4); }
@media (max-width: 1023px) {
  .quick-cards { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
  .quick-cards-wrap { margin-top: -28px; }
  .quick-cards { grid-template-columns: 1fr 1fr; gap: 12px; }
  .qcard { padding: 18px 16px; border-radius: 16px; }
  .qc-t { font-size: 15.5px; }
  .qc-ico { font-size: 24px; }
}

/* ============================================================
   캐릭터 일러스트 밴드 (메인) + 후원 히어로
   ============================================================ */
.char-band { padding: 20px 0 48px; background: #fff; }
.char-band-inner {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center;
}
.char-illust {
  width: 100%; border-radius: 22px; background: var(--green-soft);
}
.char-text h2 { font-size: clamp(24px, 3.4vw, 36px); font-weight: 900; line-height: 1.28; }
.char-text h2 .hl { color: var(--green-deep); }
.char-text p { margin: 16px 0 24px; color: var(--ink-50); font-size: 17px; }
@media (max-width: 767px) {
  .char-band-inner { grid-template-columns: 1fr; gap: 22px; text-align: center; }
}

/* 후원 히어로 (일러스트) — 카드 하나로 */
.donate-hero {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 34px; align-items: center;
  margin-bottom: 40px; background: #fff; border: 1.6px solid rgba(15,23,42,.14);
  border-radius: 24px; box-shadow: 0 22px 48px rgba(17,24,39,.20), 0 4px 10px rgba(17,24,39,.10); padding: 28px;
}
.donate-hero-img { width: 100%; border-radius: 18px; }
@media (max-width: 767px) {
  .donate-hero { grid-template-columns: 1fr; gap: 20px; text-align: center; }
  .donate-hero-text .lead { text-align: center !important; }
}

/* ============================================================
   조직도 — 카드 프레임 안, 깔끔한 계층 (--org-line 연결선)
   ============================================================ */
.org-card {
  max-width: none; margin: 0 auto; background: #fff;
  border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-lg);
  padding: 50px clamp(20px, 5vw, 56px); --org-line: #c3d0dd;
}
.org-tree { display: flex; flex-direction: column; align-items: center; }
.org-row { display: flex; align-items: center; justify-content: center; gap: 60px; }
.org-node {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 150px; padding: 16px 30px; border-radius: 14px;
  font-weight: 800; font-size: 19px; letter-spacing: 3px; color: #fff;
  box-shadow: 0 12px 24px rgba(17,24,39,.28);
}
.org-node.n-board { background: linear-gradient(135deg, #3ba7c4, #2f8fb0); }
.org-node.n-adv   { background: linear-gradient(135deg, #8fb84e, #7aa53e); }
.org-node.n-lead  { background: linear-gradient(135deg, var(--green), var(--green-deep)); }
/* 세로 연결선 */
.org-vline { width: 3px; height: 30px; background: var(--org-line); border-radius: 2px; }
/* 이사장 좌우로 고문·감사 잇는 점선 */
.org-lead-row { position: relative; }
.org-lead-row .n-adv { position: relative; }
.org-lead-row .n-adv:first-child::after,
.org-lead-row .n-adv:last-child::before {
  content: ""; position: absolute; top: 50%; width: 60px; height: 3px;
  background: repeating-linear-gradient(90deg, var(--org-line) 0 6px, transparent 6px 12px);
}
.org-lead-row .n-adv:first-child::after { left: 100%; }
.org-lead-row .n-adv:last-child::before { right: 100%; }
/* 부서: 상단 가로 브랜치(depts::before) + 각 부서 세로 드롭 */
.org-depts { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; width: 100%; margin-top: 0; padding-top: 42px; position: relative; }
.org-depts::before { /* 가로 연결선 (첫 부서 중심 ~ 마지막 부서 중심) */
  content: ""; position: absolute; top: 0; left: calc(100%/12); right: calc(100%/12); height: 3px; background: var(--org-line); border-radius: 2px;
}
.org-dept {
  position: relative; padding: 22px 8px; border-radius: 14px; text-align: center;
  background: #fff; border: 1px solid #e3ecf3;
  font-weight: 800; font-size: 17px; color: #000;
  box-shadow: 0 10px 22px rgba(17,24,39,.16); transition: transform .25s, border-color .25s, background .25s, box-shadow .25s;
}
.org-dept::before { /* 가로선 → 각 부서로 내려오는 세로 드롭 */
  content: ""; position: absolute; bottom: 100%; left: 50%; width: 3px; height: 42px; background: var(--org-line); transform: translateX(-50%);
}
.org-dept:hover { transform: translateY(-6px); border-color: var(--green); background: var(--green-soft); box-shadow: 0 16px 30px rgba(14,145,81,.28); }
@media (max-width: 767px) {
  .org-card { padding: 34px 18px; }
  .org-node { letter-spacing: 2px; min-width: 110px; padding: 13px 16px; font-size: 16px; }
  .org-row { gap: 20px; }
  .org-lead-row .n-adv:first-child::after, .org-lead-row .n-adv:last-child::before { width: 18px; }
  .org-depts { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .org-dept::before { display: none; }
  .org-branch { display: none; }
}

/* ============================================================
   글씨 크고 진하게 + 마우스 반응 (goodneighbors 스타일 동적 UI)
   ============================================================ */
body { font-weight: 450; }
p { font-weight: 500; }
.biz-card p, .care-card .care-body p, .prog-card p, .info-card p, .donate-kind p { font-size: 16.5px; }
.biz-card h3, .care-card .care-body h3, .info-card h3 { font-size: 22px; }
.notice-list .t { font-size: 17.5px; }
.board-list .t { font-size: 18px; }

/* 클릭(누를 때) 반응 — 거의 모든 인터랙티브 요소 */
a, button, .qcard, .biz-card, .care-card, .gal-card, .info-card,
.donate-kind, .prog-card, .album-item, .stat, .holo-item, .tl-item .desc {
  transition: transform .18s cubic-bezier(.2,.7,.3,1.2), box-shadow .2s, background .2s, color .2s, border-color .2s;
}
.btn-hero:active, .btn-list:active, .btn-donate:active, .btn-submit:active,
.qcard:active, .hsearch button:active, .vslide-arrow:active, .vslide-sound:active,
.to-top:active, .sub-tabs a:active, .holo-chip:active { transform: scale(.95); }
.biz-card:active, .care-card:active, .gal-card:active, .info-card:active,
.donate-kind:active, .prog-card:active, .holo-item:active { transform: translateY(-4px) scale(.99); }
/* 마우스 올렸을 때 살짝 밝아지는 공통 반응 */
.notice-list a:active, .board-list a:active, .footer-grid a:active { opacity: .6; }
/* 링크·아이콘 hover 생동감 */
.stat:hover .s-emoji { transform: scale(1.18) rotate(-6deg); }
.info-card:hover .ico, .donate-kind:hover .emoji, .care-card:hover .care-ico { transform: translateY(-4px) scale(1.12); }
.info-card .ico, .donate-kind .emoji, .care-card .care-ico { transition: transform .25s cubic-bezier(.2,.7,.3,1.5); }

/* ❤️ 하트 — 숨쉬듯 콩닥콩닥(heartbeat) */
@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  15% { transform: scale(1.22); }
  30% { transform: scale(1.04); }
  45% { transform: scale(1.16); }
  60% { transform: scale(1); }
}
.hb {
  display: inline-block; transform-origin: center;
  animation: heartbeat 1.9s ease-in-out infinite;
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) { .hb { animation: none; } }

/* ============================================================
   ★ 가시성 대폭 강화 — 크고 진한 글씨 (goodneighbors 기준)
   이 블록이 앞의 작은/흐린 글씨를 전부 덮어씀
   ============================================================ */
body { font-size: 19px; font-weight: 500; color: #0a0a0a; }
p, li, td, th, dd, dt, .prose, .prose p, .sub-content p { font-size: 19px; color: #111; font-weight: 500; }

/* 섹션 제목·설명 */
.sec-title { font-size: clamp(32px, 4.6vw, 52px) !important; color: #000; }
.sec-desc { font-size: clamp(18px, 2.1vw, 22px) !important; color: #111 !important; font-weight: 600 !important; }
.lead, .sub-content .lead { font-size: clamp(24px, 3vw, 34px) !important; color: #000; font-weight: 800; }

/* 카드류 — 제목 크게, 설명 진하게 (흰 바탕 = 새까맣게) */
.biz-card h3, .prog-card h3, .care-card .care-body h3, .info-card h3, .gal-card h3,
.donate-kind h3, .qc-t { font-size: 23px !important; font-weight: 800 !important; color: #000 !important; }
.biz-card p, .prog-card p, .care-card .care-body p, .info-card p, .donate-kind p,
.gal-card .d { font-size: 18px !important; color: #111 !important; font-weight: 500 !important; }
.gal-card h3 { font-size: 18.5px !important; color: #000 !important; }

/* 목록 글씨 — 게시판 전부 새까맣게 */
.notice-list .t, .board-list .t { font-size: 19px !important; color: #000 !important; font-weight: 700 !important; }
.notice-list .d, .board-list .d, .board-list .no { font-size: 16px !important; color: #111 !important; font-weight: 600 !important; }
.board-list .t .clip, .notice-list .t .clip { color: #111 !important; }
/* 게시글 본문 */
.post-view h1 { color: #000 !important; }
.post-view .meta, .post-view .meta span { color: #111 !important; font-size: 16px !important; }
.post-body, .post-body p, .post-body span, .post-body div, .post-body li { color: #111 !important; font-size: 18px !important; }
.post-files h4 { color: #000 !important; font-size: 17px !important; }
.post-files a { font-size: 17px !important; }
.gal-card .d { color: #111 !important; }

/* 메뉴·탭·부수 텍스트 */
@media (min-width: 1024px) { .gnb > ul > li > a { font-size: 19px !important; } }
.sub-tabs a { font-size: 18px !important; font-weight: 700 !important; }
.gnb .depth2 a { font-size: 17px !important; color: #000 !important; }
.crumb, .sub-hero .crumb { font-size: 17px !important; font-weight: 700 !important; }
.tag, .chips span, .prog-card .chips span { font-size: 14.5px !important; font-weight: 800 !important; }

/* ★ 신청폼 — 흰 바탕, 새까만 글씨, 크게 */
.apply-card h3 { font-size: 28px !important; color: #000 !important; }
.apply-card > p { font-size: 19.5px !important; color: #111 !important; font-weight: 500 !important; }
.apply-form label { font-size: 19px !important; font-weight: 800 !important; color: #000 !important; margin-bottom: 10px !important; }
.apply-form input, .apply-form select, .apply-form textarea { font-size: 19px !important; color: #000 !important; padding: 15px 16px !important; }
.apply-form input::placeholder, .apply-form textarea::placeholder { font-size: 18px !important; color: #6b7280 !important; }
.apply-form .agree { font-size: 17px !important; color: #222 !important; }
.btn-submit { font-size: 22px !important; padding: 19px !important; font-weight: 800 !important; }
.form-note { font-size: 17px !important; color: #222 !important; }

/* ★ 표 — 새까만 글씨, 크게 */
.donate-info-table th, .donate-info-table td { font-size: 18px !important; color: #000 !important; }
.donate-info-table th { font-weight: 800 !important; }
.perf-table th, .perf-table td { font-size: 16px !important; color: #000 !important; }
.account-box .acct { color: #fff !important; }

/* ★ 홀로그램 칩·슬라이더·그리드 (어두운 배경 = 밝고 진하게, 크게) */
.holo-chip { font-size: 17px !important; padding: 12px 24px !important; }
.holo-item .h-title { font-size: 16.5px !important; color: #fff !important; }
.holo-item .h-cat { font-size: 13.5px !important; color: #7dd8ff !important; }
.vslide-caption .vs-title { font-size: 18px !important; color: #fff !important; }
.vslide-caption .vs-cat { font-size: 13.5px !important; }
.holo-info h3, .holo-head h2 { font-size: 28px !important; color: #fff !important; }
.holo-info p, .holo-head p, .holo-note { font-size: 18px !important; color: #e3edf9 !important; }
/* 홀로그램 교육 카드(어두운) — 흐린 글씨 밝게+크게 */
.prog-card.prog-holo h3 { color: #8fe0ff !important; }
.prog-card.prog-holo p { color: #eaf3ff !important; font-size: 18px !important; }
.prog-card.prog-holo .chips span { color: #d5f0ff !important; }
.holo-link { font-size: 17px !important; }

/* 히어로 글씨 */
.hslide-label { font-size: 19px !important; }
.hslide-title { font-size: clamp(36px, 4.8vw, 58px) !important; color: #0d0d0d !important; }
.hslide-sub { font-size: clamp(18px, 2vw, 22px) !important; color: #1a1a1a !important; font-weight: 600 !important; }

/* 어두운 배경 위 글씨는 밝고 진하게 (대비 확실히) */
.holo-band-text p, .holo-zone p, .support-band p, .perf-band p, .vslide-caption .vs-title { color: #eef4ff !important; font-weight: 600 !important; }
/* ★ 아이콘·버튼·검색 큼직하게 */
.topbar-inner { height: 44px !important; gap: 26px !important; }
.topbar-inner a { font-size: 17px !important; }
.hsearch { width: 236px !important; height: 54px !important; padding: 0 8px 0 20px !important; }
.hsearch input { font-size: 17px !important; }
.hsearch button { width: 40px !important; height: 40px !important; font-size: 19px !important; }
.btn-list { font-size: 19px !important; padding: 16px 36px !important; }
.btn-hero, .hi-btn, .hslide-btn, .btn-submit, .btn-donate, .qcard { font-size: 19px !important; }
.qc-ico { font-size: 44px !important; }
.qc-arrow { width: 36px !important; height: 36px !important; font-size: 18px !important; }
.stat .s-emoji { font-size: 34px !important; }
.info-card .ico { width: 76px !important; height: 76px !important; font-size: 40px !important; }
.donate-kind .emoji { font-size: 50px !important; }
.care-card .care-ico { width: 60px !important; height: 60px !important; font-size: 30px !important; }
.to-top { width: 56px !important; height: 56px !important; font-size: 24px !important; }
.vslide-arrow, .hcar-arrow { width: 56px !important; height: 56px !important; font-size: 30px !important; }
.sec-eyebrow, .holo-badge, .hslide-label { font-size: 16px !important; }

/* 하단(푸터) 큼직하게 */
.site-footer { padding: 70px 0 40px; }
.footer-info { font-size: 19px !important; color: #dbe2ea !important; line-height: 1.9; }
.footer-grid li { font-size: 19px !important; color: #e2e8f0 !important; margin-bottom: 12px; }
.footer-grid h4 { font-size: 21px !important; color: #fff !important; margin-bottom: 18px; }
.footer-grid .f-logo img { height: 52px; filter: none; }
.footer-bottom { font-size: 16px !important; color: #b6bfcc !important; }

/* 모션 최소화 선호 사용자 배려 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-title .word { opacity: 1; transform: none; animation: none; }
  .timeline::before { transform: translateX(-50%) scaleY(1); }
}

/* ============================================================
   ★엣지 — 양옆 여백에 세로 카툰영상 랜덤 등장 (흰 배경은 multiply로 사라지고 인물만 blend)
   ============================================================ */
#edge-stage { position: fixed; inset: 0; pointer-events: none; z-index: 40; overflow: hidden; }
.edge-video {
  position: fixed; bottom: 0; aspect-ratio: 9 / 16; height: auto;
  mix-blend-mode: multiply;              /* 흰 배경 → 투명, 인물·윤곽만 어떤 배경에도 blend */
  filter: saturate(1.05);
  opacity: 0; transition: opacity .8s ease;
  will-change: opacity;
}
.edge-video.show { opacity: 1; }
#edge-sound {
  position: fixed; left: 16px; bottom: 16px; z-index: 60;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 15px; border-radius: 999px; font-size: 13.5px; font-weight: 800; font-family: inherit;
  background: rgba(255,255,255,.92); color: var(--ink);
  border: 1.6px solid var(--line); box-shadow: var(--shadow); cursor: pointer;
  transition: transform .15s, box-shadow .2s;
}
#edge-sound:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
/* 모바일/좁은 화면: 하단 구석에 작게(본문 방해 최소화) — pointer-events none이라 탭 절대 안 막음 */
.edge-video.corner { bottom: 6px; filter: none; }
@media (max-width: 1300px) { #edge-sound { display: none; } }   /* 폰에선 소리버튼 숨김(무음 표시) */
@media (prefers-reduced-motion: reduce) { #edge-stage, #edge-sound { display: none; } }
