/* ============================================================
   서둔교회 통합 디자인 테마 (2026 리뉴얼)
   밝은 블루 · 짙은 회색 · Pretendard · 에디토리얼
   Tailwind와 공존하도록 sd- 프리픽스 사용
   사용법: <link rel="stylesheet" href="/css/seodoon-theme.css">
   ============================================================ */

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');

:root {
  --sd-blue: #2C6FE6;
  --sd-blue-d: #1B4FB8;
  --sd-blue-l: #4E86EE;
  --sd-blue-soft: #E9F0FE;
  --sd-navy: #1B2A4A;
  --sd-slate: #2B2F38;          /* 짙은 회색 (검정 대신) */
  --sd-ink: #16203A;
  --sd-ink-2: #586178;
  --sd-ink-3: #98A0B2;
  --sd-paper: #F5F7FB;
  --sd-surface: #FFFFFF;
  --sd-line: #E7EBF2;
  --sd-red: #E5442F;
  --sd-red-soft: #FDE7E4;
  --sd-green: #0F9D58;
  --sd-green-soft: #E7F7EF;
  --sd-amber: #F59E0B;
  --sd-gold: #FBBF24;
  --sd-r: 18px;
  --sd-r-lg: 28px;
  --sd-shadow: 0 1px 3px rgba(20,30,50,0.04), 0 8px 24px rgba(20,30,50,0.06);
}

.sd { font-family: 'Pretendard', system-ui, sans-serif; color: var(--sd-ink); letter-spacing: -0.015em; background: var(--sd-paper); }
.sd *, .sd *::before, .sd *::after { box-sizing: border-box; }
.sd-wrap { max-width: 1440px; margin: 0 auto; padding: 0 40px; }
.sd a { text-decoration: none; color: inherit; }
.sd-serif { font-family: 'Noto Serif KR', 'Pretendard', serif; }
.sd-tnum { font-variant-numeric: tabular-nums; }

