/* 우리모든민족교회 리뉴얼 — 사이트 스타일
   흰 바탕 + 강조색 한 계열: 로고 지구본의 파랑("모든 민족"). 글자는 잉크 3단계로 위계.
   변수 이름(--green, --amber 등)은 기존 마크업 호환을 위해 남기고 값만 파랑 계열로 바꿨다.
   모션: 내비 180ms · 페이지 전환 240ms · 섹션 등장 640ms(흐림→선명, 배경→제목→카드 순) · 히어로 교차 1100ms */

:root {
  /* 강조 계열 (H≈212°) */
  --accent-950: #0b2440;
  --accent-900: #0f2f52;
  --accent-800: #163f6c;
  --accent-700: #1b4f86;
  --accent-600: #2463a4;
  --accent-500: #3a7cc2;
  --accent-200: #c9dcf1;
  --accent-100: #e6eff9;
  --accent-50:  #f3f7fc;

  --paper: #ffffff;
  --paper-2: var(--accent-50);
  --card: #ffffff;
  --ink: #142231;
  --ink-2: #445466;
  --ink-3: #6a7888;
  --line: #e2e8f0;
  --line-2: #cbd5e1;
  --navy: var(--accent-900);
  --navy-2: var(--accent-800);
  --green: var(--accent-700);
  --green-2: var(--accent-600);
  --amber: var(--accent-500);
  --amber-soft: var(--accent-100);
  --danger: #a33a2c;
  --radius: 10px;
  --radius-s: 6px;
  --wrap: 1200px;
  --gutter: clamp(18px, 4vw, 40px);
  --nav-ms: 180ms;
  --sec-ms: 220ms;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --page-ms: 240ms;
  --reveal-ms: 640ms;
  --hero-ms: 1100ms;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", system-ui, sans-serif;
  --shadow: 0 1px 2px rgba(15, 47, 82, .06), 0 10px 28px -14px rgba(15, 47, 82, .22);
  --tabbar-h: 0px;
}
html { font-size: 100%; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
html[data-fs="1"] { font-size: 109%; }
html[data-fs="2"] { font-size: 118%; }
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font);
  font-size: 1rem; line-height: 1.65; letter-spacing: -0.01em; word-break: keep-all; overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased; padding-bottom: var(--tabbar-h);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }
