/* =====================================================
   에잇퍼센트 블로그 공통 CSS
   Code Snippets 플러그인에 붙여넣기용
   2026년 3월 기준
   ===================================================== */

/* ========== Elementor 리셋 ========== */
.elementor-widget-html {
    margin: 0 !important;
    padding: 0 !important;
}

/* ========== 전체 래퍼 ========== */
.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: 'Helvetica', sans-serif;
    line-height: 1.7;
    color: #333;
}

/* ========== 헤더 ========== */
.content-wrapper .article-category {
    display: inline-block;
    background: linear-gradient(135deg, #5a0ad2, #8081ff);
    color: white;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
}

.content-wrapper .article-title {
    color: #333;
    font-size: 36px;
    font-weight: 700;
    margin: 20px 0 30px 0;
    text-align: center;
    line-height: 1.3;
}

.content-wrapper .author-info {
    text-align: right;
    margin: 20px 0 40px 0;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    color: #666;
}

.content-wrapper .author-name {
    font-weight: 600;
    color: #5a0ad2;
}

/* ========== 본문 제목 ========== */
.content-wrapper h1 {
    color: #333;
    font-size: 36px;
    font-weight: 700;
    margin: 20px 0 30px 0;
    text-align: center;
    line-height: 1.3;
}

.content-wrapper h2 {
    color: #333;
    font-size: 30px;
    font-weight: 700;
    margin: 50px 0 25px 0;
    position: relative;
    padding-left: 20px;
    line-height: 1.3;
}

.content-wrapper h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: #5a0ad2;
    border-radius: 2px;
}

.content-wrapper h3 {
    color: #333;
    font-size: 18px;
    font-weight: 450;
    margin: 40px 0 20px 0;
    line-height: 1.4;
}

.content-wrapper h4 {
    color: #333;
    font-size: 16px;
    font-weight: 600;
    margin: 30px 0 15px 0;
    line-height: 1.4;
}

.content-wrapper .section-title {
    text-align: left;
    color: #333;
    font-size: 30px;
    font-weight: 700;
    margin: 50px 0 25px 0;
    position: relative;
    padding-left: 20px;
    line-height: 1.3;
}

.content-wrapper .section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: #5a0ad2;
    border-radius: 2px;
}
/* ========== 본문 텍스트 ========== */
.content-wrapper p {
    margin: 20px 0;
    font-size: 16px;
    line-height: 1.8;
}

.content-wrapper ul {
    margin: 20px 0;
    padding-left: 20px;
}

.content-wrapper li {
    margin: 8px 0;
    line-height: 1.6;
}

.content-wrapper .subtitle {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
    font-style: italic;
}

.content-wrapper .small-text {
    font-size: 14px;
    color: #666;
    font-style: italic;
}

.content-wrapper .emphasis {
    background: linear-gradient(120deg, #91ffb4 0%, #91ffb4 100%);
    background-size: 100% 40%;
    background-repeat: no-repeat;
    background-position: 0 75%;
    color: #333;
    font-weight: 600;
    padding: 2px 4px;
}

.content-wrapper .quote {
    font-size: 20px;
    color: #5a0ad2;
    margin: 10px 0;
    font-weight: 400;
    font-style: italic;
    position: relative;
    line-height: 1.3;
}

.content-wrapper .quote::before,
.content-wrapper .quote::after {
    content: '"';
    font-size: 30px;
    color: #91ffb4;
    font-weight: 700;
}

.content-wrapper .term {
    border-bottom: 1px dashed #5a0ad2;
    color: #5a0ad2;
}

.content-wrapper .body-text {
    margin: 20px 0;
    font-size: 16px;
    line-height: 1.8;
}

.content-wrapper .internal-link {
    color: #5a0ad2;
    text-decoration: underline;
    font-weight: 600;
}

/* ========== 핵심 요약 박스 ========== */
.content-wrapper .summary-box {
    background: #f6f7ff;
    border: 1px solid #e2e6ff;
    border-radius: 14px;
    padding: 18px 18px 16px;
    margin: 18px 0 26px;
}

.content-wrapper .summary-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.content-wrapper .summary-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #e2e6ff;
    border-radius: 999px;
    padding: 6px 10px;
    font-weight: 700;
    font-size: 14px;
    color: #5a0ad2;
    line-height: 1;
}

