/* article.css - teal styling for article body, TOC sidebar, inline CTA */
.toc-sidebar {
    position: sticky;
    top: 100px;
}
.toc-sidebar h6 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94a3b8;
    margin-bottom: 12px;
}
#toc {
    list-style: none;
    margin: 0;
    padding: 0;
    border-left: 2px solid #e2e8f0;
}
#toc li {
    margin: 0;
}
#toc a {
    display: block;
    padding: 6px 0 6px 16px;
    font-size: 13px;
    color: #64748b;
    text-decoration: none;
    border-left: 2px solid transparent;
    margin-left: -2px;
    transition: color .2s, border-color .2s;
    line-height: 1.45;
}
#toc a:hover,
#toc a.is-active {
    color: #00CC99;
}
#toc a.is-active {
    font-weight: 600;
    border-left-color: #00CC99;
}
#toc a.toc-h3 {
    padding-left: 28px;
    font-size: 12.5px;
}

.article-body {
    max-width: 740px;
    font-size: 17px;
    line-height: 1.8;
    color: #334155;
}
.article-body h1 {
    font-family: 'DM Serif Display', serif;
    font-size: 30px;
    color: #0f172a;
    margin: 32px 0 16px;
}
.article-body h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 26px;
    color: #0f172a;
    margin: 40px 0 16px;
    padding-top: 12px;
}
.article-body h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin: 28px 0 12px;
}
.article-body p {
    margin-bottom: 18px;
}
.article-body ul,
.article-body ol {
    margin-bottom: 18px;
    padding-left: 24px;
}
.article-body li {
    margin-bottom: 6px;
}
.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}
.article-body a {
    color: #0066CC;
    text-decoration: underline;
}
.article-body a:hover {
    color: #00CC99;
}
.article-body blockquote {
    border-left: 4px solid #00CC99;
    padding: 12px 20px;
    margin: 24px 0;
    background: #f0f8ff;
    border-radius: 0 8px 8px 0;
    color: #475569;
    font-style: italic;
}
.article-body pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 18px 22px;
    border-radius: 10px;
    overflow-x: auto;
    font-size: 14px;
    margin: 20px 0;
}
.article-body code {
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 15px;
    color: #0f172a;
}
.article-body pre code {
    background: none;
    padding: 0;
    color: inherit;
}

.article-cta-inline {
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f7f2 100%);
    border: 1px solid #b3e6d6;
    border-radius: 12px;
    padding: 24px 28px;
    margin: 32px 0;
}
.article-cta-inline h4 {
    font-family: 'DM Serif Display', serif;
    font-size: 20px;
    color: #0f172a;
    margin-bottom: 6px;
}
.article-cta-inline p {
    font-size: 15px;
    color: #475569;
    margin-bottom: 12px;
}
.article-cta-inline .btn {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.article-body .article-cta-inline a.btn,
.article-body .article-cta-inline a.btn:hover {
    color: #fff !important;
    text-decoration: none !important;
}
@media (max-width: 575px) {
    .article-cta-inline .btn {
        font-size: 14px;
        padding: 9px 14px;
        max-width: 100%;
        white-space: nowrap;
    }
}

@media (max-width: 992px) {
    .toc-sidebar {
        position: static;
        margin-bottom: 32px;
        border-bottom: 1px solid #e2e8f0;
        padding-bottom: 24px;
    }
}