/* ============================================================
   셀프구독 가이드 (/bbs/guide.php) — sg- 프리픽스
   데이터: 관리자 > 상품관리 > 셀프구독 가이드 관리 (shop_self_guide)
   ============================================================ */
#selfGuide{
  --sop-font-kr:'Samsung One Korean','Malgun Gothic','맑은 고딕',sans-serif;
  --sop-blue:#2189ff; --sop-blue-soft:#eff6ff; --sop-blue-line:#bfdbfe;
  --sop-gray-50:#f8fafc; --sop-gray-100:#f3f4f6; --sop-gray-200:#e5e7eb;
  --sop-gray-500:#6b7280; --sop-gray-700:#374151; --sop-gray-900:#111827;
  --sg-navy:#0f1c6e; --sg-deep:#0a1240; --sg-gold:#e8c37a;
  font-family:var(--sop-font-kr);color:var(--sop-gray-900);line-height:1.55}
#selfGuide .sg-wrap{max-width:1040px;margin:0 auto;padding:0 24px}

/* 히어로 */
#selfGuide .sg-hero{background:radial-gradient(1100px 480px at 20% -12%, #2a3fb8 0%, transparent 55%), linear-gradient(140deg,#101a54 0%,#0a1240 70%);color:#fff;padding:70px 0 4px}
#selfGuide .sg-eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:700;color:#aebcf5;letter-spacing:.6px}
#selfGuide .sg-eyebrow:before{content:'';width:22px;height:1px;background:var(--sg-gold)}
#selfGuide .sg-h1{margin:16px 0 0;font-size:36px;line-height:1.25;font-weight:900;letter-spacing:-1px;color:#fff}
#selfGuide .sg-h1 em{font-style:normal;color:var(--sg-gold)}
#selfGuide .sg-sub{margin:16px 0 0;font-size:15px;color:#b9c2e8;max-width:520px}
#selfGuide .sg-stats{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid rgba(255,255,255,.12);margin-top:40px}
#selfGuide .sg-stat{padding:20px 8px 26px;text-align:center}
#selfGuide .sg-stat+.sg-stat{border-left:1px solid rgba(255,255,255,.12)}
#selfGuide .sg-stat .k{display:block;font-size:12px;color:#8f9cd6}
#selfGuide .sg-stat .v{display:block;margin-top:6px;font-size:20px;font-weight:900}
#selfGuide .sg-stat .v em{font-style:normal;color:var(--sg-gold)}

/* 섹션 헤더 */
#selfGuide .sg-sect{padding:58px 0 0}
#selfGuide .sg-sh{text-align:center}
#selfGuide .sg-sh .tag{display:inline-block;font-size:12px;font-weight:800;color:var(--sop-blue);background:var(--sop-blue-soft);border:1px solid var(--sop-blue-line);border-radius:9999px;padding:5px 14px;letter-spacing:.5px}
#selfGuide .sg-sh h3{margin:14px 0 0;font-size:27px;font-weight:900;letter-spacing:-.8px}
#selfGuide .sg-sh .desc{margin:8px 0 0;color:var(--sop-gray-500);font-size:14px}

