/* Moudi Blog TLDR — encart "Ce qu'il faut retenir" en haut des articles
   Design visuel strictement repris du bloc résumé vidéo (moudi-yt.css).
   Seules les puces numérotées en cercles gris et le disclaimer en bas
   sont des nouveautés de structure. */

.moudi-blog-tldr {
    margin: 2.5rem auto 2.5rem;
    padding: 1rem 1.75rem 1.5rem;
    border-left: 3px solid var(--wp--preset--color--primary, #1a1a1a);
    background: var(--wp--preset--color--base-soft, #f7f6f2);
    max-width: 650px;
    border-radius: 2px;
}

/* Override de la règle WP `:where(.is-layout-constrained) > :first-child { margin-block-start: 0 }`
   qui s'applique quand notre bloc est prepend en tête du contenu. Spécificité (0,2,0).
   16px ici parce que pas de margin collapsing avec le H1 (containers différents) ;
   24px (H1.marginBottom) + 16px = 40px de gap, match avec le gap bas vers le sommaire. */
.moudi-blog-tldr.moudi-blog-tldr {
    margin-top: 1rem;
}

.moudi-blog-tldr > :first-child { margin-top: 0 !important; }
.moudi-blog-tldr > :last-child  { margin-bottom: 0 !important; }

.moudi-blog-tldr__title {
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 1rem;
    font-weight: 600;
    line-height: 1.2;
}

.moudi-blog-tldr__points {
    list-style: none;
    counter-reset: tldr-counter;
    padding: 0;
    margin: 0;
}

.moudi-blog-tldr__points li {
    counter-increment: tldr-counter;
    position: relative;
    padding-left: 2.5rem;
    margin: 0 0 0.85rem;
    line-height: 1.55;
}

.moudi-blog-tldr__points li::before {
    content: counter(tldr-counter);
    position: absolute;
    left: 0;
    top: 0.05em;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.65rem;
    height: 1.65rem;
    background: #ececec;
    color: #555;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1;
}

.moudi-blog-tldr__points li:last-child {
    margin-bottom: 0;
}

.moudi-blog-tldr__disclaimer {
    font-style: italic;
    font-size: 0.78rem;
    color: var(--wp--preset--color--ink-soft, #4e5053);
    margin: 1rem 0 0;
    opacity: 0.75;
}