main:focus, main:focus-visible { outline: none; }
.wrap { max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tnum { font-variant-numeric: tabular-nums; }
h1, h2, h3, h4 { letter-spacing: -0.025em; line-height: 1.3; margin: 0; }

/* ---------------------------------------------------------------- 상단 안내줄 */
.util { background: var(--accent-950); color: #e3ecf6; font-size: .875rem; }
.util__in { display: flex; align-items: center; justify-content: space-between; min-height: 42px; gap: 16px; }
.util__new { font-weight: 500; opacity: .95; }
.util__right { display: flex; align-items: center; gap: 18px; }
.util__badge { border: 1px solid rgba(255,255,255,.35); border-radius: 99px; padding: 1px 10px; font-size: .78rem; }
.util__tel b { font-weight: 600; margin-left: 4px; }
.fs { display: flex; align-items: center; gap: 4px; }
.fs__label { margin-right: 4px; opacity: .85; }
.fs button { width: 30px; height: 30px; border-radius: 50%; border: 1px solid transparent; background: none; color: #fff; font-weight: 700; font-size: .85rem; line-height: 1; }
.fs button.fs__l { font-size: 1rem; }
.fs button.fs__xl { font-size: 1.15rem; }
.fs button[aria-pressed="true"] { border-color: rgba(255,255,255,.75); }

/* ---------------------------------------------------------------- 헤더 */
.hd { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow var(--nav-ms) var(--ease); }
.hd.is-scrolled { box-shadow: 0 6px 20px -16px rgba(0,0,0,.35); }
.hd__in { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.hd__logo img { height: 44px; width: auto; }
.gnb { margin-left: auto; }
.gnb__list { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.gnb__item { position: relative; }
.gnb__btn { display: block; padding: 10px 14px; border: 0; background: none; font-size: 1rem; font-weight: 500; color: var(--ink); border-radius: var(--radius-s); white-space: nowrap; transition: color var(--nav-ms) var(--ease), background var(--nav-ms) var(--ease); }
.gnb__item.is-open > .gnb__btn, .gnb__item.is-current > .gnb__btn { color: var(--green-2); }
.gnb__item.is-current > .gnb__btn { box-shadow: inset 0 -2px 0 var(--green-2); border-radius: 0; }
.gnb__panel {
  position: absolute; top: calc(100% + 10px); left: 50%; min-width: 220px; padding: 10px; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translate(-50%, -6px); transition: opacity var(--nav-ms) var(--ease), transform var(--nav-ms) var(--ease), visibility 0s linear var(--nav-ms);
}
.gnb__panel::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.gnb__item.is-open > .gnb__panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.gnb__panel a { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 9px 12px; border-radius: var(--radius-s); font-size: .95rem; white-space: nowrap; }
.gnb__panel a[aria-current="page"] { background: var(--paper-2); color: var(--green); }
.gnb__panel small { color: var(--ink-3); font-size: .78rem; font-variant-numeric: tabular-nums; }
.hd__tools { display: flex; align-items: center; gap: 6px; }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 0; background: none; }
.menu-btn { display: none; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--card); font-size: .9rem; }
.menu-btn svg { width: 20px; height: 20px; }

/* ---------------------------------------------------------------- 모바일 메뉴 */
.drawer { position: fixed; inset: 0; z-index: 60; }
.drawer__bg { position: absolute; inset: 0; background: rgba(15, 25, 30, .45); opacity: 0; transition: opacity var(--nav-ms) var(--ease); }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--paper); overflow-y: auto; overscroll-behavior: contain;
  transform: translateX(100%); transition: transform var(--nav-ms) var(--ease); padding: 0 0 32px;
}
.drawer.is-open .drawer__bg { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__top { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; background: var(--paper); border-bottom: 1px solid var(--line); z-index: 1; }
.drawer__search { display: flex; gap: 8px; padding: 16px 18px 6px; }
.drawer__search input { flex: 1; min-width: 0; height: 44px; border: 1px solid var(--line-2); border-radius: 8px; padding: 0 12px; font: inherit; background: var(--card); }
.drawer__search button { height: 44px; padding: 0 16px; border: 0; border-radius: 8px; background: var(--green); color: #fff; font-weight: 600; }
.drawer__groups { padding: 8px 18px; }
.dg { border-bottom: 1px solid var(--line); }
.dg__btn { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 15px 2px; border: 0; background: none; font-size: 1.05rem; font-weight: 600; text-align: left; }
.dg__btn svg { width: 18px; height: 18px; transition: transform var(--nav-ms) var(--ease); }
.dg__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.dg__list { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 10px; padding: 0 0 14px; }
.dg__list[hidden] { display: none; }
.dg__list a { display: flex; justify-content: space-between; gap: 6px; padding: 9px 12px; border-radius: 8px; background: var(--card); border: 1px solid var(--line); font-size: .93rem; }
.dg__list a small { color: var(--ink-3); font-variant-numeric: tabular-nums; }
.drawer__info { margin: 18px; padding: 16px; border-radius: var(--radius); background: var(--accent-900); color: #e3ecf6; font-size: .92rem; }
.drawer__info b { display: block; font-size: 1rem; margin-bottom: 4px; color: #fff; }
.drawer__info a { text-decoration: underline; text-underline-offset: 3px; }
.drawer__admin { display: inline-flex; align-items: center; gap: 6px; margin: 0 18px 8px; padding: 6px 2px; font-size: .84rem; color: var(--ink-3); }
.drawer__admin svg, .ft__admin svg { width: 14px; height: 14px; }
.ft__admin { display: inline-flex; align-items: center; gap: 4px; }

/* ---------------------------------------------------------------- 공통 요소 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 99px; border: 1px solid var(--green); font-weight: 600; font-size: .98rem; transition: background var(--nav-ms) var(--ease), color var(--nav-ms) var(--ease), transform var(--nav-ms) var(--ease); }
.btn--solid { background: var(--green); color: #fff; }
.btn--line { background: transparent; color: var(--green); }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: .9rem; }
.more { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: .92rem; color: var(--green-2); white-space: nowrap; }
.more::after { content: "›"; font-size: 1.15em; line-height: 1; transition: transform var(--nav-ms) var(--ease); }
.kicker { display: inline-block; font-size: .82rem; font-weight: 700; letter-spacing: .02em; color: var(--amber); }
.tag { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 4px; font-size: .76rem; font-weight: 600; background: var(--paper-2); color: var(--green); white-space: nowrap; border: 1px solid var(--line); }
.tag--amber { background: var(--accent-100); color: var(--accent-800); border-color: var(--accent-200); }
.tag--warn { background: #f7e4df; color: var(--danger); border-color: #edc9c1; }
.meta { color: var(--ink-3); font-size: .86rem; font-variant-numeric: tabular-nums; }
.sec { padding: clamp(48px, 7vw, 88px) 0; }
.sec--tint { background: var(--paper-2); }
.sec__hd { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding-bottom: 16px; margin-bottom: 26px; border-bottom: 2px solid transparent; }
.sec__hd h2 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); }
.sec__hd p { margin: 6px 0 0; color: var(--ink-2); font-size: .95rem; }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-s); background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--amber); font-size: .93rem; color: var(--ink-2); margin: 0 0 14px; }
.notice b { color: var(--ink); }
.notice a[href^="tel:"] { white-space: nowrap; text-decoration: underline; text-underline-offset: 2px; }
.notice--warn { border-left-color: var(--danger); }
.notice--info { border-left-color: var(--navy-2); }
.empty { padding: 48px 20px; text-align: center; border: 1px dashed var(--line-2); border-radius: var(--radius); color: var(--ink-2); background: var(--card); }
.empty b { display: block; color: var(--ink); font-size: 1.05rem; margin-bottom: 6px; }
.empty.held { border-style: solid; border-color: var(--accent-200); background: var(--accent-50); }
.held-note { margin: 14px 0 0; font-size: .86rem; color: var(--ink-3); }
.tag--test { background: #f7e4df; color: var(--danger); border-color: #edc9c1; }
.loading { padding: 120px 20px; text-align: center; color: var(--ink-3); }

/* 등장 모션 — JS가 html.motion 을 붙였을 때만 숨긴 상태에서 시작(스크립트 실패·동작 줄이기 시 그냥 보임)
   섹션이 화면에 들어오면: 옅은 배경이 먼저 차오르고 → 제목 밑줄이 그어지고 → 카드가 흐림에서 선명으로 차례로 */
.motion .rv { opacity: 0; transform: translateY(18px); filter: blur(6px);
  transition: opacity var(--reveal-ms) var(--ease-out), transform var(--reveal-ms) var(--ease-out), filter var(--reveal-ms) var(--ease-out); }
.motion .rv.in { opacity: 1; transform: none; filter: none; }
/* 목록 줄·갤러리 사진·본문 단락처럼 많은 요소는 흐림 없이 가볍게 */
.motion .rv.rv--lite { filter: none; transform: translateY(10px); transition-duration: 480ms; }
.motion .rv.rv--lite.in { transform: none; }
/* 카드·인물 사진은 등장할 때 안쪽 사진이 살짝 크게 시작해 제자리로(틀은 떠오르고 사진은 가라앉는 두 겹 움직임) */
.motion .rv .ph img, .motion .rv .person__ph img { transform: scale(1.06); }
.motion .rv.in .ph img, .motion .rv.in .person__ph img { transform: none; transition: transform 1100ms var(--ease-out); }
/* 하위 쪽 머리: 경로 → 제목 → 설명 → 하위 메뉴 순으로 떠오름 */
.motion .phd .crumb, .motion .phd h1, .motion .phd__sub, .motion .phd .subnav { animation: heroText 720ms var(--ease-out) both; }
.motion .phd h1 { animation-delay: 70ms; }
.motion .phd__sub { animation-delay: 140ms; }
.motion .phd .subnav { animation-delay: 200ms; }
.motion .sec--tint { background-color: #fff; transition: background-color 700ms var(--ease-out); }
.motion .sec--tint.in { background-color: var(--paper-2); }
.sec__hd { position: relative; }
.sec__hd::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--ink); transform-origin: left center; transition: transform 760ms var(--ease-out) 120ms; }
.motion .sec:not(.in) .sec__hd::after { transform: scaleX(0); }
/* 페이지 전환: 나갈 때 살짝 옅어지고, 들어올 때 아래에서 떠오름 */
#main { transition: opacity var(--page-ms) var(--ease), transform var(--page-ms) var(--ease-out); }
#main.pg-out { opacity: 0; transform: translateY(6px); }
#main.pg-in { opacity: 0; transform: translateY(12px); transition: none; }
.ph { display: block; overflow: hidden; background: var(--paper-2); border-radius: var(--radius); position: relative; }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 420ms var(--ease); }
a:focus-visible .ph img { transform: scale(1.03); }

/* ---------------------------------------------------------------- 홈: 첫 화면 (전체 폭 사진 슬라이드) */
.hero { position: relative; overflow: hidden; color: #fff; background: var(--accent-950); }
.hero__stage { position: relative; height: clamp(460px, 74vh, 700px); }
.hero__slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden;
  transition: opacity var(--hero-ms) var(--ease), visibility 0s linear var(--hero-ms); }
.hero__slide.is-on { opacity: 1; visibility: visible; transition-delay: 0s; z-index: 1; }
/* 사진 천천히 다가가기(켄 번스): 전환 효과가 아니라 애니메이션이므로 첫 화면부터 바로 움직인다.
   짝수 장은 반대 방향으로 흘러 같은 동작이 반복되어 보이지 않게.
   작은 사진(.hero__lo)을 먼저 깔고 큰 사진(.hero__hi)이 오면 위로 0.6초 겹쳐 바꾼다. 확대는 둘을 감싼 .hero__media 에 걸어
   바꿔 끼우는 동안에도 끊기지 않고, 그 장이 실제로 보이는 순간(.is-shown)부터 시작한다(빈 화면에서 확대가 먼저 흘러가 버리지 않게). */
.hero__media { position: absolute; inset: 0; transform-origin: 62% 42%; will-change: transform; }
.hero__slide:nth-child(even) .hero__media { transform-origin: 34% 58%; }
.hero__slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__lo { filter: blur(6px); transform: scale(1.04); }
.hero__hi { opacity: 0; transition: opacity 600ms var(--ease); }
.hero__slide.is-sharp .hero__hi { opacity: 1; }
.hero__slide:not(.is-shown) { opacity: 0 !important; }
.motion .hero__slide.is-on.is-shown .hero__media { animation: heroKen 9.5s cubic-bezier(.3, .15, .35, 1) both; }
.motion .hero__slide:nth-child(even).is-on.is-shown .hero__media { animation-name: heroKen2; }
@keyframes heroKen { from { transform: scale(1.14) translate3d(1.4%, .9%, 0); } to { transform: scale(1.03) translate3d(0, 0, 0); } }
@keyframes heroKen2 { from { transform: scale(1.14) translate3d(-1.4%, -.6%, 0); } to { transform: scale(1.03) translate3d(0, 0, 0); } }
/* 첫 진입: 남색 바탕에서 사진이 떠오르고, 가림막이 뒤따라 짙어진다 */
.motion .hero__stage { animation: heroStage 1300ms var(--ease-out) both; }
@keyframes heroStage { from { opacity: 0; } to { opacity: 1; } }
.motion .hero__bar { animation: heroText 900ms var(--ease-out) 700ms both; }
.motion .hero-info .wcard { animation: cardRise 900ms var(--ease-out) 520ms both; }
@keyframes cardRise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.hero__veil { position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, rgba(11, 36, 64, .84) 0%, rgba(11, 36, 64, .58) 38%, rgba(11, 36, 64, .12) 72%, rgba(11, 36, 64, 0) 100%),
              linear-gradient(0deg, rgba(11, 36, 64, .66) 0%, rgba(11, 36, 64, 0) 42%); }
.hero__inner { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; justify-content: center; padding-top: 24px; padding-bottom: 150px; }
.hero__text { max-width: 600px; }
.hero__denom { display: inline-block; font-size: .9rem; color: var(--accent-200); font-weight: 600; letter-spacing: .02em; }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.3rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1.12; margin: 10px 0 14px; text-wrap: balance; }
.hero__motto { margin: 0 0 28px; font-size: 1.1rem; color: rgba(255, 255, 255, .88); }
.hero .more { color: #fff; }
.hero .btn--solid { background: #fff; border-color: #fff; color: var(--accent-900); }
.hero .btn--line { color: #fff; border-color: rgba(255, 255, 255, .7); }
/* 첫 화면 글자 등장: 사진이 먼저, 글자가 뒤따라 */
.motion .hero__text > * { opacity: 0; transform: translateY(16px); animation: heroText 900ms var(--ease-out) forwards; }
.motion .hero__text > :nth-child(2) { animation-delay: 120ms; }
.motion .hero__text > :nth-child(3) { animation-delay: 240ms; }
.motion .hero__text > :nth-child(4) { animation-delay: 360ms; }
@keyframes heroText { to { opacity: 1; transform: none; } }
.hero__bar { position: absolute; left: 0; right: 0; bottom: 92px; z-index: 4; }
.hero__bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.hero__cap { min-width: 0; display: flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, .9); font-size: .9rem; transition: opacity 400ms var(--ease); }
.hero__cap .tag { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .28); color: #fff; }
.hero__cap a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .45); text-underline-offset: 4px; }
.hero__cap.is-swapping { opacity: 0; }
.hero__ctrl { display: flex; align-items: center; gap: 8px; flex: none; }
.hero__count { font-variant-numeric: tabular-nums; font-size: .88rem; letter-spacing: .04em; min-width: 62px; text-align: right; color: rgba(255, 255, 255, .92); }
.hero__count b { color: #fff; }
.hero__prog { position: relative; width: 72px; height: 2px; background: rgba(255, 255, 255, .28); overflow: hidden; border-radius: 2px; }
.hero__prog i { position: absolute; inset: 0; background: #fff; transform-origin: left center; transform: scaleX(0); }
.hero__prog i.run { animation: heroProg var(--hero-interval, 6500ms) linear forwards; }
.hero.is-paused .hero__prog i.run { animation-play-state: paused; }
@keyframes heroProg { to { transform: scaleX(1); } }
.hero__btn { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5); background: rgba(11, 36, 64, .28); color: #fff; transition: background var(--nav-ms) var(--ease), border-color var(--nav-ms) var(--ease); }
.hero__btn svg { width: 18px; height: 18px; }
.hero__btn:focus-visible, .hero a:focus-visible { outline-color: #fff; }
/* 예배시간 카드: 사진 아래쪽에 걸쳐 놓는다 */
.hero-info { position: relative; z-index: 5; margin-top: -64px; padding-bottom: clamp(28px, 4vw, 48px); }
.hero-info .wcard { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 28px; align-items: center; }
.hero-info .wcard__main { grid-column: 1; }
.hero-info .wcard__hd { grid-column: 1 / -1; margin-bottom: 4px; }
.hero-info .wcard__sub { grid-column: 1; }
.hero-info .wcard__go { grid-column: 2; grid-row: 2 / span 2; display: flex; flex-direction: column; gap: 8px; }
.wcard { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px 18px; box-shadow: var(--shadow); }
.wcard__hd { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.wcard__hd b { font-size: 1rem; }
.wcard__hd span { color: var(--ink-3); font-size: .82rem; }
.wcard__main { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.wslot { border-left: 3px solid var(--amber-soft); padding: 2px 0 2px 14px; }
.wslot:first-child { border-left-color: var(--amber); }
.wslot small { display: block; color: var(--ink-2); font-size: .84rem; }
.wslot strong { display: block; font-size: clamp(1.35rem, 2.2vw, 1.65rem); font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.wslot em { font-style: normal; font-size: .78rem; color: var(--ink-3); }
.wcard__sub { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 4px 14px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; }

/* 빠른 안내 띠 */
.quick { background: var(--navy); color: #e3ecf6; }
.quick__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.quick a { display: flex; align-items: center; gap: 14px; padding: 24px 20px; border-left: 1px solid rgba(255, 255, 255, .12); transition: background var(--nav-ms) var(--ease); min-width: 0; }
.quick a:first-child { border-left: 0; }
.quick svg { width: 30px; height: 30px; stroke-width: 1.5; color: var(--accent-200); }
.quick b { display: block; color: #fff; font-size: 1.06rem; }
.quick span { display: block; font-size: .84rem; opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 설교 탭 */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 22px; }
.tabs button { border: 1px solid var(--line-2); background: var(--card); border-radius: 99px; padding: 7px 16px; font-size: .92rem; font-weight: 500; transition: all var(--nav-ms) var(--ease); }
.tabs button small { color: var(--ink-3); margin-left: 4px; font-variant-numeric: tabular-nums; }
.tabs button[aria-selected="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.tabs button[aria-selected="true"] small { color: rgba(255,255,255,.75); }
.sermon { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.sermon__feat h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); margin: 16px 0 4px; }
.slist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.slist li { border-bottom: 1px solid var(--line); }
.slist a { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px 4px; transition: background var(--nav-ms) var(--ease); }
.slist .ph { aspect-ratio: 16 / 9; border-radius: 6px; }
.slist b { display: block; font-weight: 600; font-size: .96rem; line-height: 1.45; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* 영상 */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #0d1a22; }
.video__btn { position: absolute; inset: 0; width: 100%; border: 0; padding: 0; background: #0d1a22; display: block; }
.video__btn img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity var(--nav-ms) var(--ease), transform 420ms var(--ease); }
.video__play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: rgba(255,255,255,.94); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform var(--nav-ms) var(--ease); }
.video__play svg { width: 30px; height: 30px; fill: var(--green); stroke: none; margin-left: 4px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__links { display: flex; gap: 14px; margin-top: 8px; font-size: .86rem; }
.video__links a { color: var(--green-2); text-decoration: underline; text-underline-offset: 3px; }
.vthumb { position: relative; }
.vthumb::after { content: ""; position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: rgba(255,255,255,.9) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7v10l8-5z' fill='%231b4f86'/%3E%3C/svg%3E") center/18px no-repeat; }

/* 주보 + 소식 */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); }
.bul { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.bul__page { aspect-ratio: 3 / 4; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); border-radius: 8px; }
.bul__page img { object-position: top center; }
.bul__info h3 { font-size: 1.25rem; margin: 6px 0 4px; }
.bul__info .btn { margin-top: 16px; }
.mini { list-style: none; margin: 22px 0 0; padding: 0; border-top: 1px solid var(--line); font-size: .92rem; }
.mini a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 2px; border-bottom: 1px solid var(--line); }
.mini__t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini a > .meta, .rows a > .meta, .slist .meta { white-space: nowrap; }
.mini a > .meta { flex: none; }
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rows a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; align-items: center; padding: 15px 4px; border-bottom: 1px solid var(--line); transition: background var(--nav-ms) var(--ease); }
.rows b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rows .rows__sub { grid-column: 1 / -1; color: var(--ink-3); font-size: .86rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: -4px; }
.rows .tagrow { display: flex; gap: 6px; align-items: center; min-width: 0; }
.rows--thumb a { grid-template-columns: 84px minmax(0, 1fr) auto; }
.rows--thumb .ph { aspect-ratio: 4 / 3; border-radius: 6px; }

/* 앨범 카드 */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { display: block; min-width: 0; }
.card .ph { aspect-ratio: 4 / 3; }
.card b { display: block; margin-top: 10px; font-weight: 600; line-height: 1.4; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.card .meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 2px; }
.card--video .ph { aspect-ratio: 16 / 9; }
.card--bul .ph { aspect-ratio: 3 / 4; background: #fff; border: 1px solid var(--line); }
.card--bul .ph img { object-position: top center; }
.ph__count { position: absolute; right: 8px; bottom: 8px; background: rgba(15, 25, 30, .72); color: #fff; font-size: .75rem; padding: 2px 8px; border-radius: 99px; font-variant-numeric: tabular-nums; }
.ph--none { display: grid; place-items: center; color: var(--ink-3); font-size: .85rem; }

/* 기관·목장 */
.orgs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.orgs h3 { font-size: 1.05rem; margin-bottom: 12px; color: var(--ink-2); }
.org-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.org { display: flex; flex-direction: column; gap: 2px; padding: 14px 14px 12px; background: var(--card); border: 1px solid var(--line); border-radius: 8px; transition: border-color var(--nav-ms) var(--ease), transform var(--nav-ms) var(--ease); min-width: 0; }
.org b { font-size: .98rem; }
.org span { font-size: .8rem; color: var(--ink-3); }
.org--muted { background: transparent; border-style: dashed; }
.org--muted b { color: var(--ink-2); }
.org--blocked span { color: var(--danger); }

/* 선교 */
.mis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.mis a { display: block; min-width: 0; }
.mis .ph { aspect-ratio: 1 / 1; }
.mis b { display: block; margin-top: 8px; font-weight: 600; }

/* 오시는 길 */
.visit { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.visit p { color: var(--ink-2); margin: 0 0 20px; }
.dl { margin: 0; border-top: 1px solid var(--line); }
.dl div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; padding: 14px 2px; border-bottom: 1px solid var(--line); }
.dl dt { color: var(--ink-3); font-size: .88rem; }
.dl dd { margin: 0; font-weight: 600; }
.dl dd a { text-decoration: underline; text-underline-offset: 3px; color: var(--green-2); }
.maplinks { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }

/* ---------------------------------------------------------------- 하위 페이지 */
.phd { padding: clamp(28px, 4vw, 48px) 0 clamp(20px, 3vw, 28px); background: linear-gradient(180deg, var(--accent-50), #fff); border-bottom: 1px solid var(--line); }
.crumb { display: flex; flex-wrap: wrap; gap: 6px; font-size: .85rem; color: var(--ink-3); margin-bottom: 10px; }
.crumb span[aria-hidden] { opacity: .6; }
.phd h1 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 800; }
.phd__sub { margin-top: 6px; color: var(--ink-2); font-size: .95rem; }
.subnav-wrap { position: relative; }
.subnav { position: relative; display: flex; gap: 6px; overflow-x: auto; padding: 18px 0 2px; scrollbar-width: thin;
  scroll-snap-type: x proximity; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
.subnav a { scroll-snap-align: start; }
/* 더 있는 쪽 끝의 화살표 단추: 흐려진 가장자리 위에 동그란 단추, 누르면 한 화면 가까이 넘김 */
.subnav__arr { position: absolute; top: 18px; bottom: 2px; width: 44px; display: grid; place-items: center; padding: 0; border: 0; background: none; color: var(--green); cursor: pointer; z-index: 1; }
.subnav__arr--l { left: 0; }
.subnav__arr--r { right: 0; }
.subnav__arr svg { width: 30px; height: 30px; padding: 7px; border-radius: 50%; background: #fff; border: 1px solid var(--accent-200); box-shadow: 0 4px 12px -6px rgba(15, 47, 82, .45); fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform 140ms var(--ease), background-color var(--nav-ms) var(--ease), color var(--nav-ms) var(--ease); }
.subnav__arr:active svg { transform: scale(var(--press)); background: var(--accent-100); }
.subnav.fade-r { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); }
.subnav.fade-l { -webkit-mask-image: linear-gradient(90deg, transparent, #000 36px); mask-image: linear-gradient(90deg, transparent, #000 36px); }
.subnav.fade-l.fade-r { -webkit-mask-image: linear-gradient(90deg, transparent, #000 36px, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(90deg, transparent, #000 36px, #000 calc(100% - 36px), transparent); }
.subnav a { flex: none; padding: 7px 14px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--card); font-size: .9rem; white-space: nowrap; }
.subnav a small { color: var(--ink-3); margin-left: 4px; font-variant-numeric: tabular-nums; }
.subnav a[aria-current="page"] { background: var(--green); border-color: var(--green); color: #fff; }
.subnav a[aria-current="page"] small { color: rgba(255,255,255,.75); }
.subnav a.is-muted { color: var(--ink-3); border-style: dashed; }
.pbody { padding: clamp(28px, 4vw, 48px) 0 clamp(56px, 7vw, 96px); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.toolbar__count { color: var(--ink-2); font-size: .92rem; }
.toolbar__count b { color: var(--ink); }
.sform { display: flex; gap: 6px; flex: 0 1 360px; }
.sform input { flex: 1; min-width: 0; height: 42px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--card); font: inherit; font-size: .95rem; }
.sform button { height: 42px; padding: 0 16px; border-radius: 8px; border: 0; background: var(--green); color: #fff; font-weight: 600; }
.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; margin-top: 34px; }
.pager a, .pager span { min-width: 40px; height: 40px; padding: 0 10px; display: inline-grid; place-items: center; border-radius: 8px; font-size: .92rem; font-variant-numeric: tabular-nums; border: 1px solid transparent; }
.pager [aria-current="page"] { background: var(--ink); color: #fff; }
.pager .gap { color: var(--ink-3); }

/* 글 상세 */
.art { max-width: 860px; margin: 0 auto; }
.art--wide { max-width: 1100px; }
.art__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; font-size: .88rem; color: var(--ink-2); }
.art__meta dt { display: inline; color: var(--ink-3); margin-right: 6px; }
.art__meta dd { display: inline; margin: 0; font-variant-numeric: tabular-nums; }
.art__meta div { white-space: nowrap; }
.prose { font-size: 1.04rem; line-height: 1.85; color: var(--ink); }
.prose p { margin: 0 0 .9em; }
.prose p.sp { height: .4em; margin: 0; }
.prose img { margin: 14px auto; border-radius: 6px; cursor: zoom-in; }
.prose h3, .prose h4 { margin: 1.4em 0 .6em; }
.prose a { color: var(--green-2); text-decoration: underline; text-underline-offset: 3px; }
.prose a.ext::after { content: " ↗"; font-size: .8em; }
.prose table { border-collapse: collapse; width: 100%; margin: 1em 0; font-size: .95rem; display: block; overflow-x: auto; }
.prose td, .prose th { border: 1px solid var(--line-2); padding: 6px 10px; }
.prose blockquote { margin: 1em 0; padding: 4px 16px; border-left: 3px solid var(--line-2); color: var(--ink-2); }
.missing-asset { display: flex; flex-direction: column; gap: 4px; margin: 14px 0; padding: 18px; border: 1px dashed #d9b3aa; border-radius: 8px; background: #fbf1ee; color: var(--danger); font-size: .9rem; line-height: 1.5; }
.missing-asset.held-asset { border-color: var(--accent-200); background: var(--accent-50); color: var(--green); min-height: 120px; justify-content: center; text-align: center; }
.missing-asset small { color: var(--ink-3); word-break: break-all; font-size: .78rem; }
.vids { display: grid; gap: 20px; margin-bottom: 30px; }
.files { margin-top: 36px; border-top: 2px solid var(--ink); }
.files h2 { font-size: 1.05rem; padding: 14px 0 8px; }
.files ul { list-style: none; margin: 0; padding: 0; }
.files li a, .files li span { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 12px 6px; border-bottom: 1px solid var(--line); font-size: .93rem; }
.files li a b { font-weight: 500; overflow-wrap: anywhere; }
.files li a small { color: var(--ink-3); white-space: nowrap; }
.files li a::before { content: ""; width: 20px; height: 20px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232463a4' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11m0 0-4-4m4 4 4-4M5 19h14'/%3E%3C/svg%3E") center/contain no-repeat; order: 2; }
.artnav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 40px; }
.artnav a, .artnav span { display: block; padding: 16px 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); min-width: 0; }
.artnav span { visibility: hidden; }
.artnav small { display: block; color: var(--ink-3); font-size: .8rem; }
.artnav b { display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.artnav a:last-child { text-align: right; }
.backlist { display: flex; justify-content: center; margin-top: 22px; }
.src { margin-top: 28px; font-size: .82rem; color: var(--ink-3); }
.src a { text-decoration: underline; text-underline-offset: 2px; }

/* 갤러리 */
/* 앨범: 원본 비율(--r = 가로/세로)로 줄 높이를 맞추는 정렬. 원문 순서 유지, 자르지 않음 */
.gal { --gh: 200px; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px; }
.gal::after { content: ""; flex: 999999 1 0; }
.gal > button, .gal > .missing-asset { --r: 1.3333; flex: var(--r) 1 calc(var(--r) * var(--gh)); aspect-ratio: var(--r); min-width: 0; }
.gal button { position: relative; display: block; padding: 0; border: 0; background: var(--paper-2); border-radius: 6px; overflow: hidden; cursor: zoom-in; }
.gal button img { width: 100%; height: 100%; object-fit: cover; transition: transform 420ms var(--ease); }
.gal__n { position: absolute; left: 6px; top: 6px; background: rgba(15, 25, 30, .6); color: #fff; font-size: .72rem; padding: 1px 6px; border-radius: 4px; font-variant-numeric: tabular-nums; }
.gal .missing-asset { margin: 0; justify-content: center; padding: 12px; font-size: .8rem; }
.gal-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 0 0 12px; }
.gal-head b { font-size: 1rem; }
.bpages { display: grid; gap: 24px; }
.bpage { margin: 0; }
.bpage figcaption { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 2px; font-size: .9rem; color: var(--ink-2); }
.bpage figcaption a { color: var(--green-2); text-decoration: underline; text-underline-offset: 3px; }
.bpage button { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; cursor: zoom-in; box-shadow: var(--shadow); }
.bpage button img { width: 100%; }

/* 예배 시간표 */
.sched { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.ttable { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.ttable caption { text-align: left; font-weight: 700; font-size: 1.1rem; padding: 0 0 10px; }
.ttable th, .ttable td { padding: 15px 18px; border-bottom: 1px solid var(--line); text-align: left; }
.ttable th { font-weight: 600; width: 44%; }
.ttable td { font-variant-numeric: tabular-nums; }
.ttable td strong { font-size: 1.2rem; }
.ttable td small { display: block; color: var(--ink-3); font-size: .78rem; }
.ttable tr:last-child th, .ttable tr:last-child td { border-bottom: 0; }
.srcimg { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; background: var(--card); }
.srcimg figcaption { font-size: .85rem; color: var(--ink-2); padding: 10px 2px 0; }
.srcimg button { padding: 0; border: 0; background: none; cursor: zoom-in; display: block; width: 100%; }
.infocards { display: grid; gap: 12px; }
.infocard { display: block; padding: 20px 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--green-2); }
.infocard h3 { font-size: 1.1rem; margin-bottom: 6px; }
.infocard p { margin: 0; color: var(--ink-2); }
.supp { margin-top: 28px; padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.supp > small { display: block; color: var(--amber); font-weight: 700; font-size: .8rem; margin-bottom: 8px; }

/* 검색 */
.shead { display: flex; gap: 8px; max-width: 720px; }
.shead input { flex: 1; min-width: 0; height: 52px; padding: 0 16px; font: inherit; font-size: 1.05rem; border: 1px solid var(--line-2); border-radius: 10px; background: var(--card); }
.shead button { height: 52px; padding: 0 22px; border: 0; border-radius: 10px; background: var(--green); color: #fff; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 8px; }
.chips a { padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 99px; font-size: .86rem; background: var(--card); }
.chips a[aria-current="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.sres mark { background: var(--accent-200); color: inherit; border-radius: 2px; padding: 0 1px; }

/* ---------------------------------------------------------------- 라이트박스 */
.lb { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(10, 16, 20, .96); color: #fff; }
.lb::backdrop { background: rgba(10, 16, 20, .8); }
.lb[open] { display: grid; grid-template-rows: auto 1fr; animation: lbIn 200ms var(--ease); }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lb__bar { display: flex; align-items: center; gap: 16px; padding: 10px 14px 10px 20px; font-size: .9rem; }
.lb__count { font-variant-numeric: tabular-nums; opacity: .85; white-space: nowrap; }
.lb__cap { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; opacity: .7; }
.lb__dl { border: 1px solid rgba(255,255,255,.35); border-radius: 99px; padding: 5px 14px; white-space: nowrap; }
.lb__x { width: 44px; height: 44px; border: 0; background: none; color: #fff; display: grid; place-items: center; border-radius: 50%; }
.lb__stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 64px 24px; touch-action: pan-y; }
.lb__stage img { max-width: 100%; max-height: calc(100dvh - 100px); width: auto; height: auto; object-fit: contain; border-radius: 4px; transition: opacity 160ms var(--ease); }
.lb__stage img.is-loading { opacity: .25; }
.lb__nav { position: fixed; top: 50%; width: 52px; height: 52px; margin-top: -26px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; }
.lb__nav[disabled] { opacity: .25; cursor: default; }
.lb__prev { left: 12px; }
.lb__next { right: 12px; }

/* ---------------------------------------------------------------- 푸터·탭바 */
.ft { background: var(--accent-950); color: #d9e5f2; margin-top: 0; }
.ft__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding-top: 56px; padding-bottom: 40px; }
.ft__church b { display: block; font-size: 1.4rem; color: #fff; margin-bottom: 10px; }
.ft__church p { margin: 2px 0; font-size: .92rem; }
.ft__church a { text-decoration: underline; text-underline-offset: 3px; }
.ft__nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 20px; font-size: .92rem; align-content: start; }
.ft__nav b { grid-column: 1 / -1; color: var(--accent-200); font-size: .9rem; margin-bottom: 6px; }
.ft__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 22px; background: linear-gradient(rgba(255,255,255,.16), rgba(255,255,255,.16)) center top / calc(100% - var(--gutter) * 2) 1px no-repeat; font-size: .8rem; color: #aebfd2; }
.ft__bottom a { text-decoration: underline; text-underline-offset: 3px; }
.tabbar { display: none; }

/* ---------------------------------------------------------------- 포인터·터치 반응 (전 요소)
   원칙: 마우스는 hover(올림·확대·밑줄)로, 손가락은 :active(누름·옅은 바탕)로 반응한다.
   hover 규칙은 전부 (hover: hover) and (pointer: fine) 안에만 둔다 — 터치에서 '눌린 채 남는 hover'가 생기지 않게.
   움직임 크기는 --lift/--press/--zoom 변수로만 주고, 동작 줄이기 설정에서는 0/1로 꺼진다(색 변화만 남음).
   요소 목록과 각 반응은 DESIGN.md '요소별 반응 체크리스트' 참고. */
:root { --lift: -3px; --press: .965; --zoom: 1.045; --tap: var(--accent-50); }
a, button, summary, [role="tab"] { -webkit-tap-highlight-color: transparent; }

/* 1) 작은 조작부: 버튼·아이콘·칩·탭·쪽번호 — 누르면 살짝 작아짐 */
.btn, .icon-btn, .menu-btn, .hero__btn, .fs button, .tabs button, .subnav a, .chips a, .pager a,
.sform button, .shead button, .drawer__search button, .dg__btn, .lb__x, .lb__nav, .lb__dl, .tabbar a, .gnb__btn, .intro-more__go {
  transition: background-color var(--nav-ms) var(--ease), color var(--nav-ms) var(--ease), border-color var(--nav-ms) var(--ease), box-shadow var(--nav-ms) var(--ease), transform 140ms var(--ease);
}
.btn:active, .icon-btn:active, .menu-btn:active, .hero__btn:active, .fs button:active, .tabs button:active, .subnav a:active, .chips a:active,
.pager a:active, .sform button:active, .shead button:active, .drawer__search button:active, .lb__x:active, .lb__nav:active, .lb__dl:active { transform: scale(var(--press)); }
.dg__btn:active, .gnb__btn:active { background: var(--tap); }
.tabbar a:active { background: var(--tap); color: var(--green); }
.tabbar a:active svg { transform: scale(var(--press)); }
.tabbar svg { transition: transform 140ms var(--ease); }
.btn--solid:active { background: var(--accent-800); }
.btn--line:active { background: var(--accent-100); }
.hero .btn--solid:active { background: var(--accent-100); }
.hero .btn--line:active, .hero__btn:active { background: rgba(255, 255, 255, .22); }

/* 2) 덩어리 링크: 카드·목록 줄·바로가기 — 누르면 옅은 파랑 바탕 + 아주 살짝 눌림 */
.card, .org, .mis a, .infocard, .artnav a, .quick a, .dg__list a, .gnb__panel a, .slist a, .rows a, .mini a, .files li a,
.person, .intro-more a, .wcard__go a, .bul__page, .hd__logo, .ft__nav a, .util__new, .util__tel, .drawer__admin, .ft__admin {
  transition: background-color var(--nav-ms) var(--ease), color var(--nav-ms) var(--ease), border-color var(--nav-ms) var(--ease), box-shadow 260ms var(--ease), transform 260ms var(--ease-out);
}
.card:active, .mis a:active, .person:active { transform: scale(.985); }
.org:active, .infocard:active, .artnav a:active, .intro-more a:active { background: var(--tap); border-color: var(--accent-200); transform: scale(.985); }
.slist a:active, .rows a:active, .mini a:active, .files li a:active, .gnb__panel a:active { background: var(--tap); }
.dg__list a:active { background: var(--accent-100); border-color: var(--accent-200); }
.quick a:active { background: var(--navy-2); }
.card:active .ph, .mis a:active .ph { box-shadow: 0 0 0 3px var(--accent-200); }
.ft__nav a:active, .util__new:active, .util__tel:active, .ft__admin:active { color: #fff; opacity: .75; }
.drawer__admin:active { color: var(--green); }
.hd__logo:active { opacity: .7; }

/* 3) 사진 단추: 앨범·주보 면·원문 이미지 — 누르면 살짝 눌림 + 테두리 */
.gal button, .bpage button, .srcimg button, .video__btn, .srcchip button {
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
}
.gal button:active, .bpage button:active, .srcimg button:active, .srcchip button:active { transform: scale(.985); box-shadow: 0 0 0 3px var(--accent-200); }
.srcchip button:active { background: var(--tap); }
.video__btn:active .video__play { transform: scale(.92); }
.bul__link, .map__link { display: block; transition: transform 200ms var(--ease); }
.bul__link:active, .map__link:active { transform: scale(.985); }
.bul__link:active .ph, .map__link:active .ph { box-shadow: 0 0 0 3px var(--accent-200); }
.prose img[role="button"] { transition: transform 200ms var(--ease), box-shadow 200ms var(--ease); }
.prose img[role="button"]:active { transform: scale(.985); box-shadow: 0 0 0 3px var(--accent-200); }
.sermon__title { transition: color var(--nav-ms) var(--ease); }
.sermon__title:active { color: var(--accent-800); }

/* 4) 글 속 링크·작은 글자 링크 — 누르면 진한 파랑 */
.prose a, .crumb a, .video__links a, .dl dd a, .src a, .bpage figcaption a, .hero__cap a, .more, .drawer__info a, .ft__church a, .ft__bottom a, .notice a {
  transition: color var(--nav-ms) var(--ease), text-decoration-color var(--nav-ms) var(--ease), opacity var(--nav-ms) var(--ease);
}
.prose a:active, .crumb a:active, .video__links a:active, .dl dd a:active, .intro__facts dd a:active, .src a:active, .bpage figcaption a:active, .more:active, .notice a:active { color: var(--accent-800); }
.hero__cap a:active, .drawer__info a:active, .ft__church a:active, .ft__bottom a:active { opacity: .7; }

/* 5) 입력칸 — 마우스·손가락 모두: 초점이 오면 파랑 테두리와 옅은 빛 */
.sform input, .shead input, .drawer__search input { transition: border-color var(--nav-ms) var(--ease), box-shadow var(--nav-ms) var(--ease); }
.sform input:focus, .shead input:focus, .drawer__search input:focus { outline: none; border-color: var(--accent-500); box-shadow: 0 0 0 4px var(--accent-100); }

/* 마우스 전용 hover */
@media (hover: hover) and (pointer: fine) {
  .util__new:hover { text-decoration: underline; text-underline-offset: 3px; }
  .util__tel:hover { color: #fff; }
  .fs button:hover { border-color: rgba(255, 255, 255, .45); }
  .hd__logo:hover { opacity: .82; }
  /* 상단 메뉴: 밑줄이 가운데서 양옆으로 그어짐 */
  .gnb__btn { position: relative; }
  .gnb__btn::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--green-2); transform: scaleX(0); transition: transform 240ms var(--ease-out); }
  .gnb__btn:hover { color: var(--green-2); }
  .gnb__btn:hover::after, .gnb__item.is-open > .gnb__btn::after { transform: scaleX(1); }
  .gnb__panel a:hover { background: var(--paper-2); color: var(--green); }
  .gnb__panel a:hover small { color: var(--green-2); }
  .icon-btn:hover { background: var(--paper-2); color: var(--green); }
  .menu-btn:hover { border-color: var(--accent-500); color: var(--green); }
  .drawer__admin:hover { color: var(--green); }
  .btn--solid:hover { background: var(--green-2); border-color: var(--green-2); box-shadow: 0 8px 20px -10px rgba(27, 79, 134, .6); }
  .btn--line:hover { background: var(--accent-50); }
  .btn:hover { transform: translateY(var(--lift)); }
  .more:hover { color: var(--accent-800); }
  .more:hover::after { transform: translateX(3px); }
  .hero .btn--solid:hover { background: var(--accent-100); border-color: var(--accent-100); }
  .hero .btn--line:hover { background: rgba(255, 255, 255, .12); }
  .hero__cap a:hover { text-decoration-color: #fff; }
  .hero__btn:hover { background: rgba(255, 255, 255, .16); border-color: #fff; }
  .quick a:hover { background: var(--navy-2); }
  .quick a svg { transition: transform 260ms var(--ease-out), color var(--nav-ms) var(--ease); }
  .quick a:hover svg { transform: translateY(var(--lift)); color: #fff; }
  .tabs button:hover { border-color: var(--accent-500); color: var(--green); }
  .tabs button[aria-selected="true"]:hover { color: #fff; }
  .slist a:hover, .rows a:hover, .files li a:hover { background: var(--accent-50); }
  .slist a:hover b, .rows a:hover b, .files li a:hover b { color: var(--green); }
  .slist a:hover .ph img, .rows a:hover .ph img { transform: scale(var(--zoom)); }
  .mini a:hover { color: var(--green-2); }
  .video__btn:hover img { opacity: 1; transform: scale(1.02); }
  .video__btn:hover .video__play { transform: scale(1.06); }
  .video__links a:hover, .dl dd a:hover, .intro__facts dd a:hover, .prose a:hover, .bpage figcaption a:hover, .notice a:hover { color: var(--accent-800); text-decoration-thickness: 2px; }
  /* 카드: 떠오르고 그림자, 사진은 살짝 확대, 제목은 파랑 */
  .card:hover { transform: translateY(var(--lift)); }
  .card:hover .ph { box-shadow: 0 16px 30px -18px rgba(15, 47, 82, .55); }
  .card .ph { transition: box-shadow 260ms var(--ease); }
  .card:hover b, .mis a:hover b { color: var(--green); }
  a:hover .ph img { transform: scale(var(--zoom)); }
  .mis a:hover { transform: translateY(var(--lift)); }
  .org:hover { border-color: var(--green-2); transform: translateY(var(--lift)); box-shadow: var(--shadow); }
  .bul__page:hover { box-shadow: 0 18px 36px -18px rgba(15, 47, 82, .5); transform: translateY(var(--lift)); }
  .crumb a:hover { color: var(--green-2); text-decoration: underline; }
  .subnav a:hover, .chips a:hover { border-color: var(--accent-500); color: var(--green); }
  .subnav a[aria-current="page"]:hover, .chips a[aria-current="true"]:hover { color: #fff; }
  .subnav__arr:hover svg { background: var(--green); color: #fff; border-color: var(--green); }
  .pager a:hover { border-color: var(--accent-200); background: var(--accent-50); color: var(--green); }
  .sform button:hover, .shead button:hover, .drawer__search button:hover { background: var(--green-2); }
  .sform input:hover, .shead input:hover { border-color: var(--accent-200); }
  .artnav a:hover { border-color: var(--green-2); background: var(--accent-50); }
  .artnav a:hover b { color: var(--green); }
  .infocard:hover { border-color: var(--accent-200); border-left-color: var(--green); transform: translateY(var(--lift)); box-shadow: var(--shadow); }
  .gal button:hover img { transform: scale(var(--zoom)); }
  .prose img[role="button"]:hover { box-shadow: 0 0 0 3px var(--accent-200), var(--shadow); }
  .sermon__title:hover { color: var(--green); text-decoration: underline; text-underline-offset: 4px; }
  .bul__link:hover .ph, .map__link:hover .ph { box-shadow: 0 0 0 3px var(--accent-200); }
  .bpage button:hover, .srcimg button:hover { box-shadow: 0 0 0 3px var(--accent-200), var(--shadow); }
  .srcchip button:hover { border-color: var(--accent-200); box-shadow: var(--shadow); }
  .srcchip button:hover .srcchip__ph img { transform: scale(var(--zoom)); }
  .srcchip button:hover .srcchip__go { background: var(--green); color: #fff; transform: translateX(3px); }
  .dg__list a:hover { border-color: var(--accent-200); background: var(--accent-50); }
  .lb__dl:hover, .lb__x:hover { background: rgba(255, 255, 255, .1); }
  .lb__nav:hover { background: rgba(255, 255, 255, .24); }
  .ft__nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
  .ft__church a:hover, .ft__bottom a:hover, .drawer__info a:hover { color: #fff; }
  .src a:hover { color: var(--green-2); }
  .person:hover { transform: translateY(var(--lift)); }
  .person:hover .person__ph { box-shadow: 0 22px 40px -22px rgba(15, 47, 82, .55); }
  .person:hover .person__ph img { transform: scale(1.025); }
  .intro-more a:hover { border-color: var(--accent-200); transform: translateY(var(--lift)); box-shadow: var(--shadow); }
  .intro-more a:hover .intro-more__go { background: var(--green); color: #fff; transform: translateX(3px); }
}

/* ---------------------------------------------------------------- 교회소개 (교회안내 › 교회소개 · 섬기는사람들)
   원문 사진(비전 포스터·섬기는 사람들 안내 이미지)을 그대로 붙이지 않고, 그 안의 글자를 본문 글자로 다시 쓰고
   인물 사진은 원본에서 잘라 카드로 배치한다. 원본 전체 이미지는 '원본 보기'로 그대로 열람할 수 있다. */
.intro { display: grid; gap: clamp(56px, 8vw, 104px); }
.intro__lead { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: end; }
.intro__eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .86rem; font-weight: 700; color: var(--green-2); letter-spacing: .02em; }
.intro__eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.intro__statement { margin: 18px 0 0; font-size: clamp(1.45rem, 3vw, 2.2rem); font-weight: 700; line-height: 1.5; letter-spacing: -0.035em; text-wrap: balance; }
.intro__statement em { font-style: normal; color: var(--green); background: linear-gradient(transparent 62%, var(--accent-100) 62%); }
.intro__sub { margin: 16px 0 0; font-size: 1.06rem; color: var(--ink-2); line-height: 1.8; }
.intro__sub em { font-style: normal; font-weight: 700; color: var(--ink); }
.intro__facts { margin: 0; border-top: 2px solid var(--ink); }
.intro__facts div { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; padding: 14px 2px; border-bottom: 1px solid var(--line); }
.intro__facts dt { color: var(--ink-3); font-size: .86rem; }
.intro__facts dd { margin: 0; font-weight: 600; }
.intro__facts dd a { color: var(--green-2); text-decoration: underline; text-underline-offset: 3px; }
.intro__h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
.intro__hd { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.intro__hd p { margin: 6px 0 0; color: var(--ink-2); font-size: .95rem; }

/* 비전: 포스터 속 글자를 본문으로 — 표어(왼쪽) · 세 기둥(오른쪽) · 네 숫자(아래 한 줄) · 포스터 원본은 작은 칩 */
.vision { position: relative; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 48px) clamp(28px, 5vw, 64px); align-items: center;
  padding: clamp(28px, 5vw, 56px); border-radius: 20px; background: linear-gradient(160deg, var(--accent-50), #fff 70%); border: 1px solid var(--line); overflow: hidden; }
.vision::before { content: ""; position: absolute; right: -120px; top: -120px; width: 320px; height: 320px; border-radius: 50%; border: 1px solid var(--accent-200); opacity: .7; pointer-events: none; }
.vision__year { font-size: .82rem; font-weight: 700; letter-spacing: .32em; color: var(--green-2); }
.vision__motto { margin: 14px 0 0; font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 800; line-height: 1.3; letter-spacing: -0.04em; }
.vision__motto span { display: block; color: var(--green); }
.vision__pillars { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; position: relative; }
.vision__pillars li { display: flex; align-items: baseline; gap: 14px; padding: 16px 18px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.vision__pillars small { font-size: .78rem; font-weight: 700; color: var(--green-2); letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.vision__pillars b { font-size: 1.12rem; }
.vision__goals { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-2); }
.vision__goals li { padding: 18px 8px 4px 0; }
.vision__goals li + li { padding-left: 18px; border-left: 1px solid var(--line); }
.vision__goals strong { display: block; font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800; color: var(--green); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.vision__goals li > span { display: block; margin-top: 4px; font-size: .9rem; color: var(--ink-2); font-weight: 600; }
.vision__poster { grid-column: 1 / -1; justify-self: end; }
.motion .vision.in .vision__pillars li { animation: cardRise 700ms var(--ease-out) both; }
.motion .vision.in .vision__pillars li:nth-child(2) { animation-delay: 90ms; }
.motion .vision.in .vision__pillars li:nth-child(3) { animation-delay: 180ms; }

/* 원본 이미지 칩: 원문 그림(포스터·안내 이미지)은 지우지 않고 작게 남겨, 눌러서 원본 그대로 본다 */
.srcchip { margin: 0; max-width: 100%; }
.srcchip button { display: flex; align-items: center; gap: 14px; width: 100%; max-width: 420px; padding: 10px 14px 10px 10px; border: 1px solid var(--line); border-radius: 14px; background: #fff; text-align: left; cursor: zoom-in; }
.srcchip__ph { flex: none; width: 64px; height: 64px; border-radius: 10px; overflow: hidden; background: var(--paper-2); }
.srcchip__ph img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 420ms var(--ease); }
.srcchip__t { min-width: 0; display: grid; }
.srcchip__t b { font-size: .95rem; }
.srcchip__t small { font-size: .82rem; color: var(--ink-3); }
.srcchip__go { margin-left: auto; flex: none; width: 32px; height: 32px; display: inline-grid; place-items: center; border-radius: 50%; background: var(--accent-50); color: var(--green); transition: background-color var(--nav-ms) var(--ease), color var(--nav-ms) var(--ease), transform 260ms var(--ease-out); }
.srcchip__go svg { width: 16px; height: 16px; }

/* 섬기는 사람들: 원본 안내 이미지에서 사람마다 따로 잘라 낸 사진 + 직분·이름은 본문 글자
   담임목사: 사진(왼쪽) + 이름·교회 정보(오른쪽) / 교육전도사: 직분 제목 아래 두 사람 나란히 */
.people { display: grid; gap: clamp(56px, 8vw, 96px); }
.pastor { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.pastor__name { margin: 12px 0 0; font-size: clamp(2.2rem, 4.6vw, 3.4rem); font-weight: 800; letter-spacing: .06em; line-height: 1.15; }
.pastor__church { margin: 8px 0 26px; font-size: 1.06rem; color: var(--ink-2); }
.pastor__go { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.staff__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.6vw, 32px); }
.person { display: block; margin: 0; min-width: 0; }
.person__ph { position: relative; display: block; overflow: hidden; border-radius: 16px; background: var(--paper-2); transition: box-shadow 260ms var(--ease); }
.person__ph img { position: absolute; max-width: none; height: auto; transition: transform 500ms var(--ease-out); }
.person figcaption { padding: 14px 2px 0; }
.person small { display: block; font-size: .82rem; font-weight: 700; color: var(--green-2); letter-spacing: .02em; }
.person b { display: block; margin-top: 2px; font-size: 1.25rem; letter-spacing: .04em; }
.person--lead .person__ph { box-shadow: 0 30px 60px -36px rgba(15, 47, 82, .55); }
.people-src { justify-self: start; }

.intro .infocards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 720px) { .intro .infocards { grid-template-columns: 1fr; } }

/* 교회안내 다른 쪽으로 */
.intro-more { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.intro-more a { display: flex; flex-direction: column; gap: 6px; min-height: 148px; padding: 20px; border-radius: 14px; border: 1px solid var(--line); background: #fff; min-width: 0; }
.intro-more small { font-size: .78rem; font-weight: 700; color: var(--green-2); letter-spacing: .04em; }
.intro-more b { font-size: 1.1rem; }
.intro-more p { margin: 0; font-size: .88rem; color: var(--ink-2); overflow-wrap: anywhere; }
.intro-more__go { margin-top: auto; align-self: flex-end; width: 34px; height: 34px; display: inline-grid; place-items: center; border-radius: 50%; background: var(--accent-50); color: var(--green); }
.intro-more__go svg { width: 16px; height: 16px; }

/* ---------------------------------------------------------------- 반응형 */
@media (max-width: 1180px) {
  .gnb__btn { padding: 10px 9px; font-size: .95rem; }
  .hd__logo img { height: 38px; }
}
@media (max-width: 1024px) {
  .subnav-wrap { margin-inline: calc(-1 * var(--gutter)); }
  .subnav { padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .gnb { display: none; }
  .menu-btn { display: inline-flex; }
  .hd__tools { margin-left: auto; }
  .hero__stage { height: clamp(460px, 64vh, 600px); }
  .hero__veil { background: linear-gradient(90deg, rgba(11, 36, 64, .82) 0%, rgba(11, 36, 64, .5) 60%, rgba(11, 36, 64, .2) 100%), linear-gradient(0deg, rgba(11, 36, 64, .66) 0%, rgba(11, 36, 64, 0) 45%); }
  .quick__grid { grid-template-columns: repeat(2, 1fr); }
  .quick a:nth-child(3) { border-left: 0; }
  .quick a:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.12); }
  .sermon, .split, .visit, .sched { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .orgs { grid-template-columns: 1fr; }
  .gal { --gh: 160px; }
  .ft__in { grid-template-columns: 1fr; }
  .intro__lead, .vision { grid-template-columns: 1fr; }
  .pastor { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
  .intro-more { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  :root { --tabbar-h: calc(64px + env(safe-area-inset-bottom)); }
  .util { display: none; }
  .hd__in { min-height: 62px; gap: 10px; }
  .hd__logo img { height: 34px; }
  .hero__stage { height: clamp(460px, 80svh, 600px); }
  .hero__veil { background: linear-gradient(0deg, rgba(11, 36, 64, .9) 0%, rgba(11, 36, 64, .62) 50%, rgba(11, 36, 64, .2) 100%); }
  .hero__inner { justify-content: flex-end; padding-bottom: 136px; }
  .hero h1 { font-size: clamp(2.05rem, 9vw, 2.6rem); margin: 6px 0 10px; }
  .hero__motto { font-size: 1rem; margin-bottom: 20px; }
  .hero__cta .btn { min-height: 44px; padding: 0 16px; font-size: .92rem; }
  .hero__bar { bottom: 76px; }
  .hero__cap { display: none; }
  .hero__bar .wrap { justify-content: flex-end; }
  .hero-info { margin-top: -52px; }
  .hero-info .wcard { grid-template-columns: 1fr; }
  .hero-info .wcard__go { grid-column: 1; grid-row: auto; flex-direction: row; }
  .hero-info .wcard__go .btn { flex: 1 1 0; }
  .wcard { padding: 18px 16px 14px; }
  .wcard__main { grid-template-columns: 1fr; gap: 0; }
  .wslot { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0 10px 14px; border-bottom: 1px solid var(--line); }
  .wslot:last-child { border-bottom: 0; }
  .wslot em { display: none; }
  .quick a { padding: 18px 14px; gap: 10px; }
  .quick svg { width: 24px; height: 24px; }
  .quick b { font-size: .98rem; }
  .slist a { grid-template-columns: 88px minmax(0, 1fr); }
  .bul { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 14px; }
  .cards--3, .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; }
  .mis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gal { --gh: 112px; gap: 6px; }
  .rows--thumb a { grid-template-columns: 64px minmax(0, 1fr); }
  .rows--thumb a .meta { grid-column: 2; }
  .rows a { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .rows a b { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .artnav { grid-template-columns: 1fr; }
  .artnav a:last-child { text-align: left; }
  .artnav span { display: none; }
  .lb__stage { padding: 0 0 70px; }
  .lb__nav { top: auto; bottom: 14px; margin-top: 0; }
  .lb__prev { left: calc(50% - 64px); }
  .lb__next { right: calc(50% - 64px); }
  .lb__cap { display: none; }
  .ft__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ft { padding-bottom: 6px; }
  .tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    height: var(--tabbar-h); padding-bottom: env(safe-area-inset-bottom); background: rgba(255, 255, 255, .97); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
  }
  .tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: .74rem; color: var(--ink-2); position: relative; }
  .tabbar a[aria-current="page"] { color: var(--green); font-weight: 700; }
  .tabbar a[aria-current="page"]::before { content: ""; position: absolute; top: 0; left: 30%; right: 30%; height: 2px; background: var(--green); border-radius: 0 0 2px 2px; }
  .tabbar svg { width: 22px; height: 22px; }
  .vision { padding: 24px 18px; border-radius: 16px; }
  .vision__pillars { gap: 6px; }
  .vision__pillars li { padding: 11px 14px; }
  .vision__goals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vision__goals li:nth-child(3) { padding-left: 0; border-left: 0; }
  .vision__goals li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .vision__poster { justify-self: stretch; }
  .pastor { grid-template-columns: 1fr; gap: 22px; }
  .person--lead { max-width: 320px; }
  .pastor__church { margin-bottom: 18px; }
  .staff__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .person b { font-size: 1.08rem; }
  .intro-more { grid-template-columns: 1fr; }
  .intro-more a { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 2px; min-height: 0; padding: 16px; }
  .intro-more a > :not(.intro-more__go) { grid-column: 1; }
  .intro-more__go { grid-column: 2; grid-row: 1 / span 3; align-self: center; margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
  .rv, .motion .rv { opacity: 1; transform: none; filter: none; }
  .hero__media { transform: none !important; animation: none !important; }
  /* 첫 화면은 멈춘 상태로 시작(app.js). 재생 단추를 누르면 자리 이동·확대 없이 투명도 교차(0.7초)로만 넘긴다 */
  .hero__slide { transition: opacity 700ms ease, visibility 0s linear 700ms !important; }
  .hero__slide.is-on { transition: opacity 700ms ease, visibility 0s linear 0s !important; }
  .hero__prog i.run { animation-duration: var(--hero-interval, 6500ms) !important; }
  /* 움직임 대신 색·테두리로만 반응 */
  :root { --lift: 0px; --press: 1; --zoom: 1; }
}
@media print {
  .util, .hd, .tabbar, .ft, .drawer { display: none !important; }
}

/* Approved 2026-11-02 group photo: preserve every face; text stays below the image. */
.hero.is-group .hero__stage { height: clamp(650px, 80vh, 780px); }
.hero__slide.is-group .hero__media { bottom: 250px; transform: none !important; animation: none !important; }
.hero__slide.is-group .hero__lo { transform: none; }
.hero.is-group .hero__veil { display: none; }
.hero.is-group .hero__inner { inset: auto 0 64px; height: 186px; padding: 14px 0; justify-content: center; }
.hero.is-group .hero__text { max-width: none; }
.hero.is-group h1 { font-size: clamp(2rem, 3vw, 3rem); margin: 6px 0 8px; }
.hero.is-group .hero__motto { margin-bottom: 12px; }
.hero.is-group .hero__bar { top: 14px; bottom: auto; }
.hero.is-group .hero__cap { padding: 7px 12px; border-radius: 999px; background: rgba(11, 36, 64, .68); }
.ft__denomination { display: flex; align-items: center; justify-content: center; gap: 12px; padding-top: 16px; padding-bottom: 28px; color: #fff; font-size: .94rem; font-weight: 600; }
.ft__mark { width: 48px; height: 48px; flex: none; display: inline-grid; place-items: center; border-radius: 50%; background: #fff; }
.ft__mark img { display: block; width: 44px; height: 44px; }
@media (max-width: 700px) {
  .hero.is-group .hero__stage { height: calc(75vw + 310px); }
  .hero__slide.is-group .hero__media { bottom: auto; height: 75vw; }
  .hero__slide.is-group img { object-fit: contain; }
  .hero.is-group .hero__inner { height: 246px; }
  .hero.is-group h1 { font-size: clamp(2rem, 8vw, 2.6rem); }
  .hero.is-group .hero__motto { font-size: 1rem; }
  .ft__denomination { gap: 10px; font-size: .9rem; }
}

/* Keep both Sunday service times readable in the compact quick link. */
.quick a[href="/worship"] > span > span { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.5; }

/* 첫 화면 사진 설명(연결 글 없는 사진) */
.hero__cap .hero__cap-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