/* ---------- 헤더 ---------- */
.sd-header { position: sticky; top: 0; z-index: 50; background: var(--sd-navy); }
.sd-htop { display: flex; align-items: center; justify-content: space-between; height: 88px; }
.sd-logo img { width: 100px; height: 100px; object-fit: contain; }
.sd-logo { display: flex; align-items: center; gap: 10px; }
.sd-logo img { width: 100px; height: 100px; object-fit: contain; }
.sd-logo .en, .sd-logo .nm { display: none; }
.sd-logo .en { color: rgba(255,255,255,0.55); font-size: 10px; font-weight: 600; }
.sd-logo .nm { color: #fff; font-size: 19px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.sd-hutil { display: flex; align-items: center; gap: 11px; }
.sd-hicon { width: 33px; height: 33px; border-radius: 8px; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; border: none; cursor: pointer; color: #fff; }
.sd-pill { border: none; border-radius: 999px; font-size: 12.5px; font-weight: 700; padding: 7px 15px; cursor: pointer; color: #fff; }
.sd-pill-y { background: linear-gradient(135deg,#FBBF24,#F59E0B); color: #3A2A00; }
.sd-pill-p { background: linear-gradient(135deg,#8B5CF6,#6D5AF8); }
.sd-huser { display: flex; align-items: center; gap: 8px; }
.sd-huser .av { width: 29px; height: 29px; border-radius: 999px; background: rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; font-weight: 700; }
.sd-huser .un { color: #fff; font-size: 13.5px; font-weight: 700; }
.sd-huser .lo { color: rgba(255,255,255,0.5); font-size: 12.5px; }

.sd-gnav { display: flex; gap: 8px; justify-content: center; height: 48px; align-items: center; border-top: 1px solid rgba(255,255,255,0.08); }
.sd-gnav .item { position: relative; }
.sd-gnav .item > a { color: rgba(255,255,255,0.9); font-size: 15px; font-weight: 600; padding: 13px 18px; border-radius: 8px; display: inline-flex; align-items: center; gap: 5px; }
.sd-gnav .item > a:hover { background: rgba(255,255,255,0.12); color: #fff; }
.sd-dropdown { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px); background: var(--sd-surface); border: 1px solid var(--sd-line); border-radius: 14px; box-shadow: 0 16px 40px rgba(20,30,50,0.16); padding: 10px; min-width: 190px; opacity: 0; visibility: hidden; transition: all .2s ease; z-index: 60; }
.sd-gnav .item:hover .sd-dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.sd-dropdown a { display: block; padding: 11px 16px; font-size: 14px; font-weight: 600; color: var(--sd-ink-2); border-radius: 9px; white-space: nowrap; }
.sd-dropdown a:hover { background: var(--sd-blue-soft); color: var(--sd-blue-d); }

/* ---------- 페이지 히어로 (세부페이지 상단) ---------- */
.sd-pagehero { background: linear-gradient(135deg, var(--sd-blue-l), var(--sd-blue)); color: #fff; padding: 56px 0 60px; position: relative; overflow: hidden; }
.sd-pagehero .eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.85; }
.sd-pagehero h1 { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; margin: 12px 0 0; }
.sd-pagehero p { font-size: 16px; opacity: 0.9; margin-top: 12px; max-width: 640px; line-height: 1.6; }
.sd-crumb { display: flex; gap: 8px; align-items: center; font-size: 13px; opacity: 0.8; margin-top: 20px; }
.sd-crumb span { opacity: 0.5; }

/* ---------- 섹션 ---------- */
.sd-section { padding: 56px 0; }
.sd-shead { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 30px; }
.sd-shead h2 { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }
.sd-shead .more { font-size: 14px; font-weight: 600; color: var(--sd-ink-2); }
.sd-shead .more:hover { color: var(--sd-blue); }

/* ---------- 카드 ---------- */
.sd-card { background: var(--sd-surface); border: 1px solid var(--sd-line); border-radius: var(--sd-r); box-shadow: var(--sd-shadow); transition: transform .15s, box-shadow .15s; }
.sd-card.hover:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(20,34,74,0.12); }
.sd-card-pad { padding: 26px 28px; }

/* ---------- 버튼 ---------- */
.sd-btn { border: none; border-radius: 999px; font-weight: 700; cursor: pointer; font-size: 15px; padding: 13px 26px; display: inline-flex; align-items: center; gap: 8px; font-family: inherit; }
.sd-btn-blue { background: var(--sd-blue); color: #fff; }
.sd-btn-blue:hover { background: var(--sd-blue-d); }
.sd-btn-ghost { background: var(--sd-surface); color: var(--sd-ink); border: 1.5px solid var(--sd-line); }
.sd-btn-white { background: #fff; color: var(--sd-blue-d); }
.sd-btn-line-w { background: rgba(255,255,255,0.12); color: #fff; border: 1.5px solid rgba(255,255,255,0.32); }

/* ---------- 뱃지/칩 ---------- */
.sd-badge { font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 6px; display: inline-block; }
.sd-badge-blue { background: var(--sd-blue-soft); color: var(--sd-blue); }
.sd-badge-red { background: var(--sd-red-soft); color: var(--sd-red); }
.sd-badge-green { background: var(--sd-green-soft); color: var(--sd-green); }
.sd-badge-gray { background: #EEF1F6; color: var(--sd-ink-2); }
.sd-chip { display: inline-flex; align-items: center; gap: 5px; padding: 7px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; background: var(--sd-blue-soft); color: var(--sd-blue-d); }

/* ---------- 예배 스트립 ---------- */
.sd-worship { background: var(--sd-slate); }
.sd-worship .row { display: grid; grid-template-columns: auto repeat(5, 1fr); align-items: center; }
.sd-worship .lead { padding: 20px 26px; color: #fff; }
.sd-worship .lead .k { font-size: 11.5px; color: rgba(255,255,255,0.55); font-weight: 700; letter-spacing: 0.1em; }
.sd-worship .lead .v { font-size: 17px; font-weight: 800; margin-top: 3px; }
.sd-worship .w { padding: 20px; border-left: 1px solid rgba(255,255,255,0.1); color: #fff; }
.sd-worship .w .l { font-size: 12.5px; color: rgba(255,255,255,0.6); font-weight: 600; }
.sd-worship .w .t { font-size: 22px; font-weight: 800; margin-top: 4px; font-variant-numeric: tabular-nums; }

/* ---------- 푸터 ---------- */
.sd-footer { background: var(--sd-slate); color: rgba(255,255,255,0.6); padding: 56px 0 40px; }
.sd-footer .grid { display: grid; grid-template-columns: 1.5fr 1.4fr 0.8fr; gap: 40px; align-items: flex-start; }
.sd-footer .nm { font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 16px; }
.sd-footer .h { font-size: 14px; font-weight: 700; color: rgba(255,255,255,0.9); margin-bottom: 14px; }
.sd-footer .r { font-size: 13.5px; line-height: 1.95; }
.sd-footer .r a:hover { color: #fff; }
.sd-footer .copy { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 36px; padding-top: 24px; font-size: 12.5px; color: rgba(255,255,255,0.4); text-align: center; }

/* ---------- 반응형 ---------- */
@media (max-width: 1024px) {
  .sd-wrap { padding: 0 24px; }
  .sd-footer .grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .sd-worship .row { grid-template-columns: 1fr 1fr 1fr; }
  .sd-worship .lead { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .sd-gnav { display: none; }
  .sd-pagehero h1 { font-size: 30px; }
  .sd-shead h2 { font-size: 22px; }
  .sd-footer .grid { grid-template-columns: 1fr; }
}
