/********************************/
/*** GESTION DES ARTICLES ***/
/********************************/
/*
 * ============================================================================
 *  SECTION COMPLÈTE : CRÉATION, AFFICHAGE ET GESTION DES ARTICLES
 * ============================================================================
 * 
 * Cette section regroupe TOUS les styles CSS liés aux articles :
 * 
 * 1. AFFICHAGE PUBLIC
 *    - Liste des articles (page /articles)
 *    - Page de lecture d'un article (détail)
 *    - Cartes d'articles, focus du mois, recherche
 * 
 * 2. CRÉATION / ÉDITION (Espace membre)
 *    - Page de création d'article (builder)
 *    - Éditeur Quill (WYSIWYG)
 *    - Formulaire de saisie, hashtags, preview
 * 
 * 3. STYLES DE CONTENU
 *    - Typographie (titres, paragraphes, listes)
 *    - Citations (blockquote)
 *    - Code (blocs de code, code inline)
 *    - Images principales
 * 
 * ============================================================================
 */
/* ----------------------------------------------------------------------------
   SOUS-SECTION : AFFICHAGE PUBLIC - LISTE DES ARTICLES
   ----------------------------------------------------------------------------
   Styles pour la page de liste des articles (/articles)
   - Hero avec focus du mois
   - Barre de recherche
   - Grille de cartes d'articles
   ---------------------------------------------------------------------------- */

.articles-badge,
.hero-badge {
    display: inline-block;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--accent);
    background: rgba(0, 71, 160, 0.1);
    padding: 0.4rem 1.2rem;
    border-radius: 999px;
    margin-bottom: 1.5rem;
}
.hero-badge--centered {
    display: table;
    margin-left: auto;
    margin-right: auto;
}
.page-hero--primary .hero-badge {
    color: var(--white);
    background: rgba(255, 255, 255, 0.2);
}
.articles-hero h1 {
    font-weight: 700;
    margin-bottom: 0.85rem;
}
.articles-pillars li {
    margin-bottom: 0.85rem;
    color: #4d5562;
    display: flex;
    gap: 0.6rem;
}
.articles-pillars li span {
    font-weight: 700;
    color: var(--primary);
}
.articles-hero-card {
    border-radius: 20px;
    padding: 1.25rem;
    position: relative;
    overflow: hidden;
    color: var(--primary);
}
.articles-hero-card .eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    color: var(--purple);
    font-weight: 700;
}
.articles-hero-card h2 {
    color: var(--primary);
    font-size: 1.45rem;
    margin-bottom: 0;
}
.articles-hero-card p {
    color: #4c5160;
}
.articles-hero-card__content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.articles-hero-card__headline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}
.articles-hero-card__media {
    flex: 0 0 auto;
}
.articles-hero-card__media img {
    max-height: 72px;
    width: auto;
    object-fit: contain;
}
.articles-hero-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.75rem 1rem;
    margin-top: 0.6rem;
}
.articles-hero-card .eyebrow--centered {
    display: table;
    margin: 0 auto 0.9rem;
    text-align: center;
}
@media (max-width: 991.98px) {
    .articles-hero-card__headline {
        flex-direction: column;
        align-items: flex-start;
    }
    .articles-hero-card__media {
        width: 100%;
        text-align: center;
    }
}
.articles-hero-card .meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    color: #6b7280;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 0;
}

/* ============================================================================
   SECTION ARTICLES - NOUVELLE STRUCTURE AVEC SIDEBAR
   ============================================================================ */