.content-wrapper .summary-badge .dot {
    width: 18px;
    height: 18px;
    border-radius: 6px;
    background: linear-gradient(135deg, #5a0ad2 0%, #8081ff 55%, #91ffb4 100%);
    display: inline-block;
}

.content-wrapper .summary-box ul {
    margin: 0;
    padding-left: 18px;
}

.content-wrapper .summary-box li {
    margin: 8px 0;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}

/* ========== 독자 질문 리스트 ========== */
.content-wrapper .question-list {
    background: #f8f9ff;
    padding: 20px;
    border-radius: 2px;
    border-left: 4px solid #5a0ad2;
    margin: 25px 0;
}

.content-wrapper .question-list p {
    margin: 15px 0;
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

/* ========== 미션/핵심 포인트 박스 ========== */
.content-wrapper .mission-box {
    background: linear-gradient(135deg, #8081ff 30%, #8cc0ff 100%);
    color: white;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    margin: 15px 0;
    box-shadow: 0 8px 32px rgba(90, 10, 210, 0.3);
}

/* ========== 생각/분석 박스 ========== */
.content-wrapper .thinking-box {
    background: #f7f8fa;
    padding: 25px;
    border-radius: 12px;
    margin: 20px 0;
    border: 1px solid #e1e5e9;
}

.content-wrapper .thinking-box h4 {
    margin: 0 0 16px 0;
    color: #4a5568;
    font-size: 16px;
    font-weight: 600;
}

.content-wrapper .thinking-box p {
    margin: 0;
    font-size: 15px;
    color: #6b7280;
    line-height: 1.6;
}

/* ========== 이미지 컨테이너 ========== */
.content-wrapper .image-container {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin: 10px 0;
    border: 1px solid #e9ecef; 
	overflow: hidden;
}

.content-wrapper .image-container img {
    width: 100%;
    border-radius: 8px;
    margin: 0;
}

.content-wrapper .image-container figcaption {
    font-size: 13px;
    color: #666;
    text-align: center;
    margin-top: 15px;
    line-height: 1.5;
    padding: 0 10px;
}

/* ========== 브랜드 요약 박스 ========== */
.content-wrapper .brand-summary {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f0ff 100%);
    padding: 30px;
    border-radius: 16px;
    margin: 30px 0;
    border: 1px solid #d1d9ff;
}

.content-wrapper .brand-summary p {
    margin: 10px 0;
    font-size: 15px;
    line-height: 1.6;
}

.content-wrapper .brand-summary strong {
    color: #5a0ad2;
}

/* ========== 수치 하이라이트 박스 ========== */
.content-wrapper .metric-highlight {
    background: linear-gradient(135deg, #f56673 0%, #8081ff 100%);
    color: white;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    margin: 30px 0;
    box-shadow: 0 8px 32px rgba(90, 10, 210, 0.3);
}

.content-wrapper .metric-highlight .big-number {
    font-size: 48px;
    font-weight: 700;
    margin: 10px 0;
    line-height: 1.2;
}

.content-wrapper .metric-highlight .metric-label {
    font-size: 18px;
    opacity: 0.95;
    margin-top: 10px;
}

.content-wrapper .metric-highlight .metric-sub {
    font-size: 14px;
    opacity: 0.85;
    margin-top: 8px;
}

/* ========== 비교 박스 ========== */
.content-wrapper .comparison-box {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    margin: 20px 0;
    border: 1px solid #e9ecef;
}

.content-wrapper .comparison-box h4 {
    margin-top: 0;
    color: #5a0ad2;
}

/* ========== 주의 박스 ========== */
.content-wrapper .caution-box {
    background: #fff8f8;
    border: 1px solid #ffd0d0;
    border-left: 4px solid #f56673;
    border-radius: 12px;
    padding: 25px 30px;
    margin: 30px 0;
}

.content-wrapper .caution-title {
    font-weight: 700;
    color: #e53e3e;
    margin: 0 0 12px 0;
    font-size: 16px;
}

.content-wrapper .caution-list {
    margin: 0;
    padding-left: 20px;
}

.content-wrapper .caution-list li {
    font-size: 15px;
    color: #555;
    margin: 8px 0;
    line-height: 1.6;
}

/* ========== 비교 테이블 ========== */
.content-wrapper .info-table {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    margin: 30px 0;
    border: 1px solid #e9ecef;
}

.content-wrapper .info-table table {
    width: 100%;
    border-collapse: collapse;
}

.content-wrapper .info-table th {
    background: #5a0ad2;
    color: white;
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 15px;
}

.content-wrapper .info-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
    line-height: 1.6;
}

.content-wrapper .info-table tr:last-child td {
    border-bottom: none;
}

.content-wrapper .info-table .table-label {
    font-weight: 600;
    color: #333;
    width: 120px;
}

/* ========== 링크 박스 ========== */
.content-wrapper .link-box-subtle {
    display: inline-block;
    background: #f8f9ff;
    padding: 18px 28px;
    border-radius: 10px;
    margin: 25px 0;
    text-decoration: none;
    color: #5a0ad2;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    border: 2px solid #d1d9ff;
}

.content-wrapper .link-box-subtle:hover {
    transform: translateX(5px);
    background: #e8f0ff;
    border-color: #5a0ad2;
}

.content-wrapper .link-box-subtle::before {
    content: '?';
    margin-right: 8px;
}

.content-wrapper .link-box-subtle::after {
    content: '→';
    margin-left: 10px;
    font-size: 18px;
    transition: margin-left 0.3s ease;
}

.content-wrapper .link-box-subtle:hover::after {
    margin-left: 15px;
}

/* ========== FAQ 섹션 ========== */
.content-wrapper .faq-section {
    margin: 50px 0;
}

.content-wrapper .faq-section h2 {
    margin-bottom: 30px;
}

.content-wrapper .faq-item {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.content-wrapper .faq-item:hover {
    border-color: #d1d9ff;
    box-shadow: 0 4px 12px rgba(90, 10, 210, 0.08);
}

.content-wrapper .faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    background: #fafbff;
    transition: all 0.3s ease;
}

.content-wrapper .faq-question:hover {
    background: #f0f4ff;
}

.content-wrapper .faq-question::before {
    content: 'Q.';
    color: #5a0ad2;
    font-weight: 700;
    margin-right: 12px;
    font-size: 18px;
}

.content-wrapper .faq-question-text {
    flex: 1;
}

.content-wrapper .faq-toggle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #5a0ad2;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 300;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.content-wrapper .faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.content-wrapper .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.content-wrapper .faq-item.active .faq-answer {
    max-height: 500px;
}

.content-wrapper .faq-answer-content {
    padding: 0 24px 20px 24px;
    font-size: 15px;
    line-height: 1.8;
    color: #555;
}

.content-wrapper .faq-answer-content::before {
    content: 'A.';
    color: #91ffb4;
    font-weight: 700;
    margin-right: 8px;
    background: #5a0ad2;
    padding: 2px 8px;
    border-radius: 4px;
}

/* ========== CTA 버튼 ========== */
.content-wrapper .cta-button {
    display: inline-block;
    background: white;
    color: #5a0ad2;
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.content-wrapper .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
    background: #91ffb4;
}

.content-wrapper .cta-button::after {
    content: ' →';
    transition: margin-left 0.3s ease;
}

.content-wrapper .cta-button:hover::after {
    margin-left: 5px;
}

/* ========== Final Section (CTA 섹션) ========== */
.content-wrapper .final-section-improved {
    background: linear-gradient(135deg, #5a0ad2 0%, #7b2cbf 100%);
    color: white;
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    margin-top: 50px;
    position: relative;
    overflow: hidden;
}

.content-wrapper .final-section-improved::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.content-wrapper .final-section-improved::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.content-wrapper .final-content {
    position: relative;
    z-index: 1;
}

.content-wrapper .final-pretitle {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 15px;
    letter-spacing: 2px;
    font-weight: 500;
}

.content-wrapper .final-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
}

.content-wrapper .final-subtitle {
    font-size: 18px;
    opacity: 0.95;
    margin-bottom: 35px;
    line-height: 1.6;
}

/* ========== 면책 문구 ========== */
.content-wrapper .disclaimer {
    margin-top: 40px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 13px;
    color: #888;
    line-height: 1.7;
}

/* ========== 구분선 ========== */
.content-wrapper .divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #ddd, transparent);
    margin: 60px 0;
}

