/*
 * Bosangtok Redesign — 라이트 테마 오버라이드
 * 기존 .sjt-* 클래스 위에 새 디자인 토큰/스타일 덮어씌우기
 * Version: 1.1.0  (특이도 강화)
 */

/* ── 폰트 로드 ── */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@700;900&family=Noto+Sans+KR:wght@400;500;600;700&display=swap');

/* ── CSS 토큰 재정의 (라이트 테마) — body 체인으로 특이도 상승 ── */
body .sjt-content {
    --sjt-violet:       #3b6ef0 !important;
    --sjt-violet-hover: #2d5ce0 !important;
    --sjt-blue:         #3b6ef0 !important;
    --sjt-teal:         #0d9488 !important;
    --sjt-teal-hover:   #0f766e !important;
    --sjt-bg:           #f8faff !important;
    --sjt-text:         #0b1528 !important;
    --sjt-muted:        #445270 !important;
    --sjt-white:        #ffffff !important;
    --sjt-shadow-sm:    0 1px 4px rgba(0,0,0,.05), 0 2px 8px rgba(0,0,0,.04) !important;
    --sjt-shadow-md:    0 4px 16px rgba(0,0,0,.08) !important;
    --sjt-shadow-lg:    0 8px 32px rgba(0,0,0,.1), 0 0 0 1px rgba(59,110,240,.12) !important;
    --sjt-transition:   all 0.25s cubic-bezier(.22,.68,0,1.2) !important;

    background: #ffffff !important;
    font-family: 'Noto Sans KR', 'Pretendard', system-ui, sans-serif !important;
}

/* ── 사이트 전체 body 배경 ── */
body {
    background: #ffffff !important;
}
body .site-content,
body .content-area,
body #content {
    background: #ffffff !important;
}

/* ── HERO 섹션 — body + html 체인으로 최고 특이도 ── */
body .sjt-hero,
html body .sjt-hero {
    background: linear-gradient(160deg, #eef4ff 0%, #f5f8ff 50%, #edfafa 100%) !important;
    border-radius: 28px !important;
    margin: 24px 0 !important;
    padding: 80px 0 !important;
    position: relative !important;
    overflow: hidden !important;
    border: 1.5px solid rgba(59,110,240,.18) !important;
    box-shadow: 0 4px 24px rgba(59,110,240,.08) !important;
}

/* Hero 배경 그라디언트 오브 */
body .sjt-hero::before,
html body .sjt-hero::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
    background:
        radial-gradient(ellipse 700px 500px at -10% 30%, rgba(59,110,240,.12) 0%, transparent 60%),
        radial-gradient(ellipse 500px 400px at 110% 70%, rgba(13,148,136,.09) 0%, transparent 55%) !important;
}

body .sjt-hero h1,
html body .sjt-hero h1 {
    color: #0b1528 !important;
    font-family: 'Noto Serif KR', Georgia, 'Times New Roman', serif !important;
    font-size: clamp(2rem, 4.5vw, 3.2rem) !important;
    font-weight: 900 !important;
    letter-spacing: -0.03em !important;
    line-height: 1.2 !important;
    margin-bottom: 20px !important;
}

/* 보상톡 그라디언트 텍스트 */
body .sjt-violet,
html body .sjt-violet {
    background: linear-gradient(125deg, #2563eb, #5b8ff9) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    display: inline !important;
}

/* ── Hero 설명 텍스트 ── */
body .sjt-hero p {
    color: #445270 !important;
    font-size: 1.05rem !important;
    line-height: 1.7 !important;
    max-width: 560px !important;
    margin: 0 auto 32px !important;
}

/* ── 버튼 스타일 ── */
body .sjt-btn {
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: 0.98rem !important;
    padding: 13px 28px !important;
    transition: var(--sjt-transition) !important;
    letter-spacing: -0.01em !important;
}

body .sjt-btn-primary,
body .sjt-btn-ai {
    background: linear-gradient(135deg, #3b6ef0, #6290ff) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 6px 20px rgba(59,110,240,.3) !important;
}
body .sjt-btn-primary:hover,
body .sjt-btn-ai:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 28px rgba(59,110,240,.4) !important;
    color: #ffffff !important;
}

body .sjt-btn-outline {
    background: transparent !important;
    border: 1.5px solid rgba(59,110,240,.35) !important;
    color: #3b6ef0 !important;
}
body .sjt-btn-outline:hover {
    background: rgba(59,110,240,.06) !important;
    border-color: #3b6ef0 !important;
    color: #3b6ef0 !important;
    transform: translateY(-1px) !important;
}

/* ── 전문가 카드 그리드 ── */
body .sjt-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
    margin: 40px 0 !important;
}
@media (max-width: 900px) {
    body .sjt-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 560px) {
    body .sjt-grid { grid-template-columns: 1fr !important; }
}

