/*
============================================================================
GeoAnalytics 블로그 본문 CSS — optigeo 자동발행 콘텐츠 호환
============================================================================
구조·클래스·ID는 optigeo blog.css와 동일하게 유지(자동발행 호환).
브랜드 색상만 GeoAnalytics indigo로 치환:
  #2C8842 → #5850EC, #e3f7e9 → #eef2ff, #eaf5ee → #eef2ff
============================================================================
*/

.blog_ai_body main article {
    padding: 0 !important;
}

.nxt_content-section {
    scroll-margin-top: 80px;
}

#nxt_page-toc-nav ol {
    list-style-type: none;
    padding-left: 0;
    counter-reset: toc-counter-page;
}

#nxt_page-toc-nav ol > li {
    counter-increment: toc-counter-page;
    display: flex;
    align-items: flex-start;
    margin-bottom: 8px;
}

#nxt_page-toc-nav ol > li::before {
    content: counter(toc-counter-page) ". ";
    font-weight: 600;
    min-width: 20px;
    margin-right: 6px;
    color: #5850EC;
    font-size: 14px;
}

#nxt_page-toc-nav ol > li a {
    text-decoration: none !important;
    color: #4b3869;
    transition-property: color;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
    display: block;
    font-size: 14px;
    line-height: 1.5;
}

#nxt_page-toc-nav ol > li a:hover {
    text-decoration: underline;
    color: #6366f1;
}

.info-box {
    border-left-width: 4px;
    padding: 24px;
    border-radius: 8px;
    margin-top: 16px;
    margin-bottom: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.info-box h3 {
    margin-top: 0 !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    margin-bottom: 16px !important;
}

.info-box-default {
    border-color: #5850EC;
    background-color: #eef2ff;
}
.info-box-default h3 { color: #5850EC !important; }
.info-box-default h4 { color: #5850EC !important; }
.info-box ul li strong { color: #111 !important; }

.info-box-green {
    border-color: #22c55e;
    background-color: #f0fdf4;
}
.info-box-green h3 { color: #15803d !important; }
.info-box-green h4 { color: #15803d !important; }

.info-box-blue {
    border-color: #3b82f6;
    background-color: #eff6ff;
}
.info-box-blue h3 { color: #1d4ed8 !important; }
.info-box-blue h4 { color: #1d4ed8 !important; }

.info-box-red {
    border-color: #ef4444;
    background-color: #fef2f2;
}
.info-box-red h3 { color: #b91c1c !important; }
.info-box-red h4 { color: #b91c1c !important; }

.custom-table {
    width: 100%;
    border-collapse: collapse;
}
.custom-table th {
    background-color: #eef2ff;
    color: #5850EC;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    border: 1px solid #e5e7eb;
}
.custom-table td {
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
}
.custom-table tr:hover { background-color: #f9fafb; }

#nxt_blog-content {
    background-color: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

#nxt_blog-content h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 32px;
    margin-top: 80px;
    color: #111;
    padding-bottom: 8px;
    border-bottom: 2px solid #cbd5e1;
}

#nxt_blog-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
    margin-top: 40px;
    color: #5850EC;
}

#nxt_blog-content h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

#nxt_blog-content p {
    line-height: 1.75;
    margin-bottom: 16px;
}

#nxt_blog-content ul {
    list-style-type: disc;
    padding-left: 24px;
    margin-bottom: 16px;
}
#nxt_blog-content ul li { margin-bottom: 8px; }

#nxt_blog-content ol {
    list-style-type: decimal;
    padding-left: 24px;
    margin-bottom: 16px;
}
#nxt_blog-content ol li { margin-bottom: 8px; }

#nxt_blog-content strong { color: #5850EC; }

#nxt_blog-content a:not(.toc-link) {
    color: #6366f1;
    text-decoration: underline;
}
#nxt_blog-content a:not(.toc-link):hover { color: #5850EC; }

#nxt_blog-content blockquote {
    border-left: 4px solid #a78bfa;
    padding-left: 16px;
    margin-left: 0;
    font-style: italic;
    color: #556677;
}

#nxt_blog-content img {
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    margin-top: 16px;
    margin-bottom: 8px;
    max-width: 100%;
    height: auto;
}

#nxt_blog-content figcaption {
    text-align: center;
    font-size: 14px;
    color: #6b7280;
    margin-top: 4px;
    margin-bottom: 24px;
    font-style: italic;
}

.nxt_process-step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background-color: #5850EC;
    color: white;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
    margin-right: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.nxt_process-step-title {
    font-size: 18px;
    font-weight: 600;
    color: #111;
    margin-top: 0;
    margin-bottom: 4px;
}

#nxt_toggle-toc-button {
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
    margin-left: 8px;
}

.nxt_card {
    margin: 10px 0 0 0 !important;
    background-color: white;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    color: #111;
    border: 1px solid #eee;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.nxt_card:hover { background: #eef2ff; }
.nxt_card .border-blue-200 { border-color: #eee; }

.nxt_card button {
    padding-right: 50px;
    position: relative;
    display: block;
}
.nxt_accordion-button:hover { background-color: #eef2ff !important; }
.nxt_card button.nxt_accordion-button.active { background: #eef2ff; }
.nxt_card button svg {
    top: 22px;
    right: 15px;
    position: absolute;
}
.nxt_card button.active svg { transform: rotate(180deg); }

.nxt_accordion-content {
    background-color: #ffffff;
    margin: 0px;
    color: black;
    font-weight: 400;
    border-radius: 0 0 16px 16px;
}
.nxt_accordion-arrow {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s;
    color: #e11d48;
}
.nxt_accordion-button.active .nxt_accordion-arrow {
    transform: rotate(180deg);
    color: #e11d48;
}

.h-\[400px\] { height: 400px; }

@media (max-width: 767px) {
    html .blog_ai_body * { font-size: 16px; }

    #nxt_blog-content h2 {
        font-size: 24px;
        margin-bottom: 30px;
        margin-top: 80px;
        padding-bottom: 8px;
    }
    #nxt_blog-content h3 {
        font-size: 20px;
        margin-bottom: 20px;
        margin-top: 30px;
    }
    #nxt_blog-content h4 {
        font-size: 18px;
        margin-bottom: 14px;
    }
    #nxt_blog-content ul {
        padding-left: 14px;
        margin-bottom: 16px;
    }
    .nxt_process-step-number {
        width: 28px;
        height: 28px;
        font-size: 14px;
        margin-right: 10px;
    }
    .nxt_card button { line-height: 22px; }
    #nxt_blog-content > p.text-lg {
        font-size: 18px;
        line-height: 1.75;
    }
}
@media (max-width: 600px) {
    table.custom-table { width: 700px; }
}
