/* Retours du CRA du 13/11 (Sandrine, Marlène) : agenda. */

/* Mini-calendrier : un jour à plusieurs rendez-vous est un bouton qui ouvre leur liste sous le calendrier. */
body #cra-agenda-nav .cra-mini-cal__table td > .cra-mini-cal__jour { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: 2.2rem; padding: 0; border: 0; border-radius: 10px; font: inherit; font-size: 0.85rem; font-weight: 800; color: var(--wp--preset--color--marine); background: var(--wp--preset--color--fond); cursor: pointer; }
body #cra-agenda-nav .cra-mini-cal__table td > .cra-mini-cal__jour:hover, body #cra-agenda-nav .cra-mini-cal__table td > .cra-mini-cal__jour[aria-expanded="true"] { background: var(--wp--preset--color--turquoise-clair); }
body #cra-agenda-nav .cra-mini-cal__jour:focus-visible { outline: 3px solid var(--wp--preset--color--turquoise); outline-offset: 2px; }
body #cra-agenda-nav .cra-mini-cal__detail { margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid #e3e9f0; font-size: 0.85rem; }
body #cra-agenda-nav .cra-mini-cal__detail[hidden] { display: none; }
body #cra-agenda-nav .cra-mini-cal__detail-titre { margin: 0 0 0.4rem; font-weight: 800; color: var(--wp--preset--color--marine); }
body #cra-agenda-nav .cra-mini-cal__detail ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
body #cra-agenda-nav .cra-mini-cal__detail li { display: flex; align-items: baseline; gap: 0.45rem; }
body #cra-agenda-nav .cra-mini-cal__detail a { color: var(--wp--preset--color--marine); }

/* Catégorie « Évènements » (demande de Marlène) : pastille et étiquette de la liste. */
body #cra-agenda-nav .cra-pastille-cat--evenements { background: #c2417a; }
.tribe-block .cra-l2-type--evenements { background: #fbe7f0; color: #8f2456; }

/* « S'abonner au calendrier » retiré (demande de Marlène) ; le filtre de inc/agenda-nav.php le retire déjà, ceci reste
   en filet si une version de l'extension change le nom de la variable. */
.tribe-events .tribe-events-c-subscribe-dropdown__container { display: none !important; }
