/* ==========================================================================
   CFP SANTÉ UI — OVERRIDES
   --------------------------------------------------------------------------
   Charger ce fichier APRÈS cfps-components-stable-v3.0.css.

   À partir de maintenant :
   - ne pas modifier le fichier stable pour une petite correction ;
   - ajouter uniquement ici les ajustements testés ;
   - dater et décrire chaque modification ;
   - ne jamais recopier un composant complet si une règle ciblée suffit.
   ========================================================================== */

/* Exemple :
   2026-07-21 — Ajustement éventuel à documenter ici.
*/

/* ==========================================================================
   2026-08-08 — Événements : présentation plus statique
   - supprime les animations et effets de survol
   - conserve la carte comme élément informatif
   - retire fond, bordure et ombre autour des dates
   ========================================================================== */

/* Carte événement : aucun mouvement ni changement au survol. */
html body main #bloc37734 .teaser.evenement,
html body main #bloc37734 .teaser.evenement:hover,
html body main #bloc37734 .teaser.evenement:focus,
html body main #bloc37734 .teaser.evenement:focus-within,
html body main #bloc37734 .item-list > ul > li:hover .teaser.evenement {
  transform: none !important;
  transition: none !important;
  border-color: rgba(0, 161, 155, .16) !important;
  box-shadow: 0 3px 10px rgba(31, 41, 51, .045) !important;
  cursor: default !important;
}

/* Barre turquoise gauche : largeur et opacité fixes. */
html body main #bloc37734 .teaser.evenement::before,
html body main #bloc37734 .item-list > ul > li:hover .teaser.evenement::before {
  width: 4px !important;
  opacity: .75 !important;
  transition: none !important;
}

/* Neutralise les éventuels effets appliqués au layout interne. */
html body main #bloc37734 .teaser.evenement .layout,
html body main #bloc37734 .teaser.evenement:hover .layout,
html body main #bloc37734 .teaser.evenement:focus-within .layout {
  transform: none !important;
  transition: none !important;
  box-shadow: none !important;
  cursor: default !important;
}

/* Dates : plus de petit encadré, ni fond, ni bordure, ni ombre. */
html body main #bloc37734 .layout-dates,
html body main #bloc37734 .field-date-event,
html body main #bloc37734 .field-date-event *,
html body main #bloc37734 .date,
html body main #bloc37734 .event-date,
html body main #bloc37734 .field--name-field-date {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* On garde uniquement un séparateur léger entre deux dates d’un même événement. */
html body main #bloc37734 .field-date-event + .field-date-event {
  border-top: 1px solid rgba(31, 41, 51, .10) !important;
}

/* Les liens visibles dans le module se comportent comme du texte informatif.
   Les commandes contextuelles Drupal restent utilisables. */
html body main #bloc37734 .teaser.evenement .layout-content a,
html body main #bloc37734 .teaser.evenement .layout-dates a {
  pointer-events: none !important;
  color: inherit !important;
  text-decoration: none !important;
  cursor: default !important;
}

html body main #bloc37734 .teaser.evenement .contextual,
html body main #bloc37734 .teaser.evenement .contextual *,
html body main #bloc37734 .teaser.evenement .contextual-links a {
  pointer-events: auto !important;
}
