/* 기준: VOUS Church 류의 에디토리얼 미니멀 — 따뜻한 회백색, 검정 글자, 모노 라벨, 큰 사진 */
:root {
  --bg: #ebe9e5;
  --paper: #f6f5f2;
  --ink: #141414;
  --ink-2: #3c3c3a;
  --muted: #7a7873;
  --line: #d6d3cd;
  --dark: #121212;
  --radius: 4px;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 17px; line-height: 1.7; word-break: keep-all; letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.2; margin: 0; }

/* 머리 — 흰 띠, 가운데 메뉴, 오른쪽 두 줄 메뉴 버튼 */
.top { position: fixed; inset: 0 0 auto; z-index: 30; background: #fff; border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top-in { height: 60px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 clamp(16px, 8vw, 150px); }
.brand img { height: 30px; width: auto; display: block; }
.nav { display: flex; gap: clamp(20px, 2.6vw, 40px); }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .2s, color .2s; padding: 4px 0; }
.nav a:hover, .nav a:focus-visible { background-size: 100% 1px; }
/* 교회소개 하위 메뉴(인사말·비전 / 섬기는 분) */
.nav-group { position: relative; }
.nav-sub { position: absolute; top: 100%; left: -18px; padding: 14px 18px 10px; min-width: 150px; display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .2s, transform .2s, visibility .2s; }
.nav-group:hover .nav-sub, .nav-group:focus-within .nav-sub { opacity: 1; visibility: visible; transform: none; }
.nav-sub a { font-size: 14px; white-space: nowrap; justify-self: start; width: max-content; }
.top-right { justify-self: end; display: flex; align-items: center; gap: 18px; }
.give-btn { font: inherit; font-size: 13px; font-weight: 600; letter-spacing: -0.01em; padding: 7px 15px; min-height: 36px; border: 1.5px solid var(--ink); border-radius: 999px; background: none; color: var(--ink); cursor: pointer; transition: .2s; }
.give-btn:hover, .give-btn:focus-visible { background: var(--ink); color: #fff; }
.menu-btn { width: 36px; height: 36px; border: 0; background: none; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; right: 0; height: 2px; background: var(--ink); transition: .25s; }
.menu-btn span:first-child { top: 13px; width: 36px; }
.menu-btn span:last-child { top: 21px; width: 22px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 17px; transform: rotate(45deg); width: 28px; }
.menu-btn[aria-expanded="true"] span:last-child { top: 17px; transform: rotate(-45deg); width: 28px; }

/* 첫 화면 — 화면 가득한 사진 */
.hero { position: relative; height: calc(100svh - 108px); min-height: 560px; margin-top: 60px; color: #fff; overflow: hidden; background: #222; }
.slides, .slide { position: absolute; inset: 0; }
.slide { background-size: cover; background-position: center; opacity: 0; transition: opacity 1.1s ease; }
.slide.is-on { opacity: 1; }
.hero::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(255,248,238,.55) 0%, rgba(255,248,238,.18) 34%, rgba(255,248,238,0) 52%),
  linear-gradient(180deg, rgba(20,20,20,0) 62%, rgba(20,20,20,.42) 100%); }
