/* 평강 블루 최근게시물 위젯 (pk_latest) — 목업 page-index.css 기반 */
.pkl {
  --ink:#16212E; --ink-mid:#47566B; --ink-lt:#8697AC; --cream:#F7F9FC; --cream-dim:#EEF2F8; --cream-dark:#DCE4EE;
  --royal-lt:#2E4F8C; --point:#2F5FD9; --point-lt:#4A78E8; --rule:rgba(22,33,46,0.1);
  font-family: 'Noto Sans KR', sans-serif; color: var(--ink);
}
.pkl, .pkl * { box-sizing: border-box; }
.pkl a { text-decoration: none; color: inherit; }
.pkl-head { font-size: 14px; font-weight: 700; color: var(--ink); margin: 0 0 16px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.pkl-more { font-size: 11px; color: var(--point) !important; font-weight: 400; white-space: nowrap; }
.pkl-more:hover { text-decoration: underline; }
.pkl-none { font-size: 12px; color: var(--ink-lt); padding: 12px 0; }

/* ── 소식 목록 ── */
.pkl-news-row { display: flex; align-items: flex-start; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--rule); }
.pkl-news-row:last-of-type { border-bottom: none; }
.pkl-badge { font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 2px; white-space: nowrap; flex-shrink: 0; margin-top: 1px; background: rgba(47,95,217,.12); color: var(--point); }
.pkl-badge-1 { background: rgba(107,75,161,.1); color: #6B4BA1; }
.pkl-news-t { font-size: 13px; color: var(--ink); flex: 1; min-width: 0; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color .15s; }
.pkl-news-row:hover .pkl-news-t { color: var(--point); }
.pkl-news-t .ti-lock { font-size: 12px; color: var(--ink-lt); margin-left: 3px; }
.pkl-cmt { font-style: normal; font-size: 11px; font-weight: 700; color: var(--point); margin-left: 4px; }
.pkl-new { display: inline-block; font-size: 9px; font-weight: 700; color: #fff; background: #E0562E; border-radius: 2px; padding: 0 4px; margin-left: 4px; vertical-align: 2px; line-height: 14px; }
.pkl-news-d { font-size: 11px; color: var(--ink-lt); white-space: nowrap; flex-shrink: 0; }

/* ── 영상 목록 ── */
.pkl-yt-row { display: flex; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.pkl-yt-row:last-of-type { border-bottom: none; }
.pkl-yt-th { width: 112px; aspect-ratio: 16 / 9; background: var(--ink) center/cover no-repeat; border-radius: 3px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pkl-yt-pl { width: 22px; height: 22px; background: var(--point); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 1px 4px rgba(0,0,0,.25); }
.pkl-yt-pl i { font-size: 10px; color: #fff; margin-left: 1px; }
.pkl-yt-info { display: flex; flex-direction: column; min-width: 0; }
.pkl-yt-t { font-size: 12px; font-weight: 500; color: var(--ink); line-height: 1.4; transition: color .15s; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pkl-yt-row:hover .pkl-yt-t { color: var(--point); }
.pkl-yt-m { font-size: 11px; color: var(--ink-lt); margin-top: 2px; }

/* ── 포토 갤러리 2×2 ── */
.pkl-gal { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.pkl-gi { aspect-ratio: 1; background: var(--cream-dim); border-radius: 2px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; transition: background .15s; }
.pkl-gi:hover { background: var(--cream-dark); }
.pkl-gi img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.pkl-gi:hover img { transform: scale(1.05); }
.pkl-gi i { font-size: 20px; color: var(--ink-lt); }
.pkl-gi-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 6px 5px; font-size: 10px; color: #fff; background: linear-gradient(transparent, rgba(22,33,46,.75)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transition: opacity .2s; }
.pkl-gi:hover .pkl-gi-cap, .pkl-gi:focus .pkl-gi-cap { opacity: 1; }

/* ── 최근 설교 (메인 히어로 하단) ── */
.pkl-sermon { display: flex; align-items: center; gap: 14px; padding: 16px 24px; cursor: pointer; transition: background .15s; text-decoration: none; color: inherit; width: 100%; min-width: 0; font-family: 'Noto Sans KR', sans-serif; }
a.pkl-sermon:hover { background: rgba(47,95,217,.06); }
.pkl-sermon .sermon-play { width: 36px; height: 36px; background: #2F5FD9; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pkl-sermon.is-empty .sermon-play { background: #8697AC; }
.pkl-sermon .sermon-play i { font-size: 13px; color: #fff; margin-left: 2px; }
.pkl-sermon .sermon-info { display: flex; flex-direction: column; min-width: 0; }
.pkl-sermon .sermon-label { font-size: 10px; color: #8697AC; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 2px; }
.pkl-sermon .sermon-title { font-size: 13px; font-weight: 500; color: #16212E; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pkl-sermon .sermon-meta { font-size: 11px; color: #8697AC; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── 배너 슬라이더 ── */
.pkl-banner {
  --ink:#16212E; --ink-mid:#47566B; --ink-lt:#8697AC; --cream:#F7F9FC; --cream-dim:#EEF2F8; --cream-dark:#DCE4EE;
  --royal-lt:#2E4F8C; --point:#2F5FD9; --rule:rgba(22,33,46,0.1);
  border-bottom: 1px solid var(--rule); background: var(--cream); position: relative; overflow: hidden;
  font-family: 'Noto Sans KR', sans-serif;
}
.pkl-banner * { box-sizing: border-box; }
.pkl-banner a { text-decoration: none; color: inherit; }
.pkl-banner .banner-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 48px 12px; border-bottom: 1px solid var(--rule); }
.pkl-banner .banner-header-left { display: flex; align-items: center; gap: 8px; font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--ink-lt); }
.pkl-banner .banner-header-left i { font-size: 14px; color: var(--point); }
.pkl-banner .banner-nav { display: flex; align-items: center; gap: 6px; }
.pkl-banner .banner-counter { font-size: 11px; color: var(--ink-lt); min-width: 36px; text-align: center; }
.pkl-banner .banner-btn, .pkl-banner .banner-pause { width: 28px; height: 28px; border-radius: 2px; border: 1px solid var(--cream-dark); background: #fff; display: flex; align-items: center; justify-content: center; color: var(--ink-mid); font-size: 13px; transition: border-color .15s, color .15s; cursor: pointer; padding: 0; }
.pkl-banner .banner-btn:hover, .pkl-banner .banner-pause:hover { border-color: var(--point); color: var(--point); }
.pkl-banner .banner-track-wrap { overflow: hidden; }
.pkl-banner .banner-track { display: flex; transition: transform .45s cubic-bezier(.4,0,.2,1); }
.pkl-banner .banner-slide { min-width: 100%; display: flex; align-items: stretch; }
.pkl-banner .banner-card { flex: 1; display: flex; align-items: center; padding: 20px 48px; gap: 24px; transition: background .15s; min-width: 0; }
.pkl-banner .banner-card:hover { background: var(--cream-dim); }
.pkl-banner .banner-thumb { width: 200px; height: 100px; flex-shrink: 0; border-radius: 3px; background: var(--ink); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.pkl-banner .banner-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pkl-banner .banner-thumb-ph i { font-size: 22px; color: rgba(255,255,255,.25); }
.pkl-banner .btype { position: absolute; top: 7px; left: 7px; font-size: 9px; font-weight: 700; letter-spacing: .5px; padding: 2px 7px; border-radius: 2px; text-transform: uppercase; color: #fff; background: var(--point); }
.pkl-banner .btype.bt-1 { background: var(--royal-lt); }
.pkl-banner .btype.bt-2 { background: #4CAF50; }
.pkl-banner .banner-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pkl-banner .banner-title { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 5px; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pkl-banner .banner-desc { font-size: 13px; color: var(--ink-lt); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pkl-banner .banner-date { font-size: 11px; color: var(--ink-lt); margin-top: 6px; }
.pkl-banner .banner-arrow { width: 36px; height: 36px; flex-shrink: 0; background: var(--ink); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 16px; transition: background .15s; }
.pkl-banner .banner-card:hover .banner-arrow { background: var(--point); }
.pkl-banner .banner-dots { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 0 14px; }
.pkl-banner .bdot { width: 6px; height: 6px; border-radius: 50%; background: var(--cream-dark); border: none; padding: 0; transition: all .3s; cursor: pointer; }
.pkl-banner .bdot.on { background: var(--point); width: 18px; border-radius: 3px; }
@media (max-width: 960px) {
  .pkl-banner .banner-header { padding: 12px 20px 10px; }
  .pkl-banner .banner-card { padding: 16px 20px; gap: 16px; }
  .pkl-banner .banner-thumb { width: 140px; height: 78px; }
  .pkl-banner .banner-title { font-size: 14px; }
  .pkl-sermon { padding: 14px 20px; }
}
@media (max-width: 600px) {
  .pkl-banner .banner-header { padding: 12px 16px 8px; }
  .pkl-banner .banner-card { padding: 14px 16px; gap: 12px; flex-direction: column; align-items: stretch; }
  .pkl-banner .banner-thumb { width: 100%; height: 150px; }
  .pkl-banner .banner-arrow { display: none; }
  .pkl-banner .banner-title { white-space: normal; font-size: 15px; }
  .pkl-sermon { padding: 14px 16px; }
}
