/* ============================================================
   국제새명성교회 홈페이지 스타일 — VOUS-inspired
   - 단일 포인트 컬러: #035aac + 뉴트럴 (잉크 #161616 / 아이보리 #f4f3ef / 화이트)
   - 시네마틱 다크 히어로 + 영상 우선(WATCH NOW)
   - 헤드라인: 크고 미디엄 굵기 산세리프(자간 -0.02em)
   - 라벨: 자간 넓은 모노스페이스 / 버튼: 얇은 테두리 알약형
   ※ 다른 색(라임·오렌지 등) 추가 금지
   ============================================================ */

/* ---------- 디자인 토큰 ---------- */
:root {
  --blue: #035aac;          /* 유일한 포인트 컬러 */
  --blue-deep: #024a8f;
  --blue-soft: #9cc4e8;     /* (이전 다크 라벨색, 현재는 --lime 사용) */
  --lime: #B5E61D;          /* 보조 컬러: 다크·블루 배경 위 라벨·강조 */
  --lime-deep: #9ccc0f;
  --coral: #FF6B35;         /* 작은 강조 전용 (Latest 배지·라이브 점 등) */
  --ink: #161616;
  --ivory: #f4f3ef;
  --white: #ffffff;
  --muted: #6f6f6f;
  --line: #e2ded3;
  --dark: #111111;
  --dark-line: #2c2c2c;
  --radius: 14px;
  --maxw: 1200px;
  --narrow: 780px;
  --header-h: 68px;
  --font: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo",
          "Noto Sans KR", "Malgun Gothic", sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- 리셋 & 기본 ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: var(--font);
  background: var(--white);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: break-word;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
i { font-style: normal; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--blue); color: #fff; padding: 10px 18px; border-radius: 999px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.container.narrow { max-width: var(--narrow); }
.center { text-align: center; }
.muted { color: var(--muted); }

/* ---------- 타이포 ---------- */
h1, h2, h3 { font-weight: 500; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.8rem, 7.4vw, 6rem); line-height: 1.08; letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.2; margin: 14px 0 12px; }
h3 { font-size: 1.25rem; line-height: 1.4; font-weight: 600; letter-spacing: -0.01em; }

.eyebrow, .mono-label {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.76rem; font-weight: 500; letter-spacing: 0.22em;
  text-transform: uppercase;
}
.eyebrow { color: var(--blue); }
.eyebrow::before { content: "✦ "; }
.mono-label { color: var(--muted); margin-bottom: 10px; }
.eyebrow-light { color: var(--lime); }
.eyebrow-white { color: #fff; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 40em; }

.section { padding: clamp(84px, 11vw, 140px) 0; }
.section-head { margin-bottom: clamp(40px, 6vw, 64px); }
.section-alt { background: var(--ivory); }
.section-dark { background: var(--dark); color: #f2f2f2; }
.section-dark .lead { color: #a8a8a8; }
.section-blue { background: var(--blue); color: #fff; }
.section-blue .lead { color: rgba(255,255,255,.82); margin: 0 auto 36px; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- 버튼 (얇은 테두리 알약형) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px; border-radius: 999px;
  font-weight: 600; font-size: 0.96rem; line-height: 1.2;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 10px 22px; font-size: 0.88rem; }
.btn-primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-primary:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: transparent; color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; background: transparent; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }

/* ---------- 헤더 (다크 반투명) ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(17,17,17,.55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  color: #fff; border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background .3s;
}
.site-header.scrolled { background: rgba(17,17,17,.9); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.06rem; letter-spacing: -0.01em; }
.brand-mark { color: var(--lime); }
.main-nav { display: flex; gap: 30px; }
.main-nav a {
  font-size: 0.9rem; font-weight: 500; color: rgba(255,255,255,.72);
  position: relative; padding: 6px 0; transition: color .2s;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.main-nav a:hover, .main-nav a.active { color: #fff; }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; margin-right: -8px; }
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: #fff; margin: 6px 0; transition: .3s; }

/* ---------- 랜딩 (풀스크린 배경 영상) ---------- */
.landing {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden; background: var(--dark) center / cover no-repeat; color: #fff;
}
.landing-bg {
  position: absolute; inset: 0; z-index: 0;
  background: var(--dark) center / cover no-repeat;
  transform: scale(1.02);
  filter: saturate(.85);
}
/* 배경 영상: 화면을 꽉 채우도록 16:9 비율 유지하며 덮기 */
.landing-bg iframe, .landing-bg video {
  position: absolute; top: 50%; left: 50%; border: 0; pointer-events: none;
  width: 100vw; height: 56.25vw; min-height: 100%; min-width: 177.78vh;
  transform: translate(-50%, -50%);
  opacity: 0; transition: opacity 1.2s ease;
}
.landing-bg video { width: 100%; height: 100%; min-width: 0; object-fit: cover; }
.landing-bg.is-ready iframe, .landing-bg.is-ready video { opacity: 1; }
.landing-shade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(17,17,17,.7) 0%, rgba(17,17,17,.5) 40%, rgba(17,17,17,.65) 75%, rgba(17,17,17,.95) 100%),
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(3,90,172,.18), transparent 70%);
}
.landing-inner {
  position: relative; z-index: 2; width: 100%; text-align: center;
  padding-top: var(--header-h); padding-bottom: 180px;
}
.landing-motto {
  font-size: clamp(1.15rem, 2.4vw, 1.75rem); font-weight: 500; letter-spacing: 0.04em;
  color: rgba(255,255,255,.9); margin-bottom: clamp(10px, 1.6vw, 20px);
  animation: rise 1s var(--ease) .2s both;
}
.landing-title {
  font-size: clamp(3rem, 11vw, 9.5rem); font-weight: 600; line-height: 1.02; letter-spacing: -0.04em;
  text-shadow: 0 6px 40px rgba(0,0,0,.35);
  animation: rise 1.1s var(--ease) .35s both;
}
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* 예배 시간 바 — 랜딩 하단에 한눈에 */
.landing-times {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  border-top: 1px solid rgba(255,255,255,.14);
  background: rgba(17,17,17,.35); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  animation: rise 1s var(--ease) .6s both;
}
.times-inner { display: flex; align-items: center; gap: clamp(20px, 4vw, 56px); padding-top: 26px; padding-bottom: 26px; }
.times-label {
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--lime); white-space: nowrap;
}
.times-list { display: flex; flex: 1; gap: 0; }
.times-list li {
  flex: 1; display: flex; flex-direction: column; gap: 2px;
  padding: 0 clamp(16px, 3vw, 36px); border-left: 1px solid rgba(255,255,255,.16);
}
.t-name { font-size: 0.92rem; color: rgba(255,255,255,.72); }
.t-time { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.times-more {
  white-space: nowrap; font-size: 0.9rem; font-weight: 500;
  border: 1px solid rgba(255,255,255,.45); border-radius: 999px; padding: 10px 20px;
  transition: background .2s, border-color .2s;
}
.times-more:hover { background: #fff; color: var(--ink); border-color: #fff; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 128px; z-index: 2; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1px solid rgba(255,255,255,.5); border-radius: 999px;
}
.scroll-cue span {
  position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px;
  background: #fff; border-radius: 2px; animation: cue 1.8s infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* 랜딩 위에서는 헤더를 투명하게 */
.site-header:not(.scrolled) { background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }

/* 대표 영상 + 캡션 */
.caption-label {
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  border: 1px solid currentColor; border-radius: 999px; padding: 3px 10px; opacity: .7;
}
.video-feature { margin-bottom: 56px; }
.feature-caption { display: flex; align-items: center; gap: 12px; margin-top: 16px; font-size: 1.15rem; font-weight: 500; }

/* ---------- 유튜브 파사드 (썸네일 → 클릭 시 재생) ---------- */
.yt {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius);
  overflow: hidden; background: #000; cursor: pointer;
}
.yt img, .yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt img { object-fit: cover; transition: transform .8s var(--ease), opacity .3s; }
.yt::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,.45), transparent 50%);
  transition: opacity .3s;
}
.yt-play {
  position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px 12px 18px; border-radius: 999px;
  background: rgba(17,17,17,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.35); color: #fff; cursor: pointer;
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase;
  transition: background .25s, border-color .25s, transform .25s var(--ease);
}
.yt-play svg { width: 14px; height: 14px; fill: currentColor; }
.yt:hover img { transform: scale(1.04); }
.yt:hover .yt-play { background: var(--blue); border-color: var(--blue); transform: translate(-50%, -50%) scale(1.05); }
.yt.is-playing { cursor: default; }
.yt.is-playing::after { opacity: 0; }

