/* 05_article.css — Article page (verbatim port of styles.py
   inject_article_styles — these classes were already framework-free). */

.article-container { max-width: 820px; margin: 0 auto; padding: 48px 24px; }
.article-title {
    font-size: 42px; font-weight: 600; color: var(--text-primary);
    line-height: 1.10; letter-spacing: -0.8px; margin-bottom: 24px;
}
.article-subtitle {
    font-size: 19px; font-weight: 400; color: var(--text-secondary);
    line-height: 1.5; margin-bottom: 48px;
}
.article-meta {
    font-size: 14px; font-weight: 500; text-transform: uppercase;
    letter-spacing: 0.65px; color: var(--text-gray); margin-bottom: 48px;
    padding-bottom: 24px; border-bottom: 1px solid var(--border);
}
.section-heading {
    font-size: 26px; font-weight: 600; color: var(--text-primary);
    line-height: 1.30; letter-spacing: -0.24px;
    margin-top: 48px; margin-bottom: 20px;
}
.subsection-heading {
    font-size: 22px; font-weight: 600; color: var(--text-primary);
    line-height: 1.30; letter-spacing: -0.2px;
    margin-top: 36px; margin-bottom: 16px;
}
.body-text {
    font-size: 17px; font-weight: 400; color: var(--text-secondary);
    line-height: 1.75; margin-bottom: 20px;
}
.highlight-box {
    background: var(--bg-green-light); border: 1px solid rgba(24, 226, 153, 0.3);
    border-radius: 16px; padding: 24px; margin: 32px 0;
}
.problem-box {
    background: var(--bg-card); border: 1px solid var(--border);
    border-left: 4px solid var(--error); border-radius: 16px;
    padding: 24px; margin: 32px 0;
}
.solution-box {
    background: var(--bg-card); border: 1px solid rgba(24, 226, 153, 0.3);
    border-radius: 16px; padding: 24px; margin: 32px 0;
    box-shadow: rgba(0, 0, 0, 0.03) 0px 2px 4px;
}
.data-table {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 16px; padding: 24px; margin: 24px 0; overflow-x: auto;
}
.data-table table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td {
    padding: 8px 12px; font-size: 14px; text-align: left;
    border-bottom: 1px solid var(--border); color: var(--text-secondary);
}
.data-table th { color: var(--text-primary); font-weight: 600; }
.formula-box {
    background: var(--bg-hover); border: 1px solid var(--border);
    border-radius: 12px; padding: 20px 24px; margin: 24px 0;
    font-family: 'SF Mono', monospace; font-size: 15px; color: var(--text-primary);
}
.cta-section {
    background: linear-gradient(180deg, var(--bg-green-light) 0%, var(--bg-page) 100%);
    border: 1px solid var(--border); border-radius: 24px;
    padding: 48px; margin: 48px 0; text-align: center;
}
.cta-heading {
    font-size: 26px; font-weight: 600; color: var(--text-primary);
    letter-spacing: -0.24px; margin-bottom: 16px;
}
.cta-text {
    font-size: 17px; font-weight: 400; color: var(--text-muted);
    line-height: 1.5; margin-bottom: 32px;
}
.pull-quote {
    font-size: 22px; font-weight: 500; color: var(--text-primary);
    line-height: 1.5; border-left: 4px solid var(--brand-green);
    padding-left: 24px; margin: 32px 0; font-style: italic;
}
.footer-note {
    font-size: 14px; color: var(--text-gray); text-align: center;
    margin-top: 48px; padding-top: 24px;
    border-top: 1px solid var(--border);
}
/* Share buttons — third-party brand backgrounds, matching the legacy
   article's LinkedIn / X / WhatsApp styling. */
.share-btn {
    padding: 8px 16px; border-radius: 8px; text-decoration: none;
    font-size: 14px; font-weight: 500;
}
.share-btn-linkedin { background: var(--share-linkedin); color: #ffffff; }
.share-btn-x { background: var(--text-primary); color: var(--bg-card); }
.share-btn-whatsapp { background: var(--share-whatsapp); color: #ffffff; }
