/* 서초예일교회 — 흑백 미니멀 + 포인트 색 하나 (코발트 블루), 사진은 컬러
   레이아웃: 흰 첫 화면으로 밝게 시작하고, 선교와 하단만 검은 띠. 영어 대문자 제목이 각 구역의 표지 역할 */
:root {
  --black: #0d0d0d;
  --ink: #161616;
  --white: #ffffff;
  --paper: #f4f4f2;
  --gray: #686864;        /* 밝은 바탕 위 작은 글씨 (흰 바탕 대비 약 5.6:1) */
  --gray-dark: #a8a8a3;   /* 검은 바탕 위 작은 글씨 (검정 대비 약 8:1) */
  --line: #d9d9d5;
  --ph: #d6d6d2;          /* 사진 자리 표시 (밝은 구역) */
  --ph-dark: #2a2a2a;     /* 사진 자리 표시 (어두운 구역) */
  --accent: #2f4bff;      /* 포인트 색: 바꾸려면 이 값만 수정 */
  --todo: #b3261e;        /* 채워야 할 자리 표시 (공개 전 삭제) */

  --f-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Gothic A1", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --f-hand: "Nanum Pen Script", "Gothic A1", cursive;   /* 손글씨: 첫 화면 사명 한 줄에만 */

  --gutter: clamp(20px, 5vw, 64px);
  --max: 1440px;   /* 바깥 여백 포함 폭 (글 영역 약 1310px) */
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.inner {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* 공통 글자 */
.label {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--gray);
}
.display {
  margin: 0;
  font-family: var(--f-display);
  font-stretch: 70%;
  font-weight: 900;
  font-size: clamp(56px, 11vw, 140px);
  line-height: .88;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.section-head { display: flex; flex-direction: column; gap: 20px; margin-bottom: 48px; }
.section-sub { margin: 0; max-width: 34em; font-size: 17px; }
.todo { color: var(--todo); }

/* 버튼 */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  font-family: var(--f-body); font-weight: 700; font-size: 15px;
  text-decoration: none; border: 2px solid transparent;
  transition: background .15s, color .15s, border-color .15s;
}
.btn-light { background: var(--white); color: var(--black); }
.btn-light:hover { background: var(--accent); color: var(--white); }
.btn-ghost { border-color: var(--white); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--black); }
.btn-outline { border-color: var(--black); color: var(--black); }
.btn-outline:hover { background: var(--black); color: var(--white); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: var(--accent); }
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: var(--black); }
.text-link { font-weight: 700; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.text-link:hover { color: var(--accent); }

/* 사진 자리 표시 */
.ph {
  position: relative;
  background: var(--ph);
  display: flex; align-items: flex-end;
  min-height: 200px;
  overflow: hidden;
}
.ph-dark { background: var(--ph-dark); }
.ph-note {
  margin: 14px; padding: 4px 8px;
  font-size: 12px; line-height: 1.4; color: #555;
  background: rgba(255,255,255,.7);
}
.ph-dark .ph-note { color: #ccc; background: rgba(0,0,0,.45); }
.ratio-4-5 { aspect-ratio: 3 / 2; max-width: 100%; }
@media (max-width: 600px) { .ratio-4-5 { aspect-ratio: 4 / 5; } }
.ratio-4-3 { aspect-ratio: 4 / 3; max-width: 100%; }

/* 머리글 */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .94); color: var(--black);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.wordmark { font-weight: 900; font-size: 19px; text-decoration: none; letter-spacing: -0.02em; }
.site-nav { display: flex; gap: clamp(18px, 1.8vw, 28px); }
.site-nav a { font-size: 14px; font-weight: 500; text-decoration: none; opacity: .85; white-space: nowrap; }
.site-nav a:hover { opacity: 1; box-shadow: inset 0 -2px 0 var(--accent); }
.menu-toggle {
  display: none;
  font: inherit; font-weight: 700; font-size: 14px;
  color: var(--black); background: none; border: 1px solid var(--black); padding: 6px 14px; cursor: pointer;
}

/* 바로가기로 이동할 때 위쪽 메뉴에 가리지 않게 */
section[id], [id="meditation"], [id="bulletin"] { scroll-margin-top: 84px; }

/* 바로가기 */
.quick-links { margin-top: 36px; }
.quick-label { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--gray); }
.quick-links ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.quick-links a {
  display: inline-flex; align-items: center; padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--white); color: var(--black);
  font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s;
}
.quick-links a:hover, .quick-links a:focus-visible { background: var(--accent); border-color: var(--accent); color: var(--white); }
.quick-links a[href="#friday"] { border-color: var(--accent); color: var(--accent); }
.quick-links a[href="#friday"]:hover { color: var(--white); }

