/* ============================================
   CHRU Nancy — Composants (Figma-faithful)
   ============================================ */

/* === Container === défini dans style.css (source unique) */

/* === Transitions globales sur les liens === */
a {
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

/* === Force majuscule sur 1re lettre des liens "en savoir plus" === */
.chru-ressource-card__link::first-letter,
.chru-info-utile__link::first-letter {
    text-transform: uppercase;
}

/* === Boutons WordPress (Gutenberg) — style CHRU === */
/* Spécificité forte pour écraser WP Core qui utilise :root :where(...) */
.wp-element-button,
.wp-block-button__link,
.wp-block-button .wp-block-button__link {
    background-color: var(--chru-secondary, #14446B) !important;
    color: #fff !important;
    font-family: 'Open Sans', sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.37 !important;
    padding: 11px 37px !important;
    border: 2px solid var(--chru-secondary, #14446B) !important;
    border-radius: 30px !important;
    text-decoration: none !important;
    transition: all 0.2s ease;
    cursor: pointer;
}

.wp-element-button:hover,
.wp-block-button__link:hover,
.wp-block-button .wp-block-button__link:hover {
    background-color: transparent !important;
    color: var(--chru-secondary, #14446B) !important;
    border-color: var(--chru-secondary, #14446B) !important;
}

/* Variante outline */
.wp-block-button.is-style-outline .wp-block-button__link {
    background-color: transparent !important;
    color: var(--chru-secondary, #14446B) !important;
    border: 2px solid var(--chru-secondary, #14446B) !important;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
    background-color: var(--chru-secondary, #14446B) !important;
    color: #fff !important;
}

/* === Reset boutons Hello Elementor pour composants CHRU ===
   Ne cible que les boutons SANS classe chru-* (sinon les tags, modals, carrousels
   avec leur propre style voient leur padding/color/radius annulés). */
.chru-carousel-nav__btn,
.chru-points-forts__nav-btn,
.chru-fiche-ecole__btn,
[class*="chru-"] button:not([class*="chru-"]):not(.wp-element-button) {
    border-color: inherit;
    border-radius: inherit;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    padding: inherit;
}

/* Reset global button Hello Elementor (empêche #c36 rose) */
body:not(.elementor-page) [type=button],
body:not(.elementor-page) [type=submit],
body:not(.elementor-page) button:not([class*="chru-"]):not(.wp-element-button) {
    border-color: var(--chru-secondary, #14446B);
    color: var(--chru-secondary, #14446B);
    border-radius: 30px;
    font-family: 'Open Sans', sans-serif;
}

/* === Breadcrumb — SOURCE UNIQUE ===
 * Couvre TOUTES les variantes de fil d'Ariane utilisées sur le site :
 *   - `.chru-breadcrumb a`           (helper principal chru_render_breadcrumb)
 *   - `.chru-breadcrumb__link`       (variant BEM utilisé dans event / campagne)
 *   - `[class*="__breadcrumb"] a`    (wrappers {page}__breadcrumb évenement, campagne, archive…)
 *   - `[class*="-breadcrumb"] a`     (wrappers -breadcrumb)
 *
 * Comportement :
 *   - par défaut : soulignement 1px, offset 3px
 *   - au hover/focus : soulignement 2px (épaissi)
 *   - couleur = héritée (`currentColor`) pour que chaque contexte
 *     (hero sombre vs clair) ne redéfinisse QUE la couleur.
 *
 * Toute modif se fait ICI uniquement. */
/* La taille du breadcrumb est laissée héritée (chaque contexte la fixe :
   articles 0.8125rem, hero service 16px, etc.). Seul le weight est uniformisé. */
.chru-breadcrumb,
[class*="__breadcrumb"],
[class*="-breadcrumb"] {
    font-weight: var(--weight-semibold, 600);
}

.chru-breadcrumb a,
.chru-breadcrumb__link,
[class*="__breadcrumb"] a,
[class*="__breadcrumb"] .chru-breadcrumb__link,
[class*="-breadcrumb"] a,
[class*="-breadcrumb"] .chru-breadcrumb__link {
    color: inherit;
    font-weight: inherit;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: text-decoration-thickness 150ms ease, color 150ms ease;
}

.chru-breadcrumb a:hover,
.chru-breadcrumb a:focus-visible,
.chru-breadcrumb__link:hover,
.chru-breadcrumb__link:focus-visible,
[class*="__breadcrumb"] a:hover,
[class*="__breadcrumb"] a:focus-visible,
[class*="__breadcrumb"] .chru-breadcrumb__link:hover,
[class*="__breadcrumb"] .chru-breadcrumb__link:focus-visible,
[class*="-breadcrumb"] a:hover,
[class*="-breadcrumb"] a:focus-visible,
[class*="-breadcrumb"] .chru-breadcrumb__link:hover,
[class*="-breadcrumb"] .chru-breadcrumb__link:focus-visible {
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

.chru-breadcrumb .separator,
[class*="__breadcrumb"] .separator,
[class*="-breadcrumb"] .separator {
    font-weight: var(--weight-bold, 700);
    margin: 0 4px;
}

.chru-breadcrumb .current,
.chru-breadcrumb strong,
[class*="__breadcrumb"] strong,
[class*="-breadcrumb"] strong,
[class*="__breadcrumb"] span[aria-current="page"],
[class*="-breadcrumb"] span[aria-current="page"] {
    font-weight: var(--weight-bold, 700);
    text-decoration: none;
}

/* === Liens éditoriaux (contenu rédigé) — SOURCE UNIQUE ===
 * Politique uniforme du soulignement des liens dans TOUT le contenu
 * (pages, articles, services, structures, écoles, examens) ET dans les
 * blocs CHRU custom (plan-acces, infos-pratiques, liens-externes…).
 *
 * Comportement :
 *   - Par défaut : thickness 1px (trait fin, pas de "gras visuel")
 *   - Au hover/focus : thickness 2px (trait épaissi — SEULE différence visuelle)
 *   - AUCUN changement de font-size, font-weight ou line-height au hover.
 *     Le texte ne doit jamais "grossir" en taille ou en graisse.
 *   - Soulignement par défaut appliqué uniquement dans les balises texte
 *     (p, li, h*, td, blockquote…) pour ne pas casser les cards stylisées. */

/* Thickness fin par défaut ; trait épaissi au hover */
.chru-content a {
    text-decoration-thickness: 1px !important;
    text-underline-offset: 3px;
}
.chru-content a:hover,
.chru-content a:focus-visible {
    text-decoration-thickness: 2px !important;
}

/* Garde-fou : empêche TOUT changement de taille ou de graisse sur le label
   d'un lien au hover. Seul le trait de soulignement peut s'épaissir (règle
   au-dessus). Si un bloc futur redéfinit font-weight/size au hover, cette
   règle l'annule (l'élément garde la valeur héritée de son état initial). */
.chru-content a:hover,
.chru-content a:focus,
.chru-content a:focus-visible {
    font-weight: inherit !important;
    font-size: inherit !important;
}

/* Soulignement par défaut dans les balises texte, en excluant les boutons */
.chru-content :is(p, li, h1, h2, h3, h4, h5, h6, td, dd, dt, blockquote, figcaption) a:not(.wp-block-button__link):not(.wp-element-button):not(.chru-btn) {
    text-decoration: underline;
}

/* === Section === */
.chru-section {
    padding: var(--space-2xl, 64px) 0;
}

.chru-section--grey {
    background: var(--chru-grey, #F6F6F6);
}

.chru-section--blue {
    background: var(--chru-blue-service, #14446B);
    color: #fff;
}

.chru-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-lg, 36px);
}

/* Variante sans titre : le bouton CTA reste aligné à droite. */
.chru-section__header--no-title {
    justify-content: flex-end;
    margin-bottom: var(--space-md, 24px);
}

.chru-section__title {
    font-size: var(--h2-size, 24px);
    font-weight: var(--weight-bold, 700);
    color: var(--chru-blue-service, #14446B);
    margin: 0 0 47px;
}

/* Quand le titre est dans un header flex, c'est le header qui gère l'espacement */
.chru-section__header .chru-section__title {
    margin-bottom: 0;
}

.chru-section__title span,
.chru-section__title em,
.chru-section__title strong {
    color: var(--chru-blue-light, #0096D6);
    font-style: normal;
    font-weight: inherit;
}

.chru-section--blue .chru-section__title,
.chru-section--blue .chru-section__title span {
    color: #fff;
}

/* ============================================
   HERO SERVICE — Split blue/image
   Figma: blue left 730px, image right 710px
   Total height: ~596px (blue) / 644px (image)
   ============================================ */

.chru-hero-service {
    position: relative;
    display: flex;
    min-height: 596px;
    overflow: hidden;
}

/* Shorter hero when no featured image */
.chru-hero-service:has(.chru-hero-service__image--placeholder) {
    min-height: 380px;
}

/* Blue panel (left) */
.chru-hero-service__content {
    position: relative;
    z-index: 2;
    background: var(--chru-blue-service, #14446B);
    width: 50.7%;  /* 730 / 1440 */
    padding: 60px var(--container-padding, 80px) 60px;
    padding-left: max(var(--container-padding, 80px), calc((100vw - 17px - var(--page-width, 1440px)) / 2 + var(--container-padding, 80px)));
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-lg, 36px);
}

/* Breadcrumb du hero service : style de base hérité de .chru-breadcrumb (source unique).
   Ici : juste la couleur blanche sur hero sombre. */
.chru-hero-service__breadcrumb,
.chru-hero-service__breadcrumb a {
    color: #fff;
}

.chru-hero-service__title-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 475px;
}

.chru-hero-service__title {
    font-size: var(--h1-size, 45px);
    font-weight: var(--weight-bold, 700);
    color: #fff;
    margin: 0;
    line-height: 1.2;
}

/* Globale : em / i en italique seulement (jamais bold héritée).
 * Note : .chru-section__title em garde son propre style (couleur bleu clair, non italique)
 * défini plus haut dans ce fichier — il sert de marqueur de couleur dans les titres. */
em, i {
    font-weight: 400;
    font-style: italic;
}
strong em, strong i, b em, b i,
em strong, em b, i strong, i b {
    font-weight: 700;
}

/* Decorative underline below H1 */
.chru-hero-service__title::after {
    content: '';
    display: block;
    width: 212px;
    height: 3px;
    background: var(--chru-blue-light, #0096D6);
    margin-top: 12px;
    border-radius: 2px;
}

.chru-hero-service__intro {
    font-size: var(--chapo-size, 24px);
    font-weight: var(--weight-semibold, 600);
    color: #fff;
    line-height: 1.4;
    margin: 0;
    max-width: 602px;
}

/* Image panel (right) */
.chru-hero-service__image {
    position: relative;
    z-index: 1;
    width: 49.3%;  /* 710 / 1440 */
    min-height: 644px;
}

/* Shorter image when placeholder */
.chru-hero-service__image--placeholder {
    min-height: 380px;
}

.chru-hero-service__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

/* Placeholder when no featured image */
.chru-hero-service__image--placeholder {
    background: linear-gradient(160deg, #1a5a8e 0%, #0d3a5c 60%, #14446B 100%);
}

.chru-hero-service__placeholder-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    opacity: 0.12;
}

.chru-hero-service__credit {
    position: relative;
    z-index: 3;
    font-size: 16px;
    font-weight: var(--weight-regular, 400);
    font-style: italic;
    color: var(--chru-blue-text, #2D4356);
    padding: 12px var(--container-padding, 80px);
    text-align: right;
}

/* ============================================
   SOMMAIRE SIDEBAR
   Figma: 369px wide, #F6F6F6, 14px border-radius
   ============================================ */

.chru-sommaire {
    position: sticky;
    top: calc(var(--header-height, 150px) + 20px);
    background: var(--chru-grey, #F6F6F6);
    border-radius: var(--radius-md, 14px);
    padding: 48px;
    width: 100%;
    max-width: 100%;
}

.chru-sommaire__title {
    font-size: var(--h3-size, 20px);
    font-weight: var(--weight-bold, 700);
    color: var(--chru-blue-service, #14446B);
    margin: 0 0 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.chru-sommaire__title-icon {
    width: 18px;
    height: 16px;
    flex-shrink: 0;
}

/* Separator after title */
.chru-sommaire__separator {
    width: 100%;
    height: 1px;
    background: var(--chru-blue-service, #14446B);
    margin-bottom: var(--space-lg, 36px);
    border: none;
}

.chru-sommaire__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm, 14px);
}

.chru-sommaire .chru-sommaire__list {
    list-style: none;
    padding-left: 0;
}
.chru-sommaire .chru-sommaire__list a,
.chru-sommaire .chru-sommaire__list a:hover,
.chru-sommaire .chru-sommaire__list a:focus {
    text-decoration: none;
}
.chru-sommaire .chru-sommaire__list a {
    display: block;
    color: var(--chru-blue-text, #2D4356);
    text-decoration: none;
    font-size: 16px;
    line-height: 1.35;
    font-weight: var(--weight-semibold, 600);
    transition: color var(--transition-fast, 150ms ease);
}

.chru-sommaire__list a:hover,
.chru-sommaire__list a.is-active {
    color: var(--chru-blue-light, #0096D6);
    text-decoration-color: var(--chru-blue-light, #0096D6);
}

/* Special item (Votre parcours de soins) */
.chru-sommaire__special {
    margin-top: var(--space-lg, 36px);
}

.chru-sommaire__special a {
    font-size: var(--h4-size, 18px);
    font-weight: var(--weight-bold, 700);
    color: var(--chru-blue-text, #2D4356);
    text-decoration: underline;
    display: flex;
    align-items: center;
    gap: 6px;
}

.chru-sommaire__special-icon {
    width: 14px;
    height: 19px;
    flex-shrink: 0;
}

/* ============================================
   LAYOUT SERVICE (sidebar + contenu)
   ============================================ */

.chru-service-layout {
    display: grid;
    grid-template-columns: var(--sidebar-width, 369px) 1fr;
    gap: var(--space-xl, 48px);
    align-items: start;
    padding: var(--space-xl, 48px) 0;
}

.chru-service-content {
    min-width: 0;
}

/* Espacement entre blocs Gutenberg CHRU dans le contenu */
.chru-service-content > [class*="wp-block-chru-"] {
    margin-top: 0;
    margin-bottom: 48px;
}

.chru-service-content > [class*="wp-block-chru-"]:last-child {
    margin-bottom: 0;
}

/* Groupes Gutenberg : même rythme vertical */
.chru-service-content > .wp-block-group {
    margin-bottom: 48px;
}

.chru-service-content > .wp-block-group:last-child {
    margin-bottom: 0;
}

/* ============================================
   STRUCTURE CARDS
   Figma: 305px wide, 14px border-radius, colored headers
   ============================================ */

.chru-cards-structures {
    display: flex;
    gap: var(--space-md, 20px);
    overflow-x: auto;
    padding-bottom: 8px;
}

.chru-card-structure {
    width: 305px;
    min-width: 305px;
    border-radius: var(--radius-md, 14px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Colored header */
.chru-card-structure__header {
    padding: 21px 24px;
    border-radius: var(--radius-md, 14px) var(--radius-md, 14px) 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Color variants */
.chru-card-structure__header--etp {
    background: var(--chru-blue-light, #0096D6);
}

.chru-card-structure__header--centre {
    background: var(--chru-blue-canard, #197CAA);
}

.chru-card-structure__header--service {
    background: var(--chru-blue-service, #14446B);
}

.chru-card-structure__header--rare {
    background: var(--chru-dark-pink, #D12C6F);
}

.chru-card-structure__header-title {
    font-size: var(--h4-size, 18px);
    font-weight: var(--weight-bold, 700);
    color: #fff;
    margin: 0;
    line-height: 1.3;
}

.chru-card-structure__header-arrow {
    width: 19px;
    height: 17px;
    flex-shrink: 0;
}

/* Card body */
.chru-card-structure__body {
    border: 1px solid var(--chru-gray-border-alt, #DDDDDD);
    border-top: none;
    border-radius: 0 0 var(--radius-md, 14px) var(--radius-md, 14px);
    padding: 12px 24px;
    flex: 1;
}

/* Color-matched borders */
.chru-card-structure--etp .chru-card-structure__body {
    border-color: var(--chru-blue-light, #0096D6);
}

.chru-card-structure--centre .chru-card-structure__body {
    border-color: var(--chru-blue-canard, #197CAA);
}

.chru-card-structure--service .chru-card-structure__body {
    border-color: var(--chru-blue-service, #14446B);
}

.chru-card-structure__body p {
    font-size: 16px;
    font-weight: var(--weight-semibold, 600);
    color: var(--chru-blue-text, #2D4356);
    margin: 0;
    line-height: 1.5;
}

.chru-card-structure__link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform var(--transition-fast, 150ms ease);
}

.chru-card-structure__link:hover {
    transform: translateY(-2px);
}

/* ============================================
   EVENT CARDS
   Figma: 413px wide, 30px radius, gradient overlay
   ============================================ */

.chru-cards-events {
    display: flex;
    gap: var(--space-md, 20px);
    overflow-x: auto;
    padding-bottom: 8px;
}

.chru-card-event {
    width: 413px;
    min-width: 413px;
    border: 1px solid var(--chru-gray-border-alt, #DDDDDD);
    border-radius: var(--radius-pill, 30px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.chru-card-event__link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

/* Image area with gradient overlay */
.chru-card-event__image {
    position: relative;
    height: 200px;
    overflow: hidden;
    border-radius: var(--radius-pill, 30px) var(--radius-pill, 30px) 0 0;
}

.chru-card-event__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.chru-card-event__image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(217.627deg, rgba(255, 255, 255, 0) 19.245%, rgba(0, 0, 0, 0.68) 80.755%);
    pointer-events: none;
}

/* Date badge */
.chru-card-event__date {
    position: absolute;
    bottom: -1px;
    left: 0;
    z-index: 2;
    background: var(--chru-blue-service, #14446B);
    border-radius: 0 var(--radius-md, 14px) 0 0;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
}

.chru-card-event__date-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.chru-card-event__date-separator {
    width: 1px;
    height: 38px;
    background: rgba(255, 255, 255, 0.4);
}

.chru-card-event__date-text {
    display: flex;
    flex-direction: column;
}

.chru-card-event__date-day {
    font-size: 22px;
    font-weight: var(--weight-bold, 700);
    line-height: 1.1;
}

.chru-card-event__date-year {
    font-size: 18px;
    font-weight: var(--weight-regular, 400);
}

/* Content area */
.chru-card-event__content {
    padding: 16px 20px 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.chru-card-event__category {
    font-size: 16px;
    font-weight: var(--weight-semibold, 600);
    color: var(--chru-blue-service, #14446B);
}

.chru-card-event__title {
    font-size: var(--h3-size, 20px);
    font-weight: var(--weight-bold, 700);
    color: var(--chru-blue-service, #14446B);
    margin: 0;
    line-height: 1.3;
}

/* Footer */
.chru-card-event__footer {
    padding: 14px 20px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.chru-card-event__location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    font-weight: var(--weight-bold, 700);
    color: var(--chru-blue-service, #14446B);
}

.chru-card-event__location-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--chru-blue-light, #0096D6);
}

.chru-card-event__more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    font-weight: var(--weight-semibold, 600);
    color: var(--chru-blue-service, #14446B);
    text-decoration: underline;
    text-decoration-color: var(--chru-blue-service, #14446B);
}

.chru-card-event__more-icon {
    width: 19px;
    height: 17px;
}

/* Campaign tag (overlay bottom-right on card image) */
.chru-card-event__campaign-tag {
    position: absolute;
    bottom: -1px;
    right: 0;
    background: var(--chru-blue-light, #0096D6);
    padding: 10px 21px;
    font-size: var(--tag-size, 15px);
    font-weight: var(--weight-semibold, 600);
    color: #fff;
    z-index: 3;
    border-top-left-radius: var(--radius-md, 14px);
}

/* Carousel variant: 2 cards visible */
.chru-card-event--carousel {
    width: auto;
    min-width: calc((100% - 20px) / 2);
    max-width: calc((100% - 20px) / 2);
    flex: 0 0 calc((100% - 20px) / 2);
    scroll-snap-align: start;
}

/* Generic icon utility */
.chru-icon {
    flex-shrink: 0;
}

/* Carousel navigation (shared) — SVG circulaire Figma */
.chru-carousel-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--space-sm, 14px);
    margin-top: 24px;
}

.chru-carousel-nav__btn {
    width: 44px;
    height: 44px;
    border: none;
    background: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--chru-blue-light, #0096D6);
    transition: color var(--transition-fast, 150ms ease);
}

.chru-carousel-nav__btn:hover,
.chru-carousel-nav__btn:focus {
    color: var(--chru-blue-service, #14446B);
    background-color: transparent;
}

/* Flip next arrow to point right */
.chru-carousel-nav__btn--next svg {
    transform: scaleX(-1);
}

/* ============================================
   ARTICLE CARDS
   Figma: 631px wide, horizontal layout, 30px radius
   ============================================ */

.chru-cards-articles {
    display: flex;
    gap: var(--space-md, 20px);
    overflow-x: auto;
    padding-bottom: 8px;
}

.chru-card-article {
    width: 631px;
    min-width: 500px;
    height: 303px;
    display: flex;
    border-radius: var(--radius-pill, 30px);
    overflow: hidden;
    background: #fff;
}

.chru-card-article__link {
    display: flex;
    text-decoration: none;
    color: inherit;
    width: 100%;
}

/* Image (left ~34%) */
.chru-card-article__image {
    width: 34.4%;
    flex-shrink: 0;
    overflow: hidden;
}

.chru-card-article__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Content (right ~66%) */
.chru-card-article__content {
    width: 65.6%;
    border: 1px solid var(--chru-gray-border, #E9E9E9);
    border-left: none;
    border-radius: 0 var(--radius-pill, 30px) var(--radius-pill, 30px) 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
}

.chru-card-article__inner {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Category tag pill */
.chru-card-article__tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 30px;
    padding: 5px 14px;
    border-radius: var(--radius-pill, 30px);
    font-size: var(--tag-size, 15px);
    font-weight: var(--weight-semibold, 600);
    color: #fff;
    width: fit-content;
}

/* Tag dot */
.chru-card-article__tag::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    flex-shrink: 0;
}

/* Tag color variants */
.chru-card-article__tag--soins {
    background: var(--chru-metiers, #CD3620);
}

.chru-card-article__tag--recherche {
    background: var(--chru-blue-canard, #197CAA);
}

.chru-card-article__tag--formation {
    background: var(--chru-formation, #DC992A);
}

.chru-card-article__tag--evenement {
    background: var(--chru-blue-service, #14446B);
}

.chru-card-article__title {
    font-size: var(--h3-size, 20px);
    font-weight: var(--weight-bold, 700);
    color: var(--chru-blue-text, #2D4356);
    margin: 0;
    line-height: 1.3;
}

.chru-card-article__excerpt {
    font-size: 16px;
    font-weight: var(--weight-semibold, 600);
    color: var(--chru-blue-text, #2D4356);
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Article footer (date + read more) */
.chru-card-article__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chru-card-article__date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    font-weight: var(--weight-semibold, 600);
    color: var(--chru-gray-text, #6C6C6C);
}

.chru-card-article__date-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.chru-card-article__read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    font-weight: var(--weight-semibold, 600);
    color: var(--chru-blue-service, #14446B);
    text-decoration: underline;
    text-decoration-color: var(--chru-blue-service, #14446B);
}

.chru-card-article__read-more-icon {
    width: 19px;
    height: 17px;
    flex-shrink: 0;
}

/* ============================================
   BOUTONS CTA
   Figma: 30px radius, 44px height, 15px bold
   ============================================ */

.chru-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 44px;
    padding: 11px 37px;
    border-radius: var(--radius-pill, 30px);
    font-weight: var(--weight-bold, 700);
    font-size: var(--button-size, 15px);
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all var(--transition-fast, 150ms ease);
    white-space: nowrap;
    line-height: 1.368;
}

.chru-btn__icon {
    width: 19px;
    height: 17px;
    flex-shrink: 0;
    transition: inherit;
}

/* Arrow SVG : default = white fill, blue stroke */
.chru-btn--primary .chru-btn__icon path {
    fill: #fff;
    stroke: var(--chru-blue-service, #14446B);
    transition: fill var(--transition-fast, 150ms ease), stroke var(--transition-fast, 150ms ease);
}

/* Arrow SVG hover : blue fill, white stroke */
.chru-btn--primary:hover .chru-btn__icon path,
.chru-btn--primary:focus .chru-btn__icon path {
    fill: var(--chru-blue-service, #14446B);
    stroke: #fff;
}

.chru-btn--primary {
    background: var(--chru-blue-service, #14446B);
    color: #fff;
    border-color: var(--chru-blue-service, #14446B);
}

.chru-btn--primary:hover,
.chru-btn--primary:focus {
    background: transparent;
    border-color: var(--chru-blue-service, #14446B);
    color: var(--chru-blue-service, #14446B);
}

.chru-btn--outline {
    background: transparent;
    color: var(--chru-blue-service, #14446B);
    border-color: var(--chru-blue-service, #14446B);
}

.chru-btn--outline:hover {
    background: var(--chru-blue-service, #14446B);
    color: #fff;
}

.chru-btn--white {
    background: #fff;
    color: var(--chru-blue-service, #14446B);
    border-color: #fff;
}

.chru-btn--white:hover {
    background: var(--chru-grey, #F6F6F6);
}

/* ============================================
   LIENS INTERNES
   Figma: 16px semibold, underline, fleche 15x12
   Icon uses currentColor → auto-adapts to label color
   ============================================ */

.chru-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    font-weight: var(--weight-semibold, 600);
    color: var(--chru-blue-service, #14446B);
    text-decoration: underline;
    text-decoration-color: currentColor;
    line-height: 1.368;
    transition: color var(--transition-fast, 150ms ease), font-weight var(--transition-fast, 150ms ease);
}

.chru-link:hover,
.chru-link:focus {
    color: var(--chru-blue-light, #0096D6);
}

.chru-link__icon {
    width: 15px;
    height: 12px;
    flex-shrink: 0;
    color: inherit;
}

/* SVG uses fill="currentColor" in HTML — inherits link color */

/* White variant (on colored backgrounds) */
.chru-link--white {
    color: #fff;
}

.chru-link--white:hover,
.chru-link--white:focus {
    color: #fff;
}

/* External variant (external link icon instead of arrow) */
.chru-link--external .chru-link__icon {
    width: 14px;
    height: 14px;
}

.chru-card-event__more:hover,
.chru-card-event__more:focus {
    color: var(--chru-blue-light, #0096D6);
    text-decoration-color: var(--chru-blue-light, #0096D6);
}

.chru-card-article__read-more:hover,
.chru-card-article__read-more:focus {
    color: var(--chru-blue-light, #0096D6);
    text-decoration-color: var(--chru-blue-light, #0096D6);
}

/* ============================================
   GRILLES
   ============================================ */

.chru-grid {
    display: grid;
    gap: var(--space-md, 20px);
}

.chru-grid--2 {
    grid-template-columns: repeat(2, 1fr);
}

.chru-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.chru-grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

/* ============================================
   HERO ARCHIVE (bandeau bleu plein écran)
   ============================================ */

.chru-hero-archive {
    background: var(--chru-blue-service, #14446B);
    color: #fff;
    text-align: center;
    padding: var(--space-xl, 48px) 0;
}

.chru-hero-archive__title {
    font-size: var(--h1-size, 45px);
    font-weight: var(--weight-bold, 700);
    margin: 0;
}

.chru-hero-archive__subtitle {
    font-size: 16px;
    margin: 16px 0 0;
    opacity: 0.85;
}

/* ============================================
   FILTRES
   ============================================ */

.chru-filters {
    padding: 20px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.chru-filters__label {
    font-weight: var(--weight-semibold, 600);
    color: var(--chru-blue-service, #14446B);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.chru-filters__btn {
    background: var(--chru-blue-service, #14446B);
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: var(--radius-pill, 30px);
    font-weight: var(--weight-semibold, 600);
    font-size: 14px;
    cursor: pointer;
    font-family: inherit;
}

/* ============================================
   PAGINATION
   ============================================ */

.chru-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: var(--space-xl, 48px) 0;
}

.chru-pagination a,
.chru-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    font-weight: var(--weight-semibold, 600);
    font-size: 15px;
    color: var(--chru-blue-service, #14446B);
    border: 1px solid var(--chru-gray-border, #E9E9E9);
    transition: all var(--transition-fast, 150ms ease);
}

.chru-pagination a:hover {
    background: var(--chru-grey, #F6F6F6);
}

.chru-pagination .current {
    background: var(--chru-blue-service, #14446B);
    color: #fff;
    border-color: var(--chru-blue-service, #14446B);
}

/* ============================================
   ALERT BOX
   ============================================ */

.chru-alert {
    border-radius: var(--radius-md, 14px);
    padding: 20px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.chru-alert--info {
    background: #e8f4fd;
    border-left: 4px solid var(--chru-blue-canard, #197CAA);
}

.chru-alert--warning {
    background: #fff8e1;
    border-left: 4px solid #FAB200;
}

.chru-alert--important {
    background: #fce8e8;
    border-left: 4px solid var(--chru-urgences, #DA1500);
}

.chru-alert__icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.chru-alert__content {
    font-size: 15px;
    line-height: 1.5;
}

/* ============================================
   LINKS LIST ("Pour aller plus loin")
   ============================================ */

.chru-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.chru-links-list li {
    border-bottom: 1px solid var(--chru-gray-border, #E9E9E9);
}

.chru-links-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    text-decoration: underline;
    color: var(--chru-blue-text, #2D4356);
    font-size: 15px;
    font-weight: var(--weight-semibold, 600);
    transition: color var(--transition-fast, 150ms ease);
}

.chru-links-list a:hover {
    color: var(--chru-blue-light, #0096D6);
}

.chru-links-list__icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* OVERRIDES chru-service-template — supprimé (plugin non installé) */

/* ============================================
   OVERRIDES BLOCS GUTENBERG
   Uniformisation boutons + couleurs liens
   ============================================ */

/* Texte-Image button → style chru-btn--primary */
.chru-texte-image__button {
    border: 1px solid var(--chru-blue-service, #14446B) !important;
    transition: all var(--transition-fast, 150ms ease) !important;
}

.chru-texte-image__button:hover,
.chru-texte-image__button:focus {
    background: transparent !important;
    color: var(--chru-blue-service, #14446B) !important;
    border-color: var(--chru-blue-service, #14446B) !important;
}

.chru-texte-image__button path {
    fill: #fff;
    stroke: var(--chru-blue-service, #14446B);
    transition: fill var(--transition-fast, 150ms ease), stroke var(--transition-fast, 150ms ease);
}

.chru-texte-image__button:hover path,
.chru-texte-image__button:focus path {
    fill: var(--chru-blue-service, #14446B);
    stroke: #fff;
}

/* Info-utile link : preserve white on dark bg */
.chru-info-utile__link {
    color: #fff !important;
}

.chru-info-utile__link:hover,
.chru-info-utile__link:focus {
    color: var(--chru-blue-pastel, #c5e1ff) !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .chru-service-layout {
        grid-template-columns: 1fr;
    }

    .chru-sommaire {
        position: static;
        width: 100%;
    }

    .chru-cards-structures,
    .chru-cards-events,
    .chru-cards-articles {
        flex-wrap: wrap;
    }

    .chru-card-structure {
        width: calc(50% - 10px);
        min-width: 0;
    }

    .chru-card-event {
        width: calc(50% - 10px);
        min-width: 0;
    }

    .chru-card-event--carousel {
        min-width: 300px;
        max-width: none;
        flex: 0 0 300px;
    }

    .chru-card-article {
        width: 100%;
        min-width: 0;
    }

    .chru-grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .chru-hero-service {
        flex-direction: column;
        min-height: auto;
    }

    .chru-hero-service__content {
        width: 100%;
        padding: 40px 20px;
    }

    .chru-hero-service__image {
        width: 100%;
        min-height: 300px;
        position: relative;
    }

    .chru-hero-service__image img {
        position: relative;
    }

    .chru-hero-service__credit {
        padding: 8px 20px;
    }

    .chru-grid--2,
    .chru-grid--3 {
        grid-template-columns: 1fr;
    }

    .chru-grid--4 {
        grid-template-columns: 1fr;
    }

    .chru-card-structure,
    .chru-card-event {
        width: 100%;
    }

    .chru-card-event--carousel {
        min-width: 280px;
        max-width: none;
        flex: 0 0 280px;
    }

    .chru-card-article {
        flex-direction: column;
        height: auto;
    }

    .chru-card-article__image {
        width: 100%;
        height: 200px;
    }

    .chru-card-article__content {
        width: 100%;
        border-left: 1px solid var(--chru-gray-border, #E9E9E9);
        border-radius: 0 0 var(--radius-pill, 30px) var(--radius-pill, 30px);
    }

    .chru-card-article__image img {
        border-radius: var(--radius-pill, 30px) var(--radius-pill, 30px) 0 0;
    }

    .chru-section__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

/* ============================================
 * CHRU Accent — format RichText custom (span.chru-accent)
 * ============================================ */
.chru-accent {
    color: var(--chru-blue-light, #009FE3);
}

/* ============================================
 * Scroll-top button — orange CHRU pour rester visible y compris au-dessus
 * du footer bleu foncé (retour client : avec un bouton bleu, on ne le voit
 * plus quand on est tout en bas de la page).
 * ============================================ */
#chru-scroll-top {
    background-color: var(--chru-orange, #F1A333) !important;
    border-color: #fff !important;
}
#chru-scroll-top,
#chru-scroll-top svg,
#chru-scroll-top svg path {
    color: #fff !important;
    fill: #fff !important;
}
#chru-scroll-top:hover,
#chru-scroll-top:focus {
    background-color: var(--chru-dark-orange, #A2630A) !important;
}

/* ============================================
 * Cartes articles liés — partagées single-service / single-post
 * ============================================ */

.chru-articles-lies,
.chru-post-others {
    margin-bottom: 48px;
}

.chru-articles-lies > h2,
.chru-post-others__title {
    font-size: 32px;
    font-weight: 700;
    color: var(--chru-blue-service, #14446b);
    margin: 0 0 47px;
}

.chru-articles-lies__grid,
.chru-post-others .chru-blog-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.chru-article-card {
    flex: 1 1 calc(50% - 10px);
    display: flex;
    border-radius: 30px;
    overflow: hidden;
    background-color: #fff;
    border: none;
    box-shadow: none;
    transition: box-shadow 250ms ease;
    text-decoration: none;
}

.chru-article-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.chru-article-card__image {
    flex-shrink: 0;
    width: 217px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--chru-gray, #F6F6F6);
}

.chru-article-card__image img,
.chru-article-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
}

.chru-article-card__image-placeholder {
    width: 96px;
    height: 96px;
    opacity: 0.3;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314446B' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='3' width='18' height='18' rx='2'/><circle cx='8.5' cy='8.5' r='1.5'/><polyline points='21 15 16 10 5 21'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.chru-article-card__body {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chru-article-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    background-color: var(--badge-color, var(--chru-green, #3FA535));
    text-decoration: none;
}

.chru-article-card__badge::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
    flex-shrink: 0;
}

.chru-article-card__date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: var(--chru-blue-light, #0096d6);
    margin-top: auto;
}

.chru-article-card__date svg {
    flex-shrink: 0;
}

.chru-article-card__title {
    font-size: 18px;
    /* Gras 800 pour titre bien visible (retour client : « titre en gras »). */
    font-weight: 800;
    color: var(--chru-blue-service, #14446b);
    margin: 0;
    line-height: 1.3;
}

.chru-article-card__title a {
    color: inherit;
    text-decoration: none;
}

.chru-article-card__title a:hover,
.chru-article-card__title a:focus {
    text-decoration: underline;
}

.chru-article-card__excerpt {
    font-size: 16px;
    color: var(--chru-blue-text, #2d4356);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.chru-article-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
}

.chru-article-card__link {
    font-size: 16px;
    font-weight: 600;
    color: var(--chru-blue-service, #14446b);
    text-decoration: underline;
    text-underline-offset: 3px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.chru-article-card__link:hover,
.chru-article-card__link:focus {
    color: var(--chru-blue-canard, #197caa);
}

@media (max-width: 768px) {
    .chru-article-card {
        flex-direction: column;
    }
    .chru-article-card__image {
        width: 100%;
        height: 200px;
    }
}

/* ============================================================
 * RETOURS CLIENT — overrides bloc Gutenberg (chru-blocks)
 * ============================================================ */

/* --- Bloc À retenir : marges + padding badge titre --- */
.chru-a-retenir {
    padding: 64px 45px 28px !important;
    margin-top: 56px !important;
    margin-bottom: 24px;
}
.chru-a-retenir__badge {
    top: -26px !important;
    padding: 15px 20px !important;
    line-height: 1 !important;
}
.chru-a-retenir__badge-label {
    line-height: 1 !important;
}
.chru-a-retenir__col p,
.chru-a-retenir__col ul,
.chru-a-retenir__col ol {
    margin: 0 0 10px;
}
.chru-a-retenir__col p:last-child,
.chru-a-retenir__col ul:last-child,
.chru-a-retenir__col ol:last-child { margin-bottom: 0; }
.chru-a-retenir__col ul,
.chru-a-retenir__col ol { padding-left: 20px; font-weight: 600; font-size: 16px; line-height: 1.5; color: var(--chru-primary, #2d4356); }
.chru-a-retenir__col li { margin-bottom: 4px; }

/* --- Bloc Liens utiles : suppr doublon picto, soulign déco, poids --- */
.chru-liens-utiles__link {
    text-decoration: none !important;
}
.chru-liens-utiles__label {
    font-weight: 700 !important;
    text-decoration: none !important;
}
.chru-liens-utiles__desc {
    font-weight: 400 !important;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
.chru-liens-utiles__link:hover .chru-liens-utiles__desc,
.chru-liens-utiles__link:focus-visible .chru-liens-utiles__desc {
    text-decoration: underline;
}
/* Quand le lien est externe : ne pas dupliquer la flèche à droite (gardée) avec icône externe à gauche.
   On force l'icône gauche à rester l'icône "lien" (chaîne), même pour les externes. */
.chru-liens-utiles__item .chru-liens-utiles__icon svg {
    /* L'icône externe et l'icône lien sont déjà fournies par le bloc.
       Sur le rendu front, on masque la flèche droite uniquement quand le lien est externe
       car l'utilisateur trouvait qu'il y avait doublon. On garde plutôt l'icône externe. */
}
.chru-liens-utiles__link[target="_blank"] .chru-liens-utiles__arrow {
    display: none;
}

/* --- Bloc Liens externes (Pour aller plus loin) : poids domaine + souligné desc --- */
.chru-liens-externes__link {
    text-decoration: none !important;
}
.chru-liens-externes__link-label {
    font-weight: 700 !important;
    text-decoration: none !important;
}
.chru-liens-externes__link-domain {
    font-weight: 400 !important;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
/* Liens internes : masquer le domaine (URL CHRU non pertinente) */
.chru-liens-externes__link[data-internal="1"] .chru-liens-externes__link-domain {
    display: none;
}

/* --- Bouton retour en haut de page : picto plus arrondi/grand --- */
.chru-back-to-top,
.chru-scroll-top,
#chru-back-top {
    border-radius: 50% !important;
    width: 56px !important;
    height: 56px !important;
}
.chru-back-to-top svg,
.chru-scroll-top svg,
#chru-back-top svg {
    width: 26px !important;
    height: 26px !important;
}

/* --- Bloc Texte + image : fix angles arrondis (fond gris visible) --- */
.chru-texte-image__image,
.chru-texte-image figure,
.chru-texte-image picture {
    overflow: hidden;
    border-radius: 16px;
    background: transparent !important;
}
.chru-texte-image img {
    display: block;
    border-radius: 16px;
}

/* --- Galerie : légende plus nette + format crédits --- */
.wp-block-gallery figcaption,
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption,
.wp-block-image figcaption,
.chru-gallery figcaption {
    font-size: 14px;
    font-weight: 500;
    color: var(--chru-primary, #2D4356);
    opacity: 1;
    text-shadow: none !important;
    background: rgba(255,255,255,0.9);
    padding: 6px 10px;
    border-radius: 6px;
}

/* --- Accordéons (services + examens) : chevron 20px + padding homogène --- */
.chru-accordeon__chevron,
.chru-accordeon-section__chevron,
.chru-examen-section__chevron,
.chru-examen-detail__chevron,
.chru-accordeon details > summary svg,
.chru-accordeon-section details > summary svg,
.chru-examen-detail details > summary svg {
    width: 20px !important;
    height: 20px !important;
    flex-shrink: 0;
}
.chru-accordeon__panel,
.chru-accordeon__content,
.chru-accordeon-section__panel,
.chru-accordeon-section__content,
.chru-examen-section__panel,
.chru-examen-section__content,
.chru-examen-detail__section-content {
    padding-top: 16px !important;
    padding-bottom: 16px !important;
}
.chru-accordeon__panel > *:first-child,
.chru-accordeon__content > *:first-child,
.chru-accordeon-section__panel > *:first-child,
.chru-accordeon-section__content > *:first-child,
.chru-examen-section__panel > *:first-child,
.chru-examen-section__content > *:first-child,
.chru-examen-detail__section-content > *:first-child { margin-top: 0; }
.chru-accordeon__panel > *:last-child,
.chru-accordeon__content > *:last-child,
.chru-accordeon-section__panel > *:last-child,
.chru-accordeon-section__content > *:last-child,
.chru-examen-section__panel > *:last-child,
.chru-examen-section__content > *:last-child,
.chru-examen-detail__section-content > *:last-child { margin-bottom: 0; }

/* --- Liste de boutons examens sur page service --- */
.chru-links-list--examens {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.chru-links-list--examens .chru-btn--sm {
    padding: 10px 20px;
    font-size: 15px;
}

/* ==============================================================
 * SOMMAIRE (TOC) — SOURCE UNIQUE
 * Utilisé sur : single-service_de_soins.php, single.php (articles)
 * Toute modif doit se faire ICI uniquement. Ne pas dupliquer.
 * Les layouts spécifiques (sticky pour articles, variants urgences,
 * display mobile) restent dans single-post.css / single-service.css.
 * ============================================================== */

.chru-sommaire {
    background: var(--chru-grey, #F6F6F6);
    border-radius: 14px;
    padding: 32px 24px;
}

.chru-sommaire__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "Open Sans", sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--chru-blue-service, #14446B);
    margin: 0 0 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(20, 68, 107, 0.4);
    line-height: 1.2;
}

.chru-sommaire__title-icon,
.chru-sommaire__icon {
    flex-shrink: 0;
    width: 18px;
    height: 16px;
}

.chru-sommaire__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chru-sommaire__item {
    position: relative;
    padding-left: 18px;
    border-left: none;
}

/* Puce (flèche) — toujours visible, plus marquée au hover ou si item actif */
.chru-sommaire__item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-top: 2px solid var(--chru-blue-canard, #197CAA);
    border-right: 2px solid var(--chru-blue-canard, #197CAA);
    transform: rotate(45deg);
    opacity: 1;
    transition: border-color 150ms ease, transform 150ms ease;
}

.chru-sommaire__item:hover::before,
.chru-sommaire__item:focus-within::before,
.chru-sommaire__item.is-active::before {
    border-top-color: var(--chru-blue-service, #14446B);
    border-right-color: var(--chru-blue-service, #14446B);
}

.chru-sommaire__link {
    display: block;
    padding: 0;
    color: var(--chru-blue-text, #2D4356);
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    /* Interlignage très resserré pour le texte qui wrappe (item sur 2 lignes) ;
       le gap entre items gère l'espacement entre liens distincts. */
    line-height: 1.2;
    text-underline-offset: 3px;
    transition: color 150ms ease;
}

/* Item actif (scrollspy) : souligné fin 1px + couleur foncée.
   Pas de changement de font-weight/size pour ne pas faire grossir le texte. */
.chru-sommaire__item.is-active .chru-sommaire__link {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    color: var(--chru-blue-service, #14446B);
}

/* Hover / focus : soulignement épaissi (2px) — cohérent avec la règle
   globale des liens éditoriaux. Seul le trait change, jamais le texte. */
.chru-sommaire__link:hover,
.chru-sommaire__link:focus,
.chru-sommaire__link:focus-visible {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    color: var(--chru-blue-canard, #197CAA);
}

/* Responsive mobile */
@media (max-width: 768px) {
    .chru-sommaire {
        padding: 24px 16px;
    }
    .chru-sommaire__title {
        font-size: 20px;
    }
}

/* Print : fond neutre + bordure légère */
@media print {
    .chru-sommaire {
        background: none;
        border: 1px solid #ccc;
    }
}
