/* =====================================================
   ARTICLES — WP-native post styling
   Applied only on single posts (is_singular('post'))
   (Elementor was removed May 2026; the legacy
   .elementor-* defensive selectors are gone — no HTML
   in the active site matches them anymore.)
===================================================== */

.tc-article {
    padding-top: var(--tc-space-xl);
}

.tc-article h1,
.tc-article h2,
.tc-article h3,
.tc-article h4 {
    color: var(--tc-text);
    margin-top: var(--tc-space-xl);
    margin-bottom: var(--tc-space-md);
}

.tc-article p {
    margin-bottom: var(--tc-space-md);
    color: var(--tc-text-secondary);
    line-height: 1.8;
}

.tc-article a {
    color: var(--tc-green);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.tc-article a:hover {
    color: var(--tc-green-dark);
}

.tc-article ul,
.tc-article ol {
    margin: var(--tc-space-md) 0;
    padding-left: var(--tc-space-xl);
    color: var(--tc-text-secondary);
}

.tc-article li {
    margin-bottom: var(--tc-space-sm);
    line-height: 1.7;
}

.tc-article img {
    border-radius: var(--tc-radius);
    margin: var(--tc-space-lg) 0;
}

.tc-article blockquote {
    border-left: 3px solid var(--tc-green);
    padding: var(--tc-space-md) var(--tc-space-lg);
    margin: var(--tc-space-lg) 0;
    background: var(--tc-soft);
    border-radius: 0 var(--tc-radius) var(--tc-radius) 0;
    color: var(--tc-text);
    font-style: italic;
}

[dir="rtl"] .tc-article blockquote {
    border-left: none;
    border-right: 3px solid var(--tc-green);
    border-radius: var(--tc-radius) 0 0 var(--tc-radius);
}

.tc-article table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--tc-space-lg) 0;
    font-size: 14px;
}

.tc-article th,
.tc-article td {
    padding: 10px 14px;
    border: 1px solid var(--tc-line);
    /* Tâche 30: logical start so RTL tables read naturally */
    text-align: start;
}

.tc-article th {
    background: var(--tc-soft);
    color: var(--tc-text);
    font-weight: 700;
}

.tc-article td {
    color: var(--tc-text-secondary);
}

/* Premium CTA after article */
.tc-article .tc-premium-cta {
    margin-top: var(--tc-space-2xl);
}