.watch { text-shadow: 0 1px 18px rgba(0,0,0,.25); }
.hero > *:not(.slides) { position: absolute; z-index: 2; }
/* 첫 화면 글씨 — 사진 왼쪽 밝은 벽 위, 짙은 갈색 명조. 한 줄씩 아래에서 올라오며 나타난다 */
.hero-copy { left: clamp(16px, 7vw, 130px); top: clamp(36px, 8vh, 96px); max-width: 760px; color: #2f2a25; }
.hero-eyebrow { display: flex; align-items: center; gap: 16px; margin: 0 0 clamp(22px, 4vh, 40px); font-size: 14px; letter-spacing: .38em; color: #5b524a; }
.hero-eyebrow i { display: block; width: 96px; height: 1px; background: currentColor; opacity: .7; transform-origin: left; }
.hero h1 { margin: 0; font-family: "Noto Serif KR", serif; font-size: clamp(32px, 3.3vw, 58px); line-height: 1.42; font-weight: 500; letter-spacing: -0.02em; }
.hero h1 em { font-style: normal; color: #8a5a2b; }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .ln > span { display: inline-block; }

@media (prefers-reduced-motion: no-preference) {
  .hero-eyebrow span { animation: heroFade .9s .2s both ease-out; }
  .hero-eyebrow i { animation: heroLine 1s .45s both cubic-bezier(.2,.7,.2,1); }
  .hero h1 .ln > span { animation: heroRise 1.1s both cubic-bezier(.2,.75,.2,1); }
  .hero h1 .ln:nth-child(1) > span { animation-delay: .55s; }
  .hero h1 .ln:nth-child(2) > span { animation-delay: .8s; }
  .hero h1 em { background: linear-gradient(90deg, #8a5a2b 50%, #2f2a25 50%) 100% 0 / 200% 100% no-repeat; -webkit-background-clip: text; background-clip: text; color: transparent; animation: heroTint 1.2s 1.5s both ease-out; }
  .slide.is-on { animation: heroZoom 9s both ease-out; }
}
@keyframes heroFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes heroLine { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes heroRise { from { transform: translateY(105%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes heroTint { to { background-position: 0 0; } }
@keyframes heroZoom { from { transform: scale(1.03); } to { transform: none; } }

.watch { left: clamp(16px, 8vw, 150px); bottom: 56px; display: flex; align-items: center; gap: 18px; background: none; border: 0; color: #fff; text-align: left; cursor: pointer; padding: 0; max-width: min(720px, 80vw); font: inherit; }
.play { flex: none; width: 52px; height: 52px; border: 1.5px solid #fff; border-radius: 50%; position: relative; transition: .2s; }
.play::after { content: ""; position: absolute; left: 20px; top: 16px; border-left: 15px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.watch:hover .play { background: rgba(255,255,255,.18); }
.watch-text .mono { display: block; opacity: .85; margin-bottom: 4px; font-size: 11px; }
.watch-title { display: block; font-size: clamp(20px, 2.4vw, 30px); font-weight: 600; line-height: 1.3; letter-spacing: -0.03em; }

/* 슬라이드 점·일시정지 (사진이 2장 이상일 때만 보인다) */
.slide-ctrl { left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; align-items: center; gap: 14px; }
.slide-ctrl[hidden] { display: none; }
.dots { display: flex; gap: 4px; }
.dots button { width: 28px; height: 28px; border: 0; background: none; cursor: pointer; position: relative; }
.dots button::after { content: ""; position: absolute; inset: 10px; border-radius: 50%; border: 1.5px solid #fff; }
.dots button[aria-current="true"]::after { background: #fff; }
.pause { width: 28px; height: 28px; border: 0; background: none; cursor: pointer; position: relative; }
.pause::before, .pause::after { content: ""; position: absolute; top: 8px; width: 3px; height: 12px; background: #fff; }
.pause::before { left: 9px; } .pause::after { left: 16px; }
.pause[aria-pressed="true"]::before { left: 10px; width: 0; height: 0; background: none; border-left: 10px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.pause[aria-pressed="true"]::after { display: none; }

/* 처음 오셨나요? — 띠 전체가 링크 */
.first-band { display: block; text-decoration: none; background: #fff; border-bottom: 1px solid var(--line); transition: background .2s; }
.first-band:hover, .first-band:focus-visible { background: var(--paper); }
.first-in { display: flex; align-items: center; gap: 18px; min-height: 72px; padding-top: 14px; padding-bottom: 14px; }
.first-icon { flex: none; width: 30px; height: 30px; fill: none; stroke: #8a5a2b; stroke-width: 1.6; }
.first-text { flex: 1; display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.first-text strong { font-size: 19px; font-weight: 600; letter-spacing: -0.03em; }
.first-text span { color: var(--muted); font-size: 15px; }
.first-arrow { font-size: 22px; transition: transform .2s; }
.first-band:hover .first-arrow, .first-band:focus-visible .first-arrow { transform: translateX(4px); }

/* 공통 칸 */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section.tint { background: var(--paper); }
.section.dark { background: var(--dark); color: #f2f1ee; }
.center-head { text-align: center; margin-bottom: 56px; }
.center-head p { margin: 14px auto 26px; color: var(--ink-2); max-width: 620px; }
.row-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.row-sub { margin: 0; color: var(--muted); max-width: 560px; font-size: 15px; }
.dark .row-sub { color: #a9a7a2; }
.pill { display: inline-block; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; padding: 13px 26px; border: 1.5px solid var(--ink); border-radius: 14px; transition: .2s; }
.pill:hover { background: var(--ink); color: #fff; }
.note { color: var(--muted); font-size: 14px; margin-top: 24px; }
.note.center { text-align: center; }

/* 예배 안내 — 번호 카드 */
.num-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.num-card { background: var(--paper); padding: 40px 40px 44px; }
.num-card .num { font-size: 22px; font-weight: 500; color: var(--ink-2); margin: 0 0 28px; }
.num-card h3 { margin: 0 0 18px; font-size: 24px; font-weight: 600; letter-spacing: -0.03em; }
.times { margin: 0; }
.times div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.times div:last-child { border: 0; }
.times div { align-items: baseline; }
.times dt { font-weight: 500; }
.times dt small { display: block; font-size: 12px; color: var(--muted); font-weight: 400; }
.times dd { margin: 0; text-align: right; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; }
.num-card { border: 1px solid transparent; transition: border-color .2s; }
.num-card:hover { border-color: var(--line); }
.route { list-style: none; margin: 0; padding: 0; }
.route li { display: flex; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.route b { font-family: var(--mono); font-weight: 500; font-size: 14px; min-width: 48px; color: var(--muted); }
.num-card .note { margin-top: 18px; }

/* 함께라서 행복한 교회 — 사진 모음 */
/* 사진은 원본 비율(4:3) 그대로 2×2로 — 얼굴·현수막이 잘리지 않게 */
.photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.photo-grid figure { margin: 0; position: relative; overflow: hidden; }
.photo-grid figure { aspect-ratio: 4 / 3; }
.photo-grid img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo-grid figcaption { position: absolute; left: 14px; bottom: 14px; background: rgba(255,255,255,.92); color: var(--ink); padding: 6px 12px; border-radius: 12px; font-size: 12px; letter-spacing: .02em; }
.photo-grid figure:hover img { transform: scale(1.02); }
.photo-grid img { transition: transform .3s ease; }

/* 영상 3편 — 01 이번 주 말씀 / 02 우리 교회 이야기 / 03 우리의 비전 */
.vcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.v3 { display: contents; }
.vcard { display: flex; flex-direction: column; text-align: left; background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.vcard.soon { cursor: default; }
.vthumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #d9d6d0; outline: 1px solid transparent; transition: outline-color .2s; }
.vcard:hover .vthumb, .vcard:focus-visible .vthumb { outline-color: var(--ink); }
.vthumb img { width: 100%; height: 100%; object-fit: cover; }
.vplay { position: absolute; left: 16px; bottom: 16px; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.92); }
.vplay::after { content: ""; position: absolute; left: 19px; top: 15px; border-left: 14px solid var(--ink); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.soon .vthumb img { filter: saturate(.7) brightness(1.08); }
.vsoon { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 15px; font-weight: 600; color: var(--ink); background: rgba(246,245,242,.62); }
.vlabel { margin-top: 18px; display: flex; gap: 10px; align-items: baseline; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.vlabel b { font-family: var(--mono); font-weight: 500; font-size: 12px; color: var(--muted); }
.vtitle { margin-top: 4px; font-size: 18px; font-weight: 600; line-height: 1.4; letter-spacing: -0.02em; }
.vdate { margin-top: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--muted); }
.vision-link { display: none; margin: 20px 0 0; }
.text-link { font: inherit; font-size: 15px; font-weight: 600; background: none; border: 0; padding: 10px 0; cursor: pointer; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.more { text-align: center; margin: 56px 0 0; }

/* 교회 소개 — 담임목사 사진 + 인사말(편집형), WORLD, 섬기는 분 */
.kicker { color: var(--muted); margin: 0 0 28px; }
.greet { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.greet-photo { margin: 0; position: sticky; top: 96px; }
.greet-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 22%; background: #d9d6d0; }
.greet-text h2 { font-family: "Noto Serif KR", serif; font-weight: 500; font-size: clamp(28px, 3.2vw, 40px); letter-spacing: -0.03em; line-height: 1.35; margin-bottom: 32px; }
.greet-text p { margin: 0 0 20px; font-size: 17px; line-height: 1.95; color: var(--ink-2); max-width: 36em; }
.greet-text .greet-closing { margin-top: 32px; font-weight: 600; color: var(--ink); }
.greet-text .greet-sign { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink); letter-spacing: .02em; }
.world-head { margin: clamp(96px, 12vw, 150px) 0 36px; }
.world-head .mono { color: var(--muted); margin: 0 0 14px; }
.world-head h3 { margin: 0; font-size: clamp(24px, 2.8vw, 34px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.3; }
.world-text { margin: 18px 0 0; max-width: 46em; color: var(--ink-2); font-size: 17px; line-height: 1.8; }
.world-line { margin: 18px 0 0; font-family: "Noto Serif KR", serif; color: #8a5a2b; font-size: 17px; }
.world { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.world li { padding: 28px 22px 32px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: 14px; line-height: 1.65; }
.world b { display: block; font-size: 44px; font-weight: 600; line-height: 1; margin-bottom: 14px; letter-spacing: -0.03em; color: var(--ink); }
.world .mono { display: block; color: var(--muted); font-size: 10px; margin-bottom: 6px; }
.world strong { display: block; color: var(--ink); font-size: 17px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 6px; line-height: 1.4; }
.sub-label { margin: 80px 0 24px; color: var(--muted); font-size: 13px; font-weight: 500; }
.staff { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.staff .card { border-top: 1.5px solid var(--ink); padding-top: 20px; }
.staff .role { margin: 0; font-size: 12px; color: var(--muted); }
.staff .name { margin: 4px 0 12px; font-size: 24px; font-weight: 600; letter-spacing: -0.03em; }
.staff ul { margin: 0; padding: 0; list-style: none; color: var(--ink-2); font-size: 14px; line-height: 1.8; }
.about-meta { margin: 48px 0 0; font-size: 14px; color: var(--muted); }
.about-meta a { color: var(--ink); }

/* 교회 앨범 */
.album-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 24px; }
.album { display: flex; flex-direction: column; text-align: left; background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.album-cover { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #ddd; }
.album-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.album:hover .album-cover img { transform: scale(1.05); }
.album-cover i { position: absolute; right: 10px; bottom: 10px; font-style: normal; font-size: 12px; background: rgba(255,255,255,.92); padding: 4px 10px; border-radius: 12px; }
.album-date { margin-top: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--muted); }
.album-title { margin-top: 2px; font-size: 16px; font-weight: 600; line-height: 1.4; letter-spacing: -0.02em; }
.more button.pill { background: none; cursor: pointer; }

/* 앨범 보기 */
.gallery { position: fixed; inset: 0; z-index: 60; background: #f6f5f2; display: flex; align-items: center; justify-content: center; }
.gallery[hidden] { display: none; }
.gallery-top { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 16px; padding: 18px clamp(16px, 4vw, 48px); }
.gallery-title { margin: 0; font-weight: 600; flex: 1; }
.gallery-count { color: var(--muted); }
.gallery-close { background: none; border: 0; font-size: 24px; cursor: pointer; color: var(--ink); }
.gallery-img { max-width: min(1200px, 86vw); max-height: 80vh; object-fit: contain; }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--ink); background: rgba(255,255,255,.8); font-size: 28px; line-height: 1; cursor: pointer; color: var(--ink); }
.gallery-nav.prev { left: clamp(8px, 3vw, 40px); }
.gallery-nav.next { right: clamp(8px, 3vw, 40px); }

/* 새가족 */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.steps li { background: var(--paper); padding: 0 0 32px; font-size: 18px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.45; overflow: hidden; }
.steps li > :not(.step-art) { margin-left: 26px; margin-right: 26px; }
.steps .step-art { display: block; width: 100%; aspect-ratio: 543 / 620; object-fit: cover; background: #ebe9e5; margin-bottom: 26px; }
.steps b { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: #8a5a2b; font-weight: 500; margin-bottom: 12px; }
.steps b::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.steps span { display: block; }

/* 온라인 헌금 창 */
.give { width: min(760px, calc(100vw - 32px)); max-height: calc(100vh - 32px); border: 0; padding: clamp(24px, 4vw, 44px); background: var(--bg); color: var(--ink); }
.give::backdrop { background: rgba(20,20,20,.45); }
.give-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.give-close { width: 44px; height: 44px; border: 0; background: none; font-size: 22px; cursor: pointer; color: var(--ink); }
.give-intro { margin: 0 0 24px; color: var(--ink-2); font-size: 15px; }
.give .accounts { gap: 14px; grid-template-columns: 1fr; }
.give .acct { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 16px; padding: 20px 22px; }
.give .acct b { margin: 0; font-size: 20px; grid-column: 1; }
.give .acct em { grid-row: 1 / 3; grid-column: 2; }

/* 헌금 */
.accounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.acct { text-align: left; background: #fff; border: 0; padding: 30px 28px; font: inherit; cursor: pointer; color: inherit; transition: .2s; }
.acct:hover { background: var(--ink); color: #fff; }
.acct span { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--muted); }
.acct b { display: block; font-size: 22px; font-weight: 600; margin: 10px 0 18px; letter-spacing: -0.02em; }
.acct em { font-style: normal; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; border-bottom: 1px solid currentColor; }

/* 오시는 길 */
.visit { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.church-photo { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 32px; }
.visit .mono { color: var(--muted); margin: 0 0 16px; }
.addr { font-size: clamp(26px, 3vw, 36px); }
.map-btns { display: flex; gap: 10px; flex-wrap: wrap; margin: 22px 0 14px; }
.map-btns .pill { min-height: 44px; background: none; cursor: pointer; color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; padding: 11px 22px; }
.pill.solid { background: var(--ink); color: #fff; }
.pill.solid:hover { background: none; color: var(--ink); }
.tel { margin: 0 0 30px; font-size: 15px; color: var(--ink-2); }
.transit dt { margin: 18px 0 4px; color: var(--muted); font-size: 13px; }
.transit dd { margin: 0; font-size: 15px; color: var(--ink-2); }
/* 약도: OpenStreetMap 도로로 그린 그림. 사이트 색에 맞춘 무채색 + 교회만 갈색 */
.map { --map-bg: #e4e1db; --map-minor: #f6f5f2; --map-mid: #fff; --map-major: #bdb8af; --map-water: #d3d6d2;
  position: relative; display: block; width: 100%; aspect-ratio: 1000 / 861; background: var(--map-bg); color: var(--ink); text-decoration: none; overflow: hidden; }
.map-svg { display: block; width: 100%; height: 100%; }
.map-road { font-size: 28px; font-weight: 600; fill: var(--ink-2); paint-order: stroke; stroke: var(--map-bg); stroke-width: 6px; letter-spacing: .02em; }
.map-road.big { font-size: 31px; fill: var(--ink); }
.map-poi { font-size: 25px; fill: var(--ink-2); paint-order: stroke; stroke: var(--map-bg); stroke-width: 5px; }
.map-hall { fill: none; stroke: var(--ink-2); stroke-width: 3; }
.map-bus rect { fill: var(--ink); }
.map-bus text { font-family: var(--mono); font-size: 17px; font-weight: 500; fill: #fff; }
.map-church circle { fill: #8a5a2b; }
.map-church .ring { fill: rgba(138, 90, 43, .16); }
.map-church path { fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; }
.map-church-name { font-family: "Noto Serif KR", serif; font-size: 38px; font-weight: 600; fill: var(--ink); paint-order: stroke; stroke: var(--map-bg); stroke-width: 7px; }
.map-meta { font-family: var(--mono); font-size: 19px; letter-spacing: .1em; fill: var(--muted); }
.map-meta path { fill: none; stroke: var(--muted); stroke-width: 2.5; }
.map-meta .map-credit { font-size: 15px; letter-spacing: 0; }
.map-open { position: absolute; left: 16px; top: 16px; background: var(--paper); padding: 9px 14px; font-size: 13px; font-weight: 600; color: var(--ink); transition: background .2s, color .2s; }
.map:hover .map-open, .map:focus-visible .map-open { background: var(--ink); color: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .map-church .ring { transform-box: fill-box; transform-origin: center; animation: map-pulse 2.6s ease-out infinite; }
  @keyframes map-pulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
}

/* 바닥 (밝게) */
.foot { background: var(--paper); color: var(--ink-2); padding: 80px 0 40px; font-size: 14px; }
.foot-word { margin: 0 0 40px; color: var(--ink); font-size: clamp(44px, 9vw, 120px); font-weight: 700; letter-spacing: -0.06em; line-height: 1; }
.foot-row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 24px; }
.foot-row p { margin: 2px 0; }
.foot-sns { display: flex; gap: 24px; }
.foot-sns a { text-decoration: none; color: var(--ink); font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.copy { margin: 40px 0 0; font-size: 11px; color: var(--muted); }

/* 영상 창 */
.video-frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player { position: fixed; inset: 0; z-index: 50; background: rgba(10,10,10,.92); display: flex; align-items: center; justify-content: center; padding: 16px; }
.player[hidden] { display: none; }
.player-box { width: min(1040px, 100%); position: relative; }
.player-close { position: absolute; top: -48px; right: 0; background: none; border: 0; color: #fff; font-size: 26px; cursor: pointer; }
.player-title { color: #fff; margin: 16px 0 0; font-weight: 600; font-size: 18px; }

/* 한글이 들어가는 작은 라벨은 자간을 좁힌다 (모노 영문 라벨만 넓게) */
.pill, .acct span, .acct em, .steps b {
  font-family: "Pretendard Variable", Pretendard, sans-serif; letter-spacing: .02em; font-weight: 500;
}
.pill { font-size: 14px; }

/* SNS 고정 단추 — 넓은 화면: 오른쪽 가운데 세로 */
.sns { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 25; }
.sns-toggle { display: none; }
.sns-list { display: flex; flex-direction: column; background: rgba(255,255,255,.94); border: 1px solid var(--line); border-right: 0; }
.sns-list a { width: 54px; height: 54px; display: flex; align-items: center; justify-content: center; position: relative; color: var(--ink); }
.sns-list a + a { border-top: 1px solid var(--line); }
.sns-toggle svg { width: 20px; height: 20px; fill: currentColor; }
/* 브랜드 원래 색 아이콘 — 눈에 잘 띄게 */
.sns-list .ico { width: 30px; height: 30px; display: block; }
.sns-list a#sns-youtube .ico { height: 22px; }
.sns-list { box-shadow: -4px 0 16px rgba(0,0,0,.08); }
.sns-list span { position: absolute; right: 56px; white-space: nowrap; font-size: 12px; background: var(--ink); color: #fff; padding: 4px 10px; opacity: 0; pointer-events: none; transition: opacity .2s; }
.sns-list a:hover span, .sns-list a:focus-visible span { opacity: 1; }
.sns-list a:hover { background: var(--paper); }

/* 복사 알림 */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 16px); z-index: 70; background: var(--ink); color: #fff; padding: 10px 18px; font-size: 14px; opacity: 0; pointer-events: none; transition: .25s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* 칸 등장 — 한 번만, 10px 이내 */
.can-reveal .reveal { opacity: 0; transform: translateY(10px); transition: opacity .4s ease, transform .4s ease; }
.can-reveal .reveal.shown { opacity: 1; transform: none; }

:focus-visible { outline: 2px solid #8a5a2b; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } html { scroll-behavior: auto; } }

/* 태블릿: 영상 2편(01·02) */
@media (max-width: 1199px) {
  .v3 { display: none; }
  .vcards { grid-template-columns: 1fr 1fr; }
  .vision-link { display: block; }
}
/* 작은 화면 */
@media (max-width: 960px) {
  .nav { display: none; }
  .top-in { grid-template-columns: 1fr auto; }
  .num-cards, .accounts, .staff, .album-grid { grid-template-columns: 1fr 1fr; }
  .world, .steps { grid-template-columns: 1fr 1fr; }
  .visit, .greet { grid-template-columns: 1fr; }
  .greet-photo { position: static; max-width: 220px; }
  .hero::after { background:
    linear-gradient(180deg, rgba(255,248,238,.92) 0%, rgba(255,248,238,.72) 30%, rgba(255,248,238,0) 52%),
    linear-gradient(180deg, rgba(20,20,20,0) 62%, rgba(20,20,20,.5) 100%); }
  .hero h1 { font-size: clamp(30px, 5vw, 44px); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .top-in { padding-left: 16px; padding-right: 16px; }
  .top-right { gap: 12px; }
  .give-btn { min-height: 44px; padding: 8px 14px; }
  .menu-btn { width: 44px; height: 44px; }
  .menu-btn span:first-child { top: 17px; } .menu-btn span:last-child { top: 25px; }
  .menu-btn[aria-expanded="true"] span:first-child, .menu-btn[aria-expanded="true"] span:last-child { top: 21px; }
  .hero { height: calc(100svh - 120px); min-height: 520px; }
  .hero-copy { left: 16px; right: 16px; top: 36px; }
  .slide { background-position: 58% 50% !important; }
  .hero::after { background:
    linear-gradient(180deg, rgba(255,248,238,.92) 0%, rgba(255,248,238,.7) 30%, rgba(255,248,238,0) 50%),
    linear-gradient(180deg, rgba(20,20,20,0) 62%, rgba(20,20,20,.5) 100%); }
  .hero-eyebrow { font-size: 12px; letter-spacing: .3em; }
  .hero-eyebrow i { width: 56px; }
  .watch { left: 16px; right: 16px; bottom: 28px; }
  .play { width: 44px; height: 44px; }
  .play::after { left: 17px; top: 13px; border-left-width: 13px; border-top-width: 9px; border-bottom-width: 9px; }
  .first-text { display: block; }
  .first-text span { display: block; font-size: 14px; }
  .vcards { grid-template-columns: 1fr; gap: 36px; }
  .num-cards, .accounts, .staff, .steps, .world { grid-template-columns: 1fr; }
  .album-grid { gap: 24px 12px; }
  .gallery-nav { width: 44px; height: 44px; font-size: 22px; }
  .gallery-img { max-width: 100vw; }
  .num-card { padding: 30px 24px; }
  .photo-grid { grid-template-columns: 1fr; gap: 12px; }
  .photo-grid figure:hover img { transform: none; }
  .give .acct { grid-template-columns: 1fr; }
  .give .acct em { grid-row: auto; grid-column: 1; justify-self: start; margin-top: 8px; }
  /* SNS: 오른쪽 아래 둥근 단추 하나 → 누르면 세 개가 위로 펼쳐진다 */
  .sns { top: auto; bottom: 18px; right: 16px; transform: none; display: flex; flex-direction: column-reverse; align-items: center; gap: 10px; }
  .sns-toggle { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
  .sns-list { display: none; background: none; border: 0; gap: 10px; }
  .sns.open .sns-list { display: flex; }
  .sns-list a { width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 1px solid var(--line); box-shadow: 0 4px 12px rgba(0,0,0,.12); }
  .sns-list a + a { border-top: 1px solid var(--line); }
  .sns-list span { right: 56px; opacity: 1; }
}

/* 새가족 안내 페이지(/welcome/) */
.sub-page main { padding-top: 60px; }
.sub-page .top-in { grid-template-columns: 1fr auto; }
.back-btn { text-decoration: none; display: inline-flex; align-items: center; }
.welcome-title { margin: 0; font-family: "Noto Serif KR", serif; font-weight: 500; font-size: clamp(34px, 5vw, 60px); line-height: 1.3; letter-spacing: -0.03em; }
.welcome-title em { font-style: normal; color: #8a5a2b; }
.welcome-intro { margin: 28px 0 0; max-width: 36em; font-size: 18px; color: var(--ink-2); }
.welcome-two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); }
.course { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.course li { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.chat-card { background: var(--paper); padding: clamp(24px, 4vw, 40px); }
.chat-card h3 { margin: 0 0 12px; font-size: 22px; letter-spacing: -0.03em; }
.chat-card p { margin: 0 0 4px; color: var(--ink-2); }
.chat-card .pill { margin-top: 24px; }
.quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quick a { display: flex; justify-content: space-between; align-items: center; min-height: 72px; padding: 18px 22px; background: #fff; text-decoration: none; font-weight: 600; border: 1px solid transparent; transition: border-color .2s; }
.quick a:hover, .quick a:focus-visible { border-color: var(--ink); }
.quick i { font-style: normal; transition: transform .2s; }
.quick a:hover i { transform: translateX(4px); }
@media (max-width: 640px) {
  .welcome-two, .quick { grid-template-columns: 1fr; }
}

/* 새가족 안내 페이지 — ChatGPT 시안(2026-10-29) 반영: 사진 옆 제목, 일러스트 타임라인, 갈색 선 아이콘 */
.wl-kick { color: #8a5a2b; display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.wl-kick::after { content: ""; width: 40px; height: 1px; background: #8a5a2b; opacity: .5; }
.wl-white { background: #fff; }
.wl-hero { padding: clamp(48px, 7vw, 88px) 0; }
.wl-hero-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.wl-photo { margin: 0; }
.wl-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 40%; }
.wl-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(32px, 4vw, 48px); }
.wl-head h2 { margin: 0; font-family: "Noto Serif KR", serif; font-weight: 500; font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -0.03em; line-height: 1.3; }
.wl-side { margin: 0 0 8px; color: var(--muted); font-size: 11px; }
.wl-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); }
.wl-steps li { position: relative; }
.wl-step-art { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; margin-bottom: 22px; background: #efe9e0; }
.wl-dot { display: none; }
.wl-steps b { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; font-weight: 500; color: #8a5a2b; }
.wl-steps b::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.wl-steps strong { display: block; margin: 10px 0 6px; font-family: "Noto Serif KR", serif; font-weight: 500; font-size: 26px; letter-spacing: -0.02em; }
.wl-steps span { display: block; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.wl-note { margin: 44px 0 0; padding-top: 24px; border-top: 1px solid var(--line); text-align: left; font-size: 14px; color: var(--muted); }
.wl-course { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.wl-course li { text-align: center; padding: 28px 16px 32px; }
.wl-course li + li { border-left: 1px solid var(--line); }
.wl-course svg, .wl-quick svg { fill: none; stroke: #8a5a2b; stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }
.wl-course svg { width: 64px; height: 64px; display: block; margin: 0 auto 24px; }
.wl-course b { display: block; font-size: 13px; font-weight: 500; color: #8a5a2b; margin-bottom: 8px; }
.wl-course span { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.wl-chat { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.wl-chat h2 { margin: 0 0 16px; font-family: "Noto Serif KR", serif; font-weight: 500; font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.03em; }
.wl-chat-lines p { margin: 0 0 4px; color: var(--ink-2); font-size: 16px; }
.wl-btn { display: inline-flex; align-items: center; gap: 36px; margin-top: 28px; padding: 14px 20px; min-height: 48px; background: #8a5a2b; color: #fff; text-decoration: none; font-size: 15px; font-weight: 600; transition: background .2s; }
.wl-btn:hover, .wl-btn:focus-visible { background: #6f4720; }
.wl-btn span { transition: transform .2s; }
.wl-btn:hover span { transform: translate(3px, -3px); }
.wl-chat-art { width: clamp(110px, 14vw, 160px); height: auto; margin-right: clamp(0px, 6vw, 80px); fill: none; stroke: #8a5a2b; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.wl-chat-art .dot { fill: #8a5a2b; stroke: none; }
.wl-quick { padding: clamp(28px, 4vw, 44px) 0; }
.wl-quick-in { display: grid; grid-template-columns: repeat(3, 1fr); }
.wl-quick a { display: flex; align-items: center; gap: 16px; padding: 16px 28px; min-height: 64px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 16px; }
.wl-quick a:first-child { padding-left: 0; }
.wl-quick a + a { border-left: 1px solid var(--line); }
.wl-quick svg { width: 28px; height: 28px; flex: none; stroke-width: 1.4; }
.wl-quick span { flex: 1; }
.wl-quick small { display: block; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.wl-quick i { font-style: normal; color: var(--muted); transition: transform .2s, color .2s; }
.wl-quick a:hover i, .wl-quick a:focus-visible i { transform: translate(3px, -3px); color: #8a5a2b; }
@media (max-width: 900px) {
  .wl-hero-in { grid-template-columns: 1fr; }
  .wl-steps { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .wl-steps strong { font-size: 22px; }
  .wl-steps span { font-size: 14px; }
  .wl-quick-in { grid-template-columns: 1fr; }
  .wl-quick a, .wl-quick a:first-child { padding: 16px 0; }
  .wl-quick a + a { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .wl-head { display: block; }
  .wl-side { display: none; }
  .wl-course { grid-template-columns: 1fr; }
  .wl-course li { display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto; column-gap: 18px; text-align: left; padding: 20px 0; }
  .wl-course li + li { border-left: 0; border-top: 1px solid var(--line); }
  .wl-course svg { grid-row: 1 / 3; width: 52px; height: 52px; margin: 0; }
  .wl-course b { margin: 6px 0 2px; }
  .wl-chat { grid-template-columns: 1fr; }
  .wl-chat-art { display: none; }
}

/* 교회소개 · 섬기는 분 페이지(/about/) — ChatGPT 시안(2026-10-29) 반영 */
.ab-art img { object-position: center; }
.ab-people { display: grid; row-gap: 56px; }
.ab-row { display: flex; justify-content: center; }
.ab-row > .ab-person { flex: 0 0 33.333%; box-sizing: border-box; }
.ab-photo { display: block; width: min(200px, 70%); aspect-ratio: 3 / 4; height: auto; object-fit: cover; object-position: center 15%; margin: 0 auto 24px; background: #e6e0d6; }
.ab-person { padding: 8px clamp(20px, 3vw, 40px) 12px; text-align: center; }
.ab-person + .ab-person { border-left: 1px solid var(--line); }
.ab-person svg { width: 60px; height: 60px; display: block; margin: 0 auto 22px; fill: none; stroke: #8a5a2b; stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }
.ab-person .role { margin: 0; font-size: 13px; font-weight: 500; color: #8a5a2b; }
.ab-person .name { margin: 6px 0 0; font-family: "Noto Serif KR", serif; font-weight: 500; font-size: clamp(26px, 2.6vw, 32px); letter-spacing: -0.02em; }
.ab-person .name small { font-size: .62em; }
.ab-person .name::after { content: ""; display: block; width: 24px; height: 1px; background: #8a5a2b; margin: 18px auto 18px; }
.ab-person ul { margin: 0; padding: 0; list-style: none; font-size: 14px; line-height: 1.85; color: var(--ink-2); }
.ab-history { background: var(--paper); padding: clamp(28px, 4vw, 44px) 0; }
.ab-history-in { display: grid; grid-template-columns: auto 1fr 1fr 1fr; align-items: center; gap: 0; }
.ab-history h2 { margin: 0 clamp(24px, 4vw, 56px) 0 0; font-family: "Noto Serif KR", serif; font-weight: 500; font-size: 26px; }
.ab-history-in > div { display: flex; align-items: center; gap: 16px; padding: 8px clamp(16px, 2.5vw, 32px); }
.ab-history-in > div + div { border-left: 1px solid var(--line); }
.ab-history svg, .ab-links svg { width: 32px; height: 32px; flex: none; fill: none; stroke: #8a5a2b; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.ab-history p { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.ab-history b { display: block; font-size: 16px; font-weight: 600; color: var(--ink); }
.ab-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ab-links a { display: flex; align-items: center; gap: 16px; min-height: 76px; padding: 18px 22px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; transition: border-color .2s; }
.ab-links a:hover, .ab-links a:focus-visible { border-color: #8a5a2b; }
.ab-links span { flex: 1; }
.ab-links i { font-style: normal; color: #8a5a2b; transition: transform .2s; }
.ab-links a:hover i { transform: translateX(4px); }
@media (max-width: 900px) {
  .ab-people { row-gap: 0; }
  .ab-row { flex-direction: column; }
  .ab-row + .ab-row { border-top: 1px solid var(--line); }
  .ab-row > .ab-person { flex-basis: auto; }
  .ab-person { padding: 28px 0; }
  .ab-person + .ab-person { border-left: 0; border-top: 1px solid var(--line); }
  .ab-history-in { grid-template-columns: 1fr; }
  .ab-history h2 { margin: 0 0 8px; }
  .ab-history-in > div { padding: 12px 0; }
  .ab-history-in > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .ab-links { grid-template-columns: 1fr; }
}

/* 전체 메뉴(menu.js) — 두 줄 단추를 누르면 모든 메뉴가 한 화면에 펼쳐진다 */
.fm-lock, .fm-lock body { overflow: hidden; }
.sub-page .top-right { display: flex; align-items: center; gap: 14px; }
.fullmenu { position: fixed; inset: 0; z-index: 60; background: var(--bg); display: flex; flex-direction: column; overflow-y: auto; opacity: 0; transition: opacity .25s ease; }
.fullmenu.open { opacity: 1; }
.fullmenu[hidden] { display: none; }
.fm-top { display: flex; justify-content: space-between; align-items: center; height: 60px; padding: 0 clamp(16px, 8vw, 150px); background: #fff; border-bottom: 1px solid var(--line); flex: none; }
.fm-top .brand img { height: 30px; width: auto; display: block; }
.fm-close { width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.fm-close span { position: absolute; left: 8px; right: 8px; top: 21px; height: 2px; background: var(--ink); transform: rotate(45deg); }
.fm-close span + span { transform: rotate(-45deg); }
.fm-body { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 48px); max-width: 1140px; width: 100%; margin: 0 auto; padding: clamp(48px, 8vh, 96px) 24px; box-sizing: border-box; align-content: center; }
.fm-group { border-top: 1.5px solid var(--ink); padding-top: 22px; transform: translateY(8px); opacity: 0; transition: transform .35s ease, opacity .35s ease; }
.fullmenu.open .fm-group { transform: none; opacity: 1; }
.fullmenu.open .fm-group:nth-child(2) { transition-delay: .05s; }
.fullmenu.open .fm-group:nth-child(3) { transition-delay: .1s; }
.fullmenu.open .fm-group:nth-child(4) { transition-delay: .15s; }
.fm-no { margin: 0; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: #8a5a2b; }
.fm-no span { color: var(--muted); margin-left: 6px; }
.fm-group h2 { margin: 10px 0 22px; font-family: "Noto Serif KR", serif; font-weight: 500; font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -0.03em; }
.fm-group ul { list-style: none; margin: 0; padding: 0; }
.fm-group a { display: inline-block; padding: 7px 0; font-size: 17px; font-weight: 500; color: var(--ink-2); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .2s, color .2s; }
.fm-group a:hover, .fm-group a:focus-visible { color: var(--ink); background-size: 100% 1px; }
.fm-group a i { font-style: normal; font-size: 12px; color: var(--muted); }
.fm-foot { max-width: 1140px; width: 100%; margin: 0 auto; padding: 24px 24px 40px; box-sizing: border-box; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.fm-foot p { margin: 0; }
.fm-foot a { color: var(--ink-2); }
@media (max-width: 900px) { .fm-body { grid-template-columns: 1fr 1fr; row-gap: 44px; } }
@media (max-width: 560px) {
  .fm-top { padding: 0 16px; }
  .fm-body { grid-template-columns: 1fr 1fr; padding: 28px 16px; gap: 32px 18px; align-content: start; }
  .fm-group { padding-top: 14px; }
  .fm-group h2 { font-size: 21px; margin: 6px 0 8px; }
  .fm-no span { display: none; }
  .fm-group a { font-size: 15px; padding: 8px 0; }
  .fm-foot { padding: 20px 16px 32px; }
}
@media (prefers-reduced-motion: reduce) { .fullmenu, .fm-group { transition: none; } }

/* 떠 있는 '처음 오셨나요?' 카드 (첫 화면) — 컴퓨터는 오른쪽 아래(왼쪽 아래는 WATCH NOW), 휴대폰에서는 SNS 단추를 피해 왼쪽에 */
.first-pop { position: fixed; right: 24px; bottom: 24px; z-index: 30; width: 300px; background: #fff; border: 1px solid var(--line); border-left: 4px solid #8a5a2b; border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0,0,0,.14); opacity: 0; transform: translateY(16px); transition: opacity .3s, transform .3s; }
.first-pop[hidden] { display: none; }
.first-pop:not(.show) { pointer-events: none; }
.first-pop.show { opacity: 1; transform: none; }
.first-pop-link { display: block; padding: 16px 44px 16px 18px; text-decoration: none; color: var(--ink); }
.first-pop-kick { display: block; font-size: 11px; letter-spacing: .16em; color: #8a5a2b; }
.first-pop-link strong { display: block; margin-top: 4px; font-family: "Noto Serif KR", serif; font-weight: 600; font-size: 19px; letter-spacing: -0.03em; }
.first-pop-sub { display: block; margin-top: 4px; font-size: 13.5px; color: var(--muted); }
.first-pop-sub i { font-style: normal; color: #8a5a2b; display: inline-block; transition: transform .2s; }
.first-pop-link:hover .first-pop-sub i { transform: translateX(3px); }
.first-pop-x { position: absolute; top: 6px; right: 6px; width: 34px; height: 34px; border: 0; background: none; font-size: 22px; line-height: 1; color: var(--muted); cursor: pointer; }
.first-pop-x:hover { color: var(--ink); }
@media (max-width: 640px) {
  .first-pop { left: 16px; right: 84px; bottom: 18px; width: auto; }
  .first-pop-link { padding: 12px 40px 12px 14px; }
  .first-pop-link strong { font-size: 17px; }
  .first-pop-sub { font-size: 12.5px; }
}

/* 전체 메뉴 SNS 줄 */
.fm-sns { flex-basis: 100%; display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.fm-sns a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); font-size: 14px; }
.fm-sns a:hover { background: var(--paper); }
.fm-sns svg { width: 24px; height: 24px; flex: none; }
.fm-sns a:first-child svg { height: 18px; }

/* 교회소개 페이지 둘째 소개 문단 */
.ab-intro-2 { margin-top: 14px; }
.ab-title { font-size: clamp(28px, 3vw, 42px); }
@media (min-width: 641px) { .ab-title span { display: block; white-space: nowrap; } }

/* 교회소식: 날짜 · 제목 한 줄씩, 누르면 내용이 펼쳐진다 */
.news { padding: clamp(56px, 7vw, 88px) 0; background: #fff; }
.news .row-head { margin-bottom: 28px; }
.news .row-head h2 { margin: 0; }
.news .kicker { margin-bottom: 14px; }
.news-list { border-top: 1.5px solid var(--ink); }
.news-item { border-bottom: 1px solid var(--line); }
.news-item summary { display: grid; grid-template-columns: 120px 1fr 20px; align-items: center; gap: 20px; padding: 22px 4px; cursor: pointer; list-style: none; }
.news-item summary::-webkit-details-marker { display: none; }
.news-item summary:hover .news-title { text-decoration: underline; text-underline-offset: 4px; }
.news-date { color: var(--muted); letter-spacing: .08em; }
.news-title { font-size: 17px; font-weight: 600; }
.news-pin { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .1em; color: #8a5a2b; border: 1px solid #8a5a2b; padding: 2px 7px; margin-right: 10px; vertical-align: 2px; }
.news-plus { position: relative; width: 14px; height: 14px; justify-self: end; }
.news-plus::before, .news-plus::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 1.5px; background: var(--ink); transition: transform .2s; }
.news-plus::after { transform: rotate(90deg); }
.news-item[open] .news-plus::after { transform: rotate(0); }
.news-body { padding: 0 4px 26px calc(120px + 24px); color: var(--ink-2); line-height: 1.8; }
.news-body p { margin: 0 0 10px; }
.news-empty { color: var(--muted); padding: 28px 0; }
@media (max-width: 640px) {
  .news-item summary { grid-template-columns: 1fr 16px; gap: 6px 14px; padding: 18px 2px; }
  .news-date { grid-column: 1; }
  .news-title { grid-column: 1; font-size: 16px; }
  .news-plus { grid-column: 2; grid-row: 1 / span 2; }
  .news-body { padding: 0 2px 22px; }
}
