/* 한국한센봉사회 공개 화면 — 로고 색 기반 */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css");

:root {
  --brand: #e5194f;
  --brand-ink: #b8123e;
  --coral: #f06a6a;
  --apricot: #f4a07a;
  --sun: #fbbe45;
  --ink: #2b2420;
  --ink-2: #6b5f57;
  --line: #ece4de;
  --bg: #fffaf6;
  --surface: #ffffff;
  --ok: #247a58;
  --err: #c04444;
  --radius: 12px;
  /* 공통 폭: 사랑밭(withgo) 기준 최대 1560px(여백 포함), 좌우 여백 60/50/40/30/20px */
  --wrap: 1560px;
  --gut: 60px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Pretendard Variable", Pretendard, "맑은 고딕", "Malgun Gothic", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  word-break: keep-all;
}
a { color: var(--brand-ink); }
img { max-width: 100%; height: auto; }

.wrap { max-width: calc(720px + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut) 64px; box-sizing: border-box; }


.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 24px 0; padding: 0; list-style: none; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; font-size: 15px; }
.steps b { display: block; color: var(--brand); font-size: 13px; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; margin-bottom: 16px; }
.card h2 { font-size: 19px; margin: 0 0 14px; }

.field { margin-bottom: 16px; }
.field > label, .field > .label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 16px; }
.field .hint { color: var(--ink-2); font-size: 14px; margin-top: 4px; }
.req::after { content: " *"; color: var(--brand); }

input[type=text], input[type=tel], input[type=email], input[type=password], select, textarea {
  width: 100%; font: inherit; font-size: 17px; padding: 11px 12px;
  border: 1px solid #d9cec6; border-radius: 10px; background: #fff; color: var(--ink);
}
textarea { min-height: 72px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(229, 25, 79, .18); border-color: var(--brand); }