body .sjt-card {
    background: #ffffff !important;
    border: 1.5px solid rgba(59,110,240,.15) !important;
    border-radius: 18px !important;
    padding: 30px 26px !important;
    box-shadow: 0 1px 4px rgba(0,0,0,.05), 0 4px 14px rgba(0,0,0,.05) !important;
    transition: all 0.28s cubic-bezier(.22,.68,0,1.2) !important;
    text-decoration: none !important;
    color: inherit !important;
    display: flex !important;
    flex-direction: column !important;
}
body .sjt-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 12px 36px rgba(0,0,0,.1), 0 0 0 1px rgba(59,110,240,.22) !important;
    border-color: rgba(59,110,240,.35) !important;
}

body .sjt-card-icon {
    width: 52px !important;
    height: 52px !important;
    background: rgba(59,110,240,.07) !important;
    border-radius: 13px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 20px !important;
    color: #3b6ef0 !important;
}

body .sjt-card h3 {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #0b1528 !important;
    margin-bottom: 8px !important;
    letter-spacing: -0.02em !important;
}

/* ── 전문가 섹션 헤더 ── */
body .sjt-inline-53e658 h2,
body .sjt-inline-cf8f56 {
    color: #0b1528 !important;
    font-size: clamp(1.5rem, 3vw, 2rem) !important;
    font-weight: 700 !important;
    letter-spacing: -0.025em !important;
}

/* ── 병원 섹션 ── */
body .sjt-hospital-section-wrapper {
    background: #f8faff !important;
    border: 1px solid rgba(59,110,240,.1) !important;
    border-radius: 22px !important;
    padding: 36px !important;
    margin-top: 8px !important;
}

body .sjt-wide-card-header {
    display: flex !important;
    align-items: flex-start !important;
    gap: 20px !important;
    margin-bottom: 24px !important;
}

body .sjt-wide-card-icon {
    width: 52px !important;
    height: 52px !important;
    background: rgba(13,148,136,.1) !important;
    border-radius: 13px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    color: #0d9488 !important;
}

body .sjt-wide-card-info h3 {
    color: #0b1528 !important;
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    margin-bottom: 8px !important;
}
body .sjt-wide-card-info p {
    color: #445270 !important;
    font-size: 0.95rem !important;
}

/* ── 커뮤니티 섹션 ── */
body .sjt-community {
    background: #f8faff !important;
    border-radius: 28px !important;
    border: 1px solid rgba(59,110,240,.08) !important;
    margin: 48px 0 !important;
    padding: 72px 24px !important;
}

body .sjt-teal {
    background: linear-gradient(125deg, #0d9488, #34c4b8) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
}

body .sjt-story-card {
    background: #ffffff !important;
    border: 1px solid rgba(59,110,240,.1) !important;
    border-radius: 22px !important;
    padding: 36px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.06) !important;
}

/* story badge */
body .sjt-inline-3a7753 {
    background: rgba(13,148,136,.09) !important;
    color: #0d9488 !important;
    padding: 4px 12px !important;
    border-radius: 20px !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
}

