/* ══ 교회 소개 페이지 (pkabout) — 게시판 글로 만든 페이지 보정 ══ */

/* 왼쪽 메뉴와 함께 쓰므로 오른쪽 사이드바 없이 한 단으로 */
.pk-about .page-wrap { grid-template-columns: minmax(0, 1fr); max-width: none; }

/* 게시판 에디터로 쓴 본문: 문단 간격과 이미지 */
.pk-about .pk-rich p { margin: 0 0 1em; }
.pk-about .pk-rich p:last-child { margin-bottom: 0; }
.pk-about .pk-rich img { max-width: 100%; height: auto; border-radius: 4px; }
.pk-about .pk-rich ul { list-style: disc; padding-left: 1.4em; margin: 0 0 1em; }
.pk-about .pk-rich ol { list-style: decimal; padding-left: 1.4em; margin: 0 0 1em; }
.pk-about .pk-rich blockquote { margin: 0; padding: 22px 26px; background: var(--cream); border-left: 4px solid var(--point); border-radius: 0 4px 4px 0;
  font-size: 15px; color: var(--ink); line-height: 1.9; }
.pk-about .pk-rich blockquote strong { color: var(--point); }
.pk-about .pk-rich a { color: var(--point); text-decoration: underline; }
.pk-about .tl-desc.pk-rich img { display: block; margin: 0 0 16px; }
.pk-about .pledge-text.pk-rich p { margin: 0; }
.pk-about .loc-direction-body { font-size: 13px; color: var(--ink-mid); line-height: 1.7; }
.pk-about .loc-direction-body p { margin: 0 0 10px; }
.pk-about .loc-direction-body b, .pk-about .loc-direction-body strong { color: var(--ink); font-weight: 700; margin-right: 6px; }
.pk-about .loc-address.pk-rich p { margin: 0; }
.pk-about .pk-map { width: 100%; aspect-ratio: 16/9; border-radius: 4px; overflow: hidden; margin-top: 16px; background: var(--cream-dim); }
.pk-about .pk-map iframe { width: 100%; height: 100%; border: 0; }
.pk-about .loc-direction-group .loc-map { margin-top: 12px; }

.pk-about .pk-empty-note { padding: 40px 20px; text-align: center; font-size: 13px; color: var(--ink-lt); }