/* ---------- 영상 그리드 ---------- */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 28px; }
.video-title { font-size: 1rem; font-weight: 500; margin-top: 14px; }
.playlist-links { margin-top: 72px; padding-top: 40px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.playlist-links .mono-label { margin: 0; }
.playlist-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.playlist-btns a {
  padding: 11px 24px; border-radius: 999px; font-weight: 500; font-size: 0.92rem;
  border: 1px solid var(--ink); transition: all .2s;
}
.playlist-btns a:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ---------- 처음 오시는 분 ---------- */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.info-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 34px;
}
.info-card h3 { font-size: 1.45rem; font-weight: 500; margin-bottom: 18px; }
.time-list li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 13px 0; border-bottom: 1px solid var(--line);
}
.time-list li:last-child { border-bottom: 0; }
.time-list li span:first-child { font-weight: 500; }
.time-list li span:last-child { font-family: var(--mono); font-size: 0.9rem; color: var(--blue); white-space: nowrap; }
.check-list li { position: relative; padding: 10px 0 10px 30px; border-bottom: 1px solid var(--line); }
.check-list li:last-child { border-bottom: 0; }
.check-list li::before { content: "→"; position: absolute; left: 0; color: var(--blue); }
.check-list-light li { border-color: var(--dark-line); color: #cfcfcf; }
.check-list-light li::before { color: var(--lime); }

.welcome-box {
  margin-top: 20px; border-radius: var(--radius); padding: clamp(44px, 6vw, 72px) 36px;
  text-align: center; color: #fff; position: relative; overflow: hidden;
  background: var(--ink);
}
.welcome-box::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 80% at 50% 120%, rgba(3,90,172,.6), transparent 70%);
}
.welcome-box > * { position: relative; }
.welcome-box h3 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 500; letter-spacing: -0.02em; margin: 10px 0 14px; }
.welcome-box p { color: #c4c4c4; margin-bottom: 30px; }
.welcome-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.map-box {
  margin-top: 20px; display: grid; grid-template-columns: 1fr 1.4fr; gap: 0;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.map-text { padding: 40px 36px; display: flex; flex-direction: column; justify-content: center; }
.map-text h3 { font-size: 1.45rem; font-weight: 500; margin-bottom: 12px; }
.address { font-size: 1.12rem; font-weight: 500; }
.map-links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; }
.map-embed { min-height: 320px; background: #ddd; }
.map-embed iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; filter: grayscale(1) contrast(1.05); }

/* ---------- 예배 안내 ---------- */
.worship-list { counter-reset: worship; }
.worship-item {
  counter-increment: worship;
  display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center;
  padding: clamp(36px, 5vw, 56px) 0; border-top: 1px solid var(--line);
}
.worship-item:last-child { border-bottom: 1px solid var(--line); }
.worship-item:nth-child(even) .worship-photo { order: 2; }
/* 예배 사진 — 21:9 시네마틱 크롭. 실제 사진은 /static/images/worship-*.jpg 로 교체 */
.worship-photo {
  position: relative; aspect-ratio: 21 / 9; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(135deg, #0b1d33 0%, var(--blue-deep) 140%);
  display: flex; align-items: center; justify-content: center;
}
.worship-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.worship-photo-label {
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.26em;
  color: var(--lime); text-transform: uppercase; position: relative; z-index: 1;
  border: 1px dashed rgba(181,230,29,.4); padding: 8px 16px; border-radius: 999px;
}
/* 에디토리얼 넘버링 — 사진 좌하단 오버레이 */
.worship-photo::after {
  content: "0" counter(worship);
  position: absolute; left: 16px; bottom: 14px; z-index: 2;
  font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.1em;
  color: #fff; background: rgba(0,0,0,.5); backdrop-filter: blur(6px);
  padding: 6px 14px; border-radius: 999px;
}
.worship-head { margin-bottom: 14px; }
.worship-head h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 500; letter-spacing: -0.02em; }
.worship-time {
  font-family: var(--mono); font-size: 0.86rem; letter-spacing: 0.06em; color: var(--blue); margin-top: 6px;
}
.worship-time span { color: var(--muted); margin-left: 10px; font-size: 0.78rem; }
.worship-body > p { color: #3d3d3d; }
.worship-series { margin-top: 20px; padding-left: 18px; border-left: 1px solid var(--blue); }
.worship-series .series-label { font-weight: 600; margin-bottom: 4px; }
.worship-series p:not(.series-label) { color: var(--muted); font-size: 0.97rem; }

/* ---------- 오리지널 ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 32px; display: flex; flex-direction: column;
  transition: transform .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-4px); border-color: var(--blue); }
.card-wide { grid-column: span 2; }
.card-num { font-family: var(--mono); font-size: 0.8rem; color: var(--blue); letter-spacing: 0.1em; margin-bottom: 28px; }
.card h3 { font-size: 1.6rem; font-weight: 500; margin-bottom: 10px; }
.card p { color: #4a4a4a; }
.card-link { margin-top: auto; padding-top: 22px; font-weight: 500; font-size: 0.93rem; color: var(--blue); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tag-list li { border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; font-size: 0.9rem; background: var(--ivory); }
.card-dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.card-dark p { color: #bdbdbd; }
.card-dark .card-num, .card-dark .card-link { color: var(--lime); }

/* ---------- 샬롬나잇 ---------- */
.shalom-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
#shalom h2 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.8rem); }
.shalom-intro .lead { margin-top: 18px; }
.shalom-desc { color: #8e8e8e; margin-top: 14px; }
.shalom-video .mono-label { margin-top: 14px; color: #8e8e8e; }
.shalom-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: clamp(56px, 7vw, 88px) 0 48px; }
.shalom-point {
  border: 1px solid var(--dark-line); border-radius: var(--radius);
  padding: 32px 28px; background: rgba(255,255,255,.02);
  transition: border-color .3s, transform .3s var(--ease);
}
.shalom-point:hover { border-color: var(--blue); transform: translateY(-3px); }
.shalom-point .card-num { color: var(--lime); margin-bottom: 20px; }
.shalom-point h3 { color: #fff; font-size: 1.35rem; font-weight: 500; margin-bottom: 12px; }
.shalom-point > p:not(.card-num) { color: #b5b5b5; }
.guest-list li { padding: 9px 0; border-bottom: 1px solid var(--dark-line); color: #e6e6e6; }
.guest-list li:last-child { border-bottom: 0; }
.guest-list span { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; color: #8e8e8e; margin-left: 8px; }
.shalom-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 36px; border-top: 1px solid var(--dark-line); }
.shalom-note { color: #b5b5b5; max-width: 36em; }
.shalom-note .mono-label { color: var(--lime); margin: 0 10px 0 0; }
.shalom-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- 교회 소개 · Values ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.motto { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 500; color: var(--blue); letter-spacing: -0.02em; margin: 8px 0 14px; }
.values-list li {
  display: flex; gap: 32px; align-items: baseline;
  padding: 34px 4px; border-top: 1px solid var(--line);
}
.values-list li:last-child { border-bottom: 1px solid var(--line); }
.values-num { font-family: var(--mono); font-size: 0.9rem; color: var(--blue); letter-spacing: 0.1em; min-width: 40px; }
.values-list h3 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 500; letter-spacing: -0.025em; line-height: 1.15; margin-bottom: 8px; }
.values-list p { color: var(--muted); }

/* ---------- 온라인 ---------- */
#online h2 { color: #fff; }

/* ---------- 푸터 ---------- */
.site-footer { background: var(--dark); color: #d9d9d9; padding: 72px 0 40px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1.2fr 1fr 1fr; gap: 36px; padding-bottom: 48px; border-bottom: 1px solid var(--dark-line); }
.footer-name { font-weight: 600; font-size: 1.2rem; color: #fff; }
.footer-motto { color: #8e8e8e; margin-top: 6px; }
.footer-col .mono-label { color: #8e8e8e; }
.footer-col p { font-size: 0.94rem; line-height: 2; }
.footer-col a:hover { color: var(--lime); }
.site-footer .muted { color: #6f6f6f; }
.copyright { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.08em; color: #6f6f6f; margin-top: 28px; }

/* ---------- 스크롤 리빌 ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue span, .landing-motto, .landing-title, .landing-times { animation: none; }
  .landing-bg iframe { display: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 반응형 ---------- */
@media (max-width: 1080px) {
  .main-nav { gap: 22px; }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .main-nav {
    /* 헤더의 backdrop-filter가 fixed 기준을 바꾸므로 absolute + 뷰포트 높이로 지정 */
    position: absolute; top: 100%; left: 0; right: 0;
    height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
    flex-direction: column; gap: 0; background: var(--dark);
    padding: 24px 28px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s, transform .3s var(--ease), visibility .3s;
  }
  .main-nav.open { opacity: 1; visibility: visible; transform: none; }
  .main-nav a { padding: 18px 0; border-bottom: 1px solid var(--dark-line); font-size: 1.5rem; color: #fff; letter-spacing: -0.02em; }
  .main-nav a::after { display: none; }
  .main-nav a.active { color: var(--lime); }
  .nav-toggle { display: block; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  body.nav-open { overflow: hidden; }

  .times-more { display: none; }
  .worship-item { grid-template-columns: 1fr; gap: 24px; }
  .worship-item:nth-child(even) .worship-photo { order: 0; }
  .worship-photo { aspect-ratio: 16 / 9; }
  .shalom-grid, .about-grid, .map-box { grid-template-columns: 1fr; }
  .shalom-points { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .video-grid, .card-grid, .info-grid { grid-template-columns: 1fr; }
  .card-wide { grid-column: auto; }
  .info-card, .card { padding: 30px 24px; }
  .map-text { padding: 32px 24px; }
  .playlist-links { flex-direction: column; align-items: flex-start; }
  .values-list li { gap: 18px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .hero-cta .btn, .welcome-cta .btn { flex: 1 1 100%; }
  .time-list li { flex-direction: column; gap: 2px; }
  .landing-inner { padding-bottom: 210px; }
  .times-inner { flex-wrap: wrap; gap: 14px; padding-top: 20px; padding-bottom: 22px; }
  .times-label { width: 100%; }
  .times-list { flex: 1 1 100%; }
  .times-list li { padding: 0 12px; }
  .times-list li:first-child { border-left: 0; padding-left: 0; }
  .t-name { font-size: 0.8rem; }
  .times-more { display: none; }
  .scroll-cue { display: none; }
  .feature-caption { font-size: 1rem; }
}

/* ============================================================
   v3 — 고유 컨텐츠 / 처음 오신 분 / 돌봄 / 영상(다크)
   ============================================================ */
.section-dark h2 { color: #fff; }
.section-dark .mono-label { color: #8e8e8e; }

/* ---------- 고유 컨텐츠 ---------- */
.orig-block {
  display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 4vw, 56px); align-items: start;
  padding: 44px 0 64px; border-top: 1px solid var(--dark-line);
}
.orig-meta h3, .orig-media-body h3 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 500; letter-spacing: -0.02em; margin-bottom: 12px; }
.orig-meta > p:not(.card-num) { color: #b5b5b5; }
.section-dark .card-num { color: var(--lime); margin-bottom: 18px; }
.slider-nav { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.slider-btn {
  width: 46px; height: 46px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35);
  background: transparent; color: #fff; cursor: pointer; font-size: 1.05rem;
  transition: background .2s, border-color .2s;
}
.slider-btn:hover { background: var(--blue); border-color: var(--blue); }
.slider-btn:disabled { opacity: .3; cursor: default; background: transparent; border-color: rgba(255,255,255,.35); }
.slider-count { margin: 0; color: #8e8e8e; }
.slider-count b { color: #fff; font-weight: 500; }

.slider { overflow: hidden; outline: none; }
.slider-track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; padding-bottom: 4px;
}
.slider-track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 clamp(200px, 24vw, 260px); scroll-snap-align: start; }
.book-cover {
  aspect-ratio: 5 / 7; border-radius: 10px; overflow: hidden; background: #1d1d1d;
  box-shadow: 0 20px 50px rgba(0,0,0,.45); transition: transform .4s var(--ease);
}
.slide:hover .book-cover { transform: translateY(-6px); }
.book-cover img { width: 100%; height: 100%; object-fit: cover; }
.book-cover--text {
  display: flex; align-items: flex-end; padding: 26px 22px;
  background: linear-gradient(160deg, #0b1d33 0%, var(--blue) 140%);
  position: relative;
}
.book-cover--text::before {
  content: "✦ 국제새명성교회"; position: absolute; top: 20px; left: 22px;
  font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.18em; color: var(--lime);
}
.book-cover--text span { color: #fff; font-size: 1.55rem; font-weight: 600; line-height: 1.25; letter-spacing: -0.02em; }
.book-title { color: #fff; font-weight: 500; margin-top: 16px; }
.book-sub { color: #8e8e8e; font-size: 0.88rem; }

.orig-media-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding-top: 56px; border-top: 1px solid var(--dark-line); }
.orig-media { display: flex; flex-direction: column; }
.orig-media-body { padding-top: 26px; display: flex; flex-direction: column; flex: 1; }
.orig-media-body .card-num { margin-bottom: 10px; }
.orig-media-body > p:not(.card-num) { color: #b5b5b5; }
.orig-tagline { color: #fff !important; font-weight: 500; margin-bottom: 10px; }
.orig-guests { font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.06em; color: #8e8e8e !important; margin-top: 12px; }
.orig-media-body .btn { align-self: flex-start; margin-top: auto; }
.orig-media-body > p + .btn { margin-top: 24px; }
.poster { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.poster:hover img { transform: scale(1.04); }
.poster:hover .yt-play { background: var(--blue); border-color: var(--blue); }

/* ---------- 처음 오신 분 ---------- */
#newcomer h2 { font-size: clamp(2rem, 5vw, 3.6rem); }
.br-mob { display: none; }
.welcome-grid { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 20px; }
.info-card { display: flex; flex-direction: column; }
.info-card .card-link { margin-top: auto; padding-top: 18px; color: var(--blue); font-weight: 500; font-size: 0.93rem; }
.place-list { margin: 16px 0 4px; }
.place-list li { display: flex; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 0.96rem; }
.place-list li:last-child { border-bottom: 0; }
.place-list span { font-family: var(--mono); color: var(--blue); min-width: 32px; }
.info-card .map-links { margin-top: auto; padding-top: 18px; }
.info-card--preview .yt { margin: 14px 0 18px; border-radius: 10px; }
.preview-links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.map-embed--wide { margin-top: 20px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 320px; }
.map-embed--wide iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(1) contrast(1.05); }

/* ---------- 교회 소개 (목사 프로필) ---------- */
.pastor { display: flex; gap: 20px; align-items: center; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.pastor img { width: 96px; height: 96px; border-radius: 999px; object-fit: cover; object-position: top; flex-shrink: 0; }
.pastor .mono-label { margin-bottom: 4px; }
.pastor-name { font-size: 1.25rem; font-weight: 500; }
.pastor .muted { font-size: 0.86rem; line-height: 1.6; margin-top: 4px; }

/* ---------- 예배 (아이보리 배경에서 사진 자리) ---------- */
.section-alt .worship-item, .section-alt .worship-item:last-child { border-color: var(--line); }

/* ---------- 영상 (다크) ---------- */
#videos .video-title, #videos .feature-caption { color: #f2f2f2; }
#videos .playlist-links { border-top-color: var(--dark-line); }
#videos .playlist-btns a { border-color: rgba(255,255,255,.4); color: #fff; }
#videos .playlist-btns a:hover, #videos .playlist-btns .pl-primary { background: var(--blue); border-color: var(--blue); }
#videos .playlist-btns .pl-primary:hover { background: var(--blue-deep); }

/* ---------- v3 반응형 ---------- */
@media (max-width: 1080px) {
  .welcome-grid { grid-template-columns: 1fr 1fr; }
  .info-card--preview { grid-column: span 2; }
}
@media (max-width: 900px) {
  .orig-block { grid-template-columns: 1fr; }
  .orig-media-grid { grid-template-columns: 1fr; gap: 56px; }
}
@media (max-width: 640px) {
  .br-mob { display: inline; }
  .welcome-grid { grid-template-columns: 1fr; }
  .info-card--preview { grid-column: auto; }
  .slide { flex-basis: 64vw; }
  .map-embed--wide { height: 260px; }
}

/* ---------- 연락처 (인스타그램 DM) ---------- */
.contact-box {
  margin-top: 20px; border-radius: var(--radius); padding: clamp(36px, 5vw, 56px) clamp(28px, 4vw, 52px);
  background: var(--ink); color: #fff; position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: center;
}
.contact-box::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 50% 90% at 100% 100%, rgba(3,90,172,.55), transparent 70%);
}
.contact-box > * { position: relative; }
.contact-box h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 500; letter-spacing: -0.02em; margin: 10px 0 12px; }
.contact-text > p:not(.eyebrow) { color: #c4c4c4; }
.contact-actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; max-width: 340px; justify-self: end; width: 100%; }
.btn-dm { background: #fff; color: var(--ink); border-color: #fff; padding: 16px 28px; font-size: 1rem; }
.btn-dm svg { width: 20px; height: 20px; }
.btn-dm:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.contact-id { text-align: center; color: #8e8e8e !important; margin: 4px 0 0; text-transform: none; letter-spacing: 0.08em; }

.dm-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 20px 13px 16px; border-radius: 999px;
  background: var(--blue); color: #fff; font-weight: 600; font-size: 0.92rem;
  box-shadow: 0 12px 30px rgba(3,90,172,.35), 0 2px 6px rgba(0,0,0,.2);
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .35s, transform .35s var(--ease), background .2s;
}
.dm-float svg { width: 20px; height: 20px; }
.dm-float.show { opacity: 1; transform: none; pointer-events: auto; }
.dm-float:hover { background: var(--blue-deep); }
body.nav-open .dm-float { opacity: 0; pointer-events: none; }

/* 세로 쇼츠 — 카드는 16:9 유지, 재생 시 세로 영상이 가운데 */
.yt--short.is-playing { background: #000; }
.yt--short.is-playing iframe { left: 50%; width: 31.64%; transform: translateX(-50%); } /* 16:9 상자 안 9:16 영상 = 높이 기준 폭 31.64% */

@media (max-width: 900px) {
  .contact-box { grid-template-columns: 1fr; }
  .contact-actions { justify-self: stretch; max-width: none; }
}
@media (max-width: 640px) {
  .dm-float { right: 14px; bottom: 14px; padding: 12px 16px 12px 14px; }
}
.newcomer-dm { display: inline-block; margin-top: 18px; color: var(--blue); font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* ============================================================
   돌봄 (Care) — 카드 2개 + 상세 패널(모바일 바텀시트 / 데스크톱 모달)
   ============================================================ */
.care-main { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.care-tile {
  appearance: none; text-align: left; cursor: pointer; font: inherit; color: inherit;
  display: flex; flex-direction: column; gap: 0;
  min-height: 340px; padding: clamp(28px, 3.4vw, 44px);
  background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.care-tile:hover { transform: translateY(-4px); border-color: var(--blue); box-shadow: 0 18px 40px rgba(0,0,0,.06); }
.care-tile:active { transform: translateY(-1px); }
.care-tile-top { display: flex; justify-content: space-between; align-items: center; }
.care-tile .card-num { margin: 0; }
.care-tile-arrow {
  width: 44px; height: 44px; border-radius: 999px; border: 1px solid currentColor;
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.05rem;
  opacity: .55; transition: background .25s, color .25s, border-color .25s, opacity .25s;
}
.care-tile:hover .care-tile-arrow { background: var(--blue); border-color: var(--blue); color: #fff; opacity: 1; }
.care-tile-title { display: block; font-size: clamp(2.2rem, 4.4vw, 3.4rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; margin-top: auto; padding-top: 48px; }
.care-tile-desc { display: block; color: var(--muted); margin-top: 12px; }
.care-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.care-chips span { font-size: 0.85rem; padding: 6px 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); }
.care-tile-cta { display: block; margin-top: 24px; font-weight: 600; color: var(--blue); }
.care-tile--dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.care-tile--dark .card-num { color: var(--lime); }
.care-tile--dark .care-tile-desc { color: #b5b5b5; }
.care-tile--dark .care-chips span { background: transparent; border-color: var(--dark-line); color: #e6e6e6; }
.care-tile--dark .care-tile-cta { color: var(--lime); }

/* ---------- 상세 패널 ---------- */
.sheet { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 24px; }
.sheet[hidden] { display: none; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(17,17,17,.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s; }
.sheet-panel {
  position: relative; width: min(720px, 100%); max-height: min(86vh, 860px);
  background: var(--white); border-radius: 20px; overflow: hidden; outline: none;
  display: flex; flex-direction: column;
  box-shadow: 0 40px 100px rgba(0,0,0,.35);
  opacity: 0; transform: translateY(16px) scale(.98);
  transition: opacity .3s var(--ease), transform .35s var(--ease);
}
.sheet.is-open .sheet-backdrop { opacity: 1; }
.sheet.is-open .sheet-panel { opacity: 1; transform: none; }
.sheet-grab { display: none; }
.sheet-head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
  padding: 28px 32px 20px; border-bottom: 1px solid var(--line);
}
.sheet-head .mono-label { margin-bottom: 6px; }
.sheet-head h3 { font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 500; letter-spacing: -0.02em; }
.sheet-close {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: var(--white); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; transition: background .2s, border-color .2s;
}
.sheet-close svg { width: 20px; height: 20px; }
.sheet-close:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.sheet-body { padding: 24px 32px 32px; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.sheet-intro { color: var(--muted); margin-bottom: 20px; }
body.sheet-open { overflow: hidden; }
body.sheet-open .dm-float { opacity: 0; pointer-events: none; }

/* 소그룹 */
.group-block { padding: 20px 0; border-top: 1px solid var(--line); }
.group-block:first-of-type { border-top: 0; padding-top: 4px; }
.group-block h4 { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.group-block .count { font-family: var(--mono); font-size: 0.72rem; font-weight: 500; color: #fff; background: var(--blue); border-radius: 999px; padding: 2px 9px; }
.info-rows > div { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 6px 0; }
.info-rows dt { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.08em; color: var(--muted); padding-top: 2px; }
.info-rows dd b { font-weight: 600; color: var(--blue); }
.mok-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mok-list li {
  display: grid; grid-template-columns: auto 1fr; column-gap: 10px; row-gap: 2px; align-items: baseline;
  padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--ivory);
}
.mok-name { font-weight: 700; color: var(--blue); }
.mok-leader { font-weight: 500; }
.mok-time, .mok-place { grid-column: 1 / -1; font-size: 0.9rem; color: #4a4a4a; }
.mok-time::before, .mok-place::before { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em; color: var(--muted); margin-right: 8px; }
.mok-time::before { content: "시간"; }
.mok-place::before { content: "장소"; }

/* 양육프로그램 탭 */
.prog-tabs { display: flex; gap: 6px; padding: 4px; background: var(--ivory); border-radius: 999px; margin-bottom: 18px; position: sticky; top: -24px; z-index: 1; }
.prog-tab {
  flex: 1; appearance: none; border: 0; cursor: pointer; font: inherit; font-weight: 600;
  padding: 11px 10px; border-radius: 999px; background: transparent; color: var(--muted); transition: background .2s, color .2s;
}
.prog-tab span { font-family: var(--mono); font-size: 0.75rem; font-weight: 500; margin-left: 4px; opacity: .7; }
.prog-tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.prog-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; counter-reset: prog; }
.prog-list li {
  counter-increment: prog; display: flex; align-items: center; gap: 12px;
  padding: 15px 16px; border: 1px solid var(--line); border-radius: 12px; font-weight: 500;
}
.prog-list li::before { content: counter(prog, decimal-leading-zero); font-family: var(--mono); font-size: 0.74rem; color: var(--blue); }
.prog-panel { animation: fadeIn .25s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.sheet-cta { display: block; margin-top: 24px; padding: 16px 20px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 500; text-align: center; transition: background .2s; }
.sheet-cta:hover { background: var(--blue); }

/* ---------- 모바일: 바텀시트 ---------- */
@media (max-width: 720px) {
  .care-main { grid-template-columns: 1fr; gap: 14px; }
  .care-tile { min-height: 0; padding: 26px 24px; }
  .care-tile-title { padding-top: 28px; }
  .sheet { align-items: flex-end; padding: 0; }
  .sheet-panel {
    width: 100%; max-height: 88vh; max-height: 88dvh; border-radius: 22px 22px 0 0;
    transform: translateY(100%); opacity: 1;
    transition: transform .38s cubic-bezier(.2,.8,.2,1);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .sheet.is-open .sheet-panel { transform: translateY(var(--drag, 0px)); }
  .sheet-panel.dragging { transition: none; }
  .sheet-grab { display: flex; justify-content: center; padding: 10px 0 2px; touch-action: none; cursor: grab; }
  .sheet-grab span { width: 42px; height: 5px; border-radius: 999px; background: #d4d0c6; }
  .sheet-head { padding: 10px 22px 16px; touch-action: none; }
  .sheet-body { padding: 18px 22px 28px; }
  .mok-list, .prog-list { grid-template-columns: 1fr; }
  .prog-tabs { top: -18px; }
}
@media (prefers-reduced-motion: reduce) {
  .sheet-panel, .sheet-backdrop { transition: none; }
}

/* ============================================================
   랜딩 예배시간 바 — 주일예배 / 평일예배 2묶음
   ============================================================ */
.times-inner { gap: clamp(20px, 3vw, 44px); }
.times-group { flex: 1; display: flex; align-items: center; gap: clamp(16px, 2vw, 28px); min-width: 0; }
.times-group + .times-group { padding-left: clamp(20px, 3vw, 44px); border-left: 1px solid rgba(255,255,255,.22); }
.times-group .times-label { writing-mode: horizontal-tb; }
.times-group .times-list li { padding: 0 clamp(10px, 1.6vw, 22px); }
.times-group .times-list li:first-child { border-left: 0; padding-left: 0; }
.t-name em { font-style: normal; font-family: var(--mono); font-size: 0.72em; color: var(--lime); margin-left: 2px; }
.times-group .t-time { font-size: clamp(1.35rem, 2.3vw, 2rem); }
@media (max-width: 1180px) {
  .times-group { flex-direction: column; align-items: flex-start; gap: 8px; }
  .times-more { display: none; }
}
@media (max-width: 640px) {
  .times-inner { flex-direction: column; align-items: stretch; gap: 14px; }
  .times-group { width: 100%; flex-direction: row; align-items: center; gap: 12px; }
  .times-group + .times-group { padding-left: 0; border-left: 0; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.16); }
  .times-group .times-label { width: 64px; flex-shrink: 0; font-size: 0.62rem; letter-spacing: 0.12em; line-height: 1.5; }
  .times-group .times-list li { padding: 0 8px; }
  .times-group .t-name { font-size: 0.72rem; white-space: nowrap; }
  .times-group .t-time { font-size: 1.3rem; }
  .landing-inner { padding-bottom: 250px; }
}

/* ============================================================
   예배시간표 — 데스크톱: 표 / 모바일: 주일예배 · 평일예배 · 다음세대 카드
   ============================================================ */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sched-wrap { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.sched { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.sched thead th {
  text-align: left; font-family: var(--mono); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.18em;
  color: var(--muted); padding: 18px 28px; background: var(--ivory); border-bottom: 1px solid var(--line);
}
.sched thead th:first-child { width: 20%; }
.sched thead th:nth-child(2) { width: 30%; }
.sched thead th:nth-child(3) { width: 25%; }
.sched td, .sched .sched-cat { padding: 17px 28px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.sched-group:last-of-type tr:last-child td { border-bottom: 0; }
.sched tbody + tbody tr:first-child > * { border-top: 2px solid var(--line); }
.sched .sched-cat { text-align: left; vertical-align: top; padding-top: 20px; border-right: 1px solid var(--line); }
.sched-group:last-of-type .sched-cat { border-bottom: 0; }
.cat-en { display: block; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--blue); margin-bottom: 4px; font-weight: 500; }
.cat-ko { display: block; font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; }
.s-name { font-weight: 500; font-size: 1.04rem; }
.s-time { color: var(--blue); font-weight: 600; font-size: 1.04rem; }
.s-place { color: #4a4a4a; }
.sched tbody tr:hover td { background: rgba(3,90,172,.035); }
.sched-group--next .s-name { letter-spacing: -0.01em; }
.sched-note { padding: 16px 28px; border-top: 1px solid var(--line); background: var(--ivory); font-size: 0.92rem; color: var(--muted); display: flex; gap: 12px; flex-wrap: wrap; justify-content: space-between; }
.sched-note a { color: var(--blue); font-weight: 500; }

/* ---------- 예배 영상 / 링크 ---------- */
.wvideo {
  margin-top: 20px; display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(24px, 4vw, 48px); align-items: center;
  background: var(--ink); color: #fff; border-radius: var(--radius); padding: clamp(28px, 4vw, 48px);
}
.wvideo .mono-label { color: var(--lime); }
.wvideo h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 500; letter-spacing: -0.02em; margin-bottom: 10px; }
.wvideo-text > p:not(.mono-label) { color: #bdbdbd; }
.wvideo-links { margin-top: 22px; border-top: 1px solid var(--dark-line); }
.wvideo-links a { display: flex; justify-content: space-between; align-items: center; padding: 14px 2px; border-bottom: 1px solid var(--dark-line); font-weight: 500; transition: color .2s, padding .25s var(--ease); }
.wvideo-links a i { font-style: normal; color: var(--lime); }
.wvideo-links a:hover { color: var(--lime); padding-left: 8px; }
.wvideo-player figcaption { margin-top: 12px; color: #cfcfcf; font-size: 0.92rem; display: flex; gap: 10px; align-items: center; }

.worship-subhead { margin: clamp(64px, 8vw, 96px) 0 8px; }
.worship-subhead h3 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 500; letter-spacing: -0.02em; }

@media (max-width: 900px) {
  .wvideo { grid-template-columns: 1fr; }
  .wvideo-player { order: -1; }
}

/* ---------- 모바일: 표 → 3묶음 카드 ---------- */
@media (max-width: 720px) {
  .sched-wrap { background: transparent; border: 0; border-radius: 0; overflow: visible; }
  .sched, .sched tbody, .sched tr, .sched td, .sched th { display: block; width: 100%; }
  .sched thead { display: none; }
  .sched-group {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; margin-bottom: 12px;
  }
  .sched tbody + tbody tr:first-child > * { border-top: 0; }
  .sched .sched-cat {
    display: flex; align-items: baseline; justify-content: space-between;
    padding: 16px 20px; border: 0; border-bottom: 1px solid var(--line);
  }
  .sched-group--sunday .sched-cat { background: var(--ink); color: #fff; border-bottom-color: var(--ink); }
  .sched-group--sunday .cat-en { color: var(--lime); }
  .sched-group--weekday .sched-cat { background: var(--blue); color: #fff; border-bottom-color: var(--blue); }
  .sched-group--weekday .cat-en { color: rgba(255,255,255,.75); }
  .sched-group--next .sched-cat { background: var(--ivory); }
  .cat-ko { order: -1; font-size: 1.18rem; }
  .cat-en { margin: 0; font-size: 0.64rem; }
  /* 한 줄 = 예배명 | 시간  /  장소 */
  .sched tr {
    display: grid; grid-template-columns: 1fr auto; column-gap: 12px; row-gap: 2px;
    padding: 14px 20px; border-bottom: 1px solid var(--line);
  }
  .sched tr:last-child { border-bottom: 0; }
  .sched tr:first-child { padding: 0; display: grid; grid-template-columns: 1fr auto; }
  .sched tr:first-child .sched-cat { grid-column: 1 / -1; }
  .sched tr:first-child td { }
  .sched tr:first-child .s-name { padding: 14px 0 0 20px; }
  .sched tr:first-child .s-time { padding: 14px 20px 0 0; }
  .sched tr:first-child .s-place { padding: 0 20px 14px; }
  .sched td { padding: 0; border: 0; }
  .sched tbody tr:hover td { background: none; }
  .s-name { font-size: 1.02rem; font-weight: 600; }
  .s-time { text-align: right; font-size: 1rem; white-space: nowrap; }
  .s-place { grid-column: 1 / -1; font-size: 0.88rem; color: var(--muted); }
  .s-place::before { content: "장소 "; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; color: #9a9a9a; margin-right: 4px; }
  .sched-note { border: 1px solid var(--line); border-radius: var(--radius); }
}
/* 랜딩 바: 라벨을 시간 위로 올려 두 묶음이 여유 있게 */
@media (min-width: 641px) {
  .times-group { flex-direction: column; align-items: flex-start; gap: 10px; }
  .times-group .times-list { width: 100%; }
  .times-inner { padding-top: 22px; padding-bottom: 24px; }
}
/* 모바일 랜딩 바: 라벨은 한 줄 위로, 시간 3칸은 아래로 */
@media (max-width: 640px) {
  .times-group { flex-direction: column; align-items: stretch; gap: 6px; }
  .times-group .times-label { width: auto; font-size: 0.64rem; letter-spacing: 0.16em; }
  .times-group .times-list li { padding: 0 10px; }
  .times-group .times-list li:first-child { padding-left: 0; }
  .times-inner { gap: 12px; padding-top: 16px; padding-bottom: 18px; }
  .landing-inner { padding-bottom: 260px; }
}

/* ============================================================
   담임목사 소개 (고유 컨텐츠 위)
   ============================================================ */
.pastor-section { background: var(--ivory); }
.pastor-grid { display: grid; grid-template-columns: minmax(260px, 0.8fr) 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.pastor-photo { position: sticky; top: calc(var(--header-h) + 24px); border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: #ddd; }
.pastor-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.pastor-body h2 { font-size: clamp(2.4rem, 5vw, 3.8rem); margin: 10px 0 14px; }
.pastor-lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: #3d3d3d; max-width: 34em; }
.pastor-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.pastor-list li { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 0.96rem; color: #2e2e2e; }
.pastor-list li:last-child { border-bottom: 0; }
.pastor-works { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.pastor-works .tag-list { margin-top: 4px; }
.pastor-works .tag-list li { background: var(--white); }
.pastor-songs { margin-top: 16px; color: var(--muted); font-size: 0.92rem; }
.pastor-cta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 32px; }
@media (max-width: 900px) {
  .pastor-grid { grid-template-columns: 1fr; }
  .pastor-photo { position: static; max-width: 360px; aspect-ratio: 1 / 1; }
}
@media (max-width: 640px) {
  .pastor-cols { grid-template-columns: 1fr; gap: 20px; }
  .pastor-photo { max-width: 280px; aspect-ratio: 4 / 5; }
}

/* ============================================================
   교회 소개 (smschurch.net 소개 페이지 통합)
   ============================================================ */
.btn-ig { display: inline-flex; align-items: center; gap: 8px; }
.ig-icon { width: 17px; height: 17px; flex-shrink: 0; }

.intro-hero { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--dark); color: #fff; min-height: clamp(380px, 52vw, 560px); display: flex; flex-direction: column; justify-content: flex-end; }
.intro-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.intro-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.75)); }
.intro-hero-text, .intro-facts { position: relative; z-index: 1; }
.intro-hero-text { padding: 0 clamp(24px, 4vw, 56px); }
.intro-hero h2 { font-size: clamp(2.2rem, 5.6vw, 4.4rem); line-height: 1.12; }
.intro-facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 28px; border-top: 1px solid rgba(255,255,255,.22); }
.intro-facts > div { padding: 18px clamp(24px, 4vw, 56px) 22px; border-right: 1px solid rgba(255,255,255,.14); }
.intro-facts > div:last-child { border-right: 0; }
.intro-facts dt { font-family: var(--mono); font-size: .72rem; letter-spacing: .2em; color: var(--lime); margin-bottom: 4px; }
.intro-facts dd { font-size: 1.02rem; font-weight: 500; }

.intro-block { padding-top: clamp(72px, 9vw, 112px); scroll-margin-top: calc(var(--header-h) + 16px); }
.intro-block .card-num { margin-bottom: 14px; }
.intro-title { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 500; letter-spacing: -0.025em; line-height: 1.2; margin-bottom: 16px; }
.intro-title em { font-style: normal; color: var(--blue); }
.intro-desc { color: #3d3d3d; font-size: clamp(1rem, 1.5vw, 1.12rem); max-width: 40em; }

.esc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.esc-grid li { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; background: var(--ivory); }
.esc-letter { display: block; font-size: 3rem; font-weight: 500; line-height: 1; color: var(--blue); margin-bottom: 18px; }
.esc-grid .mono-label { margin-bottom: 6px; }
.esc-grid h4 { font-size: 1.2rem; font-weight: 600; margin-bottom: 6px; }
.esc-grid p:last-child { color: var(--muted); font-size: .95rem; }

.mp-grid { display: grid; grid-template-columns: 260px 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.mp-photo { width: 260px; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: #ddd; }
.mp-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.mp-body .tag-list { margin-top: 16px; }
.mp-body .pastor-cols { margin-top: 28px; padding-top: 24px; }

.cw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; margin-top: 28px; border-top: 1px solid var(--line); }
.cw-item { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--line); }
.cw-item img { width: 56px; height: 56px; border-radius: 999px; object-fit: cover; flex-shrink: 0; background: #ddd; }
.cw-name { font-weight: 600; font-size: 1.04rem; }
.cw-name span { font-weight: 400; color: var(--muted); font-size: .9rem; margin-left: 2px; }
.cw-role { font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; color: var(--blue); margin: 2px 0 6px; }
.cw-note { font-size: .9rem; color: #4a4a4a; line-height: 1.6; }

.fac-video { margin-top: 28px; border-radius: var(--radius); overflow: hidden; }
.fac-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 20px; margin-top: 40px; }
.fac-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; margin-bottom: 14px; background: #ddd; }
.fac-card .mono-label { margin-bottom: 2px; color: var(--blue); }
.fac-card h4 { font-size: 1.1rem; font-weight: 600; margin-bottom: 4px; }
.fac-card p:last-child { color: var(--muted); font-size: .92rem; line-height: 1.6; }

.nf-hist { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.nf-steps li { display: flex; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.nf-steps li:first-child { border-top: 1px solid var(--line); }
.nf-steps span { font-family: var(--mono); font-size: .8rem; color: var(--blue); letter-spacing: .1em; padding-top: 3px; min-width: 24px; }
.nf-steps h4 { font-size: 1.04rem; font-weight: 600; }
.nf-steps p { color: var(--muted); font-size: .92rem; }
.hist-list li { display: grid; grid-template-columns: 128px 1fr; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.hist-col > .hist-list li:first-child { border-top: 1px solid var(--line); }
.hist-list time { font-family: var(--mono); font-size: .8rem; color: var(--blue); letter-spacing: .04em; padding-top: 3px; }
.hist-list p { font-size: .95rem; }
.hist-list small { display: block; color: var(--muted); font-size: .84rem; margin-top: 4px; line-height: 1.6; }
.hist-more { margin-top: 20px; }
.hist-more summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; border: 1px solid var(--ink); border-radius: 999px; padding: 10px 22px; font-size: .88rem; transition: background .2s, color .2s; }
.hist-more summary::-webkit-details-marker { display: none; }
.hist-more summary::after { content: "+"; font-family: var(--mono); }
.hist-more[open] summary::after { content: "−"; }
.hist-more summary:hover { background: var(--ink); color: #fff; }
.hist-more .hist-list { margin-top: 16px; max-height: 520px; overflow-y: auto; padding-right: 6px; }

@media (max-width: 900px) {
  .cw-grid { grid-template-columns: 1fr 1fr; }
  .fac-grid { grid-template-columns: 1fr 1fr; }
  .nf-hist { grid-template-columns: 1fr; }
  .mp-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .intro-facts { grid-template-columns: 1fr 1fr; }
  .intro-facts > div { padding: 14px 20px 16px; }
  .intro-facts > div:nth-child(2) { border-right: 0; }
  .intro-facts > div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.14); }
  .intro-hero-text { padding: 0 20px; }
  .esc-grid, .cw-grid, .fac-grid { grid-template-columns: 1fr; }
  .mp-photo { width: 220px; }
  .hist-list li { grid-template-columns: 1fr; gap: 2px; }
}
@media (max-width: 640px) {
  .fac-grid { grid-template-columns: 1fr 1fr; gap: 22px 12px; margin-top: 28px; }
  .fac-card img { margin-bottom: 10px; border-radius: 8px; }
  .fac-card h4 { font-size: .98rem; }
  .fac-card p:last-child { font-size: .82rem; }
}

/* ---------- 동역자: 사진 카드 (v2) ---------- */
.cw-grid { grid-template-columns: repeat(4, 1fr); gap: 36px 20px; border-top: 0; margin-top: 32px; }
.cw-item { flex-direction: column; gap: 0; padding: 0; border-bottom: 0; }
.cw-item img { width: 100%; height: auto; aspect-ratio: 4 / 5; border-radius: 12px; object-fit: cover; object-position: center top; margin-bottom: 14px; }
.cw-name { font-size: 1.12rem; }
@media (max-width: 900px) { .cw-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) {
  .cw-grid { grid-template-columns: 1fr 1fr; gap: 28px 12px; }
  .cw-item img { border-radius: 10px; margin-bottom: 10px; }
  .cw-note { font-size: .84rem; }
}

/* ---------- 예배 영상: 담임목사 섹션 아래 ---------- */
.pastor-wvideo { margin-top: clamp(56px, 8vw, 96px); }

/* ---------- 주보 ---------- */
.bulletin-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.bulletin-pick { display: flex; flex-direction: column; gap: 2px; }
.bulletin-pick .mono-label { margin-bottom: 4px; }
.bulletin-pick select {
  appearance: none; -webkit-appearance: none; font: inherit; font-size: .95rem; color: var(--ink);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23161616' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 18px center;
  border: 1px solid var(--ink); border-radius: 999px; padding: 11px 46px 11px 20px; cursor: pointer; min-width: 230px;
}
.bulletin-date { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; font-weight: 500; margin-bottom: 18px; }
.bulletin-pages { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bulletin-page { display: block; padding: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; cursor: zoom-in; transition: transform .3s var(--ease), box-shadow .3s; }
.bulletin-page:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,.08); }
.bulletin-page img { width: 100%; height: auto; }
.bulletin-hint { margin-top: 14px; color: var(--muted); font-size: .86rem; }
.bulletin-viewer { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(10,10,10,.96); color: #fff; }
.bulletin-viewer::backdrop { background: rgba(0,0,0,.6); }
.bulletin-viewer[open] { display: flex; flex-direction: column; }
.bv-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--dark-line); }
.bv-title { font-weight: 500; }
.bv-ctrl { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .85rem; }
.bv-ctrl button { width: 40px; height: 40px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); background: transparent; color: #fff; cursor: pointer; }
.bv-ctrl button:hover { background: var(--blue); border-color: var(--blue); }
.bv-stage { flex: 1; overflow: auto; display: flex; align-items: center; justify-content: center; padding: 16px; }
.bv-stage img { max-width: 100%; max-height: 100%; object-fit: contain; }
@media (max-width: 640px) {
  .bulletin-pages { grid-template-columns: 1fr; gap: 12px; }
  .bulletin-pick select { min-width: 0; width: 100%; }
  .bulletin-pick { width: 100%; }
  .bv-stage { padding: 8px; align-items: flex-start; }
  .bv-stage img { max-height: none; }
}
.bulletin-viewer { background: #0a0a0a; }
.bv-stage img { cursor: zoom-in; }
.bv-stage.zoomed { align-items: flex-start; justify-content: flex-start; }
.bv-stage.zoomed img { max-width: none; max-height: none; width: 240%; cursor: zoom-out; }
@media (min-width: 900px) { .bv-stage.zoomed img { width: 160%; } }
.bv-tip { text-align: center; color: #9a9a9a; font-size: .8rem; padding: 0 0 12px; }

/* ============================================================
   수정 2026-10-13 (수정 프롬프트)
   ============================================================ */
/* 예배시간 바: 오전/저녁 접두어 */
.t-time small { font-size: .5em; font-weight: 500; color: rgba(255,255,255,.72); letter-spacing: 0; margin-right: 2px; vertical-align: .18em; }

/* '전체 예배 안내 →' — 모든 화면에서 보이게 (1180px 이하: 바 아래 줄) */
@media (max-width: 1180px) {
  .times-inner { flex-wrap: wrap; }
  .times-more { display: inline-flex; align-items: center; min-height: 44px; flex: 0 0 auto; }
}
@media (max-width: 640px) {
  .times-more { display: inline-flex; align-self: flex-start; min-height: 44px; padding: 10px 20px; }
}

/* 터치 영역 44px 이상 */
.btn-sm { min-height: 44px; }
.nav-toggle { min-width: 44px; min-height: 44px; display: none; align-items: center; justify-content: center; flex-direction: column; }
@media (max-width: 900px) { .nav-toggle { display: flex; } }
.nav-toggle span { margin: 3px 0; }
.nav-toggle.open span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-4.5px) rotate(-45deg); }

/* 동역자 아코디언 */
.cw-acc-list { margin-top: 28px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.cw-acc-item { border-bottom: 1px solid var(--line); }
.cw-acc summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto 1fr 28px; align-items: center; gap: 16px; min-height: 64px; padding: 14px 0; }
.cw-acc summary::-webkit-details-marker { display: none; }
.cw-sum-name { font-weight: 600; font-size: 1.08rem; white-space: nowrap; }
.cw-sum-name span { font-weight: 400; color: var(--muted); font-size: .9rem; margin-left: 2px; }
.cw-sum-role { font-family: var(--mono); font-size: .76rem; letter-spacing: .06em; color: var(--blue); }
.cw-sum-icon { position: relative; width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 999px; transition: background .2s, border-color .2s; }
.cw-sum-icon::before, .cw-sum-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .25s var(--ease), background .2s; }
.cw-sum-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.cw-acc[open] .cw-sum-icon { background: var(--blue); border-color: var(--blue); }
.cw-acc[open] .cw-sum-icon::before, .cw-acc[open] .cw-sum-icon::after { background: #fff; }
.cw-acc[open] .cw-sum-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.cw-acc summary:hover .cw-sum-name { color: var(--blue); }
.cw-acc-body { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 4px 0 24px; animation: cwOpen .3s var(--ease); }
.cw-acc-body img { width: 140px; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; border-radius: 10px; background: #ddd; }
.cw-acc-note { color: #3d3d3d; margin-bottom: 10px; }
.cw-acc-text .pastor-list li { font-size: .9rem; padding: 7px 0; }
.cw-acc-text .btn-ig { margin-top: 14px; }
.cw-cols { display: grid; grid-template-columns: 1fr; gap: 14px; }
@keyframes cwOpen { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) { .cw-acc-list { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .cw-acc summary { grid-template-columns: 1fr 28px; gap: 2px 12px; }
  .cw-sum-name { grid-column: 1; }
  .cw-sum-role { grid-column: 1; grid-row: 2; }
  .cw-sum-icon { grid-column: 2; grid-row: 1 / span 2; }
  .cw-acc-body { grid-template-columns: 96px 1fr; gap: 14px; }
  .cw-acc-body img { width: 96px; }
}
@media (prefers-reduced-motion: reduce) { .cw-acc-body { animation: none; } }
/* 교회 소개 머리 — 사진 배너 대신 간결한 제목 */
.intro-head { padding-bottom: 8px; }
.intro-head h2 { margin-bottom: 18px; }
.intro-facts-inline { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.intro-facts-inline div { display: flex; gap: 10px; align-items: baseline; }
.intro-facts-inline dt { font-family: var(--mono); font-size: .72rem; letter-spacing: .18em; color: var(--muted); }
.intro-facts-inline dd { font-weight: 500; }
.welcome-grid { grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .welcome-grid { grid-template-columns: 1fr; } }

/* 텍스트 스크롤 애니메이션 */
.tx-rise { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.tx-rise.tx-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .tx-rise { opacity: 1; transform: none; transition: none; } }
.care-book-label { display: inline-block; font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; color: var(--blue); border: 1px solid currentColor; border-radius: 999px; padding: 2px 9px; margin-right: 6px; vertical-align: .1em; }
.care-tile .care-tile-desc:has(.care-book-label) { color: var(--ink); font-weight: 500; }
.sheet-book { font-weight: 500; margin: -8px 0 22px; }
.book-vol { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; color: var(--lime); border: 1px solid rgba(181,230,29,.5); border-radius: 999px; padding: 1px 8px; margin-left: 4px; vertical-align: .15em; }

/* 교재 시리즈 (여러 권): 권 번호 버튼으로 표지 전환 */
.book-series-count { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; color: var(--lime); margin-left: 6px; }
.vol-cover { position: relative; }
.vol-cover img { position: absolute; inset: 0; opacity: 0; transition: opacity .45s var(--ease); }
.vol-cover img.on { opacity: 1; position: relative; }
.vol-tabs { display: flex; gap: 6px; margin-top: 14px; }
.vol-tabs button {
  min-width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(255,255,255,.28);
  background: transparent; color: #cfcfcf; font-family: var(--mono); font-size: .8rem; cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.vol-tabs button:hover { border-color: #fff; color: #fff; }
.vol-tabs button[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.vol-tabs + .book-title { margin-top: 12px; }

/* 교단 로고 */
.brand-logo { width: auto; height: 26px; display: inline-block; flex-shrink: 0; }
.footer-name { display: flex; align-items: center; gap: 10px; }
.footer-name .brand-logo { height: 28px; }
.footer-denom { display: flex; align-items: center; gap: 8px; color: #cfcfcf; font-size: .9rem; margin-top: 12px; }
.footer-denom img { height: 22px; width: auto; }

/* 교단 표기 — 랜딩·처음 오신 분 */
.landing-denom { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; font-size: .8rem; letter-spacing: .04em; color: rgba(255,255,255,.72); }
.landing-denom img { height: 17px; width: auto; opacity: .85; }
.newcomer-denom { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; font-size: .85rem; color: #6b6b6b; }
.newcomer-denom img { height: 18px; width: auto; }

/* 자주 묻는 질문 (FAQ) */
.faq-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 56px; }
.faq-cat { color: var(--blue); margin-bottom: 8px; }
.faq-group { border-top: 1px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 28px; align-items: center; gap: 16px; min-height: 60px; padding: 14px 0; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { font-weight: 600; font-size: 1.02rem; }
.faq-item summary:hover .faq-q { color: var(--blue); }
.faq-item[open] .cw-sum-icon { background: var(--blue); border-color: var(--blue); }
.faq-item[open] .cw-sum-icon::before, .faq-item[open] .cw-sum-icon::after { background: #fff; }
.faq-item[open] .cw-sum-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { color: #3d3d3d; padding: 0 44px 22px 0; line-height: 1.75; animation: cwOpen .3s var(--ease); }
.faq-link { display: inline-block; margin-top: 6px; color: var(--blue); font-weight: 600; white-space: nowrap; }
@media (max-width: 900px) { .faq-groups { grid-template-columns: 1fr; gap: 36px; } .faq-a { padding-right: 0; } }
.t-sub { display: block; font-size: .78rem; color: rgba(255,255,255,.6); margin-top: 2px; letter-spacing: .02em; }
.contact-text a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* 사역창고 버튼 (헤더, 항상 표시) */
.nav-cta { margin-left: 28px; display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 0 16px; border-radius: 999px; background: var(--blue); color: #fff; font-size: .86rem; font-weight: 600; white-space: nowrap; transition: background .2s; }
.nav-cta:hover { background: var(--blue-deep); }
.header-inner .main-nav { margin-left: auto; }
@media (max-width: 900px) {
  .nav-cta { margin-left: auto; margin-right: 12px; min-height: 36px; padding: 0 14px; font-size: .82rem; }
}

/* 셀베이션캠프 배너 */
.camp-banner { background: var(--blue); color: #fff; padding: clamp(64px, 9vw, 112px) 0; position: relative; overflow: hidden; }
.camp-banner::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 100% 0%, rgba(255,255,255,.14), transparent 60%); pointer-events: none; }
.camp-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; }
.camp-label { color: rgba(255,255,255,.75); }
.camp-title { font-size: clamp(3.2rem, 8.5vw, 7rem); line-height: .92; font-weight: 800; letter-spacing: -0.03em; margin: 14px 0 18px; color: #fff; }
.camp-sub { font-size: 1.05rem; color: rgba(255,255,255,.85); }
.camp-info { border-top: 1px solid rgba(255,255,255,.35); padding-top: 22px; }
.camp-season { color: rgba(255,255,255,.75); }
.camp-theme { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; margin: 8px 0 2px; letter-spacing: -0.02em; }
.camp-verse { color: rgba(255,255,255,.7); font-size: .9rem; margin-bottom: 20px; }
.camp-facts { display: grid; gap: 0; margin-bottom: 26px; }
.camp-facts div { display: grid; grid-template-columns: 56px 1fr; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.18); font-size: .95rem; }
.camp-facts dt { font-family: var(--mono); font-size: .76rem; letter-spacing: .08em; color: rgba(255,255,255,.65); align-self: center; }
.camp-btn { color: var(--blue); }
.camp-btn:hover { color: #fff; border-color: #fff; }
@media (max-width: 900px) { .camp-inner { grid-template-columns: 1fr; gap: 32px; } }


/* ============ 보조 컬러: 라임 #B5E61D · 작은 강조: 코랄 #FF6B35 ============ */
::selection { background: var(--lime); color: var(--ink); }
/* 랜딩 — 평택 위치 칩 + 모토 라임 */
.landing-loc {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: clamp(14px, 2vw, 22px);
  padding: 7px 16px 7px 12px; border: 1px solid rgba(181,230,29,.55); border-radius: 999px;
  background: rgba(17,17,17,.35); color: #fff; font-size: clamp(.86rem, 1.4vw, 1rem); font-weight: 600; letter-spacing: .02em;
  animation: rise 1s var(--ease) .1s both;
}
.landing-loc .loc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(181,230,29,.22); }
.landing-loc em { font-style: normal; color: var(--lime); }
.landing-motto { color: var(--lime); }
/* 헤더 — 평택 표기, 사역창고 라임 버튼 */
.brand-loc { font-size: .72rem; font-weight: 700; color: var(--ink); background: var(--lime); border-radius: 999px; padding: 2px 8px; letter-spacing: .02em; }
@media (max-width: 380px) { .brand-loc { display: none; } }
.nav-cta { background: var(--lime); color: var(--ink); }
.nav-cta:hover { background: #fff; color: var(--ink); }
.main-nav a.active, .main-nav a:hover { color: #fff; }
.main-nav a::after { background: var(--lime); height: 2px; }
/* 다크 섹션 eyebrow 별표, 교재 권 버튼 */
.section-dark .eyebrow::before, .eyebrow-light::before { color: var(--lime); }
.vol-tabs button[aria-pressed="true"] { background: var(--lime); border-color: var(--lime); color: var(--ink); }
/* 셀베이션캠프 배너 */
.camp-label, .camp-season { color: var(--lime); }
.camp-btn { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.camp-btn:hover { background: #fff; border-color: #fff; color: var(--ink); }
/* 라이트 섹션: 제목 아래 라임 포인트 바 */
.section-head h2::after { content: ""; display: block; width: 44px; height: 5px; border-radius: 3px; background: var(--lime); margin-top: 18px; }
.section-head.center h2::after { margin-left: auto; margin-right: auto; }
.section-dark .section-head h2::after { background: var(--lime); }
/* 코랄 — 작은 강조만 */
.caption-label.is-latest { background: var(--coral); border-color: var(--coral); color: #fff; opacity: 1; }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); margin-right: 8px; vertical-align: .1em; animation: livePulse 1.6s infinite; }
@keyframes livePulse { 0%,100% { box-shadow: 0 0 0 0 rgba(255,107,53,.6); } 50% { box-shadow: 0 0 0 5px rgba(255,107,53,0); } }
.scroll-cue span { background: var(--coral); }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } .landing-loc { animation: none; } }