/* ── AI 배너 (dark navy 유지) ── */
body .sjt-inline-c01532 {
    background: linear-gradient(135deg, #1a2a5e 0%, #0f1e4a 50%, #162040 100%) !important;
    border-radius: 22px !important;
    padding: 36px 40px !important;
    box-shadow: 0 8px 32px rgba(0,0,0,.18) !important;
}

body .sjt-inline-09c944 {
    color: #e8edf7 !important;
    font-size: 1.6rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.025em !important;
}

body .sjt-inline-1ece33 {
    color: #8a9bbc !important;
    font-size: 0.95rem !important;
}

body .sjt-inline-29668f {
    background: rgba(79,124,255,.2) !important;
    color: #a0b8ff !important;
    border: 1px solid rgba(79,124,255,.3) !important;
    border-radius: 50px !important;
    padding: 4px 12px !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
}

body .sjt-inline-d0b63c {
    background: linear-gradient(135deg, #d98a0a, #f4c06a) !important;
    color: #0a0d18 !important;
    border-radius: 50px !important;
    padding: 13px 28px !important;
    font-weight: 700 !important;
    box-shadow: 0 6px 20px rgba(217,138,10,.3) !important;
    transition: all 0.25s !important;
}
body .sjt-inline-d0b63c:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 28px rgba(217,138,10,.4) !important;
}

/* ── GeneratePress 헤더/nav 오버라이드 ── */
body .site-header {
    background: #ffffff !important;
    border-bottom: 1px solid rgba(59,110,240,.1) !important;
    box-shadow: 0 1px 12px rgba(0,0,0,.06) !important;
}

body .main-navigation a,
body .nav-primary a {
    color: #445270 !important;
    font-weight: 500 !important;
}
body .main-navigation a:hover,
body .nav-primary a:hover {
    color: #3b6ef0 !important;
}

/* ── 마이페이지 링크 섹션 ── */
body .bsads-mypage-section {
    background: #ffffff !important;
}
body .bsads-mp-balance {
    background: linear-gradient(135deg, #1e40af, #3b6ef0) !important;
}

/* ── 모바일 반응형 ── */
@media (max-width: 768px) {
    body .sjt-hero {
        padding: 52px 0 !important;
        border-radius: 20px !important;
    }
    body .sjt-hero h1 {
        font-size: 1.8rem !important;
    }
    body .sjt-community {
        padding: 52px 16px !important;
        border-radius: 20px !important;
    }
    body .sjt-flex-row {
        flex-direction: column !important;
        gap: 32px !important;
    }
}

/* ═══════════════════════════════════════════
   v2.0 — 2컬럼 히어로 + 통계 카드
   ═══════════════════════════════════════════ */

/* ── Hero v2 오버라이드: 패딩/정렬 ── */
body .sjt-hero.sjt-hero-v2,
html body .sjt-hero.sjt-hero-v2 {
    padding: 64px 0 !important;
}

/* ── 2컬럼 레이아웃 ── */
body .sjt-hero-cols {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 48px !important;
    align-items: center !important;
}

body .sjt-hero-left {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
}

/* hero h1은 왼쪽 정렬 (v2에서) */
body .sjt-hero.sjt-hero-v2 h1 {
    text-align: left !important;
    margin-bottom: 20px !important;
}

/* hero p는 왼쪽 정렬 (v2에서) */
body .sjt-hero.sjt-hero-v2 p {
    text-align: left !important;
    margin: 0 0 28px !important;
    max-width: none !important;
}

/* ── 플랫폼 뱃지 ── */
body .sjt-platform-badge {
    display: inline-block !important;
    background: rgba(59,110,240,.09) !important;
    color: #3b6ef0 !important;
    border: 1px solid rgba(59,110,240,.22) !important;
    border-radius: 50px !important;
    padding: 5px 14px !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em !important;
    margin-bottom: 20px !important;
}

/* ── 앰버(황금) 그라디언트 텍스트 ── */
body .sjt-amber {
    background: linear-gradient(125deg, #d97706, #f59e0b) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    display: inline !important;
}

/* ── 히어로 버튼 그룹 ── */
body .sjt-hero-btns {
    display: flex !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
    align-items: center !important;
}

/* ── Ghost 버튼 ── */
body .sjt-btn-ghost {
    background: transparent !important;
    border: 1.5px solid rgba(11,21,40,.18) !important;
    color: #0b1528 !important;
    text-decoration: none !important;
}
body .sjt-btn-ghost:hover {
    background: rgba(11,21,40,.05) !important;
    border-color: rgba(11,21,40,.3) !important;
    color: #0b1528 !important;
    transform: translateY(-1px) !important;
}

/* ── 통계 카드 (오른쪽 컬럼) ── */
body .sjt-hero-right {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
}

body .sjt-stat-main {
    background: #ffffff !important;
    border: 1.5px solid rgba(59,110,240,.15) !important;
    border-radius: 22px !important;
    padding: 36px 32px !important;
    box-shadow: 0 4px 20px rgba(59,110,240,.08), 0 1px 4px rgba(0,0,0,.04) !important;
    text-align: center !important;
}

body .sjt-stat-update {
    display: inline-block !important;
    background: rgba(59,110,240,.08) !important;
    color: #3b6ef0 !important;
    border-radius: 20px !important;
    padding: 3px 11px !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    margin-bottom: 12px !important;
}

body .sjt-stat-big {
    font-size: clamp(3rem, 6vw, 4.5rem) !important;
    font-weight: 900 !important;
    font-family: 'Noto Serif KR', Georgia, serif !important;
    color: #3b6ef0 !important;
    line-height: 1 !important;
}

body .sjt-stat-pct {
    font-size: 0.5em !important;
    font-weight: 700 !important;
    color: #3b6ef0 !important;
    vertical-align: super !important;
}

body .sjt-stat-sub {
    color: #445270 !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    margin-top: 6px !important;
}

/* ── 통계 미니 카드 행 ── */
body .sjt-stat-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
}

body .sjt-stat-mini {
    background: #ffffff !important;
    border: 1.5px solid rgba(59,110,240,.12) !important;
    border-radius: 16px !important;
    padding: 20px 16px !important;
    text-align: center !important;
    box-shadow: 0 2px 8px rgba(0,0,0,.04) !important;
}

body .sjt-stat-mini-num {
    font-size: 1.6rem !important;
    font-weight: 800 !important;
    color: #0b1528 !important;
    line-height: 1.1 !important;
}

body .sjt-stat-plus {
    color: #3b6ef0 !important;
    font-size: 0.8em !important;
    font-weight: 700 !important;
}

body .sjt-stat-mini-label {
    color: #445270 !important;
    font-size: 0.78rem !important;
    font-weight: 500 !important;
    margin-top: 4px !important;
}

/* ── 섹션 레이블 ── */
body .sjt-section-label {
    display: inline-block !important;
    background: rgba(59,110,240,.07) !important;
    color: #3b6ef0 !important;
    border-radius: 20px !important;
    padding: 4px 13px !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    margin-bottom: 14px !important;
    letter-spacing: 0.02em !important;
}

/* ── 카드 하단 링크 텍스트 ── */
body .sjt-card-link {
    display: inline-block !important;
    color: #3b6ef0 !important;
    font-weight: 600 !important;
    font-size: 0.88rem !important;
    margin-top: auto !important;
    padding-top: 16px !important;
    text-decoration: none !important;
    letter-spacing: -0.01em !important;
}

/* ── v2 히어로 모바일 반응형 ── */
@media (max-width: 860px) {
    body .sjt-hero-cols {
        grid-template-columns: 1fr !important;
        gap: 36px !important;
    }
    body .sjt-hero-right {
        order: -1 !important;
    }
    body .sjt-hero.sjt-hero-v2 h1 {
        text-align: center !important;
    }
    body .sjt-hero.sjt-hero-v2 p {
        text-align: center !important;
    }
    body .sjt-hero-left {
        align-items: center !important;
    }
    body .sjt-hero-btns {
        justify-content: center !important;
    }
    body .sjt-platform-badge {
        text-align: center !important;
    }
}
@media (max-width: 480px) {
    body .sjt-hero-btns {
        flex-direction: column !important;
        width: 100% !important;
    }
    body .sjt-hero-btns .sjt-btn {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
    }
}