.articles-content {
    background: linear-gradient(180deg, #fff, #f7f8fb);
}

/* Sidebar des filtres (gauche) */
.articles-sidebar {
    position: relative;
}

.articles-filters-wrapper {
    background: #fff;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.articles-filters-header h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
}

/* Sticky sur desktop uniquement */
@media (min-width: 992px) {
    .articles-filters-wrapper {
        position: sticky;
        top: 100px; /* Ajustez selon la hauteur de votre navbar */
        max-height: calc(100vh - 120px);
        overflow-y: auto;
    }
}

/* Zone principale des articles (droite) */
.articles-main {
    min-height: 400px;
}

.articles-search-form .form-control {
    border-radius: 14px 0 0 14px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    height: 42px;
}

.articles-search-form .input-group-text {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-right: none;
    background: transparent;
    height: 42px;
    display: flex;
    align-items: center;
}

.articles-search-form .btn {
    border-radius: 14px;
}
.theme-card {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff, #f5f7fb);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
}
.theme-chips {
    background: linear-gradient(180deg, #ffffff, #f5f7fb);
    border-radius: 20px;
    padding: 1.2rem;
    border: 1px solid rgba(0, 0, 0, 0.04);
}
.theme-chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}
.theme-chip-pill {
    position: relative;
}
.theme-chip-pill input {
    opacity: 0;
    position: absolute;
}
.theme-chip-pill label {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 1.2rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 71, 160, 0.2);
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
}
.theme-chip-pill input:checked + label {
    border-color: transparent;
    color: #fff;
    background: linear-gradient(135deg, var(--red), var(--blue));
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Styles pour les liens de thème (approche HTML native) */
.theme-chip-link {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 1.2rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 71, 160, 0.2);
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.theme-chip-link:hover {
    background-color: rgba(0, 71, 160, 0.05);
    border-color: rgba(0, 71, 160, 0.3);
    color: var(--accent);
    text-decoration: none;
}

.theme-chip-link.active {
    border-color: transparent;
    color: #fff;
    background: linear-gradient(135deg, var(--red), var(--blue));
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.theme-chip-link.active:hover {
    background: linear-gradient(135deg, var(--red), var(--blue));
    opacity: 0.9;
    text-decoration: none;
}
.theme-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0, 71, 160, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.2rem;
}
.theme-label {
    font-weight: 700;
    margin-bottom: 0.2rem;
}
.theme-description {
    margin-bottom: 0.3rem;
    color: #6b7280;
    font-size: 0.9rem;
}
.theme-chip {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--purple);
    border: 1px solid rgba(124, 45, 140, 0.3);
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
}

.section-heading .eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 700;
}

/* Ancienne classe pour compatibilité - maintenant intégrée dans articles-content */
.articles-list {
    background: linear-gradient(180deg, #fff, #f7f8fb);
}

/* Cartes d'articles - taille réduite pour la nouvelle mise en page */
.article-card {
    background: #fff;
    border-radius: 20px;
    padding: 1.5rem;
    height: 100%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.article-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}
.article-card--accent {
    border: 2px solid transparent;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, rgba(205, 46, 58, 0.6), rgba(0, 71, 160, 0.7)) border-box;
}
.article-card .article-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--purple);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}
.article-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}
.article-card p,
.article-card .article-summary {
    color: #4d5562;
}
.article-card .article-summary p {
    margin-bottom: 0.65rem;
}
.article-card .article-summary p:last-child {
    margin-bottom: 0;
}
.article-card .article-details {
    margin: 1rem 0 1.5rem;
    color: #6b7280;
    font-size: 0.9rem;
}
.article-card .article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.article-card .author span {
    font-weight: 700;
    display: block;
}
.article-card .author small {
    color: #6b7280;
}
.article-card .btn.disabled {
    pointer-events: none;
    opacity: 0.7;
}

/* Responsive pour les articles */
@media (max-width: 991.98px) {
    /* Sur mobile/tablette, les filtres ne sont pas sticky */
    .articles-filters-wrapper {
        position: static;
        max-height: none;
        overflow-y: visible;
        margin-bottom: 2rem;
    }
    
    .articles-filters-header {
        text-align: center;
    }
    
    .articles-main .section-heading {
        text-align: center;
    }
    
    /* Sur tablette, on peut garder 2 colonnes */
    @media (min-width: 768px) and (max-width: 991.98px) {
        .articles-main .row .col-md-6 {
            flex: 0 0 50%;
            max-width: 50%;
        }
    }
}

@media (max-width: 767.98px) {
    /* Sur mobile, une seule colonne */
    .articles-main .row .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .article-card {
        padding: 1.25rem;
    }
    
    .article-card h3 {
        font-size: 1.1rem;
    }
}

/* Styles pour la pagination des articles */
.articles-main .pagination {
    margin-top: 2rem;
}

.articles-main .pagination .page-link {
    color: var(--accent);
    border-color: rgba(0, 71, 160, 0.2);
    padding: 0.5rem 1rem;
    transition: all 0.2s ease;
}

.articles-main .pagination .page-link:hover {
    background-color: rgba(0, 71, 160, 0.1);
    border-color: var(--accent);
    color: var(--accent);
}

