/* 색상은 여기서 한 번에 바꿀 수 있어요 */
:root {
  --bg: #fcfbf6;
  --tint: #fbf8e1;      /* 로고의 노란색을 연하게 */
  --text: #2d2f4a;
  --muted: #6f7290;
  --primary: #069de0;      /* 로고 하늘색 */
  --primary-dark: #3a3790; /* 로고 남색 */
  --accent: #e0c92f;       /* 로고 노란색 */
  --yellow-soft: #f0ec6e;
  --card: #ffffff;
  --line: #e8e6d8;
  --radius: 18px;
  --shadow: 0 6px 24px rgba(58, 55, 144, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans KR", system-ui, sans-serif;
  line-height: 1.75;
  word-break: keep-all;
  overflow-x: clip; /* 장식 동그라미가 화면 옆으로 삐져나가지 않게 */
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* 헤더 */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(252, 251, 246, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-family: "Gowun Batang", serif; font-weight: 700; font-size: 1.35rem; text-decoration: none; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--primary-dark); }
.logo-img { height: 36px; width: auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text small { font-family: "Noto Sans KR", sans-serif; font-size: 0.68rem; font-weight: 500; color: var(--muted); letter-spacing: 0.02em; }
.nav { display: flex; gap: 22px; }
.nav a { text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.nav a:hover { color: var(--primary); }
.menu-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--text); }

/* 첫 화면 */
.hero {
  position: relative; overflow: hidden;
  background:
    linear-gradient(180deg, transparent 72%, var(--bg)),
    radial-gradient(circle at 15% 30%, rgba(240, 236, 110, 0.45), transparent 45%),
    radial-gradient(circle at 85% 70%, rgba(6, 157, 224, 0.16), transparent 45%),
    linear-gradient(180deg, #fffde8, var(--bg));
  text-align: center;
  padding: 110px 0 120px;
}
.hero-logo { width: 150px; margin: 0 auto 20px; }
.hero-eyebrow { letter-spacing: 0.2em; text-transform: uppercase; color: var(--primary); font-weight: 700; font-size: 0.85rem; margin: 0; }
.hero-denom { margin: 20px 0 0; font-size: clamp(1rem, 2.6vw, 1.15rem); font-weight: 500; color: var(--primary-dark); letter-spacing: 0.08em; }
.hero-title { color: var(--primary-dark); font-family: "Gowun Batang", serif; font-size: clamp(2.6rem, 8vw, 4.4rem); margin: 0 0 12px; line-height: 1.3; }
.hero-slogan { font-size: clamp(1.05rem, 3vw, 1.3rem); margin: 0 0 36px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* 버튼 */
.btn {
  display: inline-block; padding: 12px 26px; border-radius: 999px;
  text-decoration: none; font-weight: 700; border: 2px solid var(--primary);
  color: var(--primary-dark); background: #fff; transition: 0.2s;
}
.btn:hover { background: var(--primary); color: #fff; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn-ghost { background: transparent; }
.btn-small { padding: 8px 18px; font-size: 0.9rem; }

/* 올해의 교회 표어 (첫 화면에서 이어지는 밝은 톤) */
.section-theme { padding-top: 16px; background: linear-gradient(180deg, var(--bg), #f2f8fb 55%, var(--bg)); }
.theme {
  position: relative; z-index: 1; display: grid; grid-template-columns: minmax(220px, 340px) 1fr; gap: 56px; align-items: center;
  max-width: 980px; margin: 0 auto; padding: 40px; border-radius: 28px;
  background: rgba(255, 255, 255, 0.7); box-shadow: var(--shadow);
}
.theme-poster { display: block; border-radius: 14px; overflow: hidden; transform: rotate(-2deg); transition: transform 0.3s;
  box-shadow: 0 0 0 6px #fff, 0 16px 36px rgba(58, 55, 144, 0.22); }
.theme-poster:hover { transform: rotate(0deg) scale(1.02); }
.theme-poster img { width: 100%; }
.theme-badge {
  display: inline-block; padding: 4px 14px; border-radius: 999px; font-size: 0.9rem; font-weight: 700;
  background: var(--primary-dark); color: #fff;
}
.theme-title {
  margin: 14px 0 18px; font-family: "Gowun Batang", serif; font-size: clamp(1.9rem, 4.6vw, 2.7rem); line-height: 1.3; color: var(--primary-dark);
}
.theme-verse { margin: 0; font-size: clamp(1rem, 2.3vw, 1.1rem); line-height: 1.9; color: var(--muted); }
.theme-verse strong {
  display: inline-block; margin: 8px 0; font-family: "Gowun Batang", serif; font-size: clamp(1.35rem, 3.6vw, 1.85rem);
  line-height: 1.4; color: var(--primary-dark);
  background: linear-gradient(transparent 58%, var(--yellow-soft) 58%); padding: 0 4px;
}
.theme-ref { margin: 10px 0 0; color: var(--primary); font-weight: 700; }

/* 공통 섹션 */
.section { padding: 80px 0; }
.section-tint { background: var(--tint); }
.section-title {
  font-family: "Gowun Batang", serif; text-align: center;
  font-size: clamp(1.7rem, 4vw, 2.2rem); margin: 0 0 40px;
}
.section-title::after {
  content: ""; display: block; width: 44px; height: 3px; margin: 12px auto 0;
  background: var(--primary); border-radius: 3px;
}
.sub-title { font-size: 1.1rem; margin: 40px 0 12px; }
.empty {
  text-align: center; padding: 48px 20px; color: var(--muted);
  background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius);
}

/* 교회소개 */
.about { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: center; max-width: 900px; margin: 0 auto 56px; }
.about-img { width: 100%; max-width: 300px; margin: 0 auto; }
.about-text { text-align: left; }
.about-title { font-family: "Gowun Batang", serif; font-size: 1.6rem; margin: 0 0 12px; color: var(--primary-dark); }
.about-verse { font-family: "Gowun Batang", serif; color: var(--muted); font-style: italic; margin: 0 0 24px; font-size: 0.95rem; line-height: 1.8; }
.about-body { font-size: 1.05rem; margin: 0; }
.about-body p { margin: 0 0 12px; }
.about-body p:last-child { margin-bottom: 0; }
.values { display: grid; gap: 56px; }
.about-body mark {
  background: linear-gradient(transparent 55%, var(--yellow-soft) 55%);
  color: var(--primary-dark); font-weight: 700; padding: 0 2px;
}
.keywords { display: flex; align-items: stretch; justify-content: center; gap: 10px; }
.keyword {
  flex: 1; max-width: 300px; position: relative; text-align: center;
  background: var(--card); border-radius: var(--radius); padding: 30px 22px 24px; box-shadow: var(--shadow);
  border-top: 5px solid var(--primary);
}
.keyword:nth-of-type(1) { border-top-color: #e0c92f; }
.keyword:nth-of-type(2) { border-top-color: var(--primary); }
.keyword:nth-of-type(3) { border-top-color: var(--primary-dark); }
.keyword-step {
  position: absolute; top: -17px; left: 50%; transform: translateX(-50%);
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--primary-dark); color: #fff; font-size: 0.85rem; font-weight: 700;
}
.keyword-word { display: block; font-family: "Gowun Batang", serif; font-size: 2rem; color: var(--primary-dark); line-height: 1.3; }
.keyword-phrase { display: inline-block; margin-top: 4px; font-size: 0.9rem; font-weight: 700; color: var(--primary); }
.keyword p { margin: 12px 0 0; color: var(--muted); font-size: 0.95rem; }
.keyword-arrow { align-self: center; font-size: 1.6rem; color: var(--primary); }
.value-group { text-align: center; }
.value-group-title { font-family: "Gowun Batang", serif; font-size: clamp(1.3rem, 3vw, 1.6rem); color: var(--primary-dark); margin: 0 0 6px; }
.value-group-lead { margin: 0 0 24px; color: var(--muted); }
.value-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.value-card {
  display: flex; flex-direction: column; align-items: center;
  background: var(--card); border-radius: var(--radius); padding: 24px 16px; box-shadow: var(--shadow);
}
.value-icon { font-size: 2rem; line-height: 1.2; }
.value-label {
  margin-top: 8px; padding: 2px 12px; border-radius: 999px; font-size: 0.8rem; font-weight: 700;
  background: var(--tint); color: var(--primary-dark);
}
.value-card h4 { margin: 8px 0 6px; font-size: 1.05rem; }
.value-card p { margin: 0 0 14px; color: var(--muted); font-size: 0.9rem; line-height: 1.6; flex-grow: 1; }
.value-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.value-tags span { font-size: 0.75rem; color: var(--primary); border: 1px solid #cbe9f8; border-radius: 999px; padding: 1px 8px; }

/* 사역자 */
.staff-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 280px)); justify-content: center; gap: 24px; }
.staff-card { background: var(--card); border-radius: var(--radius); padding: 32px 24px; text-align: center; box-shadow: var(--shadow); }
.staff-photo {
  width: 120px; height: 120px; margin: 0 auto 16px; border-radius: 50%; overflow: hidden;
  background: linear-gradient(135deg, #fbf6c8, #d6eefb);
  display: grid; place-items: center; color: var(--primary); font-size: 2.2rem;
}
.staff-photo img { width: 100%; height: 100%; object-fit: cover; }
.staff-role { margin: 0; color: var(--primary); font-weight: 700; font-size: 0.9rem; }
.staff-name { margin: 2px 0 8px; font-size: 1.2rem; }
.staff-desc { margin: 0; color: var(--muted); font-size: 0.95rem; }

.staff-group { position: relative; max-width: 860px; margin: 0 auto 56px; text-align: center; }
.staff-group-frame {
  position: relative; z-index: 1; background: #fff; padding: 14px 14px 18px; border-radius: 22px;
  box-shadow: 0 18px 40px rgba(58, 55, 144, 0.14); transform: rotate(-1.2deg); transition: transform 0.4s;
}
.staff-group-frame:hover { transform: rotate(0deg) scale(1.01); }
.staff-group::before, .staff-group::after { content: ""; position: absolute; border-radius: 50%; }
.staff-group::before { width: 140px; height: 140px; left: -36px; top: -30px; background: var(--yellow-soft); }
.staff-group::after { width: 110px; height: 110px; right: -30px; bottom: 30px; background: #bfe6f8; }
.staff-group img { width: 100%; border-radius: 14px; aspect-ratio: 4 / 3; object-fit: cover; }
.staff-group figcaption {
  margin-top: 22px; font-family: "Gowun Batang", serif; font-weight: 700;
  font-size: clamp(1.05rem, 2.6vw, 1.3rem); color: var(--primary-dark);
}
.staff-photo { box-shadow: 0 0 0 4px #fff, 0 0 0 7px var(--yellow-soft); }
.staff-card:nth-child(3n+2) .staff-photo { box-shadow: 0 0 0 4px #fff, 0 0 0 7px #bfe6f8; }
.staff-card:nth-child(3n+3) .staff-photo { box-shadow: 0 0 0 4px #fff, 0 0 0 7px #d9d6f5; }
.staff-card { transition: transform 0.2s; }
.staff-card:hover { transform: translateY(-4px); }

/* 사역자 폴라로이드 */
#staff-list { display: block; }
.staff-collage {
  position: relative; display: flex; justify-content: center; align-items: flex-start;
  padding: 20px 0 10px; max-width: 900px; margin: 0 auto;
}
.staff-collage::before, .staff-collage::after { content: ""; position: absolute; border-radius: 50%; }
.staff-collage::before { width: 150px; height: 150px; left: 4%; top: -10px; background: var(--yellow-soft); }
.staff-collage::after { width: 120px; height: 120px; right: 5%; bottom: 0; background: #bfe6f8; }
.polaroid {
  position: relative; z-index: 1; margin: 0 -14px; width: 270px; flex-shrink: 1;
  background: #fff; padding: 12px 12px 18px; border-radius: 6px;
  box-shadow: 0 14px 34px rgba(58, 55, 144, 0.16); transition: transform 0.3s, z-index 0s;
}
.polaroid:nth-child(1) { transform: rotate(-5deg) translateY(10px); }
.polaroid:nth-child(2) { transform: rotate(3deg) translateY(-6px); z-index: 2; }
.polaroid:nth-child(3) { transform: rotate(-2deg) translateY(16px); }
.polaroid:hover { transform: rotate(0deg) translateY(-8px) scale(1.04); z-index: 3; }
.polaroid-photo {
  aspect-ratio: 1; overflow: hidden; border-radius: 3px;
  background: linear-gradient(135deg, #fbf6c8, #d6eefb); display: grid; place-items: center;
  color: var(--primary); font-size: 3rem;
}
.polaroid-photo img { width: 100%; height: 100%; object-fit: cover; }
.polaroid figcaption { display: flex; flex-direction: column; align-items: center; padding-top: 12px; }
.polaroid .staff-role { font-size: 0.85rem; font-weight: 700; color: var(--primary); }
.polaroid .staff-name { font-family: "Gowun Batang", serif; font-size: 1.25rem; color: var(--primary-dark); }
.polaroid .staff-desc { margin-top: 4px; font-size: 0.88rem; color: var(--muted); }
.staff-caption {
  margin: 44px 0 0; text-align: center; font-family: "Gowun Batang", serif; font-weight: 700;
  font-size: clamp(1.05rem, 2.6vw, 1.3rem); color: var(--primary-dark);
}
@media (max-width: 560px) {
  .staff-collage { padding: 20px 10px 10px; }
  .polaroid { margin: 0 -4px; padding: 6px 6px 10px; }
  .polaroid .staff-name { font-size: 0.95rem; }
  .polaroid .staff-role { font-size: 0.72rem; }
  .staff-collage::before { width: 90px; height: 90px; }
  .staff-collage::after { width: 70px; height: 70px; }
}

/* 예배시간 */
.worship-list { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.worship-group { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.worship-group-title {
  margin: 0; padding: 16px 24px; font-size: 1.05rem; color: #fff;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}
.worship-group:nth-child(2) .worship-group-title { background: linear-gradient(135deg, var(--primary), #5cc3ee); }
.worship-row {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 16px 24px; border-bottom: 1px solid var(--line);
}
.worship-row:last-child { border-bottom: 0; }
.worship-name { font-weight: 700; }
.worship-time { color: var(--primary-dark); font-weight: 500; white-space: nowrap; }
.worship-place {
  display: inline-block; margin-left: 4px; padding: 1px 8px; border-radius: 999px; vertical-align: 1px;
  font-size: 0.75rem; font-weight: 500; color: var(--primary); border: 1px solid #cbe9f8;
}

/* 에바다 영상 */
.video-wrap { position: relative; max-width: 860px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.playlist-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 860px; margin: 0 auto 24px; }
.playlist-tab {
  font: inherit; font-size: 0.9rem; font-weight: 500; cursor: pointer;
  padding: 7px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--card); color: var(--text); transition: 0.2s;
}
.playlist-tab:hover { border-color: var(--primary); color: var(--primary); }
.playlist-tab.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.center .btn { margin-top: 20px; }

/* 이 재생목록의 영상 */
.video-browser { max-width: 1040px; margin: 36px auto 0; }
.vb-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.vb-title { margin: 0; font-size: 1.1rem; color: var(--primary-dark); }
.vb-search {
  font: inherit; font-size: 0.95rem; padding: 9px 16px; width: 240px; max-width: 100%;
  border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--text);
}
.vb-search:focus { outline: 2px solid var(--primary); border-color: transparent; }
.vb-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.vb-item {
  font: inherit; color: var(--text); text-align: left; cursor: pointer;
  background: var(--card); border: 0; padding: 0 0 12px; border-radius: 14px; overflow: hidden;
  box-shadow: var(--shadow); transition: transform 0.2s;
}
.vb-item:hover { transform: translateY(-3px); }
.vb-item.active { outline: 3px solid var(--primary); }
.vb-thumb { position: relative; display: block; aspect-ratio: 16 / 9; background: #ddd; }
.vb-thumb img { width: 100%; height: 100%; object-fit: cover; }
.vb-play {
  position: absolute; inset: 0; margin: auto; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(0, 0, 0, 0.55); color: #fff; font-size: 0.9rem;
  opacity: 0; transition: 0.2s;
}
.vb-item:hover .vb-play, .vb-item.active .vb-play { opacity: 1; }
.vb-name {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  padding: 10px 12px 0; font-size: 0.9rem; line-height: 1.45;
}

/* 해마다 함께 읽는 성경 */
.reading { margin: 64px auto 0; max-width: 1040px; text-align: center; }
.reading-title { font-family: "Gowun Batang", serif; font-size: clamp(1.4rem, 3.5vw, 1.8rem); color: var(--primary-dark); margin: 0 0 8px; }
.reading-lead { margin: 0 0 28px; color: var(--muted); }
.reading-stats { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.reading-stats div { background: var(--card); border-radius: 14px; padding: 14px 26px; box-shadow: var(--shadow); min-width: 130px; }
.reading-stats strong { display: block; font-size: 1.6rem; color: var(--primary-dark); line-height: 1.3; }
.reading-stats span { font-size: 0.9rem; color: var(--muted); }
.reading-timeline {
  list-style: none; margin: 0; padding: 0; position: relative;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px;
}
.reading-timeline::before {
  content: ""; position: absolute; left: 8%; right: 8%; top: 9px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--yellow-soft), var(--primary), var(--primary-dark));
}
.reading-timeline li:nth-child(6n+1) { --c: #e0b422; }
.reading-timeline li:nth-child(6n+2) { --c: #e2783e; }
.reading-timeline li:nth-child(6n+3) { --c: #5aa35a; }
.reading-timeline li:nth-child(6n+4) { --c: #069de0; }
.reading-timeline li:nth-child(6n+5) { --c: #8a5cc4; }
.reading-timeline li:nth-child(6n+6) { --c: #3a3790; }
.reading-card {
  font: inherit; color: var(--text); cursor: pointer; width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  background: none; border: 0; padding: 0;
}
.reading-dot {
  width: 21px; height: 21px; border-radius: 50%; background: #fff;
  border: 5px solid var(--c); position: relative; z-index: 1; margin-bottom: 12px; transition: 0.2s;
}
.reading-year, .reading-version, .reading-way, .reading-count, .reading-now, .reading-play { position: relative; }
.reading-card::after { content: none; }
.reading-card > span:not(.reading-dot) { width: 100%; }
.reading-year {
  background: var(--card); border-top: 5px solid var(--c); border-radius: 14px 14px 0 0;
  padding: 14px 8px 2px; font-size: 1.5rem; font-weight: 700; color: var(--c);
}
.reading-version { background: var(--card); font-family: "Gowun Batang", serif; font-weight: 700; font-size: 1.1rem; padding: 2px 8px; margin-top: -4px; }
.reading-way { background: var(--card); font-size: 0.88rem; color: var(--muted); padding: 2px 8px; margin-top: -4px; }
.reading-count { background: var(--card); font-size: 0.85rem; color: var(--muted); padding: 0 8px; margin-top: -4px; }
.reading-now { background: var(--card); margin-top: -4px; padding: 8px 8px 2px; }
.reading-now em {
  display: inline-flex; align-items: center; gap: 6px;
  font-style: normal; font-size: 0.85rem; font-weight: 700; color: #fff;
  background: #e5484d; padding: 4px 12px; border-radius: 999px;
  animation: now-glow 1.4s ease-in-out infinite;
}
.reading-now i {
  width: 8px; height: 8px; border-radius: 50%; background: #fff;
  animation: now-blink 1s steps(2, start) infinite;
}
@keyframes now-blink { to { visibility: hidden; } }
@keyframes now-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(229, 72, 77, 0.55); transform: scale(1); }
  50% { box-shadow: 0 0 0 8px rgba(229, 72, 77, 0); transform: scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .reading-now em, .reading-now i { animation: none; }
}
.reading-play {
  background: var(--card); border-radius: 0 0 14px 14px; margin-top: -4px; padding: 8px 8px 14px;
  font-size: 0.85rem; font-weight: 700; color: var(--c);
  box-shadow: 0 10px 16px -10px rgba(58, 55, 144, 0.18);
}
.reading-card:hover .reading-dot, .reading-card.active .reading-dot { background: var(--c); transform: scale(1.15); }
.reading-card.active .reading-year { background: var(--c); color: #fff; }
.reading-card:hover .reading-year { filter: brightness(1.02); }
.reading-card:focus-visible { outline: 3px solid var(--primary); outline-offset: 4px; border-radius: 14px; }

/* 이달의 말씀 챈트 */
.chant { max-width: 860px; margin: 0 auto; text-align: center; }
.chant-head { margin-bottom: 24px; }
.chant-month {
  display: inline-block; padding: 4px 16px; border-radius: 999px; font-weight: 700; font-size: 0.95rem;
  background: var(--primary-dark); color: #fff;
}
.chant-title { margin: 10px 0 0; font-size: 1rem; font-weight: 500; color: var(--muted); }
.chant-verse {
  position: relative; margin: 38px auto 0; max-width: 700px; padding: 36px 32px 24px; border-radius: var(--radius);
  background: var(--card); box-shadow: var(--shadow);
}
.chant-verse::before {
  content: "\201C"; position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
  width: 44px; height: 44px; border-radius: 50%; box-sizing: border-box; padding-top: 12px; text-align: center;
  background: var(--yellow-soft); color: var(--primary-dark); font-family: "Gowun Batang", serif; font-size: 2.4rem; line-height: 1;
}
.chant-verse p {
  margin: 0; font-family: "Gowun Batang", serif; font-weight: 700;
  font-size: clamp(1.3rem, 3.6vw, 1.75rem); line-height: 1.7; color: var(--primary-dark);
}
.chant-verse cite {
  display: inline-block; margin-top: 12px; font-style: normal; font-size: 0.95rem; font-weight: 700; color: var(--primary);
}
.chant-video video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; object-fit: contain; }

/* 주보 */
.jubo-latest {
  display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center;
  padding: 24px 28px; border-radius: var(--radius); text-decoration: none;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: #fff; box-shadow: var(--shadow);
}
.jubo-latest:hover { filter: brightness(1.05); }
.jubo-badge { background: rgba(255, 255, 255, 0.25); padding: 4px 12px; border-radius: 999px; font-size: 0.85rem; font-weight: 700; }
.jubo-title { font-size: 1.2rem; font-weight: 700; }
.jubo-open { font-weight: 700; }
.jubo-list { list-style: none; padding: 0; margin: 0; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.jubo-list li { border-bottom: 1px solid var(--line); }
.jubo-list li:last-child { border-bottom: 0; }
.jubo-list li.muted { padding: 16px 24px; }
.jubo-list summary { display: flex; justify-content: space-between; gap: 12px; padding: 16px 24px; cursor: pointer; list-style: none; }
.jubo-list summary::-webkit-details-marker { display: none; }
.jubo-list summary:hover { background: var(--tint); }
.jubo-list details .jubo-pages { padding: 0 24px 24px; margin-top: 0; }
.jubo-pages { display: grid; gap: 20px; margin-top: 20px; }
.jubo-pages img { width: 100%; border-radius: 12px; box-shadow: var(--shadow); background: #fff; }
.jubo-hint { font-size: 0.9rem; margin: 10px 0 0; }
.jubo-pdf { display: flex; justify-content: space-between; gap: 12px; padding: 16px 24px; text-decoration: none; }
.jubo-pdf:hover { background: var(--tint); }
.pdf-tag {
  font-style: normal; font-size: 0.7rem; font-weight: 700; color: #fff; background: #e5484d;
  padding: 1px 6px; border-radius: 4px; margin-left: 6px; vertical-align: 2px;
}

/* 공지사항 */
.notice-list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.notice { background: var(--card); border-radius: 14px; box-shadow: var(--shadow); }
.notice summary { display: flex; align-items: center; gap: 10px; padding: 18px 24px; cursor: pointer; list-style: none; }
.notice summary::-webkit-details-marker { display: none; }
.notice summary::after { content: "+"; margin-left: 8px; color: var(--primary); font-size: 1.3rem; font-weight: 700; }
.notice[open] summary::after { content: "−"; }
.notice-title { flex: 1; font-weight: 700; }
.notice-date { font-size: 0.9rem; white-space: nowrap; }
.notice p { margin: 0; padding: 0 24px 22px; color: #4a4d68; }
.tag { background: var(--primary); color: #fff; font-size: 0.75rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; }

/* 오시는길 */
.location { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: stretch; }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 340px; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }
.location-info { background: var(--card); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.addr-label { margin: 0; color: var(--primary); font-weight: 700; }
.addr { font-size: 1.15rem; font-weight: 500; margin: 4px 0 16px; }
.map-buttons { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }

/* 맨 위로 버튼 */
.to-top {
  position: fixed; right: 20px; bottom: 24px; z-index: 20; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; text-decoration: none; font-size: 1.3rem; font-weight: 700;
  background: var(--primary-dark); color: #fff; box-shadow: 0 6px 18px rgba(58, 55, 144, 0.3);
  opacity: 0; pointer-events: none; transform: translateY(10px); transition: 0.25s;
}
.to-top.show { opacity: 0.9; pointer-events: auto; transform: none; }
.to-top:hover { opacity: 1; }

/* 푸터 */
.site-footer { background: #2c2a5e; color: #dcdcf0; text-align: center; padding: 40px 0; font-size: 0.92rem; }
.site-footer p { margin: 4px 0; }
.footer-name { font-family: "Gowun Batang", serif; font-size: 1.3rem; color: #fff; }
.copyright { opacity: 0.6; margin-top: 12px !important; }

/* 휴대폰 화면 */
@media (max-width: 820px) {
  .menu-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 20px; border-top: 1px solid var(--line); }
  .location { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; gap: 28px; }
  .about-img { max-width: 220px; }
  .about-text { text-align: center; }
  .worship-list { grid-template-columns: 1fr; }
  .keywords { flex-direction: column; align-items: center; gap: 26px; }
  .keyword { width: 100%; max-width: 420px; }
  .keyword-arrow { transform: rotate(90deg); margin: -14px 0; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .reading-timeline { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .reading-timeline::before { display: none; }
  .vb-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 60px 0; }
  .hero { padding: 80px 0 90px; }
  .theme { grid-template-columns: 1fr; gap: 32px; text-align: center; padding: 28px 20px; }
  .theme-poster { max-width: 320px; margin: 0 auto; }
}
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .worship-row { flex-direction: column; align-items: flex-start; gap: 2px; padding: 14px 20px; }
  .reading-timeline { grid-template-columns: repeat(2, 1fr); }
  .jubo-latest { grid-template-columns: 1fr; gap: 6px; }
  .notice summary { flex-wrap: wrap; padding: 16px 18px; }
  .notice p { padding: 0 18px 18px; }
}
.reading-play { flex-grow: 1; display: flex; align-items: flex-end; justify-content: center; }
.reading-player { margin-top: 40px; }
.section-chant { background: linear-gradient(180deg, var(--bg), #eaf6fd 50%, var(--bg)); }
#staff { overflow: hidden; }
/* 제목·문구가 한 단어만 다음 줄로 넘어가지 않게 줄 길이를 고르게 */
.hero-slogan, .section-title, .theme-title, .theme-verse, .chant-verse p, .value-card h4, .keyword p, .reading-lead { text-wrap: balance; }
button.btn { font: inherit; font-weight: 700; cursor: pointer; }
button.btn-small { font-size: 0.9rem; }
