/* --- Clean Light (밝고 깔끔한 아티클 스타일) --- */

/* 글 제목 (블록 테마 타이틀) */
h1.wp-block-post-title {
    font-family: 'Pretendard', 'Noto Sans KR', 'Apple SD Gothic Neo', sans-serif;
    font-size: 2.2em !important;
    font-weight: 800;
    color: #1e293b;
    letter-spacing: -0.02em;
    line-height: 1.35;
    word-break: keep-all;
}

.premium-content-wrapper {
    font-family: 'Pretendard', 'Noto Sans KR', 'Apple SD Gothic Neo', sans-serif;
    background: #ffffff;
    color: #334155;
    line-height: 1.85;
    word-break: keep-all;
    padding: 48px 44px;
    border-radius: 16px;
    margin: 8px 0 40px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 40px rgba(100, 116, 139, 0.10);
}

.premium-title {
    font-size: 2.4em;
    font-weight: 800;
    color: #1e293b;
    text-align: center;
    letter-spacing: -0.02em;
    margin-bottom: 40px;
}

/* 첫 문단 = 리드 문단 강조 */
.premium-content-wrapper > p:first-of-type {
    font-size: 1.13em;
    color: #1e293b;
    background: #f0f6ff;
    border-left: 4px solid #2563eb;
    padding: 22px 26px;
    border-radius: 0 12px 12px 0;
    margin-bottom: 36px;
}

.premium-content-wrapper h2 {
    font-size: 1.55em;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.01em;
    margin: 56px 0 22px;
    padding-left: 16px;
    border-left: 5px solid #2563eb;
    line-height: 1.4;
}

.premium-content-wrapper h2:first-child {
    margin-top: 0;
}

.premium-content-wrapper h3 {
    font-size: 1.25em;
    font-weight: 700;
    color: #334155;
    margin: 40px 0 16px;
}

.premium-content-wrapper p {
    font-size: 1.05em;
    margin: 0 0 22px;
}

.premium-content-wrapper strong {
    color: #1d4ed8;
    font-weight: 700;
}

/* Q&A 블록 (강조 질문으로 시작하는 문단) */
.premium-content-wrapper p:has(> strong:first-child) {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px 24px;
}

.premium-content-wrapper a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(37, 99, 235, 0.35);
    transition: all 0.15s ease;
}

.premium-content-wrapper a:hover {
    color: #1d4ed8;
    background: #eff6ff;
    border-bottom-color: #1d4ed8;
}

.premium-content-wrapper ul,
.premium-content-wrapper ol {
    margin: 0 0 24px;
    padding-left: 8px;
    list-style: none;
}

.premium-content-wrapper ul li,
.premium-content-wrapper ol li {
    position: relative;
    padding: 10px 16px 10px 34px;
    margin-bottom: 8px;
    background: #f8fafc;
    border-radius: 10px;
    font-size: 1.02em;
}

.premium-content-wrapper ul li::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 1.05em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2563eb;
}

.premium-content-wrapper ol {
    counter-reset: rp-ol;
}

.premium-content-wrapper ol li {
    counter-increment: rp-ol;
    padding-left: 44px;
}

.premium-content-wrapper ol li::before {
    content: counter(rp-ol);
    position: absolute;
    left: 12px;
    top: 0.72em;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #2563eb;
    color: #fff;
    font-size: 0.8em;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.premium-content-wrapper figure {
    margin: 36px 0;
    text-align: center;
}

.premium-content-wrapper figure img,
.premium-content-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(100, 116, 139, 0.18);
}

.premium-content-wrapper figcaption {
    font-size: 0.9em;
    color: #94a3b8;
    margin-top: 12px;
}

.premium-content-wrapper blockquote {
    background: #f0f6ff;
    border-left: 4px solid #2563eb;
    border-radius: 0 12px 12px 0;
    padding: 22px 26px;
    margin: 32px 0;
    color: #1e293b;
    font-style: normal;
}

.premium-content-wrapper blockquote p:last-child {
    margin-bottom: 0;
}

.premium-content-wrapper table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 32px 0;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    font-size: 0.98em;
}

.premium-content-wrapper table th {
    background: #f1f5f9;
    color: #1e293b;
    font-weight: 700;
    padding: 13px 16px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.premium-content-wrapper table td {
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
}

.premium-content-wrapper table tr:last-child td {
    border-bottom: none;
}

.premium-content-wrapper hr {
    border: none;
    border-top: 1px solid #e2e8f0;
    margin: 44px 0;
}

/* 목차 (Easy TOC) 밝은 카드형 */
.premium-content-wrapper #ez-toc-container,
#ez-toc-container {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    padding: 20px 24px !important;
    margin-bottom: 36px;
}

#ez-toc-container .ez-toc-title {
    color: #1e293b !important;
    font-weight: 700 !important;
}

#ez-toc-container a {
    color: #475569 !important;
    border-bottom: none;
}

#ez-toc-container a:hover {
    color: #2563eb !important;
    background: none;
}

/* 모바일 */
@media (max-width: 768px) {
    .premium-content-wrapper {
        padding: 28px 20px;
        border-radius: 12px;
    }

    h1.wp-block-post-title {
        font-size: 1.65em !important;
    }

    .premium-title {
        font-size: 1.7em;
    }

    .premium-content-wrapper h2 {
        font-size: 1.32em;
        margin: 44px 0 18px;
    }

    .premium-content-wrapper h3 {
        font-size: 1.15em;
    }

    .premium-content-wrapper p {
        font-size: 1em;
    }

    .premium-content-wrapper > p:first-of-type {
        padding: 16px 18px;
    }
}
