/* ============================================================
   FICHE RÉALISATION — variations de style de blocs Gutenberg
   Chargé en FRONT (fiche) et dans l'ÉDITEUR (add_editor_style).
   Basé sur des classes .is-style-* : rendu identique BO / front.
   Fallbacks hexa pour l'iframe éditeur (tokens parfois absents).
   ============================================================ */

/* --- Paragraphe « Kicker / eyebrow » --------------------------------- */
.is-style-shk-kicker {
    font-family: var(--font-2, 'IBM Plex Mono', ui-monospace, monospace);
    font-size: .74rem;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--color-secondaire, #E6007E);
    margin-bottom: 4px;
}

/* --- Citation « Fiche » ---------------------------------------------- */
.wp-block-quote.is-style-shk-quote {
    border: 0;
    border-left: 2px solid var(--color-secondaire, #E6007E);
    padding: 6px 0 6px 24px;
    margin: 26px 0;
    font-family: var(--font-3, 'Fraunces', Georgia, serif);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    line-height: 1.4;
    color: var(--color-dark, #14151A);
}
.wp-block-quote.is-style-shk-quote p { font-size: inherit; margin: 0; }
.wp-block-quote.is-style-shk-quote cite {
    display: block;
    margin-top: 12px;
    font-family: var(--font-2, 'IBM Plex Mono', monospace);
    font-style: normal;
    font-size: .78rem;
    letter-spacing: .04em;
    color: var(--color-ink-soft, #3A3D49);
}

/* --- Groupe « Conclusion sombre » ------------------------------------ */
.wp-block-group.is-style-shk-concl {
    background: var(--color-dark, #14151A);
    color: var(--color-paper, #FBFAF6);
    border-radius: 10px;
    padding: clamp(28px, 4vw, 44px);
}
.wp-block-group.is-style-shk-concl :where(h1, h2, h3, h4) {
    color: var(--color-paper, #FBFAF6);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.05;
}
.wp-block-group.is-style-shk-concl p { color: rgba(251, 250, 246, .8); }
.wp-block-group.is-style-shk-concl .is-style-shk-kicker { color: var(--color-primaire, #009FE3); }

/* Points « à retenir » : liste ordonnée numérotée cyan */
.wp-block-group.is-style-shk-concl ol,
.wp-block-group.is-style-shk-concl ul {
    list-style: none;
    counter-reset: shk-ta;
    padding: 0;
    margin: 22px 0 6px;
    display: grid;
    gap: 2px;
}
.wp-block-group.is-style-shk-concl li {
    counter-increment: shk-ta;
    display: flex;
    gap: 18px;
    align-items: baseline;
    padding: 16px 0 16px 0;
    border-top: 1px solid rgba(251, 250, 246, .16);
    color: var(--color-paper, #FBFAF6);
    font-weight: 600;
    font-size: 1.05rem;
    position: static;
}
.wp-block-group.is-style-shk-concl li::before {
    content: counter(shk-ta, decimal-leading-zero);
    position: static;
    flex: none;
    background: none;
    width: auto;
    height: auto;
    font-family: var(--font-2, 'IBM Plex Mono', monospace);
    font-size: .85rem;
    color: var(--color-primaire, #009FE3);
}

/* --- Rendu dans l'éditeur : largeur de lecture confortable ---------- */
.editor-styles-wrapper .is-style-shk-kicker { display: block; }