.articles-main .pagination .page-item.active .page-link {
    background: linear-gradient(135deg, var(--red), var(--blue));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.articles-main .pagination .page-item.disabled .page-link {
    color: #6b7280;
    background-color: #f9fafb;
    border-color: rgba(0, 0, 0, 0.1);
    cursor: not-allowed;
    opacity: 0.6;
}

/* Indicateur de chargement AJAX */
#articles-content .spinner-border {
    width: 3rem;
    height: 3rem;
    border-width: 0.3em;
}

/* ----------------------------------------------------------------------------
   SOUS-SECTION : AFFICHAGE PUBLIC - PAGE DE LECTURE D'ARTICLE
   ----------------------------------------------------------------------------
   Styles pour la page de détail d'un article (/articles/{slug})
   ---------------------------------------------------------------------------- */
.article-show {
    background: linear-gradient(180deg, rgba(0, 71, 160, 0.04), rgba(205, 46, 58, 0.05));
    padding-bottom: 80px;
}

/* Conteneur centré pour une lecture confortable */
.article-shell {
    max-width: 860px;
    margin: 0 auto;
}

/* ---- Fil d'Ariane ---- */
.article-breadcrumb {
    max-width: 860px;
    margin: 0 auto 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.85rem;
    color: #8a92a3;
}
.article-breadcrumb a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}
.article-breadcrumb a:hover {
    color: var(--red);
}
.article-breadcrumb i {
    font-size: 0.65rem;
    color: #c2c8d4;
}
.article-breadcrumb__current {
    color: #6b7280;
    font-weight: 600;
    max-width: 360px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ---- En-tête éditorial ---- */
.article-header {
    position: relative;
    background: #fff;
    border-radius: 28px;
    padding: 3rem 3rem 2.25rem;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(15, 23, 42, 0.04);
    margin-bottom: 2rem;
    overflow: hidden;
}
.article-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--red), var(--purple), var(--blue));
}

.article-category-badge {
    display: inline-flex;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.72rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--red), var(--blue));
    padding: 0.4rem 1rem;
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(0, 71, 160, 0.2);
    margin-bottom: 1.25rem;
}

.article-title {
    font-size: clamp(2rem, 4.2vw, 2.75rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--primary);
    margin: 0 0 1rem;
    letter-spacing: -0.01em;
}

.article-lead {
    font-size: 1.15rem;
    line-height: 1.65;
    color: #4c5160;
    margin-bottom: 1.75rem;
}
.article-lead p:last-child {
    margin-bottom: 0;
}

/* Barre de métadonnées (auteur / lecture / date) */
.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}
.article-meta__author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}
.article-author-avatar {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "Noto Sans KR", sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: #fff;
    background: linear-gradient(135deg, var(--red), var(--purple), var(--blue));
    box-shadow: 0 8px 20px rgba(124, 45, 140, 0.25);
}
.article-author-info {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}
.article-author-name {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.98rem;
}
.article-meta__details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}
.article-meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #4c5160;
    background: #f4f6fb;
    border: 1px solid rgba(15, 23, 42, 0.05);
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
}
.article-meta-chip i {
    color: var(--accent);
    font-size: 0.85rem;
}

/* Tags */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.25rem;
}
.article-tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--purple);
    background: rgba(124, 45, 140, 0.08);
    border: 1px solid rgba(124, 45, 140, 0.18);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    transition: all 0.2s ease;
}
.article-tag-pill:hover {
    background: rgba(124, 45, 140, 0.14);
}
.article-tag-pill i {
    font-size: 0.7rem;
    opacity: 0.7;
}

.show-content {
    background: #fff;
    border-radius: 24px;
    padding: 2.75rem 3rem;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.05);
    border: 1px solid rgba(15, 23, 42, 0.04);
}

.show-content section + section {
    margin-top: 1.5rem;
}

.show-content.article-rich-content {
    color: #374151;
    font-size: 1rem;
    line-height: 1.7;
}

.show-content.article-rich-content p {
    margin-top: 0;
    margin-bottom: 0.02em;
}

.show-content.article-rich-content p:last-child {
    margin-bottom: 0;
}

.show-content.article-rich-content br {
    display: block;
    margin: 0;
    line-height: 0.4;
}