/* 1. 슬로건 */
.hero { background: var(--white); color: var(--black); padding-block: clamp(56px, 10vw, 120px) 0; }
/* 화면 양 끝까지 넓게 쓰는 영역 (영상·사진) */
.bleed { width: 100%; }
.hero-photo { margin-top: clamp(48px, 7vw, 80px); aspect-ratio: 21 / 9; max-height: 82vh; min-height: 0; width: 100%; max-width: 100%; }
.hero-photo .ph-note { margin-left: var(--gutter); margin-bottom: var(--gutter); }
.hero-kicker { margin: 0 0 28px; font-family: var(--f-display); font-weight: 700; font-size: 13px; letter-spacing: .3em; color: var(--gray); }
.hero-title {
  margin: 0;
  font-family: var(--f-display);
  font-stretch: 62%;
  font-weight: 900;
  font-size: clamp(64px, 15.5vw, 210px);
  line-height: .86;
  letter-spacing: -0.015em;
  display: flex; flex-direction: column;
}
.hero-title em { font-style: normal; color: var(--accent); }
.hero-ko {
  margin: 28px 0 10px;
  font-family: var(--f-hand);
  font-size: clamp(38px, 5.6vw, 64px);
  line-height: 1.1;
  color: var(--accent);
  transform: rotate(-1.5deg);
  transform-origin: left center;
}
.hero .verse-hero { margin-bottom: 40px; }