/* ========== 인터랙티브 체크리스트 위젯 ========== */
#cn-widget-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    min-height: 600px;
}

.cn-card {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1 / 1;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    color: #111827;
}

.cn-bg-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #5a0ad2 0%, #8081ff 40%, #8cc0ff 70%, #91ffb4 100%);
    z-index: 0;
}

.cn-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.4;
    z-index: 1;
}

.cn-blob-1 { top: -20%; left: -20%; width: 60%; height: 60%; background: #8081ff; }
.cn-blob-2 { bottom: -10%; right: -10%; width: 50%; height: 50%; background: #91ffb4; }

.cn-content {
    position: absolute;
    inset: 20px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    border-radius: 16px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    padding: 24px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.cn-header { text-align: center; margin-bottom: 20px; }

.cn-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 9999px;
    background-color: rgba(90, 10, 210, 0.1);
    color: #5a0ad2;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 6px;
}

.cn-title {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 4px 0;
    line-height: 1.2;
    color: #111827;
}

.cn-subtitle {
    font-size: 18px;
    font-weight: 700;
    color: #5a0ad2;
    margin: 0;
}

.cn-checklist {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    margin-bottom: 10px;
}

.cn-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    padding: 4px;
    border-radius: 8px;
    transition: background-color 0.2s;
}

.cn-item:hover { background-color: #f3f4f6; }

.cn-checkbox {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    border: 2px solid #d1d5db;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    margin-top: 2px;
}

.cn-item.checked .cn-checkbox {
    background-color: #5a0ad2;
    border-color: #5a0ad2;
}

.cn-check-icon {
    width: 16px;
    height: 16px;
    color: white;
    display: none;
}

.cn-item.checked .cn-check-icon { display: block; }

.cn-text {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    color: #4b5563;
    transition: color 0.2s;
    letter-spacing: -0.02em;
}

.cn-item.checked .cn-text { color: #111827; font-weight: 600; }

.cn-footer {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cn-result-row {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.5;
    transition: all 0.3s;
}

.cn-result-row.active {
    opacity: 1;
    transform: scale(1.02);
}

.cn-result-icon {
    padding: 4px;
    border-radius: 50%;
    background-color: #e5e7eb;
    color: #9ca3af;
    display: flex;
}

.cn-result-row.active .cn-result-icon {
    background-color: #5a0ad2;
    color: white;
}

.cn-result-text {
    font-size: 13px;
    color: #1f2937;
    line-height: 1.3;
}

.cn-result-highlight { font-weight: bold; }
.cn-result-row.active .cn-result-highlight { color: #5a0ad2; }

/* ========== 모바일 반응형 ========== */
@media (max-width: 767px) {
    .content-wrapper {
        padding: 20px 16px;
    }

    .content-wrapper .article-title,
    .content-wrapper h1 {
        font-size: 24px;
    }

    .content-wrapper h2 {
        font-size: 22px;
    }

    .content-wrapper .summary-box {
        padding: 16px 14px 14px;
    }

    .content-wrapper .summary-box li {
        font-size: 14px;
    }

    .content-wrapper .summary-badge {
        font-size: 13px;
    }

    .content-wrapper .faq-question {
        padding: 16px 18px;
        font-size: 15px;
    }

    .content-wrapper .faq-answer-content {
        padding: 0 18px 16px 18px;
        font-size: 14px;
    }

    .content-wrapper .final-section-improved {
        padding: 40px 24px;
    }

    .content-wrapper .final-title {
        font-size: 22px;
    }

    .content-wrapper .metric-highlight {
        padding: 30px 20px;
    }

    .content-wrapper .metric-highlight .big-number {
        font-size: 36px;
    }
}
/* ========== 체크 아이템 ========== */
.content-wrapper .check-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
}

.content-wrapper .check-item:last-child {
    border-bottom: none;
}

.content-wrapper .check-dot {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    background: #5a0ad2;
    border-radius: 50%;
    margin-top: 8px;
}

.content-wrapper .check-label {
    font-weight: 700;
    color: #333;
    font-size: 15px;
}

.content-wrapper .check-desc {
    font-size: 14px;
    color: #666;
    margin-top: 3px;
    line-height: 1.5;
}

/* ========== 스텝 박스 ========== */
.content-wrapper .step-box {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: #f8f9ff;
    border-radius: 12px;
    padding: 20px 24px;
    margin: 12px 0;
    border: 1px solid #e2e6ff;
}

.content-wrapper .step-number {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #5a0ad2, #8081ff);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    margin-top: 2px;
}

.content-wrapper .step-content h4 {
    margin: 0 0 6px 0;
    color: #333;
    font-size: 16px;
    font-weight: 700;
}

.content-wrapper .step-content p {
    margin: 0;
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

@media (max-width: 480px) {
    .cn-content { inset: 16px; padding: 20px; }
    .cn-title { font-size: 20px; }
    .cn-subtitle { font-size: 16px; }
    .cn-text { font-size: 13px; }
    .cn-result-text { font-size: 11px; }
}
