/* INK(묵향) — 따뜻한 흰 바탕 · 먹빛 글자 · 붉은 포인트 · 명조(나눔명조) · 세로 표어 (2026-11-22)
   버튼은 둥근 알약 대신 모서리가 거의 없는 네모, 선은 가는 겹줄로 전통 문서 느낌을 낸다.
   2026-11-22 사용자 요청: 한지 빛(누런) 바탕 → 흰 계열, 낙관(도장) 삭제. */
.pt-shell-ink {
  --pt-primary: #A8382C;
  --pt-primary-ink: #FFF8EE;
  --pt-ink: #2A2520;
  --pt-muted: #6B645B;
  --pt-line: #E7E0D3;
  --pt-bg: #FDFCF9;
  --pt-surface: #FFFFFF;
  --pt-soft: #F6F3ED;
  --pt-radius: 4px;
  --pt-radius-sm: 2px;
  --pt-display: "Nanum Myeongjo", "Noto Serif KR", serif;
  --pt-header-bg: rgba(253, 252, 249, 0.95);
  --pt-footer-bg: #2A2520;
  --pt-footer-ink: #F1E8D6;
  --pt-footer-muted: #B5A893;
  --pt-page-hero-bg: #F6F3ED;
}
.pt-shell-ink .pt-brand-text strong { --pt-heading-font: var(--pt-display); font-family: var(--pt-display); font-weight: 800; }
.pt-shell-ink .pt-brand-mark { border-radius: 4px; }
.pt-shell-ink .pt-nav > a,
.pt-shell-ink .pt-nav .cs-nav-parent-row > a { border-radius: 2px; }
.pt-shell-ink .pt-btn { border-radius: 2px; border-width: 1px; border-color: var(--pt-ink); letter-spacing: 0.06em; }
.pt-shell-ink .pt-btn-solid { background: var(--pt-ink); border-color: var(--pt-ink); color: #FFFFFF; }
.pt-shell-ink .pt-btn-solid:hover { background: var(--pt-primary); border-color: var(--pt-primary); color: #FFF8EE; }
.pt-shell-ink .pt-more::after { color: var(--pt-primary); }
.pt-shell-ink .pt-footer { border-top: 3px double #8C7B62; }
.pt-shell-ink .pt-page-hero h1 { font-weight: 800; }
.pt-shell-ink .pt-page-hero { border-bottom: 1px solid var(--pt-line); }

.ik-main h2 {
  --pt-heading-font: var(--pt-display);
  margin: 0;
  font-size: clamp(25px, 2.8vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--pt-ink);
}
.ik-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: var(--pt-primary);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.ik-kicker::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.ik-section { padding: 84px 0; }
.ik-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; padding-bottom: 14px; border-bottom: 1px solid var(--pt-line); }

/* Hero: 글 · 액자 사진 · 세로 족자 */
.ik-hero { padding: 64px 0 72px; }
.ik-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr) auto;
  gap: 44px;
  align-items: center;
}
.ik-denom { margin: 0 0 14px; color: var(--pt-muted); font-size: 14px; letter-spacing: 0.08em; }
.ik-hero-title {
  --pt-heading-font: var(--pt-display);
  margin: 0;
  font-size: clamp(36px, 4.6vw, 58px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.ik-hero-times { display: grid; gap: 0; margin: 28px 0 0; border-top: 1px solid var(--pt-ink); border-bottom: 1px solid var(--pt-ink); }
.ik-hero-times > div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 2px; border-bottom: 1px dotted #D6CCBA; font-size: 15px; }
.ik-hero-times > div:last-child { border-bottom: 0; }
.ik-hero-times dt { color: var(--pt-muted); }
.ik-hero-times dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.ik-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.ik-addr { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; color: var(--pt-muted); font-size: 13.5px; text-decoration: none; }
.ik-addr:hover { color: var(--pt-primary); }
.ik-frame {
  display: block;
  padding: 12px;
  border: 1px solid #E2D8C6;
  background: #FFFFFF;
  box-shadow: 0 16px 36px rgba(60, 45, 25, 0.08);
}
.ik-frame img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; height: auto; }
.ik-scroll {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 28px 18px 22px;
  border-left: 1px solid var(--pt-line);
  border-right: 1px solid var(--pt-line);
}
.ik-motto {
  --pt-heading-font: var(--pt-display);
  margin: 0;
  max-height: 400px;
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: var(--pt-display);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.18em;
  color: var(--pt-ink);
}
.ik-scroll.is-horizontal { border: 0; align-items: flex-start; padding: 0; }
.ik-scroll.is-horizontal .ik-motto { writing-mode: horizontal-tb; max-height: none; max-width: 14em; letter-spacing: 0; font-size: 22px; }

/* 오늘의 말씀 */
.ik-word { padding: 56px 0; border-top: 3px double #D9CBB2; border-bottom: 3px double #D9CBB2; background: #F8F5EF; text-align: center; }
.ik-word-label { margin: 0 0 14px; color: var(--pt-primary); font-size: 13.5px; font-weight: 700; letter-spacing: 0.3em; }
.ik-word-text {
  --pt-heading-font: var(--pt-display);
  max-width: 34em;
  margin: 0 auto;
  font-family: var(--pt-display);
  font-size: clamp(20px, 2.3vw, 27px);
  font-weight: 700;
  line-height: 1.75;
  color: var(--pt-ink);
}

/* 예배 표 */
.ik-two { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 56px; align-items: start; }
.ik-side p { margin: 16px 0 20px; color: var(--pt-muted); line-height: 1.8; }
.ik-table { width: 100%; border-collapse: collapse; border-top: 2px solid var(--pt-ink); border-bottom: 2px solid var(--pt-ink); font-size: 15.5px; }
.ik-table thead th { padding: 12px 14px; border-bottom: 1px solid var(--pt-ink); color: var(--pt-muted); font-size: 13px; font-weight: 700; letter-spacing: 0.2em; text-align: left; }
.ik-table tbody th, .ik-table tbody td { padding: 15px 14px; border-bottom: 1px solid var(--pt-line); text-align: left; vertical-align: top; }
.ik-table tbody tr:last-child th, .ik-table tbody tr:last-child td { border-bottom: 0; }
.ik-table tbody th { font-family: var(--pt-display); font-weight: 800; }
.ik-table td:nth-child(2) { font-weight: 700; font-variant-numeric: tabular-nums; }
.ik-table td:nth-child(3) { color: var(--pt-muted); }

/* 교회 이야기 */
.ik-letter-wrap { background: #FAF8F4; border-top: 1px solid var(--pt-line); border-bottom: 1px solid var(--pt-line); }
.ik-letter { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 56px; align-items: center; }
.ik-pastor { margin: 0; padding: 10px; border: 1px solid #E2D8C6; background: #fff; }
.ik-pastor img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; height: auto; }
.ik-pastor figcaption { padding-top: 10px; color: var(--pt-muted); font-size: 13.5px; text-align: center; }
.ik-letter-body p { margin: 18px 0 22px; color: #463E35; font-size: 16px; line-height: 1.95; }

/* 설교 목록 */
.ik-sermons { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--pt-ink); }
.ik-sermons a { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 20px; align-items: center; padding: 18px 4px; border-bottom: 1px solid var(--pt-line); color: inherit; text-decoration: none; }
.ik-sermons li.is-first a { grid-template-columns: 260px 110px minmax(0, 1fr); }
.ik-sermons a:hover strong { color: var(--pt-primary); }
.ik-sermon-date { color: var(--pt-muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.ik-sermon-main { display: grid; gap: 4px; min-width: 0; }
.ik-sermon-main strong { font-family: var(--pt-display); font-size: 18px; font-weight: 800; line-height: 1.45; }
.ik-sermon-main small { color: var(--pt-muted); font-size: 13.5px; }
.ik-sermon-thumb { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; overflow: hidden; background: #EFE9DD; }
.ik-sermon-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ik-sermon-play { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(42, 37, 32, 0.82); color: #FAF5EA; }

/* 소식·주보·일정 */
.ik-boards { padding-top: 0; }
.ik-boards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 36px; }
.ik-board .ik-head { margin-bottom: 4px; border-bottom: 2px solid var(--pt-ink); }
.ik-board h2 { font-size: 22px; }
.ik-lines { margin: 0; padding: 0; list-style: none; }
.ik-lines a, .ik-events li { display: flex; align-items: center; gap: 10px; padding: 13px 2px; border-bottom: 1px solid var(--pt-line); color: inherit; text-decoration: none; }
.ik-lines a:hover { color: var(--pt-primary); }
.ik-lines span { flex: 1; min-width: 0; }
.ik-lines small { flex-shrink: 0; color: var(--pt-muted); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.ik-lines i { flex-shrink: 0; padding: 1px 7px; border: 1px solid var(--pt-primary); color: var(--pt-primary); font-size: 11.5px; font-style: normal; font-weight: 700; }
.ik-ev-date { flex: 0 0 auto !important; min-width: 48px; color: var(--pt-primary); font-family: var(--pt-display); font-weight: 800; font-variant-numeric: tabular-nums; }

/* 바로가기 */
.ik-quick-wrap { padding: 0 0 72px; }
.ik-quick { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--pt-ink); border-left: 1px solid var(--pt-line); }
.ik-quick a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 64px; padding: 0 18px; border-right: 1px solid var(--pt-line); border-bottom: 1px solid var(--pt-line); color: inherit; font-family: var(--pt-display); font-weight: 800; text-decoration: none; }
.ik-quick a:hover { background: var(--pt-soft); color: var(--pt-primary); }

/* 앨범 */
.ik-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ik-photo { display: grid; gap: 8px; color: inherit; text-decoration: none; }
.ik-photo-img { display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; padding: 8px; border: 1px solid #E2D8C6; background: #FFFFFF; color: var(--pt-muted); height: auto; }
.ik-photo-img img { width: 100%; height: 100%; object-fit: cover; }
.ik-photo strong { font-family: var(--pt-display); font-weight: 800; }
.ik-photo small { color: var(--pt-muted); font-size: 12.5px; }

/* 오시는 길 */
.ik-visit { padding: 56px 0; border-top: 1px solid var(--pt-line); background: var(--pt-soft); }
.ik-visit-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.ik-visit p { margin: 4px 0 0; }
.ik-visit-addr { font-family: var(--pt-display); font-size: 20px; font-weight: 800; }

@media (max-width: 1024px) {
  /* 세로쓰기 글은 그리드 열 너비 계산이 흔들리므로 태블릿 이하에서는 글 → 사진 → 표어 띠로 쌓는다 */
  .ik-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .ik-frame { max-width: 720px; }
  .ik-scroll { flex-direction: row; justify-content: center; align-items: center; gap: 28px; padding: 22px 0; border: 0; border-top: 1px solid var(--pt-line); border-bottom: 1px solid var(--pt-line); }
  .ik-motto { max-height: 240px; }
  .ik-two, .ik-letter { grid-template-columns: 1fr; gap: 32px; }
  .ik-letter .ik-pastor { max-width: 280px; }
  .ik-sermons li.is-first a { grid-template-columns: 200px 90px minmax(0, 1fr); }
}
@media (max-width: 768px) {
  .ik-section { padding: 56px 0; }
  .ik-hero { padding: 36px 0 48px; }
  .ik-hero-grid { gap: 24px; }
  .ik-motto { max-height: 220px; font-size: 22px; }
  .ik-frame { padding: 8px; }
  .ik-sermons a, .ik-sermons li.is-first a { grid-template-columns: 1fr; gap: 8px; }
  .ik-sermon-date { order: -1; }
  .ik-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .ik-table { font-size: 14.5px; }
  .ik-table thead th, .ik-table tbody th, .ik-table tbody td { padding: 12px 8px; }
}