.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; cursor: pointer;
  border: 1px solid #d9cec6; border-radius: 999px; background: #fff; font-size: 16px;
}
.choices input { accent-color: var(--brand); }
.choices label:has(input:checked) { border-color: var(--brand); background: #fff1f4; font-weight: 600; }
.plans { display: grid; gap: 8px; }
.plans label {
  display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; cursor: pointer;
  border: 1px solid #d9cec6; border-radius: 10px; background: #fff;
}
.plans input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--brand); flex: none; }
.plans b { display: block; font-size: 16px; }
.plans small { display: block; color: var(--muted, #6b5f58); font-size: 14px; margin-top: 2px; }
.plans label:has(input:checked) { border-color: var(--brand); background: #fff1f4; }

.agree { border-top: 1px solid var(--line); padding: 12px 0; }
.agree:first-of-type { border-top: 0; }
.agree > label { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; cursor: pointer; }
.agree input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--brand); flex: none; }
.agree details { margin: 6px 0 0 30px; font-size: 14px; color: var(--ink-2); }
.agree summary { cursor: pointer; text-decoration: underline; }
.agree table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.agree th, .agree td { border: 1px solid var(--line); padding: 6px 8px; text-align: left; vertical-align: top; }
.agree th { background: #faf5f1; width: 30%; }
.all { background: #fff6ef; border-radius: 10px; padding: 12px; margin-bottom: 6px; }

.btn {
  display: block; width: 100%; padding: 15px; border: 0; border-radius: 12px; cursor: pointer;
  background: var(--brand); color: #fff; font: inherit; font-size: 18px; font-weight: 700;
}
.btn:disabled { opacity: .55; cursor: default; }
.msg { margin: 12px 0 0; font-weight: 600; }
.msg.err { color: var(--err); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.done { text-align: center; }
.done h2 { font-size: 24px; }
.bank { text-align: left; background: #fff6ef; border-radius: var(--radius); padding: 16px 18px; margin: 18px 0; }
.bank dl { display: grid; grid-template-columns: 96px 1fr; gap: 6px 10px; margin: 0; }
.bank dt { color: var(--ink-2); }
.bank dd { margin: 0; font-weight: 700; }

@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .card { padding: 18px 16px; }
}

/* ═════════ 공개 사이트 (2026-10-25 개편: 사랑밭형 화면 + 천만문화재단형 메뉴) ═════════ */
body.home, body.sub { background: #fff; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; z-index: 99; background: #fff; padding: 8px 12px; }
[id] { scroll-margin-top: 90px; }
.in, .gh-in, .sv-in, .cta-in, .gf-in, .ct, .gh-mega-in, .allmenu-top, .allmenu-grid, .allmenu-cta { max-width: var(--wrap); margin-left: auto; margin-right: auto; padding-left: var(--gut); padding-right: var(--gut); box-sizing: border-box; }
/* 머리·첫 화면 사진·하위 배너는 사랑밭처럼 화면 전체 폭(좌우 여백만), 그 안의 글은 본문 선(--wrap)에 맞춘다 */
.gh-in, .hero2 .in { max-width: none; }
.sv-full { padding-left: var(--gut); padding-right: var(--gut); }
@media (max-width: 1440px) { :root { --gut: 50px; } }
@media (max-width: 1280px) { :root { --gut: 40px; } }
@media (max-width: 768px) { :root { --gut: 30px; } }
@media (max-width: 425px) { :root { --gut: 20px; } }

/* 머리: 로고 · 대메뉴 4 · 후원/가입 · 전체메뉴 */
.gh { position: sticky; top: 0; z-index: 40; background: #fff; }
.gh-in { display: flex; align-items: center; height: 76px; gap: 24px; }
.gh-logo { flex: none; }
.gh-logo img { height: 40px; width: auto; display: block; object-fit: contain; }
.gh-nav { margin: 0 auto; height: 100%; }
.gh-nav ul { display: flex; gap: 8px; height: 100%; margin: 0; padding: 0; list-style: none; }
.gh-nav li { height: 100%; }
.gh-nav a { display: flex; align-items: center; height: 100%; padding: 0 22px; font-size: 18px; font-weight: 700; color: var(--ink); text-decoration: none; position: relative; }
.gh-nav li.on a, .gh-nav a:hover { color: var(--brand); }
.gh-nav li.on a::after { content: ""; position: absolute; left: 22px; right: 22px; bottom: -1px; height: 3px; background: var(--brand); border-radius: 3px; }
.gh-util { display: flex; align-items: center; gap: 8px; }
.gh-btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 20px 0 17px; box-sizing: border-box; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 700; font-size: 15px; text-decoration: none; border: 1.5px solid var(--brand); white-space: nowrap; }
.gh-btn.line { background: #fff; color: var(--brand); }
.gh-all { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; place-content: center; gap: 5px; padding: 0; }
.gh-all span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }
.gh-all em { position: absolute; left: -9999px; }

.gh-mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid #f1ebe6; box-shadow: 0 18px 30px rgba(60, 30, 20, .08); visibility: hidden; opacity: 0; transform: translateY(-6px); transition: .18s; }
.gh-nav:hover ~ .gh-mega, .gh:has(.gh-nav:hover) .gh-mega, .gh-mega:hover, .gh:has(.gh-nav :focus-visible) .gh-mega { visibility: visible; opacity: 1; transform: none; }
.gh-mega-in { padding-top: 28px; padding-bottom: 34px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.gh-mega b, .allmenu-grid b { display: block; font-size: 17px; padding-bottom: 10px; margin-bottom: 8px; border-bottom: 2px solid var(--ink); }
.gh-mega ul, .allmenu-grid ul { list-style: none; margin: 0; padding: 0; }
.gh-mega a, .allmenu-grid a { display: block; padding: 6px 0; color: var(--ink-2); text-decoration: none; font-size: 16px; }
.gh-mega a:hover, .gh-mega a[aria-current], .allmenu-grid a:hover { color: var(--brand); }

.allmenu { position: fixed; inset: 0; z-index: 60; background: rgba(30, 20, 16, .45); }
.allmenu-in { background: #fff; max-height: 100%; overflow: auto; padding: 0 0 32px; }
.allmenu-top { height: 76px; display: flex; align-items: center; justify-content: space-between; }
.allmenu-top img { height: 34px; width: auto; }
.allmenu-x { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 18px; font: inherit; font-weight: 700; cursor: pointer; }
.allmenu-grid { margin-top: 12px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.allmenu-cta { margin-top: 4px; margin-bottom: 20px; display: none; gap: 8px; }
.allmenu-cta a { flex: 1; }

/* 공용 요소 */
.tag { display: inline-block; font-size: 14px; font-weight: 800; color: var(--brand); background: #fff0f3; padding: 5px 12px; border-radius: 999px; margin-bottom: 12px; }
.tag.light { background: rgba(255, 255, 255, .2); color: #fff; }
.hl { color: var(--brand); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-p, .btn-s, .btn-w, .btn-o { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 13px 26px; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: 17px; border: 1.5px solid transparent; }
.btn-p { background: var(--brand); color: #fff; }
.btn-p:hover { background: var(--brand-ink); }
.btn-s { background: #fff; color: var(--ink); border-color: #e3d8d0; }
.btn-w { background: #fff; color: var(--brand-ink); }
.btn-o { color: #fff; border-color: rgba(255, 255, 255, .7); }
.more { font-weight: 700; text-decoration: none; color: var(--ink-2); font-size: 15px; white-space: nowrap; }
.more::after { content: " →"; }
.more { display: inline-block; padding: 10px 0; }
.blk { padding: 96px 0 0; }
.vid { display: grid; grid-template-columns: minmax(260px, 1fr) 2fr; gap: 48px; align-items: center; }
.vid-txt h2 { margin: 0 0 14px; }
.vid-txt p { color: var(--ink-2); margin: 0 0 24px; }
.yt-cap { position: absolute; left: 24px; bottom: 20px; color: #fff; font-weight: 700; font-size: 15px; text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }
.yt::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(25, 18, 14, .55), transparent 45%); pointer-events: none; }
.yt:has(iframe)::after { display: none; }
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: 28px; overflow: hidden; background: #1d1714; cursor: pointer; }
.yt img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .9; transition: opacity .2s; }
.yt:hover img { opacity: 1; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-play { z-index: 1; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 84px; height: 84px; border-radius: 50%; border: 0; background: var(--brand); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.blk-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.blk-head h2, .blk h2 { font-size: clamp(26px, 3.6vw, 40px); line-height: 1.3; letter-spacing: -0.03em; margin: 0; }
.blk-head p { color: var(--ink-2); margin: 10px 0 0; }
.arrows { display: flex; gap: 8px; }
.arrows button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #e3d8d0; background: #fff; font-size: 18px; cursor: pointer; color: var(--ink); }
.arrows button:hover { border-color: var(--brand); color: var(--brand); }

/* 첫 화면: 둥근 카드형 슬라이더 */
.hero2 { padding: 20px 0 0; }
.hero2 .in { position: relative; }
.hs { position: relative; border-radius: 32px; overflow: hidden; height: min(640px, 72vh); min-height: 460px; background: #3a302a; }
.hs-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.hs-track::-webkit-scrollbar { display: none; }
.hs-slide { flex: 0 0 100%; position: relative; scroll-snap-align: start; color: #fff; }
.hs-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hs-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(25, 18, 14, .7), rgba(25, 18, 14, .25) 55%, rgba(25, 18, 14, 0) 80%); pointer-events: none; }
.hs-text { position: absolute; z-index: 1; left: max(56px, calc((100% + 2 * var(--gut) - var(--wrap)) / 2)); top: 50%; transform: translateY(-58%); max-width: 560px; }
.hs-text .tag { background: var(--sun); color: #3a2a10; }
.hs-text h2 { font-size: clamp(30px, 4.4vw, 52px); line-height: 1.22; letter-spacing: -0.03em; margin: 0 0 14px; }
.hs-text p { font-size: 18px; margin: 0 0 24px; color: #f6ece6; }
.hs-text .btn-s { background: rgba(255, 255, 255, .15); color: #fff; border-color: rgba(255, 255, 255, .6); }
.hs-ctrl { position: absolute; z-index: 2; left: max(56px, calc((100% + 2 * var(--gut) - var(--wrap)) / 2)); bottom: 120px; display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 700; }
.hs-ctrl button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .2); color: #fff; cursor: pointer; font-size: 16px; }
.hs-ctrl .num { font-variant-numeric: tabular-nums; min-width: 70px; text-align: center; letter-spacing: .04em; }
.hs-ctrl .num b { color: #fff; }
.hs-ctrl .num span { opacity: .6; }
.hs-bar { width: 120px; height: 3px; background: rgba(255, 255, 255, .3); border-radius: 3px; overflow: hidden; }
.hs-bar i { display: block; height: 100%; width: 0; background: #fff; }
.hs-bar i.run { animation: hsbar 8s linear forwards; }
@keyframes hsbar { to { width: 100%; } }

/* 히어로에 겹친 참여 카드 */
.join-card { position: relative; z-index: 3; margin: -84px auto 0; width: calc(100% - 80px); max-width: calc(var(--wrap) - 2 * var(--gut)); box-sizing: border-box; background: #fff; border-radius: 26px; box-shadow: 0 16px 40px rgba(60, 30, 20, .12); padding: 26px 32px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.join-card .t { font-size: 22px; font-weight: 800; color: var(--brand); white-space: nowrap; }
.join-card p { margin: 0; flex: 1 1 320px; color: var(--ink-2); }
.join-card p b { color: var(--ink); }

/* 활동 이야기 카드 넘김 */
.cards { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.cards::-webkit-scrollbar { display: none; }
.scard { scroll-snap-align: start; text-decoration: none; color: inherit; }
.scard .ph { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4/3; background: #f3ece7; }
.scard img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.scard:hover img { transform: scale(1.04); }
.scard .chip { position: absolute; left: 12px; top: 12px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.scard h3 { font-size: 18px; line-height: 1.45; margin: 14px 2px 4px; }
.scard time { color: var(--ink-2); font-size: 14px; margin-left: 2px; }

/* 소개: 브랜드색 바탕 + 유리 카드 */
.intro { margin-top: 96px; background: linear-gradient(120deg, #e5194f, #f06a6a 60%, #f4a07a); color: #fff; padding: 88px 0; position: relative; overflow: hidden; }
.intro::before { content: ""; position: absolute; inset: 0; background: url(/assets/img/slide-5-sea.webp) center/cover; opacity: .14; mix-blend-mode: luminosity; }
.intro .in { position: relative; text-align: center; }
.intro h2 { font-size: clamp(26px, 3.6vw, 40px); letter-spacing: -0.03em; margin: 0 0 40px; }
.intro h2 .hl { color: #ffe08a; }
.glass { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: left; }
.glass div { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(6px); border-radius: 24px; padding: 30px 28px; }
.glass b { display: block; font-size: 26px; margin-bottom: 10px; }
.glass b::before { content: "# "; color: #ffe08a; }
.glass p { margin: 0; color: #fff4f0; }
.intro .award-line { margin: 32px 0 0; font-weight: 700; }
.intro .award-line a { color: #fff; }

/* 사업 01~04 큰 카드 */
.biz { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.biz a { position: relative; display: block; border-radius: 24px; overflow: hidden; aspect-ratio: 3/4; color: #fff; text-decoration: none; background: #3a302a; }
.biz img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.biz a:hover img { transform: scale(1.05); }
.biz a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(25, 18, 14, .78), rgba(25, 18, 14, 0) 60%); }
.biz div { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 24px; }
.biz .no { font-weight: 800; color: #ffe08a; }
.biz h3 { font-size: 23px; margin: 4px 0 6px; }
.biz p { margin: 0; font-size: 15px; color: #f3e9e3; }

/* 봉사 일정(캠페인형) */
.camp { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.camp article { border: 1px solid #efe6df; border-radius: 22px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.camp img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.camp .bd { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.camp .st { align-self: flex-start; font-size: 13px; font-weight: 800; border-radius: 6px; padding: 3px 8px; background: #f3ece7; color: var(--ink-2); }
.camp .st.live { background: var(--brand); color: #fff; }
.camp h3 { margin: 0; font-size: 19px; }
.camp p { margin: 0; color: var(--ink-2); font-size: 15px; }
.camp .go { margin-top: auto; padding-top: 10px; font-weight: 700; font-size: 15px; text-decoration: none; }

/* 참여 방법(후원안내형) */
.ways { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ways a { display: flex; flex-direction: column; gap: 8px; padding: 28px 24px; border-radius: 22px; background: #fbf6f2; text-decoration: none; color: inherit; min-height: 210px; transition: .2s; }
.ways a:hover { background: #fff0f3; transform: translateY(-3px); }
.ways .ic { width: 52px; height: 52px; border-radius: 50%; background: #fff; border: 1px solid #f1e3dc; display: grid; place-items: center; color: var(--brand); }
.ways b { font-size: 20px; }
.ways span { color: var(--ink-2); font-size: 15px; }
.ways em { margin-top: auto; font-style: normal; font-weight: 700; color: var(--brand); font-size: 15px; }

/* 소식 탭 목록 */
.newsbox { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; }
.ntabs { display: flex; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; }
.ntabs button { border: 1px solid #e3d8d0; background: #fff; border-radius: 999px; padding: 7px 16px; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; color: var(--ink-2); }
.ntabs button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.nlist { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.nlist li { display: grid; grid-template-columns: 84px 1fr 110px; gap: 14px; align-items: center; padding: 17px 4px; border-bottom: 1px solid #efe6df; }
.nlist .c { font-size: 13px; font-weight: 800; color: var(--brand); }
.nlist .t { font-weight: 600; }
.nlist time { color: var(--ink-2); font-size: 14px; text-align: right; font-variant-numeric: tabular-nums; }
.nlist a { color: inherit; text-decoration: none; }
.nlist a:hover { text-decoration: underline; }
.prize { border-radius: 24px; background: linear-gradient(160deg, #fff6e0, #ffe6dc); padding: 32px 28px; display: flex; flex-direction: column; gap: 10px; }
.prize .y { font-size: 15px; font-weight: 800; color: #9a5b00; }
.prize h3 { font-size: 24px; line-height: 1.35; margin: 0; }
.prize p { margin: 0; color: var(--ink-2); }

/* 아래 참여 띠 + 꼬리 */
.cta-band { margin-top: 100px; background: linear-gradient(110deg, var(--brand), var(--coral) 70%, var(--apricot)); color: #fff; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-top: 56px; padding-bottom: 56px; flex-wrap: wrap; }
.cta-in h2 { font-size: clamp(22px, 3vw, 30px); margin: 0 0 8px; letter-spacing: -0.02em; }
.cta-in p { margin: 0; color: #fff1ec; max-width: 620px; }
.gf { background: #fff; color: var(--ink-2); font-size: 14px; border-top: 1px solid var(--line); }
.gf-top { border-bottom: 1px solid var(--line); }
.gf-top .gf-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 80px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.gf-policy { display: flex; flex-wrap: wrap; gap: 6px 28px; }
.gf-policy a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; }
.gf-policy a.b { color: var(--brand); font-weight: 800; }
.gf-policy a:hover { text-decoration: underline; }
.sns { display: flex; gap: 10px; }
.sns a { width: 48px; height: 48px; box-sizing: border-box; border-radius: 50%; border: 1px solid rgba(74, 78, 87, .14); color: #5b5f68; display: grid; place-items: center; transition: .15s; }
.sns a:hover { border-color: var(--brand); color: var(--brand); }
.gf-body { display: flex; gap: 48px; align-items: flex-start; padding-top: 36px; padding-bottom: 56px; }
.gf-logo { height: 32px; width: auto; flex: none; }
.gf-info p { margin: 0 0 6px; }
.gf-info span + span::before { content: ""; display: inline-block; width: 1px; height: 11px; background: #d9cfc8; margin: 0 12px; }
.gf-info .muted { color: #9d918a; margin-top: 14px; }
.mbar { display: none; }
/* 오른쪽 아래 고정: 후원하기 + 맨 위로 (모든 페이지) */
.fab { position: fixed; right: 20px; bottom: 40px; z-index: 30; width: 80px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.fdon { width: 80px; height: 80px; border-radius: 50%; background: var(--brand); color: #fff; text-decoration: none; font-weight: 700; font-size: 13px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; box-shadow: 0 10px 24px rgba(229, 25, 79, .28); transition: background .15s, transform .15s; }
.fdon:hover { background: var(--brand-ink); transform: translateY(-2px); }
.totop { width: 56px; height: 56px; box-sizing: border-box; border-radius: 50%; background: #fff; border: 1px solid #e3d8d0; display: grid; place-items: center; color: var(--ink); box-shadow: 0 6px 16px rgba(0, 0, 0, .08); opacity: 0; visibility: hidden; transition: opacity .2s; }
.totop.show { opacity: 1; visibility: visible; }
/* PC: 스크롤을 따라오는 후원하기 버튼 (모바일은 하단 고정 바) */

/* 메뉴 밖 문서 머리 */
.sv-doc h1 { margin-top: 36px; }
.crumb-t { padding: 4px 10px; position: relative; }
.crumb-t::before { content: "›"; position: absolute; left: -4px; color: #c4b6ac; }

/* 약관 탭: 하위 메뉴와 같은 가운데 글자+밑줄형 (둥근 버튼형 기각, 2026-10-26) */
.ptabs { margin-top: 40px; border-bottom: 1px solid #efe6df; overflow-x: auto; scrollbar-width: none; }
.ptabs ul { display: flex; justify-content: center; gap: clamp(28px, 4vw, 64px); list-style: none; margin: 0 auto; padding: 0 4px; width: max-content; min-width: 100%; box-sizing: border-box; }
.ptabs a { display: block; padding: 14px 2px 13px; font-size: 18px; text-decoration: none; color: var(--ink-2); font-weight: 600; white-space: nowrap; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.ptabs a:hover { color: var(--ink); }
.ptabs a[aria-current] { color: var(--ink); font-weight: 800; border-color: var(--brand); }
@media (max-width: 768px) { .ptabs { margin-top: 28px; } .ptabs ul { justify-content: flex-start; gap: 24px; } .ptabs a { font-size: 16px; padding: 12px 2px 11px; } }

/* 약관·방침·정관 본문 */
.doc { line-height: 1.8; font-size: 17px; }
.doc h2 { font-size: 22px; margin: 44px 0 12px; padding-top: 4px; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 17px; margin: 26px 0 6px; }
.doc p { margin: 0 0 10px; }
.doc ol, .doc ul { margin: 0 0 12px; padding-left: 22px; }
.doc li { margin-bottom: 4px; }
.doc table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; font-size: 16px; }
.doc th, .doc td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.doc th { background: #fbf5f1; white-space: nowrap; }
.doc .toc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 26px; margin-bottom: 36px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px 28px; }
.doc .toc a { color: var(--ink-2); text-decoration: none; display: block; padding: 3px 0; font-size: 16px; }
.doc .toc a:hover { color: var(--brand); }
.doc .notice { background: #fff0f3; border-left: 4px solid var(--brand); border-radius: 8px; padding: 16px 20px; margin-bottom: 28px; }
.doc .muted { color: var(--ink-2); font-size: 15px; }
.doc .notice b { font-weight: 700; }
.doc-foot { margin-top: 48px; border-top: 2px solid var(--ink); padding-top: 18px; }
.doc-foot dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 24px; margin: 0; font-size: 16px; }
.doc-foot dt { color: var(--ink-2); font-weight: 600; }
.doc-foot dd { margin: 0; }

/* 로그인 */
.login2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.login2 .card { padding: 36px 40px; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.login2 .card h2 { margin: 0; }
.login2 .card p { margin: 0 0 8px; color: var(--ink-2); flex: 1; }
.login2 .card .login-form { flex: 1; }
.login-form .field { margin-bottom: 14px; }
.login-form .btn-row { margin-top: 6px; }
button.btn-p, button.btn-s { cursor: pointer; font-family: inherit; }
.msg.ok { color: var(--ok); }
/* 간편 로그인 버튼 */
/* 꼬리 .sns(SNS 아이콘)와 이름이 겹치지 않게 sns-login */
.sns-login { display: grid; grid-template-columns: 1fr; gap: 8px; margin: 4px 0 8px; width: 100%; }
.sns-btn { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; box-sizing: border-box; padding: 0 48px; height: 50px; border-radius: 10px; font-weight: 700; font-size: 16px; text-decoration: none; border: 1px solid transparent; }
.sns-btn.kakao { background: #fee500; color: #191919; }
.sns-btn.naver { background: #03c75a; color: #fff; }
.sns-btn.google { background: #fff; color: #1f1f1f; border-color: #dadce0; }
.sns-btn:hover { filter: brightness(.96); }
.sns-btn svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); }
.sns-or { display: flex; align-items: center; gap: 12px; color: var(--ink-2); font-size: 14px; margin: 14px 0 10px !important; flex: none !important; }
.sns-or::before, .sns-or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.social-on { background: #fff8d6; border-radius: 8px; padding: 12px 14px; margin: 0 0 14px; font-weight: 600; }
.sns-list { list-style: none; margin: 0; padding: 0; }
.sns-list li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.sns-list li > :last-child { margin-left: auto; }
.sns-list .on { color: var(--ok); font-weight: 700; }
.sns-dot { width: 12px; height: 12px; border-radius: 50%; }
.sns-dot.kakao { background: #fee500; } .sns-dot.naver { background: #03c75a; } .sns-dot.google { background: #4285f4; }
/* 내 정보 */
.my { max-width: 820px; }
.my .card { padding: 28px 32px; margin-bottom: 20px; }
.my-dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 28px; margin: 0 0 12px; font-size: 17px; }
.my-dl dt { color: var(--ink-2); font-weight: 600; }
.my-dl dd { margin: 0; }
.my-sum { font-size: 17px; margin: 0 0 12px; }
.my-sum b { color: var(--brand); }
.my-tbl { width: 100%; border-collapse: collapse; font-size: 16px; margin-bottom: 10px; }
.my-tbl th, .my-tbl td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; }
.my-tbl th { color: var(--ink-2); font-weight: 600; border-bottom: 2px solid var(--ink); }
.my-tbl .num { text-align: right; }
.my-check { display: flex; gap: 10px; align-items: center; font-size: 17px; cursor: pointer; }
.my-check input { width: 20px; height: 20px; accent-color: var(--brand); }
@media (max-width: 640px) { .my .card { padding: 20px 18px; } .my-dl { gap: 4px 16px; font-size: 16px; } }

/* 게시판 글 보기 */
.post { border-top: 2px solid var(--ink); }
.post-img { margin: 0 0 24px; }
.post-img img { display: block; max-width: min(100%, 720px); height: auto; border-radius: 12px; border: 1px solid var(--line); }
.post-h { padding: 22px 4px 18px; border-bottom: 1px solid #efe6df; }
.post-h .c { font-size: 13px; font-weight: 800; color: var(--brand); }
.post-h h2 { margin: 6px 0 8px !important; font-size: clamp(22px, 2.6vw, 28px) !important; }
.post-h time { color: var(--ink-2); font-size: 14px; }
.post-b { padding: 28px 4px; line-height: 1.85; font-size: 17px; border-bottom: 1px solid #efe6df; overflow-wrap: anywhere; }
.post-b p { margin: 0 0 14px; }
.post-b a { color: var(--brand); }
.post-link { margin-top: 8px; font-size: 16px; }
.post-link b { margin-right: 8px; }
.post-nav { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid #efe6df; }
.post-nav li { display: grid; grid-template-columns: 70px 1fr; gap: 12px; padding: 14px 4px; border-top: 1px solid #f4ede8; }
.post-nav li:first-child { border-top: 0; }
.post-nav b { font-size: 14px; color: var(--ink-2); }
.post-nav a { color: inherit; text-decoration: none; }
.post-nav a:hover { text-decoration: underline; }
.post-foot { margin-top: 24px; display: flex; justify-content: center; }
.nlist .empty { display: block; padding: 40px 4px; text-align: center; color: var(--ink-2); }

/* 하위 페이지 머리 (천만문화재단형: 경로 드롭다운 + 큰 제목 + 사진 띠 + 탭) */
.sv { padding: 18px 0 0; }
.crumb { display: flex; align-items: center; gap: 4px; font-size: 14px; color: var(--ink-2); }
.crumb .home { text-decoration: none; color: var(--ink-2); font-size: 17px; padding: 2px 6px; }
.dd { position: relative; }
.dd summary { list-style: none; cursor: pointer; padding: 4px 22px 4px 10px; position: relative; }
.dd summary::-webkit-details-marker { display: none; }
.dd summary::before { content: "›"; position: absolute; left: -4px; color: #c4b6ac; }
.dd summary::after { content: "▾"; position: absolute; right: 6px; font-size: 11px; top: 7px; }
.dd ul { position: absolute; left: 6px; top: 100%; z-index: 30; min-width: 150px; list-style: none; margin: 4px 0 0; padding: 8px; background: #fff; border: 1px solid #efe6df; border-radius: 12px; box-shadow: 0 10px 24px rgba(0, 0, 0, .08); }
.dd a { display: block; padding: 7px 10px; border-radius: 8px; text-decoration: none; color: var(--ink); white-space: nowrap; }
.dd a:hover, .dd a[aria-current] { background: #fff0f3; color: var(--brand); }
/* 하위 페이지 배너 (사랑밭형) */
.sv h1 { font-size: clamp(34px, 4vw, 50px); letter-spacing: -0.03em; margin: 0 0 14px; line-height: 1.2; }
.sv-lead { font-size: clamp(16px, 1.4vw, 18px); color: var(--ink-2); margin: 0; max-width: 560px; line-height: 1.7; }
.sv-ban { position: relative; min-height: 300px; border-radius: 30px; margin-top: 12px; display: flex; align-items: center; padding: 48px 50px 64px;
  background: linear-gradient(90deg, #ffe4e9 0%, #ffe4e9 34%, rgba(255, 228, 233, .75) 50%, rgba(255, 228, 233, 0) 72%), var(--img) right center / cover no-repeat, #ffe4e9; }
.sv-ban .tag { background: var(--brand); color: #fff; }
@media (min-width: 641px) { .sv-ban { padding-left: max(50px, calc((100% + 2 * var(--gut) - var(--wrap)) / 2)); } }
.sv-ban .crumb { position: absolute; right: max(30px, calc((100% + 2 * var(--gut) - var(--wrap)) / 2)); bottom: 0; transform: translateY(50%); z-index: 5; display: flex; align-items: center; gap: 6px; padding: 8px; background: #fff; border-radius: 999px; box-shadow: 0 12px 30px rgba(60, 30, 20, .12); font-size: 15px; color: var(--ink); }
.sv-ban .crumb .home { width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; padding: 0; }
.sv-ban .dd summary { min-width: 200px; padding: 10px 40px 10px 18px; border-radius: 999px; font-weight: 600; }
.sv-ban .dd + .dd summary { border-left: 0; }
.sv-ban .dd summary::before { display: none; }
.sv-ban .dd summary::after { right: 18px; top: 13px; color: var(--ink-2); }
.sv-ban .dd:hover summary { background: #fbf5f1; }
.sv-ban .dd ul { left: 0; right: 0; }
.tabs { margin-top: 56px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid #efe6df; }
.tabs ul { display: flex; justify-content: center; gap: clamp(28px, 4vw, 64px); list-style: none; margin: 0 auto; padding: 0 4px; width: max-content; min-width: 100%; box-sizing: border-box; }
.tabs a { display: block; padding: 14px 2px 13px; font-size: 18px; text-decoration: none; color: var(--ink-2); font-weight: 600; white-space: nowrap; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tabs a:hover { color: var(--ink); }
.tabs a[aria-current] { color: var(--ink); font-weight: 800; border-color: var(--brand); }

/* 하위 페이지 공통 구성: 가운데 큰 문장 / 왼쪽 제목·오른쪽 본문 / 넓은 사진 / 숫자 띠 */
.sec { margin-top: 120px; }
.sec-c { text-align: center; max-width: 920px; margin-left: auto; margin-right: auto; }
.sec-c h2 { font-size: clamp(30px, 3.6vw, 48px) !important; line-height: 1.35; letter-spacing: -0.03em; margin: 0 0 20px !important; }
.sec-c p { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); line-height: 1.75; margin: 0; }
.row2 { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.row2 > h2, .row2 > div > h2 { font-size: clamp(26px, 2.6vw, 38px) !important; line-height: 1.35; letter-spacing: -0.03em; margin: 0 !important; }
.row2 .body { font-size: 18px; line-height: 1.85; color: #4a403a; }
.row2 .body p { margin: 0 0 18px; }
.wide-img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-radius: 30px; display: block; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stats div { background: #fbf6f2; border-radius: 24px; padding: 34px 28px; }
.stats b { display: block; font-size: clamp(30px, 3vw, 42px); font-weight: 900; color: var(--brand); letter-spacing: -0.03em; line-height: 1.1; }
.stats span { display: block; margin-top: 10px; color: var(--ink-2); font-weight: 600; }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.icard { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 36px 32px; }
.icard .ic { width: 56px; height: 56px; border-radius: 50%; background: #fff0f3; color: var(--brand); display: grid; place-items: center; margin-bottom: 20px; }
.icard h3 { font-size: 21px; margin: 0 0 8px !important; }
.icard p { margin: 0; color: var(--ink-2); line-height: 1.7; }
.teams { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.teams li { background: #fbf6f2; border-radius: 20px; padding: 20px 22px; }
.teams b { display: block; font-size: 18px; color: var(--ink); }
.teams span { display: block; margin-top: 4px; font-size: 15px; color: var(--ink-2); }
.place { background: #fbf6f2; border-radius: 30px; padding: 44px 44px 40px; display: flex; flex-direction: column; }
.place h2 { margin: 0 0 12px !important; }
.place .addr { font-size: clamp(19px, 1.8vw, 23px); font-weight: 700; line-height: 1.55; margin: 0; }
.place .facts { margin-bottom: 28px; }
.place .btn-row { margin-top: auto; }
.sub-h { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.sub-h h2 { font-size: clamp(26px, 2.6vw, 36px) !important; margin: 0 !important; letter-spacing: -0.03em; }
/* 하위 본문 */
.ct { padding-top: 72px; }
.ct h2 { font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -0.02em; margin: 0 0 16px; line-height: 1.35; }
.ct h3 { font-size: 21px; margin: 0 0 10px; }
.ct .sec2 { margin-top: 100px; }
.prose { max-width: 1100px; font-size: 18px; line-height: 1.85; }
.prose p { margin: 0 0 18px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split img { width: 100%; border-radius: 30px; aspect-ratio: 4/3; object-fit: cover; display: block; }
.split h2 { font-size: clamp(28px, 2.8vw, 40px) !important; line-height: 1.35; letter-spacing: -0.03em; }
.facts { display: grid; grid-template-columns: 110px 1fr; margin: 28px 0 0; border-top: 2px solid var(--ink); font-size: 17px; }
.facts dt, .facts dd { padding: 15px 0; border-bottom: 1px solid #efe6df; }
.facts dt { color: var(--ink-2); font-weight: 700; }
.facts dd { margin: 0; }
.panel { background: #fbf6f2; border-radius: 30px; padding: 40px; }
.panel h3 { font-size: 22px; line-height: 1.45; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid3 > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px !important; display: block; }
.note { color: var(--ink-2); font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.chips li { background: #fff0f3; color: var(--brand-ink); font-weight: 600; border-radius: 999px; padding: 5px 14px; font-size: 15px; }
.quote { font-size: clamp(20px, 2.4vw, 26px); font-weight: 700; line-height: 1.5; border-left: 5px solid var(--sun); padding: 4px 0 4px 20px; margin: 0 0 28px; }
.sign { text-align: right; font-weight: 700; margin-top: 24px; }

.hist-wrap { display: grid; grid-template-columns: 4fr 8fr; gap: 64px; align-items: start; }
.hist-side { position: sticky; top: 120px; }
.hist-side h2 { font-size: clamp(28px, 2.8vw, 40px) !important; line-height: 1.35; letter-spacing: -0.03em; }
.hist-side p { color: var(--ink-2); font-size: 17px; line-height: 1.8; margin: 0; }
.hist { position: relative; display: grid; gap: 0; border-top: 2px solid var(--ink); }
.hist .yr { display: grid; grid-template-columns: 170px 1fr; gap: 32px; padding: 30px 0; border-bottom: 1px solid #efe6df; }
.hist .yr > b { font-size: 34px; letter-spacing: -0.02em; color: var(--ink); line-height: 1.2; }
.hist .yr.hi > b { color: var(--brand); }
.hist .yr ul { margin: 6px 0 0; padding-left: 18px; font-size: 17px; }
.hist .yr li { margin-bottom: 4px; }

.steps3 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.steps3 li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 36px 32px; }
.steps3 li::before { content: counter(s, decimal-leading-zero); display: block; font-size: 34px; font-weight: 900; color: var(--brand); letter-spacing: -0.03em; margin-bottom: 14px; line-height: 1; }
.steps3 b { display: block; font-size: 21px; margin-bottom: 8px; }
.steps3 span { color: var(--ink-2); font-size: 16px; line-height: 1.7; }
.acct { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; background: #fff0f3; border-radius: 30px; padding: 32px 40px; margin-top: 24px; }
.acct b { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: .02em; }
.acct span { color: var(--ink-2); }
.acct button { margin-left: auto; border: 1.5px solid var(--brand); color: var(--brand); background: #fff; border-radius: 999px; padding: 8px 16px; font: inherit; font-weight: 700; cursor: pointer; }

.faq details { border-bottom: 1px solid #efe6df; padding: 26px 8px; }
.faq details:first-child { border-top: 2px solid var(--ink); }
.faq summary { font-weight: 700; cursor: pointer; font-size: 19px; list-style: none; display: flex; gap: 14px; align-items: baseline; }
.faq summary::after { content: "+"; margin-left: auto; font-size: 24px; color: var(--ink-2); font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; color: var(--brand); font-weight: 900; }
.faq details p { margin: 14px 0 0 32px; color: var(--ink-2); font-size: 17px; line-height: 1.8; background: #fbf6f2; border-radius: 18px; padding: 20px 24px; }

.year { display: grid; grid-template-columns: repeat(12, 1fr); gap: 8px; }
.year div { background: #fbf6f2; border-radius: 20px; padding: 18px 8px; text-align: center; min-height: 140px; }
.year b { display: block; font-size: 15px; color: var(--ink-2); }
.year .ev { display: block; margin-top: 6px; font-size: 13px; font-weight: 700; border-radius: 6px; padding: 3px 2px; line-height: 1.35; }
.ev.w { background: #e7f0fb; color: #1f4f86; }
.ev.s { background: #fff1d6; color: #7a4b00; }
.ev.k { background: #ffe3e7; color: #a3102f; }
.ev.b { background: #e9f4ea; color: #2d6a3c; }

.prz { display: grid; gap: 16px; }
.prz article { display: grid; grid-template-columns: 200px 1fr; gap: 40px; align-items: center; border-radius: 30px; padding: 48px 50px; background: #fbf6f2; }
.prz article.top { background: linear-gradient(140deg, #fff6e0, #ffe6dc); }
.prz .y { font-size: 56px; font-weight: 900; color: var(--brand); letter-spacing: -0.03em; }
.prz h3 { font-size: clamp(22px, 2.2vw, 28px); margin: 0 0 10px; }
.prz p { margin: 0; color: var(--ink-2); }

.empty { text-align: center; padding: 56px 24px; border: 2px dashed #eadfd7; border-radius: 24px; color: var(--ink-2); }
.empty b { display: block; color: var(--ink); font-size: 20px; margin-bottom: 6px; }

.sub .wrap { padding-top: 40px; }

@media (max-width: 1100px) {
  .gh-nav a { padding: 0 14px; font-size: 17px; }
  .gh-nav li.on a::after { left: 14px; right: 14px; }
  .cards { grid-auto-columns: calc((100% - 40px) / 3); }
  .biz, .camp, .ways { grid-template-columns: repeat(2, 1fr); }
  .biz a { aspect-ratio: 4/3; }
}
@media (max-width: 900px) {
  .gh-nav, .gh-mega, .fdon { display: none; }
  .gh-all { display: grid; }
  .gh-btn { height: 34px; padding: 0 12px; font-size: 13px; gap: 4px; }
  .gh-btn svg { display: none; }
  .login2 { grid-template-columns: 1fr; }
  .doc .toc { grid-template-columns: 1fr 1fr; }
  .vid { grid-template-columns: 1fr; gap: 24px; }
  .yt { border-radius: 20px; }
  .ptabs ul { grid-template-columns: 1fr 1fr; }
  .gf-body { flex-direction: column; gap: 20px; }
  .gh-util { margin-left: auto; }
  .gh-in { height: 64px; }
  .gh-logo img { height: 30px; }
  .allmenu-top { height: 64px; }
  .allmenu-grid { grid-template-columns: 1fr 1fr; }
  .allmenu-cta { display: flex; }
  .newsbox, .split, .grid2, .row2, .hist-wrap, .cards3 { grid-template-columns: 1fr; }
  .split, .row2, .hist-wrap { gap: 32px; }
  .hist-side { position: static; }
  .glass, .grid3, .steps3 { grid-template-columns: 1fr; }
  .year { grid-template-columns: repeat(6, 1fr); }
}
@media (max-width: 640px) {
  .hero2 { padding-top: 12px; }
  .hs { border-radius: 22px; height: 560px; min-height: 0; }
  .hs-slide::after { background: linear-gradient(0deg, rgba(25, 18, 14, .85), rgba(25, 18, 14, .2) 70%); }
  .hs-text { left: 22px; right: 22px; top: auto; bottom: 150px; transform: none; }
  .hs-text p { font-size: 16px; }
  .hs-ctrl { left: 22px; bottom: 96px; }
  .hs-bar { display: none; }
  .join-card { width: auto; margin: -72px 12px 0; padding: 22px; gap: 12px; }
  .join-card .btn-row { width: 100%; }
  .join-card .btn-row a { flex: 1; padding: 12px 10px; }
  .blk { padding-top: 64px; }
  .cards { grid-auto-columns: 78%; gap: 14px; }
  .biz, .camp, .ways { grid-template-columns: 1fr; }
  .ways a { min-height: 0; }
  .intro { margin-top: 64px; padding: 56px 0; }
  .nlist li { grid-template-columns: 1fr; gap: 2px; }
  .nlist time { text-align: left; }
  .allmenu-grid { grid-template-columns: 1fr; gap: 18px; }
  .sv-ban { border-radius: 22px; padding: 28px 24px 40px; min-height: 0; flex-direction: column; align-items: flex-start;
    background: linear-gradient(180deg, #ffe4e9 0%, #ffe4e9 55%, rgba(255, 228, 233, .6) 100%), var(--img) center / cover no-repeat, #ffe4e9; }
  .sv-ban .crumb { position: static; transform: none; margin-top: 22px; box-shadow: 0 6px 18px rgba(60, 30, 20, .08); width: 100%; box-sizing: border-box; }
  .sv-ban .dd { flex: 1; min-width: 0; }
  .sv-ban .dd summary { min-width: 0; padding: 9px 30px 9px 12px; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sv-ban .dd summary::after { right: 12px; top: 11px; }
  .sv-ban .crumb .home { width: 38px; height: 38px; flex: none; }
  .tabs { margin-top: 28px; }
  .tabs ul { justify-content: flex-start; gap: 24px; }
  .tabs a { font-size: 16px; padding: 12px 2px 11px; }
  .sec { margin-top: 80px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div { padding: 24px 20px; }
  .wide-img { aspect-ratio: 4 / 3; border-radius: 22px; }
  .icard { padding: 28px 24px; }
  .teams { grid-template-columns: 1fr; }
  .place { padding: 30px 24px; }
  .prz article { grid-template-columns: 1fr; gap: 8px; padding: 32px 26px; }
  .acct { padding: 24px; }
  .panel { padding: 28px 24px; }
  .hist .yr { grid-template-columns: 1fr; gap: 6px; }
  .prz article { grid-template-columns: 1fr; gap: 6px; padding: 24px; }
  .year { grid-template-columns: repeat(4, 1fr); }
  .acct button { margin-left: 0; }
  .mbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; box-shadow: 0 -4px 16px rgba(0, 0, 0, .08); }
  .mbar a { padding: 16px; text-align: center; font-weight: 800; text-decoration: none; background: #fff; color: var(--brand); }
  .mbar a.on { background: var(--brand); color: #fff; }
  .gh-in { gap: 8px; }
  .gh-util { gap: 6px; }
  .gh-btn { padding: 0 10px; }
  .fab { bottom: 72px; right: 14px; width: auto; }
  .totop { width: 42px; height: 42px; }
  .doc .toc { grid-template-columns: 1fr; }
  .gf-info span { display: block; }
  .gf-info span + span::before { display: none; }
  .gf-body { padding-bottom: 110px; }
}

/* 꼬리 SNS 아이콘 */

/* "준비 중입니다" 팝업 */
.soon { border: 0; border-radius: 22px; padding: 32px 28px 24px; width: min(360px, calc(100% - 32px)); text-align: center; box-shadow: 0 20px 50px rgba(0, 0, 0, .2); }
.soon::backdrop { background: rgba(30, 20, 16, .5); }
.soon b { display: block; font-size: 21px; margin-bottom: 6px; }
.soon p { margin: 0 0 20px; color: var(--ink-2); }
.soon .btn-p { border: 0; cursor: pointer; font: inherit; font-weight: 700; width: 100%; }
button.btn-s { font: inherit; font-weight: 700; cursor: pointer; }

/* 스크롤 등장 효과: 아래에서 떠오르기 (site.js 가 .rv 를 붙이고 화면에 들어오면 .on) */
.rv { opacity: 0; transform: translateY(48px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.rv.on { opacity: 1; transform: none; }

/* 첫 화면 팝업 (천만문화재단형) */
.pop { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; color: #fff; }
.pop::backdrop { background: rgba(20, 14, 12, .82); }
.pop[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; }
.pop-head { width: min(420px, 88vw); display: flex; align-items: center; gap: 14px; }
.pop-head b { font-size: 34px; font-weight: 800; letter-spacing: .02em; }
.pop-num { font-size: 16px; opacity: .8; }
.pop-num i { font-style: normal; font-weight: 800; opacity: 1; }
.pop-x { margin-left: auto; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; }
.pop-body { position: relative; display: flex; align-items: center; justify-content: center; }
.pop-nav { position: absolute; top: 40%; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); background: rgba(0, 0, 0, .25); color: #fff; font-size: 26px; cursor: pointer; }
.pop-nav.prev { left: -64px; }
.pop-nav.next { right: -64px; }
@media (max-width: 640px) { .pop-nav.prev { left: 6px; } .pop-nav.next { right: 6px; } }
.pop-list { list-style: none; margin: 0; padding: 0; width: min(420px, 88vw); }
.pop-list li { display: flex; flex-direction: column; gap: 12px; }
.pop-list li[hidden] { display: none; }
.pop-list img { width: 100%; height: auto; max-height: 68vh; object-fit: contain; border-radius: 18px; display: block; background: #fff; }
.pop-more { align-self: center; color: #fff; font-weight: 700; text-decoration: none; padding: 10px 26px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 999px; }
.pop-more:hover { background: #fff; color: var(--ink); }
.pop-foot { width: min(420px, 88vw); display: flex; justify-content: space-between; }
.pop-foot button { background: none; border: 0; color: #fff; font: inherit; font-size: 15px; cursor: pointer; opacity: .85; padding: 6px 0; }
.pop-foot button:hover { opacity: 1; text-decoration: underline; }

/* 화면에는 숨기고 화면낭독기·검색엔진에만 읽히는 글 */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* ===== 크기 체계: 사랑밭(withgo) 폭별 실측값 (2026-10-26) =====
   머리 1920 80px·1280 75px·1024 70px / 로고 높이 40→30→26 / 메뉴 20→16px, 1024 이하 전체메뉴
   첫 사진 시작 120→100→70px / 구역 제목 40→35→32→26px */
.gh-in { height: 100px; }
.gh-logo img { height: 26px; }
.gh-nav a { font-size: 18px; padding: 0 26px; white-space: nowrap; }
.gh-nav li.on a::after { left: 26px; right: 26px; }
.gh-btn { font-size: 16px; }
.gh-mega-in { padding-top: 32px; }
.allmenu-top { height: 100px; }
.allmenu-top img { height: 28px; }
.hero2 { padding-top: 20px; }
.hs { height: clamp(590px, 36.5vw, 700px); min-height: 0; }
.hs-text { max-width: 680px; top: auto; bottom: 178px; transform: none; }
.hs-slide img { pointer-events: none; -webkit-user-drag: none; }
.hs-text h2 { font-size: 64px; line-height: 1.18; margin-bottom: 20px; }
.hs-text p { font-size: 20px; line-height: 1.6; }
.hs-text .tag { font-size: 18px; padding: 7px 16px; }
.tag { font-size: 16px; padding: 6px 14px; }
.blk-head h2, .blk h2 { font-size: 40px; }
@media (min-width: 1600px) { .gh-nav a { font-size: 20px; padding: 0 32px; } .gh-nav li.on a::after { left: 32px; right: 32px; } }
@media (max-width: 1280px) {
  .gh-in { height: 84px; }
  .gh-logo img { height: 23px; }
  .gh-nav a { font-size: 16px; padding: 0 16px; }
  .gh-nav li.on a::after { left: 16px; right: 16px; }
  .gh-btn { height: 36px; font-size: 14px; padding: 0 16px 0 14px; }
  .allmenu-top { height: 84px; }
  .hero2 { padding-top: 16px; }
  .hs { height: 560px; }
  .hs-text h2 { font-size: 48px; }
  .hs-text p { font-size: 18px; }
  .blk-head h2, .blk h2 { font-size: 35px; }
}
@media (max-width: 1024px) {
  .gh-nav, .gh-mega { display: none; }
  .gh-all { display: grid; }
  .gh-util { margin-left: auto; }
  .gh-in { height: 70px; }
  .gh-logo img { height: 22px; }
  .gh-btn { height: 34px; padding: 0 12px; font-size: 13px; gap: 4px; }
  .gh-btn svg { display: none; }
  .allmenu-top { height: 70px; }
  .allmenu-grid { grid-template-columns: 1fr 1fr; }
  .allmenu-cta { display: flex; }
  .hero2 { padding-top: 8px; }
  .hs { height: 500px; }
  .hs-text h2 { font-size: 40px; }
  .hs-text p { font-size: 17px; }
  .hs-text .tag, .tag { font-size: 14px; }
  .blk-head h2, .blk h2 { font-size: 32px; }
}
@media (max-width: 1440px) { .hs-text h2 { font-size: 56px; } }
@media (max-width: 1280px) { .hs-text h2 { font-size: 48px; } }
@media (max-width: 1024px) { .hs-text h2 { font-size: 40px; } }
@media (max-width: 768px) { .blk-head h2, .blk h2 { font-size: 26px; } }
@media (max-width: 640px) {
  .hs { height: 560px; }
  .hs-text { bottom: 150px; }
  .hs-text h2 { font-size: 32px; }
  .hs-text p { font-size: 16px; }
}
@media (max-width: 425px) {
  .gh-logo img { height: 17px !important; }
  .gh-in { gap: 8px; }
  .gh-util { gap: 4px; }
  .gh-btn { height: 32px; padding: 0 8px; font-size: 12px; }
  .gh-all { width: 40px; }
}
@media (max-width: 374px) { .gh-logo img { height: 15px !important; } }
@media (max-width: 340px) { .gh-logo img { height: 13px !important; } .gh-btn { padding: 0 6px; } }

/* 첫 화면 슬라이드: 왼쪽으로 밀려 넘어감 (사랑밭·slick 방식, 끝에서 처음으로 끊김 없이) */
.hs-track { overflow: visible; scroll-snap-type: none; scroll-behavior: auto; will-change: transform; touch-action: pan-y; }
.hs-track.anim { transition: transform 1.1s cubic-bezier(.65, 0, .35, 1); }
.hs-slide { scroll-snap-align: none; }

/* 사진줄: 옆으로 넘겨 보기 + 누르면 크게 */
.gal-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.gal-n { color: var(--ink-2); font-size: 15px; }
.gal-btns { display: flex; gap: 8px; }
.gal-btns button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #e3d8d0; background: #fff; font-size: 22px; cursor: pointer; color: var(--ink); }
.gal-btns button:hover { border-color: var(--brand); color: var(--brand); }
.gal-row { list-style: none; margin: 0; padding: 0 0 6px; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.gal-row::-webkit-scrollbar { display: none; }
.gal-row li { scroll-snap-align: start; }
.gal-i { display: block; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3; background: #f3ece7; cursor: zoom-in; }
.gal-i img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.gal-i:hover img { transform: scale(1.05); }
.scard[data-gal] { cursor: zoom-in; }
@media (max-width: 1024px) { .gal-row { grid-auto-columns: calc((100% - 40px) / 3); } }
@media (max-width: 640px) { .gal-row { grid-auto-columns: 78%; gap: 12px; } .gal-btns { display: none; } }

/* 크게 보기 (사진 넘김) */
.lb { border: 0; padding: 0; background: transparent; width: 100%; height: 100%; max-width: none; max-height: none; color: #fff; }
.lb::backdrop { background: rgba(15, 10, 8, .92); }
.lb[open] { display: flex; align-items: center; justify-content: center; }
.lb-img { max-width: min(92vw, 1400px); max-height: 82vh; object-fit: contain; border-radius: 10px; display: block; user-select: none; }
.lb-x, .lb-nav { position: absolute; border: 1px solid rgba(255, 255, 255, .35); background: rgba(0, 0, 0, .3); color: #fff; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.lb-x { top: 20px; right: 20px; width: 48px; height: 48px; font-size: 26px; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 56px; height: 56px; font-size: 30px; }
.lb-nav.prev { left: 24px; }
.lb-nav.next { right: 24px; }
.lb-num { position: absolute; bottom: 24px; left: 0; right: 0; text-align: center; font-weight: 700; letter-spacing: .05em; }
@media (max-width: 640px) { .lb-nav { width: 44px; height: 44px; } .lb-nav.prev { left: 8px; } .lb-nav.next { right: 8px; } }

.tlink { color: var(--brand); font-weight: 700; text-decoration: none; }
.tlink:hover { text-decoration: underline; }

/* 꼬리 오른쪽: 후원 계좌·문의 */
.gf-info { flex: 1; }
.gf-side { display: flex; gap: 14px; flex: none; }
.gf-side div { background: #fbf6f2; border-radius: 18px; padding: 16px 22px; min-width: 210px; }
.gf-side b { display: block; font-size: 13px; color: var(--ink-2); font-weight: 600; }
.gf-side strong { display: block; font-size: 18px; color: var(--ink); margin: 4px 0 2px; letter-spacing: .01em; }
.gf-side span { font-size: 13px; color: #9d918a; }
.gf-side a { color: inherit; }
.gf-side span a { text-decoration: underline; text-underline-offset: 3px; }
.gf-side span a:hover { color: var(--ink); }
@media (max-width: 1100px) { .gf-body { flex-wrap: wrap; } .gf-side { width: 100%; } .gf-side div { flex: 1; min-width: 0; } }
@media (max-width: 640px) { .gf-side { flex-direction: column; } }

/* 회원 가입: 왼쪽 안내(고정) + 오른쪽 신청서 */
.join-lay { display: grid; grid-template-columns: minmax(280px, 4fr) 8fr; gap: 64px; align-items: start; padding-bottom: 40px; }
.join-side { position: sticky; top: 120px; }
.join-side h2 { font-size: clamp(28px, 2.6vw, 38px); line-height: 1.35; margin: 0 0 24px; }
.join-side .steps { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 0 0 20px; }
.join-side .steps li { display: flex; gap: 16px; align-items: center; padding: 16px 20px; border-radius: 18px; }
.join-side .steps b { font-size: 22px; font-weight: 900; color: var(--brand); }
.join-side .steps span { font-weight: 700; font-size: 17px; }
.join-side .steps small { display: block; font-weight: 400; font-size: 14px; color: var(--ink-2); margin-top: 2px; }
.join-acct { background: #fff0f3; border-radius: 18px; padding: 18px 20px; margin-bottom: 14px; }
.join-acct b { display: block; font-size: 13px; color: var(--brand); }
.join-acct strong { display: block; font-size: 20px; margin: 4px 0; }
.join-acct span { font-size: 13px; color: var(--ink-2); }
.join-main .card { border-radius: 24px; padding: 30px 32px; margin-bottom: 18px; }
.join-main .card h2 { font-size: 21px; }
@media (max-width: 1024px) { .join-lay { grid-template-columns: 1fr; gap: 32px; } .join-side { position: static; } }
@media (max-width: 640px) { .join-main .card { padding: 22px 20px; } }

/* 일정표 (소식 > 일정표): 월 달력 + 다가오는 일정 */
.cal-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.cal-head h2 { font-size: 26px; margin: 0 6px; min-width: 150px; text-align: center; }
.cal-nav { width: 44px; height: 44px; border-radius: 10px; border: 1px solid #e3d8d0; background: #fff; font-size: 18px; cursor: pointer; color: var(--ink); }
.cal-today { height: 44px; padding: 0 16px; border-radius: 10px; border: 1px solid #e3d8d0; background: #fff; font-size: 16px; font-weight: 600; cursor: pointer; }
.cal-nav:hover, .cal-today:hover { border-color: var(--brand); color: var(--brand); }
.cal-filter { margin-left: auto; display: flex; gap: 6px; flex-wrap: wrap; }
.cal-filter button { height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid #e3d8d0; background: #fff; font-size: 15px; font-weight: 600; cursor: pointer; color: var(--ink-2); }
.cal-filter button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-dow { text-align: center; font-size: 15px; font-weight: 700; color: var(--ink-2); padding: 6px 0; }
.cal-dow.sun, .cal-day.sun .n { color: #d23b3b; }
.cal-dow.sat, .cal-day.sat .n { color: #2f6fd6; }
.cal-day { min-height: 118px; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 8px; text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 4px; font: inherit; color: inherit; }
.cal-day.empty { visibility: hidden; }
.cal-day .n { font-weight: 800; font-size: 16px; }
.cal-day.today { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.cal-day.today .n::after { content: "오늘"; margin-left: 6px; font-size: 12px; font-weight: 700; color: var(--brand); }
.cal-day.sel { background: #fff5f7; }
.cal-day:hover { border-color: #d9cec6; }
.ev-chip { display: block; font-size: 13px; line-height: 1.35; padding: 3px 6px; border-radius: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.cal-more { font-size: 12px; color: var(--ink-2); }
.k-정기봉사 { background: #e8f0fd; color: #1f56b0; }
.k-김장 { background: #e6f4ec; color: #1f6e45; }
.k-목욕 { background: #e3f3f4; color: #0d6a72; }
.k-모집 { background: #ffe9ee; color: var(--brand-ink); }
.k-행사 { background: #fdf1dc; color: #8a5a0b; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 14px; font-size: 14px; color: var(--ink-2); align-items: center; }
.cal-legend .ev-chip { display: inline-block; }
.cal-list { margin-top: 48px; }
.cal-list h2 { font-size: 26px; margin: 0 0 6px; }
.cal-list .sub { color: var(--ink-2); margin: 0 0 16px; }
.cal-list ul { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.cal-list li { display: grid; grid-template-columns: 150px 84px 1fr auto; gap: 14px; align-items: center; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.cal-list .d { font-weight: 700; }
.cal-list .ev-chip { text-align: center; }
.cal-list .t b { display: block; font-size: 17px; }
.cal-list .t span { color: var(--ink-2); font-size: 15px; }
.cal-list .st { font-size: 14px; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.cal-list .st.live { color: var(--brand); }
.cal-list .st a { color: var(--brand); }
.cal-list .none { padding: 24px 4px; color: var(--ink-2); grid-template-columns: 1fr; }
@media (max-width: 768px) {
  .cal-head h2 { font-size: 22px; min-width: 120px; }
  .cal-filter { margin-left: 0; width: 100%; }
  .cal-grid { gap: 3px; }
  .cal-day { min-height: 64px; padding: 5px; border-radius: 8px; }
  .cal-day .n { font-size: 14px; }
  .cal-day.today .n::after { display: none; }
  .ev-chip.in-cell { font-size: 0; height: 6px; padding: 0; border-radius: 3px; }
  .cal-list li { grid-template-columns: 1fr auto; gap: 6px 10px; }
  .cal-list .t { grid-column: 1 / -1; }
}
