/* ============================================================
   위드온 사회적협동조합 — 메인 스타일시트
   컨셉: 장애인의 자립과 함께 살아가는 공동체, 따뜻하고 신뢰감 있게
   배색: 위드온 그린 / 케어 틸 / 코랄레드 (로고 색 기반)
   반응형: 모바일(~767) / 태블릿(768~1023) / 데스크톱(1024~)
   ============================================================ */

:root {
  --green: #1f9d57;
  --green-deep: #157341;
  --green-soft: #e7f6ed;
  --blue: #0ea5a4;
  --blue-deep: #0b8382;
  --blue-soft: #e2f6f5;
  --coral: #ef4136;
  --coral-deep: #d12a20;
  --coral-soft: #fdeceb;
  --yellow: #f6a723;
  --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; }

/* =====================================================================
   위드온 메인 히어로 (색감 있는 그라디언트 + 블롭 + 통통 제목)
   ===================================================================== */
.wh-hero { position: relative; overflow: hidden;
  background: linear-gradient(135deg, #eafaf1 0%, #e4f7f4 45%, #fdeef0 100%);
  padding: clamp(48px, 7vw, 92px) 0 clamp(56px, 8vw, 104px); }
.wh-hero .blob { position: absolute; border-radius: 50%; filter: blur(55px); opacity: .55;
  transform: translate(var(--px, 0), var(--py, 0)); transition: transform .35s ease-out; pointer-events: none; }
.wh-hero .b1 { width: 40vw; height: 40vw; left: -8%; top: -18%; background: radial-gradient(closest-side, rgba(31,157,87,.75), transparent 70%); }
.wh-hero .b2 { width: 32vw; height: 32vw; right: -6%; bottom: -22%; background: radial-gradient(closest-side, rgba(239,65,54,.55), transparent 70%); }
.wh-hero .b3 { width: 28vw; height: 28vw; right: 26%; top: 4%; background: radial-gradient(closest-side, rgba(14,165,164,.6), transparent 70%); }
.wh-hero-inner { position: relative; z-index: 2; max-width: 780px; }
.wh-label { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px;
  background: #fff; box-shadow: var(--shadow); font-weight: 800; font-size: 15px; color: var(--green-deep); margin-bottom: 22px; }
.wh-label .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.wh-hero h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); font-weight: 900; line-height: 1.2; letter-spacing: -.03em; color: var(--ink); }
.wh-hero .sub { margin-top: 22px; font-size: clamp(1rem, 1.35vw, 1.2rem); color: var(--ink-70); max-width: 30em; }
.wh-hero .sub .rotator { font-size: .92em; }
.wh-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.wh-quick { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.wh-quick a { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 14px;
  background: rgba(255,255,255,.8); border: 1.5px solid rgba(31,157,87,.18); font-weight: 700; color: var(--ink-70);
  transition: transform .16s, border-color .16s, box-shadow .16s; }
.wh-quick a:hover { transform: translateY(-3px); border-color: var(--green); box-shadow: var(--shadow); color: var(--green-deep); }
.wh-media { position: relative; aspect-ratio: 4 / 3; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg);
  border: 6px solid #fff; }
.wh-media video, .wh-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wh-media .ph { position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
  background: linear-gradient(140deg, var(--green), var(--blue) 60%, var(--coral)); color: #fff; }
.wh-media .ph .big { font-size: 62px; }
.wh-media .ph .cap { margin-top: 10px; font-weight: 800; font-size: 17px; opacity: .95; }
.wh-media .badge { position: absolute; left: 14px; bottom: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px; border-radius: 999px; background: rgba(0,0,0,.42); color: #fff; font-weight: 700; font-size: 13px; backdrop-filter: blur(4px); }
.wh-media .badge .live { width: 7px; height: 7px; border-radius: 50%; background: #37e06e; box-shadow: 0 0 0 4px rgba(55,224,110,.3); }
@media (max-width: 1023px) { .wh-hero-inner { grid-template-columns: 1fr; } .wh-media { max-width: 560px; } }

/* ── 서브페이지 (헤더/콘텐츠) ─────────────────────────────── */
.wh-subhero { position: relative; overflow: hidden; color: #fff;
  min-height: clamp(440px, 52vh, 600px); display: flex; align-items: center; padding: 40px 0;
  background: linear-gradient(120deg, var(--green-deep), var(--green)); }
.wh-subhero.g-teal { background: linear-gradient(120deg, #0b8382, #0ea5a4); }
.wh-subhero.g-blue { background: linear-gradient(120deg, #0b6e8c, #2563eb); }
.wh-subhero.g-coral { background: linear-gradient(120deg, var(--coral-deep), var(--coral)); }
.wh-subhero::after { content: ""; position: absolute; right: -70px; top: -70px; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,255,255,.16), transparent); pointer-events: none; }
.wh-subhero h1 { position: relative; font-size: clamp(2.1rem, 4.6vw, 3.1rem); font-weight: 900; letter-spacing: -.03em; text-shadow: 0 2px 16px rgba(0,0,0,.3); }
.wh-subhero .crumb { position: relative; margin-top: 12px; font-weight: 600; opacity: .94; font-size: 14.5px; }
.wh-subhero .crumb a { color: #fff; }
.wh-wrap { max-width: 1120px; margin: 0 auto; padding: clamp(40px, 6vw, 72px) 24px; }
.wh-lead { font-size: clamp(1.3rem, 2.4vw, 1.9rem); font-weight: 800; line-height: 1.4; letter-spacing: -.02em; margin-bottom: 30px; }
.wh-lead .hl { color: var(--green-deep); }
.wh-prose p { margin-bottom: 16px; color: var(--ink-70); font-size: 1.02rem; }
.wh-prose strong { color: var(--ink); font-weight: 800; }
.wh-sign { margin-top: 26px; font-size: 1.1rem; font-weight: 700; text-align: right; }
.wh-sign b { font-size: 1.25rem; }
.wh-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 10px 0; }
@media (max-width: 900px) { .wh-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .wh-cards { grid-template-columns: 1fr; } }
.wh-card { padding: 26px 22px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.wh-card .ic { font-size: 30px; margin-bottom: 12px; }
.wh-card h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 8px; }
.wh-card p { color: var(--ink-70); font-size: .97rem; }
.wh-steps { counter-reset: s; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin: 10px 0; }
@media (max-width: 900px) { .wh-steps { grid-template-columns: 1fr 1fr; } }
.wh-step { position: relative; padding: 22px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.wh-step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 800; margin-bottom: 12px; }
.wh-step h4 { font-weight: 800; margin-bottom: 6px; }
.wh-step p { color: var(--ink-70); font-size: .9rem; }
.wh-table { width: 100%; border-collapse: collapse; margin: 10px 0; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.wh-table th, .wh-table td { padding: 15px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.wh-table th { background: var(--green-soft); color: var(--green-deep); font-weight: 800; width: 200px; }
.wh-table tr:last-child th, .wh-table tr:last-child td { border-bottom: none; }
.info-box { padding: 20px 22px; border-left: 4px solid var(--green); background: var(--green-soft); border-radius: 0 12px 12px 0; margin: 16px 0; color: var(--ink-70); }
.wh-sec-title { font-size: 1.5rem; font-weight: 800; margin: 34px 0 16px; letter-spacing: -.02em; }
/* 게시판 리스트 (공지/자료) */
.wh-board { width: 100%; border-top: 2px solid var(--ink); }
.wh-board .row { display: flex; align-items: center; gap: 16px; padding: 18px 10px; border-bottom: 1px solid var(--line); }
.wh-board .row:hover { background: var(--green-soft); }
.wh-board .tg { flex: none; padding: 4px 12px; border-radius: 999px; background: var(--green-soft); color: var(--green-deep); font-weight: 800; font-size: 13px; }
.wh-board .ti { flex: 1; min-width: 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wh-board .dt { flex: none; color: #444; font-size: 14px; font-variant-numeric: tabular-nums; }
.wh-gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 767px) { .wh-gal { grid-template-columns: 1fr 1fr; } }
.wh-gal a { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.wh-gal img { width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: center 28%; display: block; transition: transform .4s; }
.board-side .side-img { object-position: center 28%; }
.biz-card .thumb img, .wh-hero-photo img { object-position: center 30%; }
.wh-gal a:hover img { transform: scale(1.06); }
.wh-gal .gc { padding: 12px 14px; font-weight: 700; font-size: .95rem; }

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; background: #eef4fb; }
/* 뒤: 같은 영상을 넓게 블러로 깔아 빈틈/경계 없이 채움 */
.hslide-media .hbg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 0; filter: blur(32px) brightness(1.04) saturate(1.06); transform: scale(1.22); }
/* 앞: 실제 영상 */
.hslide-media .hfg, .hslide-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 20%; z-index: 1; }
/* 새 영상 2편(점프·하천정화)=전체 프레임(contain), 좌측 가장자리는 블러 배경으로 부드럽게 녹아듦 */
/* 새 영상 2편도 첫 영상처럼 cover로 꽉 채움(상단 기준=머리 보존). 블러배경 레이어는 사용 안 함 */
.hslide-media .hbg { display: none; }
.hslide.t-navy .hslide-media .hfg { object-position: center 13%; }   /* 점프=머리 높음 */
.hslide.t-coral .hslide-media .hfg { object-position: center 26%; }  /* 하천정화 */
.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 28%, rgba(223,245,234,.5) 40%, transparent 50%); }
.hslide.t-navy  .hslide-panel { background: linear-gradient(90deg, #dde7fb 0%, #dde7fb 28%, rgba(221,231,251,.5) 40%, transparent 50%); }
.hslide.t-coral .hslide-panel { background: linear-gradient(90deg, #ffe5df 0%, #ffe5df 28%, rgba(255,229,223,.5) 40%, transparent 50%); }
.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: 24px 0; margin-top: 0; }
.footer-compact { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.f-logo { flex: 0 0 auto; display: inline-block; background: #fff; padding: 10px 16px; border-radius: 12px; }
.f-logo img { height: 40px; filter: none; opacity: 1; display: block; }
.footer-lines { flex: 1 1 320px; min-width: 260px; }
.footer-info { font-size: 14px; color: #cdd6e2; line-height: 1.6; margin: 0 0 8px; }
.footer-legal2 { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin: 0; font-size: 13.5px; }
.footer-legal2 a { color: #e2e8f0; font-weight: 600; }
.footer-legal2 a:hover { color: #fff; text-decoration: underline; }
.footer-legal2 a.strong { font-weight: 800; color: #fff; }
.footer-legal2 a.footer-copy { color: #8b97a8; font-weight: 500; font-size: 13px; margin-left: auto; cursor: pointer; }
.footer-legal2 a.footer-copy:hover { color: #cbd5e1; text-decoration: none; }
@media (max-width: 767px) {
  .footer-copy { margin-left: 0; width: 100%; margin-top: 4px; }
}

/* 맨위로 버튼 */
.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; } }

/* ============================================================
   ★Message in a Bottle — 바다에서 온 유리병(시그니처 이스터에그)
   ============================================================ */
/* 유리병 패널: 먼 바다 → 가까이 떠내려옴 → 동동 */
.mib-wrap {
  position: fixed; bottom: 0; width: 300px; aspect-ratio: 9 / 16;
  pointer-events: auto; cursor: pointer; z-index: 46;
  opacity: 0; transform: translateY(-5vh) scale(.58);
  transition: opacity 3.2s ease, transform 7.4s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
.mib-wrap.arrive  { opacity: 1; transform: translateY(0) scale(1); }
.mib-wrap.leaving { opacity: 0; transform: translateY(-7vh) scale(.5);
  transition: opacity 3s ease, transform 3.2s ease-in; }
.mib-wrap.narrow  { bottom: 8px; }
.mib-inner { position: relative; width: 100%; height: 100%; transition: transform .45s ease; }
.mib-wrap.float .mib-inner { animation: mibBob 5.6s ease-in-out infinite; }
.mib-wrap:hover .mib-inner,
.mib-wrap:focus-visible .mib-inner { animation-play-state: paused; transform: scale(1.07); }
@keyframes mibBob { 0%,100% { transform: translateY(0) rotate(-.6deg); } 50% { transform: translateY(-6px) rotate(.6deg); } }
.mib-video {
  width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 10px;
  -webkit-mask-image: radial-gradient(120% 76% at 50% 44%, #000 56%, transparent 100%);
          mask-image: radial-gradient(120% 76% at 50% 44%, #000 56%, transparent 100%);
}
/* 병 속 따뜻한 빛 — 맥박처럼 은은하게 */
.mib-glow {
  position: absolute; left: 74%; top: 50%; width: 28%; aspect-ratio: 1;
  transform: translate(-50%,-50%); pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(circle, rgba(255,216,150,.92), rgba(255,190,110,.34) 46%, transparent 70%);
  animation: mibPulse 3.1s ease-in-out infinite; will-change: opacity;
}
.mib-wrap:hover .mib-glow,
.mib-wrap:focus-visible .mib-glow { animation: none; opacity: 1; filter: brightness(1.3); }
@keyframes mibPulse { 0%,100% { opacity: .42; } 50% { opacity: .86; } }
.mib-wrap:focus-visible { outline: none; }

/* 쪽지: 오래된 종이에 손글씨 — 팝업(광고 아님, 우연히 받은 편지) */
.mib-scrim {
  position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 20px;
  background: radial-gradient(ellipse at center, rgba(28,18,6,.28), rgba(16,10,3,.56));
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  opacity: 0; transition: opacity .6s ease;
}
.mib-scrim.show { opacity: 1; }
.mib-paper {
  position: relative; width: min(440px, 92vw); max-height: 88vh; overflow-y: auto;
  padding: 46px 40px 40px; color: #4a3826;
  background-color: #f0e2c0;
  background-image:
    radial-gradient(ellipse at 18% 12%, rgba(120,88,38,.13), transparent 46%),
    radial-gradient(ellipse at 86% 84%, rgba(110,80,34,.15), transparent 50%),
    radial-gradient(ellipse at 62% 46%, rgba(150,120,70,.07), transparent 62%),
    linear-gradient(175deg, #f7ecd2, #e7d3a9);
  border-radius: 7px 9px 7px 10px;
  box-shadow: inset 0 0 64px rgba(120,82,32,.30), inset 0 0 4px rgba(90,60,20,.40), 0 26px 60px rgba(28,16,5,.5);
  transform: scaleY(.05) translateY(-6px); transform-origin: 50% 18%; opacity: .35;
  transition: transform .72s cubic-bezier(.2,.8,.25,1), opacity .5s ease;
}
.mib-scrim.show .mib-paper { transform: scaleY(1) translateY(0); opacity: 1; }
.mib-paper-in { opacity: 0; transition: opacity .45s ease .34s; }
.mib-scrim.show .mib-paper-in { opacity: 1; }
.mib-seal {
  width: 46px; height: 46px; margin: 0 auto 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 22px;
  background: radial-gradient(circle at 40% 35%, #c0503f, #8d2f24); color: #ffe9d8;
  box-shadow: 0 3px 8px rgba(80,25,15,.5), inset 0 1px 2px rgba(255,255,255,.3);
}
.mib-msg {
  font-family: "Nanum Pen Script", "Gaegu", cursive;
  font-size: 26px; line-height: 1.62; text-align: center; margin: 0 0 26px;
  color: #4a3826; letter-spacing: .2px; text-shadow: 0 1px 0 rgba(255,250,235,.4);
}
.mib-donate {
  display: block; width: fit-content; margin: 0 auto; padding: 12px 30px; border-radius: 999px;
  font-size: 17px; font-weight: 800; text-decoration: none; color: #fff;
  background: linear-gradient(135deg, #e8506b, #cf3550);
  box-shadow: 0 8px 20px rgba(190,45,70,.4); transition: transform .18s ease, box-shadow .2s ease;
}
.mib-donate:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 12px 26px rgba(190,45,70,.5); }
.mib-close {
  position: absolute; top: 10px; right: 12px; width: 32px; height: 32px; border: none;
  background: rgba(90,60,25,.12); color: #6a5333; border-radius: 50%;
  font-size: 22px; line-height: 1; cursor: pointer; transition: background .2s, transform .3s;
}
.mib-close:hover { background: rgba(90,60,25,.24); transform: rotate(90deg); }
@media (prefers-reduced-motion: reduce) { .mib-wrap, .mib-scrim { display: none !important; } }

/* ============================================================
   관련 사이트 로고 캐러셀
   ============================================================ */
.partners { padding: 20px 0; background: #fff; border-top: 1px solid var(--line); overflow: hidden; }
/* 자동 롤링 마퀴 (오른쪽 → 왼쪽 흐름), 양끝 페이드 — 얇게 2줄 */
.partners-marquee {
  width: 100%; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
}
.partners-track { display: flex; align-items: center; gap: 18px; width: max-content; animation: partnersRoll 45s linear infinite; }
.partners-track.row2 { margin-top: 10px; animation-duration: 55s; }   /* 둘째 줄=속도 다르게 */
.partners-marquee:hover .partners-track { animation-play-state: paused; }
@keyframes partnersRoll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.partner {
  flex: 0 0 auto; height: 44px; min-width: 128px; padding: 0 18px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
  transition: box-shadow .2s, border-color .2s;
}
.partner:hover { box-shadow: var(--shadow); border-color: var(--green); }
.p-logo { max-height: 28px; max-width: 130px; object-fit: contain; filter: grayscale(1); opacity: .85; transition: filter .2s, opacity .2s; }
.partner:hover .p-logo { filter: grayscale(0); opacity: 1; }
.p-name { display: none; align-items: center; font-weight: 700; font-size: 13.5px; color: var(--ink-70); white-space: nowrap; letter-spacing: -.02em; }
.partner:hover .p-name { color: var(--green-deep); }
@media (max-width: 767px) {
  .partners { padding: 16px 0; }
  .partners-track { gap: 12px; animation-duration: 32s; }
  .partner { height: 40px; min-width: 112px; padding: 0 14px; }
}
@media (prefers-reduced-motion: reduce) { .partners-track { animation: none; } }

/* ============================================================
   푸터 법적 링크 + 정책(약관) 페이지
   ============================================================ */
.footer-legal {
  display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center;
  padding: 20px 0 6px; margin-top: 20px; border-top: 1px solid rgba(255,255,255,.14);
}
.footer-legal a { font-size: 14.5px; font-weight: 600; color: rgba(255,255,255,.82); }
.footer-legal a:hover { color: #fff; text-decoration: underline; }
.footer-legal a.strong { font-weight: 800; color: #fff; }
.footer-grid a.strong { font-weight: 800; }

/* 정책 페이지 */
.policy-hero {
  margin-top: var(--header-h); padding: 46px 0;
  background: linear-gradient(120deg, var(--green-soft), #eaf3fb);
  border-bottom: 1px solid var(--line);
}
.policy-hero h1 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 900; color: var(--ink); letter-spacing: -1px; }
.policy-hero .crumb { margin-top: 10px; font-size: 15.5px; font-weight: 700; color: var(--ink-70); }
.policy-body { max-width: 900px; margin: 0 auto; padding: 40px clamp(24px, 5vw, 52px); }
.policy-body .policy-lead { font-size: 17px; color: var(--ink-70); font-weight: 500; margin-bottom: 26px; padding-bottom: 22px; border-bottom: 1px solid var(--line); line-height: 1.8; }
.policy-body h2 { font-size: 19px; font-weight: 800; color: var(--green-deep); margin: 28px 0 10px; }
.policy-body h2:first-child { margin-top: 0; }
.policy-body p { font-size: 16px; color: var(--ink-70); line-height: 1.85; margin-bottom: 6px; }
.policy-body .policy-date { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--ink-50); font-weight: 600; }

/* 기관 로고 소개 (설립배경) */
.logo-intro-card {
  margin: 40px auto; background: #fff; border: 1px solid var(--line);
  border-radius: 24px; box-shadow: var(--shadow-lg);
  padding: 44px clamp(24px, 5vw, 56px); text-align: center;
}
.logo-intro-title { font-size: 24px; font-weight: 900; color: var(--green-deep); margin-bottom: 26px; }
.logo-intro-img { margin: 0 auto 26px; }
.logo-intro-img img { width: min(560px, 92%); height: auto; margin: 0 auto; display: block; }
.logo-intro-desc { max-width: 800px; margin: 0 auto; font-size: 17px; line-height: 1.9; color: var(--ink-70); font-weight: 500; }
.logo-intro-desc strong { color: var(--green-deep); font-weight: 800; }
.logo-intro-desc em { font-style: normal; color: var(--coral-deep); font-weight: 800; }
@media (max-width: 767px) { .logo-intro-card { padding: 32px 20px; } .logo-intro-desc { font-size: 15.5px; text-align: left; } }

/* 비영리민간단체 등록증 (조직도) */
.cert-card {
  margin: 34px auto 0; background: #fff; border: 1px solid var(--line);
  border-radius: 24px; box-shadow: var(--shadow-lg); padding: 40px clamp(20px,4vw,48px); text-align: center;
}
.cert-title { font-size: 22px; font-weight: 900; color: var(--green-deep); margin-bottom: 24px; }
.cert-img { display: block; width: -moz-fit-content; width: fit-content; max-width: 100%; margin: 0 auto;
  border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.cert-img:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.cert-img img { width: 460px; max-width: 100%; height: auto; display: block; }
.cert-note { margin-top: 14px; font-size: 14px; color: var(--ink-50); }

/* 우리누리 경쟁력 배지 (히어로 아래) — 한 줄 자동 흐름(마퀴) */
.creds-bar { background: linear-gradient(180deg, #f0f8f3, #eaf5ef); border-bottom: 1px solid #dcebe2; overflow: hidden; }
.creds-marquee {
  width: 100%; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
}
.creds-track { display: flex; align-items: center; gap: 44px; width: max-content; padding: 16px 22px; animation: credsRoll 40s linear infinite; }
.creds-bar:hover .creds-track { animation-play-state: paused; }
@keyframes credsRoll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.cred { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; font-size: 15.5px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.cred b { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--green); color: #fff; font-size: 13px; }
@media (max-width: 767px) { .creds-track { gap: 30px; padding: 13px 16px; animation-duration: 28s; } .cred { font-size: 13.5px; } }
@media (prefers-reduced-motion: reduce) { .creds-track { animation: none; } }

/* 최근 성과 (연도별) */
.ach-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.ach-item {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px 18px 26px;
  text-align: center; box-shadow: 0 10px 24px rgba(17,24,39,.10);
  position: relative; transition: transform .18s cubic-bezier(.2,.7,.3,1), box-shadow .2s;
}
.ach-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ach-item::before { content: ""; position: absolute; top: 0; left: 22px; right: 22px; height: 4px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, var(--green), var(--blue)); }
.ach-year { font-size: 30px; font-weight: 900; color: var(--green-deep); letter-spacing: -1px; line-height: 1; }
.ach-desc { margin-top: 12px; font-size: 16px; font-weight: 700; color: var(--ink-70); line-height: 1.45; }
@media (max-width: 1023px) { .ach-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .ach-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } .ach-year { font-size: 25px; } .ach-desc { font-size: 14.5px; } }

/* ============================================================
   회원 — 상단바 로그인/회원가입 + 로그인/가입 페이지
   ============================================================ */
.top-sep { width: 1px; height: 13px; background: rgba(255,255,255,.35); display: inline-block; }
.topbar-inner .top-auth { font-size: 15.5px; font-weight: 700; color: #eafff3; }
.topbar-inner .top-auth:hover { color: #fff; }
.topbar-inner .top-user { color: #fff; font-weight: 800; }

/* 로그인/회원가입 카드 */
.auth-card { max-width: 440px; margin: 40px auto; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); padding: 40px clamp(24px, 5vw, 44px); }
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-form label { display: flex; flex-direction: column; gap: 8px; font-size: 15px; font-weight: 700; color: var(--ink); }
.auth-form input[type=text], .auth-form input[type=email], .auth-form input[type=password] {
  height: 50px; padding: 0 16px; border: 1.6px solid var(--line); border-radius: 12px; font-size: 16px; font-family: inherit; background: #fff; transition: border-color .2s, box-shadow .2s;
}
.auth-form input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(22,179,100,.12); }
.auth-agree { flex-direction: row !important; align-items: flex-start; gap: 8px !important; font-size: 13.5px !important; font-weight: 500 !important; color: var(--ink-50); }
.auth-agree input { margin-top: 3px; }
.auth-agree a { color: var(--green-deep); font-weight: 700; text-decoration: underline; }
.auth-submit { height: 52px; margin-top: 4px; border-radius: 12px; background: linear-gradient(135deg, var(--green), var(--green-deep)); color: #fff; font-size: 17px; font-weight: 800; cursor: pointer; transition: transform .15s, box-shadow .2s; }
.auth-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(22,179,100,.3); }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 24px 0 18px; color: var(--ink-50); font-size: 13.5px; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-social { display: flex; flex-direction: column; gap: 10px; }
.social-btn { display: flex; align-items: center; justify-content: center; gap: 10px; height: 50px; border-radius: 12px; font-size: 15.5px; font-weight: 800; cursor: pointer; border: 1.6px solid transparent; transition: transform .15s, box-shadow .2s; }
.social-btn b { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; font-size: 13px; }
.social-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.social-btn.kakao { background: #FEE500; color: #191600; }
.social-btn.kakao b { background: #191600; color: #FEE500; }
.social-btn.google { background: #fff; color: var(--ink); border-color: var(--line); }
.social-btn.google b { background: #fff; color: #4285F4; border: 1px solid var(--line); }
.auth-alt { text-align: center; margin-top: 24px; font-size: 15px; color: var(--ink-70); }
.auth-alt a { color: var(--green-deep); font-weight: 800; text-decoration: underline; }
.auth-msg { min-height: 0; margin-bottom: 4px; font-size: 14.5px; font-weight: 700; color: var(--coral-deep); text-align: center; }
.auth-msg:empty { display: none; }
@media (max-width: 767px) { .top-sep, .topbar-inner .top-auth { display: none; } }

/* =========================================================================
   ★위드온 헤더 리디자인 — 우리누리와 차별화 (깔끔한 기관형)
   이모지 알약 메뉴 / 초록 상단바 / 무지개 테두리 제거 → 텍스트 메뉴 + 초록 언더라인
   ========================================================================= */
.site-header { border-bottom: 1px solid var(--line) !important; border-image: none !important;
  position: sticky !important; top: 0; }   /* fixed → sticky : 본문이 헤더에 안 가려지도록(전 페이지 통일) */
.site-header.scrolled { box-shadow: 0 4px 18px rgba(0,0,0,.07); }

/* 상단 유틸바: 브랜드 초록 틴트(채도 ↑) */
.topbar { background: linear-gradient(180deg, #e3f4ea, #d7efe0) !important; box-shadow: none !important; border-bottom: 1px solid #c6e5d2; }
.topbar-inner { height: 40px; gap: 18px; }
.topbar-inner a { color: #2f6b49 !important; font-weight: 700; font-size: 14px; }
.topbar-inner a:hover { color: var(--green-deep) !important; }
.topbar-inner .top-donate { color: var(--coral-deep) !important; font-weight: 800; }
.topbar-inner .top-sep { width: 1px; height: 13px; background: #a9d2ba; }
/* 헤더 그림자 */
.site-header { box-shadow: 0 4px 16px rgba(18,60,40,.12) !important; }
.site-header.scrolled { box-shadow: 0 6px 22px rgba(18,60,40,.16) !important; }

/* 메인바 */
.mainbar-inner { height: 94px; gap: 20px; }
.logo img { height: 74px; }

/* 텍스트 메뉴 (알약·이모지·그림자 전부 제거) */
.gnb > ul { gap: 4px; }
.gnb > ul > li,
.gnb > ul > li:nth-child(2),
.gnb > ul > li:nth-child(3),
.gnb > ul > li:nth-child(4),
.gnb > ul > li:nth-child(5) { --mc: var(--green); --mcd: var(--green-deep); --mcs: var(--green-soft); }
.gnb > ul > li > a {
  height: 94px; padding: 0 15px; border-radius: 0;
  background: transparent !important; color: var(--ink) !important;
  border: 0 !important; box-shadow: none !important; transform: none !important;
  font-size: 17.5px; font-weight: 700; letter-spacing: -.03em; white-space: nowrap;
}
.gnb > ul > li > a .mi { display: none !important; }
.gnb > ul > li > a::after {
  content: "" !important; position: absolute; left: 22px; right: 22px; bottom: 18px; height: 3px;
  background: var(--green); border-radius: 2px; transform: scaleX(0); transform-origin: center;
  transition: transform .28s cubic-bezier(.2,.7,.3,1); opacity: 1;
}
.gnb > ul > li:hover > a, .gnb > ul > li.active > a {
  background: transparent !important; color: var(--green-deep) !important; transform: none !important; box-shadow: none !important;
}
.gnb > ul > li:hover > a::after, .gnb > ul > li.active > a::after { transform: scaleX(1); }

/* ── 풀폭 메가메뉴 (굿네이버스 스타일) ─────────────────────── */
.gnb > ul > li { position: static !important; }
.gnb .depth2 {
  position: absolute !important; left: 0 !important; right: 0 !important; width: 100% !important;
  top: 100% !important; transform: none !important; min-width: 0 !important; border-radius: 0 !important;
  border: 0 !important; border-top: 1px solid var(--line) !important;
  box-shadow: 0 24px 40px rgba(0,0,0,.10) !important; background: #fff !important;
  max-height: 0; opacity: 0; visibility: hidden; overflow: hidden;
  transition: max-height .3s cubic-bezier(.2,.7,.3,1), opacity .22s, visibility .3s; }
.gnb > ul > li:hover .depth2 { max-height: 460px; opacity: 1; visibility: visible; }
.mega-inner { display: flex; gap: clamp(24px, 3vw, 50px); align-items: stretch; padding: 38px 0 42px; }
.mega-cols { flex: 1; display: flex; gap: clamp(24px, 4vw, 64px); }
.mega-col { flex: 1; min-width: 0; }
.mega-gh { display: block; font-size: 17.5px; font-weight: 900; color: var(--ink); letter-spacing: -.02em; padding-bottom: 12px; margin-bottom: 8px; border-bottom: 2px solid var(--green); }
.mega-col ul { padding: 0 !important; }
.mega-col li { border: 0 !important; }
.mega-col li a { display: block !important; padding: 9px 2px !important; font-size: 16px !important; font-weight: 600 !important;
  color: var(--ink-70) !important; background: transparent !important; border: 0 !important; transition: color .14s, padding .14s; }
.mega-col li a::before { content: none !important; }
.mega-col li a:hover { color: var(--green-deep) !important; padding-left: 8px !important; }
.mega-feat { flex: 0 0 clamp(200px, 20vw, 280px); align-self: stretch; display: block; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: #fff; transition: box-shadow .18s, transform .18s; }
.mega-feat:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.mega-feat img { width: 100%; aspect-ratio: 16/9; object-fit: cover; object-position: center 30%; display: block; }
.mega-feat .mf-body { padding: 14px 18px 16px; }
.mega-feat .mf-body span { font-weight: 800; font-size: 16px; color: var(--ink); }
.mega-feat .mf-body em { display: block; margin-top: 5px; font-style: normal; font-weight: 700; font-size: 14px; color: var(--green-deep); }
@media (max-width: 1024px) { .mega-feat { display: none; } .mega-cols { gap: 28px; } }
@media (max-width: 767px) {
  .gnb .depth2 { position: static !important; width: auto !important; box-shadow: none !important; border-top: 0 !important;
    max-height: 0; opacity: 1; visibility: visible; overflow: hidden; background: transparent !important; transition: max-height .35s; }
  .gnb > ul > li.open .depth2 { max-height: 800px; }
  .mega-inner { display: block !important; padding: 4px 0 8px !important; }
  .mega-cols { display: block !important; }
  .mega-col { margin-bottom: 6px; }
  .mega-gh { font-size: 15px !important; color: var(--green-deep) !important; border-bottom: 0 !important; padding: 10px 16px 4px !important; margin: 0 !important; }
  .mega-col li a { padding: 11px 22px !important; font-size: 15.5px !important; }
  .mega-feat { display: none !important; }
}

/* 메뉴를 오른쪽으로 이동 (로고와 간격 벌리고 검색/후원 쪽으로) */
.gnb { margin: 0 clamp(8px, 2vw, 34px) 0 auto !important; }

/* 우측 후원 버튼 (단일 초록) — 축소 */
.hd-donate { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px;
  background: var(--green); color: #fff; font-weight: 800; font-size: 14.5px; box-shadow: 0 5px 14px rgba(31,157,87,.26);
  transition: transform .18s, background .2s, box-shadow .2s; }
.hd-donate:hover { background: var(--green-deep); transform: translateY(-2px); box-shadow: 0 8px 18px rgba(31,157,87,.34); }

/* 검색 축소 */
.hsearch { height: 40px; width: 146px; padding: 0 4px 0 16px; }
.hsearch input { font-size: 14px; }
.hsearch button { width: 30px; height: 30px; background: var(--green); }
.hsearch button:hover { background: var(--green-deep); }

@media (max-width: 1320px) { .hsearch { display: none; } }
@media (max-width: 1080px) { .hd-donate { display: none; } }

/* 서브헤더 배경사진 */
.wh-subhero .sh-bg { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 22%; z-index:0; }
.wh-subhero .sh-scrim { position:absolute; inset:0; z-index:1;
  background:linear-gradient(90deg, rgba(6,28,18,.74) 0%, rgba(6,28,18,.34) 48%, rgba(6,28,18,.08) 78%); }
.wh-subhero.has-img { background:#0a2618; }
.wh-subhero .container { position:relative; z-index:2; }

/* 메인 히어로 사진 (우측) */
.wh-hero.has-photo .wh-hero-inner { max-width:none; display:grid; grid-template-columns:1.05fr .95fr;
  gap:clamp(28px,4vw,56px); align-items:center; }
.wh-hero-photo { border-radius:26px; overflow:hidden; box-shadow:var(--shadow-lg); border:6px solid #fff; aspect-ratio:4/3; }
.wh-hero-photo img { width:100%; height:100%; object-fit:cover; display:block; }
@media (max-width:1023px){ .wh-hero.has-photo .wh-hero-inner{ grid-template-columns:1fr; } .wh-hero-photo{ max-width:560px; } }

/* =====================================================================
   ★kcgp식 레이아웃 (한국도박문제예방치유원 포털 구조 벤치마킹)
   ===================================================================== */
/* ① 메인 키비주얼 (풀폭 단일 영상) */
.kv { position: relative; width: 100%; height: clamp(440px, 58vh, 620px); overflow: hidden; background: #0c2b22; }
.kv video, .kv .kv-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 32%; z-index: 0; }
.kv .kv-scrim { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(6,32,20,.82) 0%, rgba(6,32,20,.5) 45%, rgba(6,32,20,.12) 100%); }
.kv .kv-inner { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.kv .kv-label { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 8px 16px; border-radius: 999px;
  background: rgba(255,255,255,.18); backdrop-filter: blur(6px); color: #fff; font-weight: 700; font-size: 15px; margin-bottom: 20px; }
.kv .kv-label .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }
.kv h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 900; line-height: 1.22; letter-spacing: -.03em; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.kv .kv-sub { margin-top: 18px; color: rgba(255,255,255,.94); font-size: clamp(1rem,1.4vw,1.2rem); max-width: 30em; text-shadow: 0 1px 10px rgba(0,0,0,.35); }
.kv .kv-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.kv .kv-cta .btn-hero.primary { box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.kv .kv-cta .btn-white { display:inline-flex; align-items:center; gap:8px; padding:15px 26px; border-radius:999px; background:#fff; color:var(--green-deep); font-weight:800; }
.kv .kv-cta .btn-white:hover { background:#f0f7f3; }

/* ② 겹쳐지는 큰 아이콘 메뉴 (main-mlist 시그니처) */
.kv-menu-wrap { position: relative; z-index: 20; margin-top: -60px; }
.kv-menu { background: #fff; border-radius: 24px; box-shadow: 0 20px 50px rgba(12,43,34,.14); padding: 26px 18px;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.kv-menu a { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 12px 6px; border-radius: 16px; transition: background .18s, transform .18s; }
.kv-menu a:hover { background: var(--green-soft); transform: translateY(-4px); }
.kv-menu .ico { width: 78px; height: 78px; border-radius: 22px; display: grid; place-items: center; font-size: 34px;
  border: 2.5px solid; transition: transform .18s, box-shadow .18s; }
.kv-menu a:hover .ico { transform: scale(1.06); box-shadow: 0 8px 20px rgba(12,43,34,.16); }
.kv-menu .lb { font-weight: 800; font-size: 1.05rem; color: var(--ink); text-align: center; }
/* 원색 + 테두리 (또렷하게) */
.kv-menu a:nth-child(1) .ico { background:#e4efff; border-color:#2f8fe0; }
.kv-menu a:nth-child(2) .ico { background:var(--green-soft); border-color:var(--green); }
.kv-menu a:nth-child(3) .ico { background:#dff5f4; border-color:var(--blue); }
.kv-menu a:nth-child(4) .ico { background:#efe7fb; border-color:#8e5bd0; }
.kv-menu a:nth-child(5) .ico { background:var(--coral-soft); border-color:var(--coral); }
.kv-menu a:nth-child(6) .ico { background:#fdefd6; border-color:var(--yellow); }
.kv-menu a:hover:nth-child(1) { background:#f2f7ff; } .kv-menu a:hover:nth-child(2){ background:var(--green-soft); }
.kv-menu a:hover:nth-child(3){ background:#eefaf9; } .kv-menu a:hover:nth-child(4){ background:#f6f1fe; }
.kv-menu a:hover:nth-child(5){ background:#fef1f0; } .kv-menu a:hover:nth-child(6){ background:#fef7ea; }
@media (max-width: 900px) { .kv-menu { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .kv-menu { grid-template-columns: repeat(2, 1fr); } .kv-menu .ico{ width:64px;height:64px;font-size:28px; } }

/* ③ 알림판 (탭 게시판 + 우측 홍보박스) */
.board-sec { background: #eaf6f7; margin-top: 70px; padding: 56px 0 64px; }
.board-grid { display: grid; grid-template-columns: 1fr 360px; gap: 34px; align-items: start; }
@media (max-width: 900px) { .board-grid { grid-template-columns: 1fr; } }
.board-head { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; flex-wrap: wrap; }
.board-head h2 { font-size: 1.7rem; font-weight: 900; letter-spacing: -.02em; }
.ntabs { display: flex; gap: 8px; }
.ntabs button { padding: 9px 20px; border-radius: 999px; font-weight: 700; font-size: 15px; color: var(--ink-70); background: #fff; border: 1px solid #d7e6e6; transition: all .16s; }
.ntabs button.on { background: var(--green); color: #fff; border-color: var(--green); }
.npanel { display: none; }
.npanel.on { display: block; }
.npanel .row { display: flex; align-items: center; gap: 14px; padding: 16px 6px; border-bottom: 1px solid #d8e7e7; }
.npanel .row:first-child { border-top: 1px solid #cfe1e1; }
.npanel .row:hover { background: rgba(255,255,255,.6); }
.npanel .tg { flex: none; padding: 4px 12px; border-radius: 999px; background: #fff; color: var(--green-deep); font-weight: 800; font-size: 12.5px; border: 1px solid #cfe4e0; }
.npanel .tt { flex: 1; min-width: 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.npanel .dt { flex: none; color: #566; font-size: 14px; font-variant-numeric: tabular-nums; }
.board-side { background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 10px 30px rgba(12,43,34,.08); }
.board-side .side-img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }
.board-side .side-body { padding: 22px; }
.board-side h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 8px; }
.board-side p { color: var(--ink-70); font-size: .95rem; margin-bottom: 14px; }

/* ④ 안내 밴드 (SOS식) */
.promo-band { margin: 70px 0; }
.promo-band .inner { border-radius: 24px; overflow: hidden; position: relative;
  background: linear-gradient(120deg, var(--green-deep), var(--blue-deep)); color: #fff;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: center; padding: clamp(34px,5vw,56px); min-height: 240px; }
.promo-band .inner::after { content:""; position:absolute; right:-60px; top:-60px; width:280px; height:280px; border-radius:50%; background:radial-gradient(closest-side,rgba(255,255,255,.15),transparent); }
.promo-band h2 { font-size: clamp(1.6rem,3.4vw,2.3rem); font-weight: 900; }
.promo-band p { margin-top: 14px; color: rgba(255,255,255,.92); }
.promo-band .pcta { display: flex; flex-direction: column; gap: 12px; position: relative; }
.promo-band .pcta .btn-white { background:#fff; color:var(--green-deep); padding:15px 26px; border-radius:999px; font-weight:800; text-align:center; }
.promo-band .pcta .btn-ghost2 { border:1.5px solid rgba(255,255,255,.6); color:#fff; padding:14px 26px; border-radius:999px; font-weight:800; text-align:center; }
@media (max-width: 900px) { .promo-band .inner { grid-template-columns: 1fr; text-align: center; } .promo-band .pcta{ max-width:320px; margin:0 auto; } }

/* ⑤ 우측 플로팅 퀵메뉴 */
.side-quick { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 900;
  background: #fff; border-radius: 40px; box-shadow: 0 8px 30px rgba(12,43,34,.16); padding: 10px 6px;
  display: flex; flex-direction: column; gap: 4px; }
.side-quick a, .side-quick button { display: flex; flex-direction: column; align-items: center; gap: 3px; width: 62px; padding: 10px 4px; border-radius: 16px; color: var(--ink-70); font-weight: 700; font-size: 11.5px; transition: background .15s, color .15s; }
.side-quick a:hover, .side-quick button:hover { background: var(--green-soft); color: var(--green-deep); }
.side-quick .qi { font-size: 22px; }
.side-quick .sep { height: 1px; background: var(--line); margin: 2px 8px; }
@media (max-width: 1100px) { .side-quick { display: none; } }

/* =====================================================================
   ★시원한 복지NGO 레이아웃 (밀알 · 굿네이버스 벤치마킹)
   ===================================================================== */
.sp-sec { padding-block: clamp(38px, 4.5vw, 68px); }         /* 섹션 여백 축소 */
.sp-head { text-align: center; max-width: 760px; margin: 0 auto clamp(24px, 3vw, 40px); }
.sp-head .eyebrow { display:inline-block; font-size: 15px; font-weight: 800; letter-spacing: .16em; color: var(--green-deep); margin-bottom: 16px; }
.sp-head h2 { font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 900; letter-spacing: -.03em; line-height: 1.25; }
.sp-head p { margin-top: 18px; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-70); }

/* 대형 사업 카드 (큰 사진 + 넉넉) */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2vw, 30px); }
@media (max-width: 900px){ .svc-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }
.svc-card { display:block; background:#fff; border-radius: 24px; overflow:hidden; box-shadow: var(--shadow); border:1px solid var(--line);
  transition: transform .2s, box-shadow .2s; }
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.svc-card .thumb { width:100%; aspect-ratio: 3/2; overflow:hidden; }
.svc-card .thumb img { width:100%; height:100%; object-fit:cover; object-position:center 30%; transition: transform .5s; }
.svc-card:hover .thumb img { transform: scale(1.05); }
.svc-card .body { padding: 30px 28px 34px; }
.svc-card .tag { display:inline-block; padding:5px 14px; border-radius:999px; background:var(--green-soft); color:var(--green-deep); font-weight:800; font-size:13px; margin-bottom:14px; }
.svc-card.blue .tag { background:var(--blue-soft); color:var(--blue-deep); }
.svc-card.coral .tag { background:var(--coral-soft); color:var(--coral-deep); }
.svc-card h3 { font-size: 1.5rem; font-weight:800; letter-spacing:-.02em; }
.svc-card p { margin-top:12px; color:var(--ink-70); font-size:1.02rem; }
.svc-card .go { display:inline-flex; align-items:center; gap:7px; margin-top:20px; color:var(--green-deep); font-weight:800; }

/* 후원 임팩트 밴드 (풀폭, 감성) */
.impact-band { position: relative; overflow: hidden; min-height: clamp(440px, 54vh, 600px); display: flex; align-items: center; color: #fff; }
.impact-band .ib-bg { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 28%; z-index:0; }
.impact-band .ib-scrim { position:absolute; inset:0; z-index:1;
  background: linear-gradient(90deg, rgba(6,32,20,.86) 0%, rgba(6,32,20,.5) 52%, rgba(6,32,20,.15) 100%); }
.impact-band .container { position:relative; z-index:2; }
.impact-band .eyebrow { display:inline-block; color: var(--yellow); font-weight:800; letter-spacing:.14em; font-size:15px; margin-bottom:16px; }
.impact-band h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 900; line-height: 1.24; letter-spacing:-.03em; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.impact-band p { margin-top: 18px; font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 32em; color: rgba(255,255,255,.94); text-shadow:0 1px 10px rgba(0,0,0,.3); }
.impact-band .ib-cta { display:flex; flex-wrap:wrap; gap:12px; margin-top:34px; }
.impact-band .btn-white { background:#fff; color:var(--green-deep); padding:16px 30px; border-radius:999px; font-weight:800; font-size:1.05rem; }
.impact-band .btn-white:hover { background:#f0f7f3; }
.impact-band .btn-ghost2 { border:1.6px solid rgba(255,255,255,.6); color:#fff; padding:15px 30px; border-radius:999px; font-weight:800; font-size:1.05rem; }
.impact-band .btn-ghost2:hover { background:rgba(255,255,255,.12); }

/* 후원 참여 방법 3카드 */
.give-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: clamp(18px,2vw,26px); }
@media (max-width: 820px){ .give-grid { grid-template-columns:1fr; max-width:460px; margin:0 auto; } }
.give-card { text-align:center; padding: 44px 28px; border-radius:22px; background:#fff; border:1px solid var(--line); box-shadow:var(--shadow); transition:transform .18s, box-shadow .18s; }
.give-card:hover { transform:translateY(-6px); box-shadow:var(--shadow-lg); }
.give-card .gic { width:76px; height:76px; margin:0 auto 18px; border-radius:22px; display:grid; place-items:center; font-size:34px; background:var(--green-soft); }
.give-card.c2 .gic{ background:var(--coral-soft); } .give-card.c3 .gic{ background:var(--blue-soft); }
.give-card h3 { font-size:1.3rem; font-weight:800; }
.give-card p { margin-top:10px; color:var(--ink-70); font-size:.98rem; }
.give-card .gbtn { display:inline-block; margin-top:18px; padding:11px 24px; border-radius:999px; background:var(--green); color:#fff; font-weight:800; font-size:.95rem; }
.give-card:hover .gbtn { background:var(--green-deep); }

/* =====================================================================
   ★푸터 (굿네이버스 스타일: 퀵링크 + 뉴스레터 + 정보)
   ===================================================================== */
.foot-quick { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #f6f8f7; }
.foot-quick .container { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; }
.foot-quick a { position: relative; display: inline-flex; align-items: center; gap: 9px; padding: 20px 34px;
  font-weight: 800; font-size: 16px; color: var(--ink-70); transition: color .15s; }
.foot-quick a:hover { color: var(--green-deep); }
.foot-quick a .qi { font-size: 18px; }
.foot-quick a:not(:last-child)::after { content: ""; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 15px; background: #d8ded9; }
@media (max-width: 700px) { .foot-quick a { padding: 14px 18px; font-size: 14.5px; } .foot-quick a:not(:last-child)::after { display: none; } }

.foot-news { padding: 34px 0; border-bottom: 1px solid var(--line); background: #fff; }
.foot-news .container { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.foot-news .fn-left h3 { font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; }
.foot-news .fn-left p { color: var(--muted); margin-top: 6px; font-size: 15px; }
.foot-news .fn-form { margin-left: auto; display: grid; grid-template-columns: minmax(180px,1fr) minmax(180px,1fr) auto; gap: 12px; align-items: center; width: min(620px, 100%); }
.foot-news input[type=text], .foot-news input[type=email] { height: 50px; width: 100%; padding: 0 16px; border: 1px solid var(--line); border-radius: 10px; font-size: 15px; font-family: inherit; background: #fff; }
.foot-news input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(31,157,87,.12); }
.foot-news .fn-submit { height: 50px; padding: 0 34px; background: var(--green); color: #fff; font-weight: 800; border-radius: 10px; font-size: 15.5px; transition: background .15s; }
.foot-news .fn-submit:hover { background: var(--green-deep); }
.foot-news .fn-check { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 2px; font-size: 14px; color: var(--ink-70); }
.foot-news .fn-check label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.foot-news .fn-check .lbl { font-weight: 800; color: var(--ink); margin-right: 4px; }
@media (max-width: 820px) { .foot-news .fn-form { margin-left: 0; width: 100%; grid-template-columns: 1fr 1fr; } .foot-news .fn-submit { grid-column: 1 / -1; } }

.foot-info { padding: 24px 0 22px; background: #eef2f0; }
.foot-info .footer-compact { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px; justify-content: space-between; }
/* 가시성: 푸터 글자 진하게·키움 */
.foot-info .footer-info { color: #34403a !important; font-size: 15px !important; line-height: 1.95 !important; font-weight: 500; }
.foot-info .footer-legal2 { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot-info .footer-legal2 a { color: #46524b !important; font-weight: 700 !important; font-size: 14.5px; }
.foot-info .footer-legal2 a.strong { color: var(--ink) !important; font-weight: 800 !important; }
.foot-info .footer-legal2 a:hover { color: var(--green-deep) !important; text-decoration: underline; }
.foot-info .footer-copy { color: #6a746e !important; font-weight: 600 !important; }
/* 최하단 저작권 바 */
.foot-copy { background: #21362c; color: #86988e; text-align: center; padding: 13px 16px; font-size: 12.5px; letter-spacing: .01em; }
.foot-copy .fc-org { color: #eef5f0; font-weight: 700; }
.foot-copy a { color: #71857b; font-weight: 500; text-decoration: none; }
.foot-copy a:hover { color: #aac2b6; text-decoration: underline; }
.foot-copy .fc-lnk { color: #c3d5cb; font-weight: 600; }
.foot-copy .fc-lnk:hover { color: #fff; text-decoration: underline; }
.foot-news .fn-left h3 { color: var(--ink) !important; }
.foot-news .fn-left p { color: #55605a !important; }
.foot-news .fn-check { color: #3a443f !important; }
.foot-quick a { color: #34403a !important; }

/* 바로후원 플로팅 버튼 (굿네이버스식) */
.fab-donate { position: fixed; right: clamp(16px, 2.5vw, 28px); bottom: clamp(18px, 3vw, 32px); z-index: 820;
  display: inline-flex; align-items: center; gap: 8px; padding: 15px 26px; border-radius: 999px;
  background: linear-gradient(135deg, var(--green), var(--green-deep)); color: #fff; font-weight: 800; font-size: 16px;
  box-shadow: 0 12px 30px rgba(31,157,87,.4); transition: transform .18s, box-shadow .18s; }
.fab-donate:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(31,157,87,.5); }
.fab-donate .hb { animation: beat 1.5s ease-in-out infinite; }
@keyframes beat { 0%,100%{transform:scale(1)} 15%{transform:scale(1.25)} 30%{transform:scale(1)} 45%{transform:scale(1.18)} }
@media (max-width: 600px) { .fab-donate { padding: 13px 20px; font-size: 15px; } }

/* =====================================================================
   ★밀알식 컴포넌트 : 롤링 스토리 카드 + 배경위 카드배치
   ===================================================================== */
/* 롤링 스토리 카드 (밀알식: 세로 긴 카드 + 제목 오버레이, 연속 흐름 마퀴) */
.story-roll { overflow: hidden; padding: 6px 0 24px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent); }
.story-track { display: flex; gap: 22px; width: max-content; animation: storyRoll 55s linear infinite; }
.story-roll:hover .story-track { animation-play-state: paused; }
@keyframes storyRoll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .story-track { animation: none; } .story-roll { overflow-x: auto; } }
.story-card { flex: 0 0 clamp(240px, 22vw, 300px); position: relative; aspect-ratio: 62 / 100;
  border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.story-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.story-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 32%; transition: transform .5s; }
.story-card:hover > img { transform: scale(1.06); }
.story-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 42%, rgba(0,0,0,.35) 68%, rgba(0,0,0,.82)); }
.story-card .cap { position: absolute; left: 22px; right: 22px; bottom: 24px; z-index: 2; color: #fff; }
.story-card .cap .tag { display: inline-block; padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,.22); backdrop-filter: blur(4px); font-weight: 800; font-size: 12px; margin-bottom: 12px; }
.story-card .cap h3 { font-size: 1.2rem; font-weight: 800; line-height: 1.4; letter-spacing: -.02em; text-shadow: 0 1px 10px rgba(0,0,0,.5);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* 배경 위에 반투명(프로스트) 카드 (밀알 투명경영 스타일) */
.give-bg { position: relative; overflow: hidden; padding: clamp(48px, 6vw, 84px) 0; }
.give-bg .gb-full { position: absolute; inset: 0; z-index: 0; }
.give-bg .gb-full img { width: 100%; height: 100%; object-fit: cover; object-position: center 36%; }
.give-bg .gb-full::after { content: ""; position: absolute; inset: 0; backdrop-filter: blur(1.5px);
  background: linear-gradient(180deg, rgba(0,0,0,.32), rgba(0,0,0,.42)); }   /* 밀알식: 연한 검정 0.3~0.4 */
.give-bg .container { position: relative; z-index: 2; }
.give-bg .gb-head { text-align: center; color: #fff; margin-bottom: clamp(36px, 4vw, 52px); }
.give-bg .gb-head .eyebrow { display: inline-block; color: var(--yellow); font-weight: 800; letter-spacing: .14em; font-size: 15px; margin-bottom: 14px; }
.give-bg .gb-head h2 { font-size: clamp(1.9rem, 3.9vw, 2.9rem); font-weight: 900; letter-spacing: -.03em; color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,.55); }
.give-bg .gb-head p { margin-top: 14px; font-size: clamp(1rem, 1.4vw, 1.15rem); color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.55); }
.give-bg .give-card { background: rgba(255,255,255,.16); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.42); box-shadow: 0 16px 40px rgba(0,0,0,.28); }
.give-bg .give-card .gic { background: rgba(255,255,255,.28); }
.give-bg .give-card h3 { color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.give-bg .give-card p { color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.give-bg .give-card .gbtn { background: #fff; color: var(--green-deep); }
.give-bg .give-card:hover .gbtn { background: #eef7f2; }

/* =====================================================================
   장애인 인권헌장 (문구 위로 자동 스크롤)
   ===================================================================== */
.charter { background: linear-gradient(135deg, #eaf6ef, #e1f4f1); }
.charter-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 4vw, 56px); align-items: center; }
@media (max-width: 900px) { .charter-inner { grid-template-columns: 1fr; } }
.charter-text .eyebrow { display: inline-block; font-size: 15px; font-weight: 800; letter-spacing: .16em; color: var(--green-deep); margin-bottom: 14px; }
.charter-text h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 900; letter-spacing: -.03em; }
.charter-lead { margin-top: 18px; font-size: 1.05rem; color: var(--ink-70); line-height: 1.75; }
.charter-meta { margin-top: 16px; font-weight: 800; color: var(--green-deep); }
.charter-scroll { position: relative; height: clamp(320px, 42vh, 430px); overflow: hidden; border-radius: 20px; background: #fff;
  box-shadow: var(--shadow); border: 1px solid var(--line); }
.charter-scroll::before, .charter-scroll::after { content: ""; position: absolute; left: 0; right: 0; height: 54px; z-index: 2; pointer-events: none; }
.charter-scroll::before { top: 0; background: linear-gradient(#fff, rgba(255,255,255,0)); }
.charter-scroll::after { bottom: 0; background: linear-gradient(rgba(255,255,255,0), #fff); }
.charter-track { padding: 10px 0; animation: charterUp 40s linear infinite; }
.charter-scroll:hover .charter-track { animation-play-state: paused; }
@keyframes charterUp { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.citem { display: flex; gap: 14px; align-items: flex-start; padding: 15px 26px; border-bottom: 1px solid var(--line); }
.citem .cn { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--green-soft); color: var(--green-deep);
  font-weight: 800; font-size: 13px; display: grid; place-items: center; margin-top: 2px; }
.citem p { font-size: 1rem; color: var(--ink-70); line-height: 1.62; }
@media (prefers-reduced-motion: reduce) { .charter-track { animation: none; } .charter-scroll { overflow-y: auto; } }

/* 강조 하이라이트 (행복한 삶 등) */
.hl-mark { background: linear-gradient(transparent 58%, rgba(31,157,87,.30) 58%); padding: 0 3px; }
/* 빠른메뉴 4카드 */
.wh-quickmenu { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-top: 8px; }
@media (max-width:900px){ .wh-quickmenu{ grid-template-columns:1fr 1fr; } }
@media (max-width:520px){ .wh-quickmenu{ grid-template-columns:1fr; } }
.qm { display:block; padding:24px 22px; border-radius:18px; background:#fff; border:1px solid var(--line);
  box-shadow:var(--shadow); border-top:4px solid var(--green); transition:transform .18s, box-shadow .18s; }
.qm:hover { transform:translateY(-5px); box-shadow:var(--shadow-lg); }
.qm.c-blue{ border-top-color:#2f8fe0; } .qm.c-green{ border-top-color:var(--green); }
.qm.c-orange{ border-top-color:#f0932b; } .qm.c-purple{ border-top-color:#8e5bd0; }
.qm .qic { font-size:30px; margin-bottom:10px; }
.qm h3 { font-size:1.15rem; font-weight:800; }
.qm p { color:var(--ink-70); font-size:.95rem; margin:6px 0 10px; }
.qm .go { color:var(--green-deep); font-weight:700; font-size:.9rem; }
/* 아이콘 미세 플로팅 (생동감) */
@media (prefers-reduced-motion: no-preference) {
  .qm .qic { animation: floaty 4.5s ease-in-out infinite; }
  .qm:nth-child(2) .qic { animation-delay:.6s } .qm:nth-child(3) .qic { animation-delay:1.2s } .qm:nth-child(4) .qic { animation-delay:1.8s }
  .wh-card .ic { animation: floaty 5s ease-in-out infinite; }
}
@keyframes floaty { 0%,100%{ transform:translateY(0) } 50%{ transform:translateY(-6px) } }

/* 사업 상태 뱃지 */
.wh-card .st { display:inline-block; padding:3px 10px; border-radius:999px; font-size:12px; font-weight:800; margin-bottom:10px; }
.wh-card .st.on { background:var(--green-soft); color:var(--green-deep); }
.wh-card .st.soon { background:#f1f1f1; color:#888; }
