/* Agenda public du Cercle d’Escrime Adamois. */
.agenda-section { padding: clamp(3rem, 6vw, 5rem) 0; background: #e6f4ed; border-top: 1px solid var(--line); }
.agenda-section .section-heading { margin-bottom: 2rem; }
.agenda-section .section-heading h2 { font-size: clamp(2.5rem, 4.8vw, 4.3rem); }
.agenda-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.agenda-card { min-width: 0; background: var(--cream); border: 1px solid #c9d8d3; border-top: 5px solid var(--navy); padding: clamp(1.25rem, 2.5vw, 2rem); color: var(--navy-deep); }
.agenda-card[data-type="Vie du club"] { border-top-color: var(--coral); }
.agenda-card[data-type="Stage"] { border-top-color: #b47513; }
.agenda-card[data-type="Solidarité"] { border-top-color: #b84273; }
.agenda-card[data-type="Sortie"] { border-top-color: #7562a3; }
.agenda-card-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .7rem; margin-bottom: 1.1rem; }
.agenda-type { font-size: .75rem; text-transform: uppercase; letter-spacing: .09em; font-weight: 800; }
.agenda-status { background: #e5ecec; padding: .3rem .6rem; font-size: .72rem; font-weight: 800; color: #203e4b; }
.agenda-status[data-state="ongoing"], .agenda-status[data-state="today"] { background: var(--navy-deep); color: #fff; }
.agenda-status[data-state="uncertain"], .agenda-status[data-state="undated"] { background: #fff0c9; color: #694b12; }
.agenda-date { font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 850; line-height: 1.4; }
.agenda-time { color: #49545d; margin-top: .25rem; font-size: .9rem; font-weight: 700; }
.agenda-card h3 { margin: 1rem 0 1.2rem; font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-weight: 800; line-height: 1.35; }
.agenda-card dl { display: grid; gap: .55rem; font-size: .9rem; line-height: 1.6; }
.agenda-card dl > div { display: grid; grid-template-columns: 5.8rem minmax(0, 1fr); gap: .6rem; }
.agenda-card dt { color: #566169; }
.agenda-card dd { margin: 0; overflow-wrap: anywhere; }
.agenda-note { margin-top: 1rem; border-left: 3px solid var(--coral); padding-left: .8rem; color: #49545d; font-size: .87rem; line-height: 1.6; }
.agenda-card-link { margin-top: 1rem; display: inline-block; font-size: .85rem; text-decoration: underline; text-underline-offset: 3px; font-weight: 750; }
.agenda-section-actions { margin-top: 1.75rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem; }
.agenda-update { color: #49545d; font-size: .8rem; }
.agenda-followup { display: block; padding-top: 2rem; }
.agenda-followup .club-life-card { width: 100%; }
.agenda-page-header { justify-content: space-between; }
.agenda-back { color: var(--navy-deep); font-size: .88rem; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
.agenda-page { padding: clamp(3rem, 6vw, 6rem) 0; }
.agenda-intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 2.3rem; }
.agenda-intro h1 { color: var(--navy-deep); font-weight: 900; font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1; letter-spacing: -.055em; }
.agenda-intro .agenda-lede { margin-top: 1.3rem; max-width: 44rem; color: #49545d; line-height: 1.8; }
.agenda-intro .agenda-update { margin-top: .8rem; }
.agenda-print { padding: .75rem 1rem; border: 1px solid var(--navy-deep); color: var(--navy-deep); font-size: .9rem; font-weight: 750; cursor: pointer; white-space: nowrap; }
.agenda-controls { display: flex; gap: 1.25rem; align-items: flex-end; flex-wrap: wrap; background: #e6f4ed; border: 1px solid #c9d8d3; padding: 1.3rem; margin-bottom: 1.25rem; }
.agenda-control { flex: 1 1 240px; min-width: 0; }
.agenda-control label { display: block; margin-bottom: .4rem; font-size: .8rem; font-weight: 800; color: var(--navy-deep); }
.agenda-control select { width: 100%; min-height: 46px; background: #fff; border: 1px solid #8a9d9c; padding: .6rem .8rem; font-size: .95rem; color: var(--navy-deep); border-radius: 0; }
.agenda-reset { padding: .7rem .4rem; text-decoration: underline; text-underline-offset: 3px; color: var(--navy-deep); font-size: .85rem; cursor: pointer; min-height: 46px; }
.agenda-result-count { color: #49545d; margin-bottom: 1.25rem; font-size: .9rem; }
.agenda-empty { padding: 2rem; background: #f2ecdf; color: #49545d; line-height: 1.8; }
.agenda-help { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); line-height: 1.8; color: #49545d; }
.agenda-help a { font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.agenda-page [hidden], .agenda-section [hidden] { display: none !important; }
.agenda-page button:focus-visible, .agenda-page select:focus-visible, .agenda-back:focus-visible { outline: 3px solid var(--coral-deep); outline-offset: 4px; }
@media (max-width: 700px) {
  .agenda-grid { grid-template-columns: 1fr; }
  .agenda-intro { flex-direction: column; align-items: flex-start; }
  .agenda-card dl > div { grid-template-columns: 5.2rem minmax(0, 1fr); }
  .agenda-page-header { gap: 1rem; }
  .agenda-page-header .brand-name { display: none; }
  .agenda-controls { gap: .9rem; }
  .agenda-control { flex-basis: 100%; }
}
@media print {
  .agenda-page-header, .agenda-controls, .agenda-print, .agenda-help, .site-footer, .skip-link { display: none !important; }
  .agenda-page { padding: 0; }
  .agenda-page.section-shell { width: 100%; }
  .agenda-intro h1 { font-size: 28pt; }
  .agenda-grid { display: block; }
  .agenda-card { break-inside: avoid; border: 1px solid #9aa5aa; padding: 12pt; margin-bottom: 10pt; }
  .agenda-card h3 { font-size: 13pt; }
  .agenda-date { font-size: 12pt; }
  .agenda-card dl, .agenda-note { font-size: 10pt; }
}
