/* CALM(고요) — 흰 바탕 · 가는 명조(Noto Serif KR 300) · 회청색 한 가지 포인트 · 선과 여백만으로 정리 (2026-11-22)
   버튼 대신 밑줄 글 링크를 쓰고, 장식은 가는 선 하나로 줄인다. */
.pt-shell-calm {
  --pt-primary: #3F5E73;
  --pt-primary-ink: #FFFFFF;
  --pt-ink: #1B1D1F;
  --pt-muted: #6F7378;
  --pt-line: #E4E2DC;
  --pt-bg: #FBFAF7;
  --pt-surface: #FFFFFF;
  --pt-soft: #F3F1EC;
  --pt-radius: 2px;
  --pt-serif: "Noto Serif KR", "Nanum Myeongjo", serif;
  --pt-header-bg: rgba(251, 250, 247, 0.94);
  --pt-footer-bg: #F3F1EC;
  --pt-footer-ink: #1B1D1F;
  --pt-footer-muted: #6F7378;
  --pt-page-hero-bg: #FBFAF7;
}
.pt-shell-calm .pt-header { border-bottom-color: transparent; }
.pt-shell-calm .pt-brand-mark { border-radius: 50%; background: var(--pt-ink); }
.pt-shell-calm .pt-nav > a,
.pt-shell-calm .pt-nav .cs-nav-parent-row > a { border-radius: 0; font-weight: 500; }
.pt-shell-calm .pt-nav > a:hover,
.pt-shell-calm .pt-nav .cs-nav-parent-row > a:hover { background: transparent; text-decoration: underline; text-underline-offset: 6px; }
.pt-shell-calm .pt-nav a.is-active { background: transparent; color: var(--pt-ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.pt-shell-calm .pt-btn { border-radius: 0; border-width: 1px; border-color: var(--pt-ink); font-weight: 600; }
.pt-shell-calm .pt-btn-solid { background: var(--pt-ink); border-color: var(--pt-ink); }
.pt-shell-calm .pt-btn-solid:hover { background: var(--pt-primary); border-color: var(--pt-primary); }
.pt-shell-calm .pt-page-hero { border-bottom: 1px solid var(--pt-line); }
.pt-shell-calm .pt-page-hero h1 { --pt-heading-font: var(--pt-serif); font-family: var(--pt-serif); font-weight: 300; }
.pt-shell-calm .pt-page-kicker { color: var(--pt-muted); font-weight: 600; }
.pt-shell-calm .pt-footer { border-top: 1px solid var(--pt-line); }

.cm-main { background: var(--pt-bg); }
.cm-links { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 32px 0 0; }
.cm-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--pt-ink);
  color: var(--pt-ink);
  font-weight: 600;
  text-decoration: none;
}
.cm-links a:hover { color: var(--pt-primary); border-color: var(--pt-primary); }
.cm-links a .pt-icon { transition: transform 0.2s ease; }
.cm-links a:hover .pt-icon { transform: translateX(3px); }

/* Hero */
.cm-hero { padding: 96px 0 56px; }
.cm-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; align-items: end; margin-bottom: 72px; }
.cm-brand { margin: 0 0 28px; color: var(--pt-muted); font-size: 14px; letter-spacing: 0.18em; }
.cm-hero-title {
  --pt-heading-font: var(--pt-serif);
  margin: 0;
  max-width: 14em;
  font-family: var(--pt-serif);
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 300;
  line-height: 1.22;
  letter-spacing: -0.035em;
}
.cm-hero-sub { max-width: 30em; margin: 24px 0 0; color: var(--pt-muted); font-size: 17px; line-height: 1.8; }
.cm-times { margin: 0; border-top: 1px solid var(--pt-ink); }
.cm-times > div { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--pt-line); font-size: 14.5px; }
.cm-times dt { color: var(--pt-muted); }
.cm-times dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.cm-photo { display: block; overflow: hidden; background: var(--pt-soft); }
.cm-photo img { display: block; width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; }