/* 여정 타임라인 */
#selfGuide .sg-journey{margin-top:38px;position:relative}
#selfGuide .sg-journey:before{content:'';position:absolute;left:31px;top:14px;bottom:14px;width:2px;background:linear-gradient(var(--sop-blue-line),var(--sop-gray-200))}
#selfGuide .sg-jstep{position:relative;padding:0 0 38px 92px}
#selfGuide .sg-jstep:last-child{padding-bottom:6px}
#selfGuide .sg-jstep .dot{position:absolute;left:0;top:0;width:64px;height:64px;border-radius:20px;background:#fff;border:1px solid var(--sop-gray-200);display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:0 8px 20px rgba(17,24,39,.06)}
#selfGuide .sg-jstep .dot .n{font-size:11px;font-weight:800;color:var(--sop-blue);letter-spacing:.5px}
#selfGuide .sg-jstep .dot .ic{font-size:22px;line-height:1;margin-top:2px}
#selfGuide .sg-jstep.hl .dot{background:var(--sg-navy);border-color:var(--sg-navy)}
#selfGuide .sg-jstep.hl .dot .n{color:var(--sg-gold)}
#selfGuide .sg-jstep h4{margin:0;font-size:19px;font-weight:900;letter-spacing:-.4px;padding-top:6px}
#selfGuide .sg-jstep h4 small{font-size:12px;font-weight:700;color:var(--sop-blue);margin-left:8px;vertical-align:2px}
#selfGuide .sg-jstep p{margin:8px 0 0;font-size:14px;color:var(--sop-gray-500);max-width:640px}
#selfGuide .sg-jstep .tips{margin-top:12px;display:flex;flex-wrap:wrap;gap:8px}
#selfGuide .sg-jstep .tip{font-size:12px;font-weight:600;color:var(--sop-gray-700);background:var(--sop-gray-50);border:1px solid var(--sop-gray-200);border-radius:9999px;padding:6px 13px}
/* 강조 팁 — 관리자 팁 줄 맨 앞에 '!' (2026-10-01) */
#selfGuide .sg-jstep .tip.hl{flex-basis:100%;font-size:15px;font-weight:800;line-height:1.45;color:#7a3e00;background:#fff3d6;border:1.5px solid #f5a524;border-radius:12px;padding:10px 16px}
/* 단계 화면 이미지 (관리자 '화면 이미지', 2026-09-30) — 글 왼쪽, 그림 오른쪽 / 폰에서는 글 아래 */
#selfGuide .sg-jstep.has-img{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,440px);gap:32px;align-items:start;padding-bottom:52px}
#selfGuide .sg-jstep.has-img p{max-width:none}
#selfGuide .sg-jimg{display:block;border-radius:18px;overflow:hidden;border:1px solid var(--sop-gray-200);background:var(--sop-gray-50);box-shadow:0 10px 28px rgba(17,24,39,.08);line-height:0}
#selfGuide .sg-jimg img{display:block;width:100%;height:auto}

/* 준비물 체크 */
#selfGuide .sg-check{margin-top:34px;display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
#selfGuide .sg-check .ck{border:1px solid var(--sop-gray-200);border-radius:18px;padding:26px 24px;text-align:center}
#selfGuide .sg-check .ic{font-size:30px}
#selfGuide .sg-check h4{margin:12px 0 0;font-size:15px;font-weight:800}
#selfGuide .sg-check p{margin:6px 0 0;font-size:12.5px;color:var(--sop-gray-500)}

/* 미니 FAQ */
#selfGuide .sg-mfaq{margin-top:34px;display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
#selfGuide .sg-mfaq .qa{border:1px solid var(--sop-gray-200);border-radius:18px;padding:24px}
#selfGuide .sg-mfaq .q{font-size:14px;font-weight:800;color:var(--sg-navy)}
#selfGuide .sg-mfaq .q:before{content:'Q. '}
#selfGuide .sg-mfaq .a{margin-top:8px;font-size:13px;color:var(--sop-gray-500)}
#selfGuide .sg-mfaq-more{margin-top:16px;text-align:center}
#selfGuide .sg-mfaq-more a{font-size:13px;font-weight:700;color:var(--sop-gray-700);text-decoration:none !important;border:1px solid var(--sop-gray-200);border-radius:9999px;padding:10px 26px;display:inline-block}

/* CTA */
#selfGuide .sg-cta{margin:52px 0 76px;background:linear-gradient(120deg,#101a54,#0a1240);border-radius:24px;padding:42px;text-align:center;color:#fff}
#selfGuide .sg-cta h3{margin:0;font-size:23px;font-weight:900;letter-spacing:-.5px;color:#fff}
#selfGuide .sg-cta p{margin:8px 0 0;font-size:14px;color:#b9c2e8}
#selfGuide .sg-cta .btns{margin-top:22px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
#selfGuide .sg-cta a{text-decoration:none !important;font-weight:800;font-size:15px;border-radius:9999px;padding:13px 32px}
#selfGuide .sg-cta a.go{background:var(--sg-gold);color:#3a2c07}
#selfGuide .sg-cta a.tel{border:1.5px solid rgba(255,255,255,.5);color:#fff}

@media (max-width:760px){
  #selfGuide .sg-hero{padding-top:46px}
  #selfGuide .sg-h1{font-size:26px}
  #selfGuide .sg-stat .v{font-size:15px}
  #selfGuide .sg-sh h3{font-size:21px}
  #selfGuide .sg-journey:before{left:25px}
  #selfGuide .sg-jstep{padding-left:74px}
  #selfGuide .sg-jstep .dot{width:52px;height:52px;border-radius:16px}
  #selfGuide .sg-jstep .dot .ic{font-size:18px}
  #selfGuide .sg-check,#selfGuide .sg-mfaq{grid-template-columns:1fr}
}
@media (max-width:900px){
  #selfGuide .sg-jstep.has-img{grid-template-columns:1fr;gap:16px;padding-bottom:40px}
  #selfGuide .sg-jimg{max-width:480px}
}