.show-content.article-rich-content p:has(> br:only-child) {
    margin: 0;
    padding: 0.6em 0;
    line-height: 0;
    min-height: 0;
}

.show-content.article-rich-content p:has(> br:only-child) br {
    display: block;
    height: 0;
    margin: 0;
    padding: 0;
    line-height: 0;
    overflow: hidden;
}

.article-rich-content .article-inline-divider {
    border: 0;
    height: 2px;
    width: 42%;
    margin: 0.9em auto;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(0, 71, 160, 0), rgba(0, 71, 160, 0.4), rgba(205, 46, 58, 0.4), rgba(205, 46, 58, 0));
    opacity: 1;
}

/* Image principale de l'article (affichée dans la page de lecture) */
.article-hero-media {
    position: relative;
    margin: 0 0 2rem;
    padding: 1rem;
    border-radius: 24px;
    text-align: center;
    background: linear-gradient(135deg, rgba(205, 46, 58, 0.06), rgba(124, 45, 140, 0.06), rgba(0, 71, 160, 0.06));
    border: 1px solid rgba(15, 23, 42, 0.04);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.article-hero-media img {
    display: block;
    margin: 0 auto;
    max-height: 460px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    border-radius: 16px;
    transition: transform 0.4s ease;
}

.article-hero-media:hover img {
    transform: scale(1.015);
}

/* Responsive : ajustement pour mobile */
@media (max-width: 768px) {
    .article-header {
        border-radius: 20px;
        padding: 1.75rem 1.35rem 1.5rem;
    }

    .article-title {
        font-size: clamp(1.65rem, 8vw, 2.1rem);
        line-height: 1.18;
        overflow-wrap: anywhere;
    }

    .article-lead {
        font-size: 1.02rem;
        line-height: 1.55;
        margin-bottom: 1.5rem;
    }

    .article-meta {
        gap: 1rem;
    }
    .article-meta__details {
        width: 100%;
    }

    .show-content {
        border-radius: 20px;
        padding: 1.75rem 1.35rem;
    }

    .article-hero-media {
        padding: 0.6rem;
        border-radius: 18px;
    }
    .article-hero-media img {
        max-height: 280px;
        border-radius: 12px;
    }

    .article-cta {
        padding: 1.75rem 1.5rem;
        border-radius: 22px;
        text-align: center;
        justify-content: center;
    }
    .article-cta__content {
        max-width: 100%;
    }
    .article-cta__btn {
        width: 100%;
        justify-content: center;
    }
}

/* ----------------------------------------------------------------------------
   SOUS-SECTION : TYPOGRAPHIE ET CONTENU DES ARTICLES
   ----------------------------------------------------------------------------
   Styles pour le contenu HTML généré par Quill (titres, citations, code, etc.)
   ---------------------------------------------------------------------------- */

/* Citations stylisées (blockquote) */
.show-content blockquote {
    position: relative;
    padding: 1.5rem 2rem 1.5rem 3.5rem;
    margin: 2.5rem 0;
    font-style: italic;
    font-size: 1.15rem;
    line-height: 1.8;
    color: #555;
    background: linear-gradient(135deg, rgba(0, 71, 160, 0.05), rgba(205, 46, 58, 0.05));
    border-left: 4px solid var(--accent);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.show-content blockquote::before {
    content: '"';
    position: absolute;
    left: 1rem;
    top: 0.5rem;
    font-size: 4rem;
    color: var(--accent);
    opacity: 0.3;
    font-family: Georgia, serif;
    line-height: 1;
}

/* Titres avec barres colorées (H1, H2, H3) */
.show-content h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 3rem 0 2rem 0;
    color: var(--primary);
    position: relative;
    padding-left: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--accent);
}

.show-content h1::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, var(--accent), var(--secondary));
    border-radius: 3px;
}

.show-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 2.5rem 0 1.5rem 0;
    color: var(--primary);
    position: relative;
    padding-left: 1.5rem;
    padding-bottom: 0.75rem;
}

.show-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--accent), var(--secondary));
    border-radius: 2px;
}

.show-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
    color: #34495e;
    padding-left: 1rem;
    border-left: 3px solid rgba(0, 71, 160, 0.3);
}