/* 목차 줄 */
.cm-index { padding: 48px 0 24px; }
.cm-row { display: grid; grid-template-columns: 72px 220px minmax(0, 1fr); gap: 24px; padding: 40px 0; border-top: 1px solid var(--pt-line); }
.cm-row:last-child { border-bottom: 1px solid var(--pt-line); }
.cm-row-no { margin: 6px 0 0; color: var(--pt-primary); font-family: var(--pt-serif); font-size: 15px; font-variant-numeric: tabular-nums; }
.cm-row-title {
  --pt-heading-font: var(--pt-serif);
  margin: 0;
  font-family: var(--pt-serif);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.cm-row-body { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 0; min-width: 0; } /* 긴 제목이 칸을 밀어 휴대폰에서 넘치지 않게 */
.cm-lead { display: grid; gap: 6px; margin-bottom: 10px; color: inherit; text-decoration: none; }
.cm-lead small { color: var(--pt-muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.cm-lead strong { font-family: var(--pt-serif); font-size: clamp(22px, 2.4vw, 30px); font-weight: 500; line-height: 1.35; }
.cm-lead:hover strong { color: var(--pt-primary); }
.cm-line { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0; padding: 12px 0; border-bottom: 1px dotted var(--pt-line); color: inherit; text-decoration: none; }
.cm-line span { min-width: 0; }
.cm-line small { flex-shrink: 0; color: var(--pt-muted); font-size: 13px; font-variant-numeric: tabular-nums; }
a.cm-line:hover span { color: var(--pt-primary); }
.cm-line i { margin-right: 8px; color: var(--pt-primary); font-size: 12.5px; font-style: normal; font-weight: 700; }
.cm-more { justify-self: start; margin-top: 16px; color: var(--pt-muted); font-size: 13.5px; text-decoration: underline; text-underline-offset: 5px; }
.cm-more:hover { color: var(--pt-primary); }

/* 인사 */
.cm-words { padding: 96px 0; }
.cm-words-grid { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 64px; align-items: start; max-width: 960px; }
.cm-pastor { display: block; width: 200px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(0.2); }
.cm-quote { margin: 0 0 24px; font-family: var(--pt-serif); font-size: clamp(22px, 2.4vw, 30px); font-weight: 300; line-height: 1.6; }
.cm-intro { margin: 0; color: #43474C; font-size: 16px; line-height: 1.95; }
.cm-sign { margin: 18px 0 0; color: var(--pt-muted); font-size: 14px; }
.cm-words .cm-links { margin-top: 24px; }

/* 앨범 */
.cm-gallery-wrap { padding: 24px 0 88px; }
.cm-gallery-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.cm-gallery-head .cm-more { margin: 0; }
.cm-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.cm-shot { display: grid; gap: 12px; color: inherit; text-decoration: none; }
.cm-shot-img { display: grid; place-items: center; aspect-ratio: 4 / 5; overflow: hidden; background: var(--pt-soft); color: var(--pt-muted); }
.cm-shot-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.cm-shot:hover img { transform: scale(1.03); }
.cm-shot-cap { display: flex; justify-content: space-between; gap: 10px; font-size: 14.5px; }
.cm-shot-cap small { flex-shrink: 0; color: var(--pt-muted); font-size: 12.5px; }

/* 바로가기 */
.cm-quick-wrap { padding: 0 0 56px; }
.cm-quick { display: flex; flex-wrap: wrap; gap: 8px 0; }
.cm-quick a { padding: 4px 18px; border-left: 1px solid var(--pt-line); color: var(--pt-ink); font-size: 15px; text-decoration: none; }
.cm-quick a:first-child { padding-left: 0; border-left: 0; }
.cm-quick a:hover { color: var(--pt-primary); text-decoration: underline; text-underline-offset: 5px; }

/* 오시는 길 */
.cm-visit { padding: 88px 0 96px; border-top: 1px solid var(--pt-line); }
.cm-visit-addr { max-width: 20em; margin: 20px 0 0; font-family: var(--pt-serif); font-size: clamp(26px, 3.6vw, 44px); font-weight: 300; line-height: 1.35; letter-spacing: -0.02em; }

@media (max-width: 1024px) {
  .cm-hero-grid { grid-template-columns: 1fr; gap: 40px; margin-bottom: 48px; }
  .cm-times { max-width: 420px; }
  .cm-row { grid-template-columns: 56px minmax(0, 1fr); }
  .cm-row-body { grid-column: 2; }
}
@media (max-width: 768px) {
  .cm-hero { padding: 56px 0 32px; }
  .cm-photo img { aspect-ratio: 4 / 3; }
  .cm-index { padding-top: 24px; }
  .cm-row { grid-template-columns: 40px minmax(0, 1fr); gap: 8px 14px; padding: 30px 0; }
  .cm-words { padding: 64px 0; }
  .cm-words-grid { grid-template-columns: 1fr; gap: 28px; }
  .cm-pastor { width: 140px; }
  .cm-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .cm-gallery .cm-shot:nth-child(3) { display: none; }
  .cm-visit { padding: 64px 0; }
  .cm-quick { gap: 10px 20px; }
  .cm-quick a { padding: 2px 0; border-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .cm-shot-img img, .cm-links a .pt-icon { transition: none; }
}
