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

body {
    background: #ffffff;
    font-family: "Pretendard Variable", -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Malgun Gothic', sans-serif;
}

.blog-container {
    font-family: "Pretendard Variable", -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Malgun Gothic', sans-serif;
    max-width: 680px;
    margin: 0 auto;
    padding: 80px 20px 120px;
}

/* 블로그 헤더 */
.blog-header {
    margin-bottom: 60px;
}

.blog-category {
    color: #008850;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 60px;
}

.blog-title {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.3;
    color: #191919;
    margin-bottom: 24px;
    word-break: keep-all;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #666;
    font-size: 15px;
}

.blog-author {
    font-weight: 600;
    color: #333;
}

.blog-date {
    color: #999;
}

/* 블로그 콘텐츠 */
.blog-content {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}

.blog-content p {
    margin-bottom: 32px;
}

.blog-content h2 {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.4;
    color: #191919;
    margin-top: 80px;
    margin-bottom: 24px;
}

.blog-content h3 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.5;
    color: #191919;
    margin-top: 48px;
    margin-bottom: 20px;
}

.blog-content h4 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    color: #333;
    margin-top: 32px;
    margin-bottom: 16px;
}

.blog-content ul,
.blog-content ol {
    margin-bottom: 32px;
    padding-left: 28px;
}

.blog-container .blog-content ul {
    list-style-type: disc !important;
    list-style-position: outside !important;
    list-style: disc !important;
}

.blog-container .blog-content ol {
    list-style-type: decimal !important;
    list-style-position: outside !important;
    list-style: decimal !important;
}

.blog-container .blog-content ul li,
.blog-container .blog-content ol li {
    margin-bottom: 12px;
    line-height: 1.8;
    display: list-item !important;
    list-style-type: inherit !important;
}

.blog-container .blog-content ul li::marker,
.blog-container .blog-content ol li::marker {
    display: inline-block !important;
}

.blog-content strong {
    font-weight: 700;
    color: #191919;
}

.blog-content em {
    font-style: italic;
    color: #666;
}

.blog-content a {
    color: #008850;
    text-decoration: none;
    border-bottom: 1px solid #008850;
}

.blog-content a:hover {
    color: #006d3f;
    border-bottom-color: #006d3f;
}

/* 코드 블록 */
.blog-content pre {
    background: #f6f8fa;
    border-radius: 8px;
    padding: 24px;
    margin: 32px 0;
    overflow-x: auto;
    font-size: 15px;
    line-height: 1.6;
}

.blog-content code {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    background: #f6f8fa;
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 16px;
}

.blog-content pre code {
    background: none;
    padding: 0;
}

/* 인용구 */
.blog-content blockquote {
    border-left: 4px solid #008850;
    padding-left: 24px;
    margin: 32px 0;
    color: #666;
    font-style: italic;
}

/* 이미지 */
.blog-content img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 40px 0;
}

/* 하이라이트 박스 */
.highlight-box {
    background: #f0f9f4;
    border-left: 4px solid #008850;
    padding: 24px;
    margin: 32px 0;
    border-radius: 8px;
}

.highlight-box h4 {
    margin-top: 0;
    color: #008850;
}

/* 구분선 */
.blog-content hr {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 60px 0;
}

/* CTA 버튼 */
.cta-box {
    background: linear-gradient(135deg, #008850 0%, #006d3f 100%);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    margin: 60px 0;
}

.cta-box h3 {
    color: white;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 16px 0;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
}

.cta-button {
    display: inline-block;
    background: white;
    color: #008850;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* 관련 글 섹션 */
.related-posts {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 2px solid #e0e0e0;
}

.related-posts h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
}

.related-post-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 16px;
    transition: all 0.3s;
    cursor: pointer;
}

.related-post-item:hover {
    background: #f8f9fa;
}

.related-post-number {
    font-size: 32px;
    font-weight: 900;
    color: #e0e0e0;
    min-width: 40px;
}

.related-post-content h4 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #333;
}

.related-post-content p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* 반응형 */
@media (max-width: 768px) {
    .blog-container {
        padding: 40px 20px 80px;
    }

    .blog-title {
        font-size: 32px;
    }

    .blog-content {
        font-size: 16px;
    }

    .blog-content h2 {
        font-size: 24px;
        margin-top: 60px;
    }

    .blog-content h3 {
        font-size: 20px;
    }

    .blog-content pre {
        padding: 16px;
        font-size: 14px;
    }
}

/* 메시지 예시 박스 */
.message-example {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 28px;
    margin: 32px 0;
}

.message-example h4 {
    margin-top: 0 !important;
    margin-bottom: 20px !important;
    color: #191919;
}

.example-box {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 16px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.example-box:last-child {
    margin-bottom: 0;
}

.example-box h5 {
    font-size: 16px;
    font-weight: 600;
    color: #191919;
    line-height: 1.6;
    margin: 0 0 12px 0;
}

.example-box p {
    font-size: 15px;
    line-height: 1.7;
    color: #333;
    margin: 0;
}

.message-example ul {
    margin: 0 !important;
    padding-left: 0 !important;
}

.message-example ul li {
    background: white;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 12px !important;
    border: 1px solid #e0e0e0;
    list-style: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.message-example ul li:last-child {
    margin-bottom: 0 !important;
}

.message-example ul li::marker {
    display: none !important;
}

/* 카카오톡 버튼 */
.button-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}

.kakao-button {
    padding: 14px 20px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: "Pretendard Variable", -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Malgun Gothic', sans-serif;
}

.kakao-button.primary {
    background: #FEE500;
    color: #000000;
}

.kakao-button.primary:hover {
    background: #FDD835;
    transform: translateY(-2px);
}

.kakao-button.secondary {
    background: white;
    color: #333;
    border: 1px solid #e0e0e0;
}

.kakao-button.secondary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

/* 전략 테이블 */
.strategy-table {
    width: 100%;
    border-collapse: collapse;
    margin: 32px 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.strategy-table thead {
    background: #008850;
}

.strategy-table thead th {
    color: white;
    font-weight: 700;
    padding: 16px;
    text-align: left;
    font-size: 15px;
}

.strategy-table tbody tr {
    border-bottom: 1px solid #e0e0e0;
}

.strategy-table tbody tr:last-child {
    border-bottom: none;
}

.strategy-table tbody td {
    padding: 16px;
    font-size: 15px;
    line-height: 1.6;
    vertical-align: top;
}

.strategy-table tbody td:first-child {
    font-weight: 600;
    color: #191919;
}

/* 최종 팁 박스 */
.final-tip {
    background: linear-gradient(135deg, #f0f9f4 0%, #e8f5e9 100%);
    border-radius: 16px;
    padding: 40px;
    margin: 60px 0;
    border: 2px solid #008850;
}

.final-tip h3 {
    color: #008850;
    margin-top: 0 !important;
    margin-bottom: 16px !important;
}

.final-tip p {
    color: #333;
    margin-bottom: 24px;
}

.final-tip .cta-box {
    margin: 32px 0 0 0;
}

.final-tip .cta-box p {
    margin-bottom: 20px;
    font-size: 18px;
}

/* 반응형 - 추가 스타일 */
@media (max-width: 768px) {
    .message-example {
        padding: 20px;
    }

    .example-box {
        padding: 16px;
    }

    .strategy-table {
        font-size: 14px;
    }

    .strategy-table thead th,
    .strategy-table tbody td {
        padding: 12px;
    }

    .final-tip {
        padding: 24px;
    }

    .button-group {
        gap: 8px;
    }
}