/* Source: generic.twig */
}
      {{ bwArchTextColor ? '--page-bw-archived-text:' ~ bwArchTextColor ~ ';' : '' }}
    }
    /* Mode N&B - Événements à la une */
    body[data-contrast-mode="bw"] .featured-events-section {
      background: var(--bw-featured-events-bg, var(--featured-events-bg, transparent)) !important;
      color: var(--bw-featured-events-text, var(--featured-events-text, inherit)) !important;
    }

    body[data-contrast-mode="bw"] .featured-event-shape,
    body[data-contrast-mode="bw"] .featured-event-item .featured-event-shape {
      background: var(--bw-evt-shape-bg) !important;
      color: var(--bw-evt-text) !important;
    }

    body[data-contrast-mode="bw"] .featured-event-text,
    body[data-contrast-mode="bw"] .featured-event-item .featured-event-text {
      color: var(--bw-evt-text) !important;
    }

    body[data-contrast-mode="bw"] .featured-event-btn,
    body[data-contrast-mode="bw"] .featured-event-item .featured-event-btn {
      background: var(--bw-evt-btn-bg, #ffffff) !important;
      color: var(--bw-evt-btn-text, #000000) !important;
      border-color: var(--bw-evt-btn-bg, #ffffff) !important;
    }

    body[data-contrast-mode="bw"] .featured-event-btn-icon,
    body[data-contrast-mode="bw"] .featured-event-item .featured-event-btn-icon {
      color: var(--bw-evt-btn-text, #000000) !important;
    }

    body[data-contrast-mode="bw"] .featured-event-btn span,
    body[data-contrast-mode="bw"] .featured-event-item .featured-event-btn span {
      color: var(--bw-evt-btn-text, #000000) !important;
    }

    body[data-contrast-mode="bw"] .featured-events-section .featured-event-item a.action-download.event-featured-pdf .action-download__label.featured-event-btn__label {
      background: var(--bw-evt-btn-bg, var(--bw-featured-events-btn-bg, #ffffff)) !important;
      color: var(--bw-evt-btn-text, var(--bw-featured-events-btn-text, #000000)) !important;
      border-color: var(--bw-evt-btn-bg, var(--bw-featured-events-btn-bg, #ffffff)) !important;
    }

    body[data-contrast-mode="bw"] .featured-event-link,
    body[data-contrast-mode="bw"] .featured-event-item .featured-event-link {
      color: var(--bw-evt-text) !important;
    }

    body[data-contrast-mode="bw"] .astroide-featured-registration-link,
    body[data-contrast-mode="bw"] .astroide-featured-event-item .astroide-featured-cell a:not(.button) {
      color: var(--bw-evt-text, #ffffff) !important;
    }

    /* Mode N&B - Événements archivés */
    body[data-contrast-mode="bw"] .archived-events-section {
      background: var(--bw-archived-events-bg, var(--archived-events-bg, transparent)) !important;
      color: var(--bw-archived-events-text, var(--archived-events-text, inherit)) !important;
    }

    body[data-contrast-mode="bw"] .archived-event-item {
      background: var(--bw-arch-evt-bg) !important;
      color: var(--bw-arch-evt-text) !important;
      border-bottom-color: var(--bw-arch-evt-text) !important;
    }

    body[data-contrast-mode="bw"] .archived-event-text,
    body[data-contrast-mode="bw"] .archived-event-item .archived-event-text,
    body[data-contrast-mode="bw"] .archived-event-item .archived-event-text p {
      color: var(--bw-arch-evt-text) !important;
    }

    body[data-contrast-mode="bw"] .archived-event-btn,
    body[data-contrast-mode="bw"] .archived-event-item .archived-event-btn {
      background: var(--bw-arch-evt-btn-bg, #000000) !important;
      color: var(--bw-arch-evt-btn-text, #ffffff) !important;
      border-color: var(--bw-arch-evt-btn-bg, #000000) !important;
      outline-color: var(--bw-arch-evt-btn-bg, #000000) !important;
    }

    /* Section archives (layout) en mode N&B - SAUF #archives qui a sa propre règle.
       Fallback explicite en BLANC/NOIR quand --bw-section-* n'est pas renseigne,
       afin d'eviter que la couleur seasonal ne reste visible en N&B (cas observe
       sur la page "à propos du contrat de filière"). */
    body[data-contrast-mode="bw"] section[data-has-seasonal="1"]:not(#archives) {
      background: var(--bw-section-bg, #ffffff) !important;
      color: var(--bw-section-text, #000000) !important;
    }

    /* Section #archives utilise les couleurs N&B des événements archivés */
    body[data-contrast-mode="bw"] section#archives,
    body[data-contrast-mode="bw"] section#archives[data-has-seasonal="1"],
    body[data-contrast-mode="bw"] #archives {
      background: var(--page-bw-archived-bg, #FFFFFF) !important;
      background-color: var(--page-bw-archived-bg, #FFFFFF) !important;
      color: var(--page-bw-archived-text, #000000) !important;
      --section-bg: var(--page-bw-archived-bg, #FFFFFF);
    }

    body[data-contrast-mode="bw"] section#archives .layout-section,
    body[data-contrast-mode="bw"] section#archives [data-has-seasonal="1"],
    body[data-contrast-mode="bw"] section#archives [data-has-bw-layout="1"],
    body[data-contrast-mode="bw"] section#archives > *,
    body[data-contrast-mode="bw"] #archives .layout-section[data-has-seasonal="1"],
    body[data-contrast-mode="bw"] #archives .layout-section[data-has-bw-layout="1"] {
      background: var(--page-bw-archived-bg, #FFFFFF) !important;
      background-color: var(--page-bw-archived-bg, #FFFFFF) !important;
      --section-bg: var(--page-bw-archived-bg, #FFFFFF);
      --bw-section-bg: var(--page-bw-archived-bg, #FFFFFF);
    }

    body[data-contrast-mode="bw"] section#archives h2,
    body[data-contrast-mode="bw"] section#archives p,
    body[data-contrast-mode="bw"] section#archives .copy {
      color: var(--page-bw-archived-text, #000000) !important;
    }

    body[data-contrast-mode="bw"] [data-has-bw-layout="1"] {
      background: var(--bw-section-bg, transparent) !important;
      color: var(--bw-section-text, inherit) !important;
    }

    body[data-contrast-mode="bw"] [data-has-bw-layout="1"] .button {
      background: var(--bw-section-button-bg, #000000) !important;
      color: var(--bw-section-button-text, #ffffff) !important;
      border-color: var(--bw-section-button-bg, #000000) !important;
    }
