/* ═══════════════════════════════════════════════
   CARNET CATALAN COCON — Frontend CSS v3.0.0
   Styles pour les blocs éditoriaux dans les articles
   ═══════════════════════════════════════════════ */

/* ── Conseil de la Rédaction ── */
.ccc-conseil-redac {
    background: linear-gradient(135deg, #fff7ed, #fef3c7);
    border: 1px solid #fbbf24;
    border-left: 5px solid #c0392b;
    border-radius: 0 12px 12px 0;
    padding: 20px 24px;
    margin: 32px 0;
    box-shadow: 0 2px 8px rgba(192, 57, 43, .08);
}
.ccc-conseil-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 15px;
    color: #92400e;
    margin-bottom: 10px;
    letter-spacing: .01em;
}
.ccc-conseil-icon { font-size: 18px; }
.ccc-conseil-body {
    font-size: 15px;
    line-height: 1.7;
    color: #78350f;
}

/* ── Astuce des Locaux (générée par l'IA dans le contenu) ── */
.astuce-locaux {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border: 1px solid #86efac;
    border-left: 5px solid #22c55e;
    border-radius: 0 12px 12px 0;
    padding: 18px 22px;
    margin: 28px 0;
}
.astuce-locaux strong {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: #15803d;
    margin-bottom: 8px;
}
.astuce-locaux p {
    font-size: 15px;
    line-height: 1.7;
    color: #166534;
    margin: 0;
}

/* ── TL;DR — À retenir ── */
.ccc-tldr {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border: 1px solid #93c5fd;
    border-left: 5px solid #2563eb;
    border-radius: 0 12px 12px 0;
    padding: 16px 20px;
    margin: 24px 0;
}
.ccc-tldr-header {
    font-size: 13px;
    font-weight: 800;
    color: #1d4ed8;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 10px;
}
.ccc-tldr ul {
    margin: 0;
    padding: 0 0 0 18px;
    list-style: disc;
}
.ccc-tldr li {
    font-size: 14px;
    line-height: 1.65;
    color: #1e3a8a;
    margin-bottom: 4px;
}

/* ── FAQ ── */
.ccc-faq {
    margin: 32px 0;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
}
.ccc-faq > h2 {
    background: linear-gradient(135deg, #f9fafb, #f3f4f6);
    padding: 14px 20px;
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #1e1e1e;
    border-bottom: 1px solid #e5e7eb;
}
.ccc-faq-item {
    padding: 16px 20px;
    border-bottom: 1px solid #f3f4f6;
}
.ccc-faq-item:last-child { border-bottom: none; }
.ccc-faq-item h3 {
    font-size: 14px;
    font-weight: 700;
    color: #c0392b;
    margin: 0 0 8px;
    line-height: 1.4;
}
.ccc-faq-item p {
    font-size: 14px;
    line-height: 1.7;
    color: #374151;
    margin: 0;
}

/* ── Bloc À lire aussi (injecté par le remaillage) ── */
.ccc-a-lire-aussi {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #fffbeb;
    border: 1px solid #fbbf24;
    border-left: 4px solid #f59e0b;
    border-radius: 8px;
    padding: 12px 16px;
    margin: 24px 0;
    font-size: 15px;
    line-height: 1.5;
    color: #78350f;
}
.ccc-a-lire-aussi .ccc-ala-icon {
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 1px;
}
.ccc-a-lire-aussi strong { color: #92400e; }
.ccc-a-lire-aussi a {
    color: #c0392b;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.ccc-a-lire-aussi a:hover { color: #9b1c1c; }