/* 성경 구절 (구역마다 한 줄) */
.verse {
  margin: 0;
  max-width: 40em;
  font-size: 15px;
  line-height: 1.7;
  color: #555;
}
.verse cite { font-style: normal; font-weight: 700; color: var(--ink); margin-left: 6px; white-space: nowrap; }
.mission .verse { color: #bdbdbd; }
.mission .verse cite { color: var(--white); }
.sermon .verse { margin: -8px 0 28px; padding-left: 14px; border-left: 2px solid var(--accent); }

/* 공지 띠 */
.notice { position: relative; background: var(--accent); color: var(--white); font-size: 14px; }
.notice-text { margin: 0; padding-block: 10px; padding-right: 160px !important; font-weight: 500; }
.notice-close {
  position: absolute; right: var(--gutter); top: 50%; translate: 0 -50%;
  font: inherit; font-size: 12px; color: var(--white); opacity: .85;
  background: none; border: 0; cursor: pointer; padding: 6px 0;
}
.notice-close:hover { opacity: 1; text-decoration: underline; }
.todo-light { text-decoration: underline wavy rgba(255,255,255,.6); text-underline-offset: 4px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* 2. 환영 */
.welcome { padding-block: clamp(64px, 10vw, 120px); border-bottom: 1px solid var(--line); }
.welcome-grid { display: grid; grid-template-columns: 200px 1fr; gap: 24px; }
.statement { margin: 0; font-size: clamp(24px, 3.6vw, 40px); line-height: 1.45; font-weight: 500; letter-spacing: -0.03em; max-width: 22em; text-wrap: balance; }
.statement strong { font-weight: 900; box-shadow: inset 0 -0.32em 0 rgba(47, 75, 255, .22); }
.sub { margin: 24px 0 0; color: #444; font-size: 17px; max-width: 34em; }

/* 교회 소개: 세 기둥 */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
  margin-top: clamp(56px, 8vw, 96px);
}
.pillar { border-top: 2px solid var(--black); padding-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.pillar p { margin: 0; color: #333; }
/* 담임목사 소개 */
.pastor-grid { display: grid; grid-template-columns: 200px 1fr; gap: 24px; margin-top: clamp(56px, 8vw, 96px); }
.pastor { display: flex; gap: clamp(20px, 3vw, 36px); align-items: flex-start; max-width: 46em; }
.pastor-photo { flex: none; width: 140px; height: 180px; object-fit: cover; background: var(--ph); }
.pastor-text p { margin: 0; }
.pastor-name { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px !important; }
.pastor-greeting { color: #333; font-size: 17px; line-height: 1.8; display: flex; flex-direction: column; gap: 14px; }
.pastor-love { display: inline-block; margin-bottom: 4px; font-size: 21px; font-weight: 800; color: var(--black); letter-spacing: -0.02em; box-shadow: inset 0 -0.35em 0 rgba(47, 75, 255, .18); }
.pillar-en {
  font-family: var(--f-display); font-stretch: 75%; font-weight: 900;
  font-size: 22px; letter-spacing: .02em; line-height: 1.1; color: var(--black) !important;
}
.pillar-title { margin: 0 0 4px; font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.pillar-title:empty { display: none; }

/* 언어 선택 */
.header-tools { display: flex; align-items: center; gap: 10px; order: 3; }
.site-nav { order: 2; margin-left: auto; }
.lang-picker select {
  font: inherit; font-size: 13px; font-weight: 700;
  color: var(--black); background: transparent;
  border: 1px solid var(--line); padding: 6px 8px; cursor: pointer;
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 언어별 글꼴과 빈 항목 숨김 */
html[lang="km"] body { font-family: "Kantumruy Pro", var(--f-body); line-height: 1.85; }
html[lang="km"] .hero-ko { font-family: "Kantumruy Pro", var(--f-body); font-weight: 700; font-size: clamp(26px, 3.6vw, 40px); line-height: 1.5; transform: none; }
html[lang="en"] .hero-ko, html[lang="fil"] .hero-ko { font-size: clamp(30px, 4.2vw, 48px); }
.v-text:empty { display: none; }
.country span:empty { display: none; }

/* 유튜브 미리보기 */
.yt { position: relative; aspect-ratio: 16 / 9; max-width: 100%; min-width: 0; background: var(--ph-dark); overflow: hidden; display: flex; align-items: flex-end; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-thumb {
  position: absolute; inset: 0; width: 100%; border: 0; padding: 0; cursor: pointer;
  background: #111 center / cover no-repeat;
}
.yt-thumb::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.12); transition: background .15s; }
.yt-thumb:hover::after { background: rgba(0,0,0,0); }
.yt-thumb .play { z-index: 1; }
.yt-thumb:hover .play { background: var(--accent); }
.yt-thumb:hover .play::after { border-left-color: var(--white); }
.yt-empty .ph-note { color: #ccc; background: rgba(0,0,0,.45); }

/* 더 많은 영상 */
.more-videos { margin-top: clamp(48px, 7vw, 80px); }
.video-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.video-card { margin: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.video-card .play { width: 52px; height: 52px; }
.video-card .play::after { left: 21px; top: 16px; border-left-width: 16px; border-top-width: 10px; border-bottom-width: 10px; }
.video-card figcaption { font-size: 14px; color: #444; line-height: 1.5; }
.video-card figcaption b { display: block; color: var(--ink); }

/* 선교 영상 */
.mission-media { aspect-ratio: 16 / 9; }

/* 첫 화면 영상 */
.hero-media { position: relative; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }

.hero-media.has-video .ph-note { display: none; }

/* 말씀 묵상 앱 */
.meditation {
  margin-top: clamp(40px, 6vw, 72px);
  display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap;
  padding: clamp(28px, 4vw, 44px); background: var(--white); border-top: 4px solid var(--accent);
}
.meditation-text { flex: 1 1 420px; max-width: 40em; }
.meditation-text p { margin: 0; color: #444; }
.meditation-title { margin: 0 0 10px; font-size: clamp(24px, 2.8vw, 32px); font-weight: 800; letter-spacing: -0.03em; }
.meditation-btn { flex: none; }

/* 금요성령집회: 코발트 블루 띠 */
.friday { background: var(--accent); color: var(--white); padding-block: clamp(72px, 11vw, 140px); }
.friday .label, .friday-kicker { color: rgba(255,255,255,.75); }
.friday .display { color: var(--white); }
.friday-top { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.friday-name { margin: 18px 0 0; font-size: clamp(22px, 2.4vw, 28px); font-weight: 900; letter-spacing: -0.03em; }
.friday-intro p { margin: 0 0 18px; color: rgba(255,255,255,.88); font-size: 17px; line-height: 1.8; }
.friday-intro .friday-lead { color: var(--white); font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; line-height: 1.45; letter-spacing: -0.03em; text-wrap: balance; }
.friday .verse { color: rgba(255,255,255,.8); margin: 6px 0 0; }
.friday .verse cite { color: var(--white); }
.friday-pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: clamp(48px, 7vw, 88px); }
.friday-pillars article { border-top: 2px solid rgba(255,255,255,.9); padding-top: 18px; }
.friday-pillars h3 { margin: 6px 0 8px; font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.friday-pillars p { margin: 0; color: rgba(255,255,255,.85); }
.friday-pillars .fp-en { font-family: var(--f-display); font-stretch: 75%; font-weight: 900; font-size: 15px; letter-spacing: .12em; color: rgba(255,255,255,.7); }
.friday-info { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px 48px; margin-top: clamp(48px, 7vw, 80px); padding-top: 32px; border-top: 1px solid rgba(255,255,255,.35); }
.friday-info dl { margin: 0; display: grid; grid-template-columns: repeat(3, auto); gap: 24px 56px; }
.friday-info dt { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: rgba(255,255,255,.7); margin-bottom: 6px; }
.friday-info dd { margin: 0; font-size: 18px; font-weight: 800; line-height: 1.5; }
.friday-info small { display: inline-block; margin-top: 2px; font-size: 14px; font-weight: 500; color: rgba(255,255,255,.8); }
.friday-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.friday-next { margin: 0; font-weight: 800; font-size: 17px; }
.friday-next:empty { display: none; }
.friday .btn-light:hover { background: var(--black); color: var(--white); }

/* 3. 설교 */
.sermon { padding-block: clamp(64px, 10vw, 120px); background: var(--paper); }
.sermon-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.sermon-media { aspect-ratio: 16 / 9; text-decoration: none; min-width: 0; max-width: 100%; min-height: 0; }
.play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: 76px; height: 76px; border-radius: 50%; background: var(--white);
}
.play::after {
  content: ""; position: absolute; left: 31px; top: 24px;
  border-left: 22px solid var(--black); border-top: 14px solid transparent; border-bottom: 14px solid transparent;
}
.sermon-media:hover .play { background: var(--accent); }
.sermon-media:hover .play::after { border-left-color: var(--white); }
.sermon-text { min-width: 0; }
.sermon-title { margin: 0; font-size: clamp(30px, 4.2vw, 48px); line-height: 1.2; font-weight: 900; letter-spacing: -0.04em; text-wrap: balance; }
.sermon-ref { margin: 10px 0 20px; font-weight: 700; color: var(--accent); }
.sermon-lede { margin: 0 0 28px; font-size: 17px; color: #333; }
.sermon-links { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; }

/* 4. 예배 시간 */

/* 5. 선교 */
.mission { background: var(--black); color: var(--white); padding-block: clamp(72px, 11vw, 140px); }
.mission .section-sub { color: #cfcfcf; }
.mission-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin-bottom: 48px; }
.mission-card { display: flex; flex-direction: column; }
/* C국: 두 카드 위에 가로로 길게, 사진 대신 'SINCE 2002' */
.mission-origin { grid-column: 1 / -1; flex-direction: row; align-items: stretch; gap: clamp(20px, 3vw, 40px); padding-bottom: clamp(20px, 3vw, 40px); border-bottom: 1px solid #333; }
.origin-mark { flex: 0 0 clamp(200px, 28%, 340px); display: flex; flex-direction: column; justify-content: center; padding: 28px 32px; border: 1px solid #444; font-family: var(--f-display); font-stretch: 70%; font-weight: 900; line-height: .9; }
.origin-mark span { font-size: 18px; letter-spacing: .3em; color: var(--gray-dark); }
.origin-mark b { font-size: clamp(64px, 8vw, 112px); color: var(--white); }
.mission-origin .mission-body { padding-top: 0; justify-content: center; max-width: 44em; }
.origin-note { font-size: 14px; color: var(--gray-dark) !important; }
.mission-body { padding-top: 22px; display: flex; flex-direction: column; gap: 8px; }
.mission-body p { margin: 0; }
.country { font-family: var(--f-display); font-stretch: 75%; font-weight: 900; font-size: 34px; line-height: 1; letter-spacing: .01em; }
.country span { font-family: var(--f-body); font-size: 15px; font-weight: 500; color: var(--gray-dark); margin-left: 8px; letter-spacing: 0; }
.pray-label { margin-top: 10px !important; font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--accent); filter: brightness(1.5); }
.pray { margin: 0; padding-left: 18px; }
.mission .todo { color: #ff8a80; }
/* 선교 소개: 한 줄 표어 + 요약 + 펼쳐 보는 선교 이야기 */
.mission-tagline { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; color: var(--white); }
.mission-body > p:not(.country):not(.mission-tagline):not(.pray-label) { color: #cfcfcf; }
.mission-more { margin-top: 6px; border-top: 1px solid #333; }
.mission-more summary {
  cursor: pointer; list-style: none; padding: 14px 0 4px;
  font-size: 14px; font-weight: 700; letter-spacing: .02em; color: var(--white);
}
.mission-more summary::-webkit-details-marker { display: none; }
.mission-more summary::after { content: " +"; color: var(--accent); filter: brightness(1.5); }
.mission-more[open] summary::after { content: " –"; }
.mission-more summary:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.mission-story { padding-top: 10px; display: flex; flex-direction: column; gap: 14px; color: #cfcfcf; font-size: 15px; line-height: 1.8; }
.mission-story p { margin: 0; }
.mission-story .verse { font-size: 15px; }
.story-head { margin: 6px 0 0; font-size: 14px; font-weight: 700; letter-spacing: .1em; color: var(--accent); filter: brightness(1.5); }
.story-list { margin: 0; padding-left: 18px; color: var(--white); display: flex; flex-direction: column; gap: 4px; }
.story-list b { font-weight: 700; }
.story-note { color: var(--gray-dark); font-size: 14px; }

/* 선교에 함께하는 방법 */
.join { margin-top: clamp(56px, 8vw, 96px); padding-top: 40px; border-top: 1px solid #2c2c2c; }
.join-title { margin: 0 0 28px; font-size: clamp(22px, 2.6vw, 28px); font-weight: 900; letter-spacing: -0.03em; }
.join-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin-bottom: 36px; }
.join-item { display: flex; flex-direction: column; gap: 6px; }
.join-item p { margin: 0; color: #cfcfcf; }
.join-en { font-family: var(--f-display); font-stretch: 75%; font-weight: 900; font-size: 40px; line-height: 1; color: var(--white) !important; }
.join-ko { font-weight: 800; color: var(--white) !important; font-size: 17px; }

/* 6. 공동체 */
.community { padding-block: clamp(72px, 11vw, 140px); }
.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(150px, 17vw, 340px);
  gap: 6px;
  margin-block: 0 32px;
}
.photo-grid .g-wide { grid-column: span 2; grid-row: span 2; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; display: block; background: var(--ph); }
.mission-photo { overflow: hidden; background: var(--ph-dark); }
.mission-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.friday-photo { margin: clamp(40px, 6vw, 72px) 0 0; aspect-ratio: 21 / 9; overflow: hidden; background: rgba(0,0,0,.15); }
.friday-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }

/* 7. 처음 오신 분 */
.contact { background: var(--paper); padding-block: clamp(72px, 11vw, 140px); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-grid .section-sub { margin: 20px 0 32px; }
.bulletin { background: var(--white); border-top: 4px solid var(--black); padding: clamp(28px, 4vw, 44px); }
.bulletin-title { margin: 0 0 10px; font-size: clamp(26px, 3vw, 34px); font-weight: 800; letter-spacing: -0.03em; }
.bulletin-text { margin: 0 0 28px; color: #444; }
.bulletin-empty { margin: 0; color: var(--gray); font-weight: 700; }

/* 오시는 길 */
.visit { padding-block: clamp(64px, 10vw, 120px); }
/* 카카오맵 지도 */
.visit-map { width: 100%; min-height: 300px; background: var(--ph); overflow: hidden; border: 1px solid var(--line); }
.visit-map .root_daum_roughmap { width: 100% !important; }
.visit-map .root_daum_roughmap .wrap_map { width: 100% !important; }
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.visit-time { display: flex; align-items: baseline; gap: 14px; margin: 0 0 22px !important; padding-bottom: 20px; border-bottom: 2px solid var(--black); }
.visit-time span { font-weight: 700; color: var(--gray); }
.visit-time b { font-family: var(--f-display); font-stretch: 70%; font-weight: 900; font-size: 48px; line-height: 1; font-variant-numeric: tabular-nums; }
.visit-place { margin: 0; font-size: 28px; font-weight: 900; letter-spacing: -0.03em; }
.visit-grid p { margin: 0 0 6px; }
.visit-list { margin: 16px 0 28px; padding-left: 18px; }
.map-links { display: flex; flex-wrap: wrap; gap: 10px; }

/* 교통 안내 */
.transit { margin: 0 0 28px; border-top: 1px solid var(--line); }
.transit > div { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.transit dt { font-weight: 800; font-size: 14px; }
.transit dd { margin: 0; font-size: 14px; color: #333; display: flex; flex-direction: column; gap: 4px; }
.bus b {
  display: inline-block; min-width: 38px; margin-right: 6px; padding: 1px 6px;
  font-size: 12px; font-weight: 700; text-align: center; color: var(--white); border-radius: 3px;
}
/* 서울 버스 노선 색 */
.bus-blue { background: #0068b7; }
.bus-green { background: #2f9b37; }
.bus-red { background: #d7262f; }
.bus-village { background: #f2a900; color: var(--black) !important; }

/* 8. 하단 */
.site-footer { background: var(--black); color: var(--white); padding-block: 64px 32px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1.5fr 1fr; gap: 32px; }
.footer-mark { margin: 0; font-size: 22px; font-weight: 900; }
.footer-tag { margin: 6px 0 0; font-family: var(--f-display); font-stretch: 75%; font-weight: 800; letter-spacing: .06em; color: var(--gray-dark); font-size: 14px; }
.footer-ko { margin: 4px 0 0; font-size: 13px; color: var(--gray-dark); }
.footer-info p { margin: 0 0 6px; font-size: 14px; }
.footer-info span { display: inline-block; width: 72px; color: var(--gray-dark); }
.site-footer .todo { color: #ff8a80; }
.footer-social { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.footer-social a { text-decoration: none; }
.footer-social a:hover { color: var(--accent); filter: brightness(1.6); }
.copyright { margin-top: 48px; font-size: 12px; color: var(--gray-dark); }

/* 메뉴가 한 줄에 다 들어가지 않는 폭부터는 '메뉴' 버튼으로 */
@media (max-width: 1180px) {
  .menu-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 68px;
    flex-direction: column; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .site-nav { margin-left: 0; }
  .header-tools { margin-left: auto; }
}

/* 태블릿 이하 */
@media (max-width: 900px) {
  .friday-top { grid-template-columns: 1fr; align-items: start; }
  .friday-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .friday-info dl { grid-template-columns: 1fr; }
  .welcome-grid, .pastor-grid, .sermon-grid, .contact-grid, .visit-grid, .pillars { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* 휴대폰 */
@media (max-width: 600px) {
  .quick-links ul { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .quick-links ul::-webkit-scrollbar { display: none; }
  .quick-links a { padding: 8px 14px; font-size: 14px; }
  .friday-pillars { grid-template-columns: 1fr; gap: 22px; }
  .pastor { flex-direction: column; }
  .pastor-photo { width: 112px; height: 144px; }
  .visit-time b { font-size: 40px; }
  .mission-grid { grid-template-columns: 1fr; }
  .mission-origin { flex-direction: column; }
  .origin-mark { flex-basis: auto; padding: 20px 24px; }
  .video-row, .join-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 140px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-photo { aspect-ratio: 4 / 3; }
  .hero-ko { font-size: 30px; text-wrap: balance; }
  .notice-text { padding-right: var(--gutter) !important; padding-bottom: 2px; }
  .notice-close { position: static; translate: none; display: block; margin-left: var(--gutter); padding: 0 0 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