/* Indentation (classes générées par Quill) */
.show-content .ql-indent-1 {
    padding-left: 3em;
}
.show-content .ql-indent-2 {
    padding-left: 6em;
}
.show-content .ql-indent-3 {
    padding-left: 9em;
}
.show-content .ql-indent-4 {
    padding-left: 12em;
}
.show-content .ql-indent-5 {
    padding-left: 15em;
}
.show-content .ql-indent-6 {
    padding-left: 18em;
}
.show-content .ql-indent-7 {
    padding-left: 21em;
}
.show-content .ql-indent-8 {
    padding-left: 24em;
}

/* Blocs de code (pre, code-block) */
.show-content pre,
.show-content .ql-syntax {
    background: #2d2d2d;
    color: #f8f8f2;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 2rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    white-space: pre-wrap;
    word-wrap: break-word;
}

.show-content code {
    background: #f4f4f4;
    color: #e83e8c;
    padding: 0.2em 0.4em;
    border-radius: 3px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9em;
}

.show-content pre code {
    background: transparent;
    color: inherit;
    padding: 0;
    border-radius: 0;
    font-size: inherit;
}

/* Listes améliorées (point 6) */
.show-content ul,
.show-content ol {
    margin: 2rem 0;
    padding-left: 2rem;
}

.show-content li {
    margin-bottom: 1rem;
    line-height: 1.8;
    position: relative;
    padding-left: 0.5rem;
}

.show-content ul li::marker {
    color: var(--accent);
    font-weight: 700;
}

.show-content.article-rich-content ul,
.show-content.article-rich-content ol {
    margin: 0.15em 0;
    padding-left: 1.5em;
}

.show-content.article-rich-content li {
    margin-bottom: 0.12em;
    line-height: 1.7;
    padding-left: 0.25em;
}

/* Responsive */
@media (max-width: 768px) {
    .show-content blockquote {
        padding: 1.1rem 1rem 1.1rem 1.25rem;
        font-size: 1rem;
        line-height: 1.65;
    }

    .show-content blockquote::before {
        display: none;
    }

    .show-content h1 {
        font-size: 1.8rem;
        padding-left: 1.5rem;
    }
    
    .show-content h1::before {
        width: 4px;
    }
    
    .show-content h2 {
        font-size: 1.5rem;
        padding-left: 1rem;
    }
    
    .show-content h2::before {
        width: 3px;
    }
    
    .show-content h3 {
        font-size: 1.3rem;
    }

    .show-content ul,
    .show-content ol {
        padding-left: 1.35rem;
    }

    .show-content .ql-indent-1 {
        padding-left: 1rem;
    }

    .show-content .ql-indent-2 {
        padding-left: 1.5rem;
    }

    .show-content .ql-indent-3 {
        padding-left: 2rem;
    }

    .show-content .ql-indent-4 {
        padding-left: 2.5rem;
    }

    .show-content .ql-indent-5,
    .show-content .ql-indent-6,
    .show-content .ql-indent-7,
    .show-content .ql-indent-8 {
        padding-left: 3rem;
    }
}
/* ---- CTA de fin d'article ---- */
.article-cta {
    position: relative;
    max-width: 860px;
    margin: 2.5rem auto 0;
    padding: 2.5rem 3rem;
    border-radius: 28px;
    background: linear-gradient(135deg, var(--red), var(--purple), var(--blue));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 71, 160, 0.25);
}
.article-cta::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.18), transparent 45%),
        radial-gradient(circle at 85% 90%, rgba(255, 255, 255, 0.12), transparent 50%);
    pointer-events: none;
}
.article-cta__content {
    position: relative;
    z-index: 1;
    max-width: 520px;
}
.article-cta__eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.72rem;
    font-weight: 700;
    opacity: 0.85;
    margin-bottom: 0.5rem;
}
.article-cta__title {
    color: #fff;
    font-size: clamp(1.4rem, 3vw, 1.85rem);
    font-weight: 700;
    margin: 0 0 0.5rem;
}
.article-cta__text {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}
.article-cta__btn {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    flex-shrink: 0;
    background: #fff;
    color: var(--blue);
    font-weight: 700;
    text-decoration: none;
    padding: 0.9rem 1.8rem;
    border-radius: 999px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}
.article-cta__btn i {
    transition: transform 0.25s ease;
}
.article-cta__btn:hover {
    transform: translateY(-3px);
    color: var(--red);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.25);
}
.article-cta__btn:hover i {
    transform: translateX(4px);
}