/* ══ 관리자 보기: 고치기 · 추가 버튼 ══ */
.pk-about-admin { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 16px 48px 0; padding: 10px 14px;
  background: #FFF8E6; border: 1px solid #F1D99A; border-radius: 4px; font-size: 12.5px; color: #6B5413; }
.pk-about-admin i { font-size: 15px; }
.pk-about-admin a { margin-left: auto; color: #6B5413; font-weight: 700; text-decoration: underline; }
.pk-about-admin.is-warn { background: #FDEDEA; border-color: #F2B8AC; color: #8A2A17; }
.pk-about .pk-editable { position: relative; }
.pk-about .pk-edit { position: absolute; top: 8px; right: 8px; z-index: 3; width: 28px; height: 28px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--cream-dark);
  color: var(--ink-mid); font-size: 14px; box-shadow: 0 1px 3px rgba(22,33,46,.12); opacity: .75; transition: opacity .15s, color .15s, border-color .15s; }
.pk-about .pk-edit:hover { opacity: 1; color: var(--point); border-color: var(--point); }
.pk-about .pk-edit-sm { width: 22px; height: 22px; font-size: 11px; top: 4px; right: 4px; }
.pk-about .srv-lead .pk-editable { padding-right: 28px; }
.pk-about .pk-add { display: inline-flex; align-items: center; gap: 4px; margin: 12px 0 24px; padding: 6px 12px; font-size: 12px; font-weight: 700;
  color: var(--point); border: 1px dashed var(--point); border-radius: 4px; background: var(--point-dim); }
.pk-about .pk-add:hover { background: #fff; }
.pk-about .pk-add-inline { margin: 0; }

@media (max-width: 960px) {
  .pk-about-admin { margin: 12px 20px 0; }
}
@media (max-width: 600px) {
  .pk-about-admin { margin: 12px 16px 0; }
}

/* ══ 지교회 소개 ══ */
.pk-page-branch .br-group { margin-bottom: 40px; }
.pk-page-branch .br-group-title { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 17px; font-weight: 800; color: var(--ink); }
.pk-page-branch .br-group-title::before { content: ""; width: 4px; height: 18px; border-radius: 2px; background: var(--point); }
.pk-page-branch .br-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pk-page-branch .br-card { display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid var(--cream-dark); border-radius: 8px; overflow: hidden;
  transition: border-color .15s, box-shadow .15s; }
.pk-page-branch .br-card:hover { border-color: #C7D3E3; box-shadow: 0 8px 24px rgba(22,33,46,.08); }
.pk-page-branch .br-photo { position: relative; aspect-ratio: 16 / 10; background: var(--cream-dim); overflow: hidden; }
.pk-page-branch .br-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pk-page-branch .br-photo.is-empty { display: flex; align-items: center; justify-content: center; color: #B8C4D4; font-size: 42px; }
.pk-page-branch .br-country { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 4px; max-width: calc(100% - 24px);
  padding: 4px 10px; border-radius: 14px; background: rgba(22,33,46,.78); color: #fff; font-size: 12px; font-weight: 600;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pk-page-branch .br-country i { font-size: 13px; }
.pk-page-branch .br-body { flex: 1; padding: 18px 20px 16px; }
.pk-page-branch .br-name { margin: 0 0 12px; font-size: 18px; font-weight: 800; color: var(--ink); line-height: 1.35; }
.pk-page-branch .br-info { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.pk-page-branch .br-info > div { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; font-size: 13px; line-height: 1.6; }
.pk-page-branch .br-info dt { display: inline-flex; align-items: center; gap: 5px; color: var(--ink-lt); font-weight: 600; white-space: nowrap; }
.pk-page-branch .br-info dt i { font-size: 14px; color: var(--point); }
.pk-page-branch .br-info dd { margin: 0; color: var(--ink); }
.pk-page-branch .br-line { display: block; }
.pk-page-branch .br-intro { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--rule); font-size: 13.5px; line-height: 1.75; color: var(--ink-mid); }
.pk-page-branch .br-contact { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 12px 20px; border-top: 1px solid var(--rule); background: var(--cream); }
.pk-page-branch .br-contact a { display: inline-flex; align-items: center; gap: 5px; min-width: 0; font-size: 12.5px; font-weight: 600; color: var(--ink-mid); word-break: break-all; }
.pk-page-branch .br-contact a:hover { color: var(--point); }
.pk-page-branch .br-contact i { font-size: 15px; color: var(--point); flex-shrink: 0; }
.pk-page-branch .br-admin-adds { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 1200px) {
  .pk-page-branch .br-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .pk-page-branch .br-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}

/* ══ 예배예식안내 ══ */
.pk-page-worship .ws-group { margin-bottom: 36px; }
.pk-page-worship .ws-group-title { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 17px; font-weight: 800; color: var(--ink); }
.pk-page-worship .ws-group-title::before { content: ""; width: 4px; height: 18px; border-radius: 2px; background: var(--point); }

/* 시간표 */
.pk-page-worship .ws-table { width: 100%; table-layout: fixed; border-collapse: collapse; border-top: 2px solid var(--ink); font-size: 14px; }
.pk-page-worship .ws-table thead th { padding: 11px 16px; background: var(--cream); border-bottom: 1px solid var(--cream-dark);
  font-size: 12.5px; font-weight: 700; color: var(--ink-mid); text-align: left; white-space: nowrap; }
.pk-page-worship .ws-table tbody th, .pk-page-worship .ws-table td { padding: 14px 16px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; line-height: 1.6; }
.pk-page-worship .ws-table tbody tr:hover { background: var(--cream); }
.pk-page-worship .ws-t-name { font-weight: 700; color: var(--ink); }
.pk-page-worship .ws-table thead th:nth-child(1) { width: 28%; }
.pk-page-worship .ws-table thead th:nth-child(2) { width: 20%; }
.pk-page-worship .ws-table thead th:nth-child(4) { width: 26%; }
.pk-page-worship .ws-table thead th.ws-th-edit { width: 44px; }
.pk-page-worship .ws-t-day { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 10px; background: var(--point-dim); color: var(--point);
  font-size: 11.5px; font-weight: 700; vertical-align: 1px; }
.pk-page-worship .ws-t-time { font-weight: 800; color: var(--point); font-variant-numeric: tabular-nums; }
.pk-page-worship .ws-t-place { color: var(--ink); }
.pk-page-worship .ws-t-note { color: var(--ink-mid); font-size: 13px; }
.pk-page-worship .ws-t-time > i.ti, .pk-page-worship .ws-t-place > i.ti { display: none; font-size: 14px; color: var(--point); margin-right: 5px; }
.pk-page-worship .ws-t-desc { margin-top: 4px; }
.pk-page-worship .ws-t-desc p { margin: 0; }
.pk-page-worship .ws-t-edit { padding: 10px 8px !important; }
.pk-page-worship .ws-t-edit .pk-edit { position: static; }

/* 안내 글 */
.pk-page-worship .ws-note { padding: 26px 28px; margin-bottom: 16px; background: #fff; border: 1px solid var(--cream-dark); border-radius: 8px; }
.pk-page-worship .ws-note-title { margin: 0 0 14px; padding-right: 28px; font-size: 18px; font-weight: 800; color: var(--ink); }
.pk-page-worship .ws-note-body { font-size: 14px; line-height: 1.85; color: var(--ink-mid); }
.pk-page-worship .ws-note-body h4 { margin: 18px 0 8px; font-size: 14.5px; font-weight: 700; color: var(--ink); }
.pk-page-worship .ws-note-body h4:first-child { margin-top: 0; }
.pk-page-worship .ws-note-body li { margin-bottom: 4px; }
.pk-page-worship .ws-note-body li::marker { color: var(--point); font-weight: 700; }
.pk-page-worship .ws-note-body strong { color: var(--ink); }
.pk-page-worship .ws-info { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.pk-page-worship .ws-info > div { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; font-size: 13px; line-height: 1.6; }
.pk-page-worship .ws-info dt { display: inline-flex; align-items: center; gap: 5px; color: var(--ink-lt); font-weight: 600; white-space: nowrap; }
.pk-page-worship .ws-info dt i { font-size: 14px; color: var(--point); }
.pk-page-worship .ws-info dd { margin: 0; color: var(--ink); }
.pk-page-worship .ws-info-row { flex-direction: row; flex-wrap: wrap; gap: 6px 24px; margin: 0 0 14px; }
.pk-page-worship .ws-contact { display: flex; align-items: flex-start; gap: 6px; margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--ink-mid); line-height: 1.6; }
.pk-page-worship .ws-contact i { font-size: 15px; color: var(--point); margin-top: 2px; }
.pk-page-worship .ws-contact a { color: var(--point); }
.pk-page-worship .ws-note .ws-contact { padding-top: 14px; border-top: 1px solid var(--rule); }
.pk-page-worship .ws-table .ws-contact { margin-top: 4px; }

@media (max-width: 760px) {
  /* 시간표 → 줄마다 작은 카드 */
  .pk-page-worship .ws-table, .pk-page-worship .ws-table tbody, .pk-page-worship .ws-table tr, .pk-page-worship .ws-table th, .pk-page-worship .ws-table td { display: block; width: auto; }
  .pk-page-worship .ws-table { border-top: 0; }
  .pk-page-worship .ws-table thead { display: none; }
  .pk-page-worship .ws-table tbody tr { position: relative; padding: 14px 16px; margin-bottom: 10px; border: 1px solid var(--cream-dark); border-radius: 8px; background: #fff; }
  .pk-page-worship .ws-table tbody th, .pk-page-worship .ws-table td { padding: 0; border: 0; }
  .pk-page-worship .ws-t-name { font-size: 15px; margin-bottom: 6px; padding-right: 28px !important; }
  .pk-page-worship .ws-t-time, .pk-page-worship .ws-t-place { display: inline-block !important; margin-right: 14px; font-size: 13.5px; }
  .pk-page-worship .ws-t-time > i.ti, .pk-page-worship .ws-t-place > i.ti { display: inline; }
  .pk-page-worship .ws-t-note:not(:empty) { margin-top: 6px; }
  .pk-page-worship .ws-t-edit { position: absolute; top: 10px; right: 10px; width: auto; padding: 0 !important; }
  .pk-page-worship .ws-note { padding: 20px 18px; }
}

/* ══ 창립자 소개 (외국어 전용) ══ */
.pk-page-founder .fd-years { margin-left: 6px; color: var(--ink-lt); font-variant-numeric: tabular-nums; }
.pk-page-founder .fd-photo { margin: 0 0 8px; border-radius: 8px; overflow: hidden; background: var(--cream-dim); }
.pk-page-founder .fd-photo img { display: block; width: 100%; height: auto; }
/* 단락: 왼쪽 제목 · 오른쪽 글 (모든 단락이 같은 선에 맞춰짐) */
.pk-page-founder .fd-sec { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 16px 56px; padding: 40px 0; border-bottom: 1px solid var(--rule); }
.pk-page-founder .fd-sec:last-of-type { border-bottom: 0; }
.pk-page-founder .fd-head { align-self: start; position: sticky; top: 96px; }
.pk-page-founder .fd-eyebrow { margin-bottom: 8px; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--point); }
.pk-page-founder .fd-title { margin: 0; font-size: 22px; font-weight: 800; line-height: 1.4; color: var(--ink); letter-spacing: -.2px; }
.pk-page-founder .fd-body { max-width: 780px; font-size: 15px; line-height: 1.9; color: var(--ink-mid); }
.pk-page-founder .fd-body .pk-rich p { margin: 0 0 1.1em; }
.pk-page-founder .fd-body .pk-rich p:last-child { margin-bottom: 0; }
/* 첫 단락 첫 문단은 조금 크게 */
.pk-page-founder .fd-photo + .fd-sec .pk-rich > p:first-child,
.pk-page-founder #sec-founder > .fd-sec:first-child .pk-rich > p:first-child { font-size: 17px; line-height: 1.85; color: var(--ink); }
/* 목록 (학력 · 수상) */
.pk-page-founder .fd-list { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.pk-page-founder .fd-list li { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 4px 20px; padding: 13px 0; border-bottom: 1px solid var(--rule); font-size: 14.5px; line-height: 1.65; }
.pk-page-founder .fd-date { font-weight: 800; color: var(--point); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pk-page-founder .fd-text { color: var(--ink); grid-column: 2; }
.pk-page-founder .fd-sec .pk-edit { top: 40px; right: 0; }
@media (max-width: 1100px) {
  .pk-page-founder .fd-sec { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 32px 0; }
  .pk-page-founder .fd-head { position: static; padding-right: 36px; }
  .pk-page-founder .fd-body { max-width: none; }
  .pk-page-founder .fd-sec .pk-edit { top: 32px; }
}
@media (max-width: 600px) {
  .pk-page-founder .fd-sec { padding: 26px 0; }
  .pk-page-founder .fd-title { font-size: 19px; }
  .pk-page-founder .fd-body { font-size: 14.5px; line-height: 1.85; }
  .pk-page-founder .fd-photo + .fd-sec .pk-rich > p:first-child,
  .pk-page-founder #sec-founder > .fd-sec:first-child .pk-rich > p:first-child { font-size: 15.5px; }
  .pk-page-founder .fd-list li { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 11px 0; }
  .pk-page-founder .fd-text { grid-column: 1; }
  .pk-page-founder .fd-sec .pk-edit { top: 26px; }
}
