/* Listing chronologique des evenements - 2026-07-29 */
.event-period-summary{
  align-items:center;
  background:#f6f9f3;
  border:1px solid #dbe5d5;
  border-radius:9px;
  box-sizing:border-box;
  display:flex;
  gap:14px;
  justify-content:space-between;
  margin:0 0 20px;
  padding:11px 14px;
}
.event-period-summary-label{
  color:#34472c;
  flex:0 0 auto;
  font:bold 13px/1.3 Arial,Helvetica,sans-serif;
  margin:0;
}
.event-period-summary ul{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  justify-content:flex-end;
  list-style:none!important;
  list-style-type:none!important;
  margin:0;
  padding:0;
}
.event-period-summary li{
  background:#fff;
  border:1px solid #d4dfce;
  border-radius:999px;
  color:#52624c;
  display:block;
  font-size:12px;
  line-height:1.25;
  list-style:none!important;
  list-style-type:none!important;
  padding:6px 9px;
}
.event-period-summary li:before,
.event-period-summary li:after{
  content:none!important;
  display:none!important;
}
.event-period-summary li strong{
  color:#24371d;
}
.event-period-summary-today{
  border-color:#e4c36a!important;
}
.event-period-summary-ongoing{
  border-color:#80b86b!important;
}
.event-listing{
  margin:0;
}
.event-section{
  margin:0 0 28px;
  scroll-margin-top:16px;
}
.event-section-header{
  align-items:center;
  border-bottom:2px solid #dce7d5;
  display:flex;
  gap:18px;
  justify-content:space-between;
  margin:0 0 11px;
  padding:0 2px 10px;
}
.event-section-today .event-section-header{
  border-bottom-color:#e0b842;
}
.event-section-ongoing .event-section-header{
  border-bottom-color:#5d9b47;
}
.event-section-ended .event-section-header{
  border-bottom-color:#aeb8bd;
}
.event-section-kicker{
  color:#65745e;
  font:bold 10px/1.2 Arial,Helvetica,sans-serif;
  letter-spacing:.055em;
  margin:0 0 3px;
  text-transform:uppercase;
}
#main .event-section-header h2{
  color:#173247;
  font:bold 23px/1.2 Arial,Helvetica,sans-serif;
  margin:0 0 3px;
}
.event-section-header p:last-child{
  color:#62717a;
  font-size:13px;
  line-height:1.4;
  margin:0;
}
.event-section-count{
  align-items:center;
  background:#edf3e9;
  border:1px solid #d2dfca;
  border-radius:999px;
  color:#315521;
  display:inline-flex;
  flex:0 0 auto;
  font:bold 13px/1 Arial,Helvetica,sans-serif;
  justify-content:center;
  min-height:34px;
  min-width:34px;
  padding:0 9px;
}
.event-cards{
  display:grid;
  gap:10px;
}
.event-card{
  background:#fff;
  border:1px solid #dbe3d7;
  border-radius:10px;
  box-shadow:0 2px 8px rgba(32,48,28,.055);
  box-sizing:border-box;
  content-visibility:auto;
  contain-intrinsic-size:126px;
  display:grid;
  gap:14px;
  grid-template-areas:"date content media";
  grid-template-columns:76px minmax(0,1fr) 144px;
  min-height:126px;
  overflow:hidden;
  padding:9px;
  position:relative;
}
.event-card:hover,
.event-card:focus-within{
  border-color:#9dbb8c;
  box-shadow:0 5px 16px rgba(32,66,27,.11);
}
.event-card-ended{
  background:#fafbfa;
  border-color:#e0e4e1;
}
.event-card-date{
  align-items:center;
  align-self:stretch;
  background:#f0f6eb;
  border:1px solid #d6e3ce;
  border-radius:8px;
  color:#315720;
  display:flex;
  flex-direction:column;
  grid-area:date;
  justify-content:center;
  min-height:106px;
  padding:5px;
  text-align:center;
}
.event-card-today .event-card-date{
  background:#fff8dd;
  border-color:#e7ca72;
  color:#684f0e;
}
.event-card-ongoing .event-card-date{
  background:#edf8e8;
  border-color:#a9d197;
  color:#2c631e;
}
.event-card-ended .event-card-date{
  background:#f0f2f2;
  border-color:#d4d9db;
  color:#5e686d;
}
.event-card-date-eyebrow{
  font:bold 9px/1 Arial,Helvetica,sans-serif;
  letter-spacing:.06em;
  margin-bottom:3px;
}
.event-card-date strong{
  font:bold 28px/1 Arial,Helvetica,sans-serif;
}
.event-card-date > span:last-child{
  font:bold 10px/1.2 Arial,Helvetica,sans-serif;
  margin-top:3px;
}
.event-card-media{
  align-self:stretch;
  background:#f1f5ee;
  border-radius:8px;
  display:block;
  grid-area:media;
  min-height:108px;
  overflow:hidden;
}
.event-card-media picture,
.event-card-media picture img{
  display:block;
  height:100%;
  width:100%;
}
.event-card-media picture img{
  margin:0;
  object-fit:cover;
}
.event-card-placeholder{
  align-items:center;
  background:#f2f7ee;
  color:#3f5635;
  display:flex;
  flex-direction:column;
  font:bold 10px/1.2 Arial,Helvetica,sans-serif;
  height:100%;
  justify-content:center;
  padding:7px;
  text-align:center;
}
.event-card-placeholder-icon{
  align-items:center;
  background:#fff;
  border:1px solid #d6e3cf;
  border-radius:50%;
  display:flex;
  height:42px;
  justify-content:center;
  margin-bottom:6px;
  width:42px;
}
.event-card-placeholder-icon img{
  height:25px;
  width:25px;
}
.event-card-content{
  align-self:center;
  grid-area:content;
  min-width:0;
  padding:3px 0;
}
.event-card-heading{
  align-items:baseline;
  display:flex;
  flex-wrap:wrap;
  gap:5px 8px;
  margin:0 0 7px;
}
#main .event-card h3{
  color:#173247;
  flex:1 1 280px;
  font:bold 17px/1.3 Arial,Helvetica,sans-serif;
  margin:0;
  min-width:0;
}
#main .event-card h3 a{
  color:#173f63;
  text-decoration:none;
}
#main .event-card h3 a:hover,
#main .event-card h3 a:focus{
  color:#03247b;
  text-decoration:underline;
  text-underline-offset:2px;
}
.event-status{
  border-radius:999px;
  flex:0 0 auto;
  font:bold 10px/1.2 Arial,Helvetica,sans-serif;
  letter-spacing:.025em;
  padding:4px 7px;
  text-transform:uppercase;
}
.event-status-today{
  background:#fff1b8;
  color:#6b5008;
}
.event-status-ongoing{
  background:#dff1d6;
  color:#285c1b;
}
.event-status-ended{
  background:#e9edef;
  color:#566268;
}
.event-card-schedule,
.event-card-location{
  align-items:flex-start;
  color:#3d4d56;
  display:flex;
  font-size:13px;
  line-height:1.4;
  margin:0 0 5px;
}
.event-card-schedule{
  color:#284e68;
  font-weight:bold;
}
.event-card-meta-icon{
  flex:0 0 15px;
  height:15px;
  margin:1px 7px 0 0;
  position:relative;
  width:15px;
}
.event-card-meta-calendar{
  border:1px solid #5f8097;
  border-radius:3px;
  box-sizing:border-box;
}
.event-card-meta-calendar:before{
  background:#5f8097;
  box-shadow:7px 0 0 #5f8097;
  content:"";
  height:3px;
  left:2px;
  position:absolute;
  top:-3px;
  width:2px;
}
.event-card-meta-calendar:after{
  border-top:1px solid #5f8097;
  content:"";
  left:1px;
  position:absolute;
  right:1px;
  top:4px;
}
.event-card-meta-location:before{
  border:2px solid #6a7c69;
  border-radius:50% 50% 50% 0;
  box-sizing:border-box;
  content:"";
  height:12px;
  left:2px;
  position:absolute;
  top:0;
  transform:rotate(-45deg);
  width:12px;
}
.event-card-meta-location:after{
  background:#6a7c69;
  border-radius:50%;
  content:"";
  height:3px;
  left:6px;
  position:absolute;
  top:4px;
  width:3px;
}
.event-card-footer{
  align-items:center;
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:8px;
}
.event-card-category,
.event-card-free{
  border-radius:999px;
  font-size:11px;
  line-height:1.25;
  padding:4px 8px;
}
.event-card-category{
  background:#eef3f6;
  color:#486170;
}
.event-card-free{
  background:#e7f4e1;
  color:#315f22;
  font-weight:bold;
}
.event-card-admin{
  display:flex;
  flex-wrap:wrap;
  font-size:11px;
  gap:8px;
  margin-top:8px;
}
.event-listing-ad{
  display:block;
  margin:8px 0 18px;
  min-height:90px;
}
.event-listing-pagination{
  align-items:center;
  background:#f7faf5;
  border:1px solid #d7e2d0;
  border-radius:9px;
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  justify-content:space-between;
  margin:18px 0 24px;
  padding:12px 14px;
}
.event-listing-position{
  color:#5b6b55;
  font-size:12px;
  margin:0;
}
.event-listing-pagination-actions{
  align-items:center;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  justify-content:flex-end;
}
.event-listing-more,
.event-listing-previous{
  align-items:center;
  border-radius:7px;
  box-sizing:border-box;
  display:inline-flex;
  font:bold 13px/1.25 Arial,Helvetica,sans-serif;
  justify-content:center;
  min-height:42px;
  padding:10px 14px;
  text-decoration:none!important;
}
.event-listing-more{
  background:#245f95;
  border:1px solid #1b4d79;
  color:#fff!important;
  gap:9px;
}
.event-listing-more:hover,
.event-listing-more:focus{
  background:#1b4d79;
}
.event-listing-more[aria-disabled="true"]{
  cursor:wait;
  opacity:.72;
}
.event-listing-more-arrow{
  font-size:17px;
  line-height:1;
}
.event-listing-more.is-loading .event-listing-more-arrow{
  animation:event-listing-loading .8s linear infinite;
}
.event-listing-previous{
  background:#fff;
  border:1px solid #b9c9af;
  color:#315521!important;
}
.event-listing-previous:hover,
.event-listing-previous:focus{
  background:#eef5e9;
}
.event-listing-complete{
  color:#47613b;
  font:bold 13px/1.4 Arial,Helvetica,sans-serif;
  margin:0;
}
@keyframes event-listing-loading{
  to{transform:rotate(360deg)}
}
@media (prefers-reduced-motion:reduce){
  .event-listing-more.is-loading .event-listing-more-arrow{
    animation:none;
  }
}
@media screen and (max-width:700px){
  .event-period-summary{
    align-items:flex-start;
    display:block;
  }
  .event-period-summary-label{
    margin-bottom:8px;
  }
  .event-period-summary ul{
    justify-content:flex-start;
  }
  .event-card{
    gap:10px;
    grid-template-columns:66px minmax(0,1fr) 104px;
    min-height:112px;
    padding:8px;
  }
  .event-card-date{
    min-height:94px;
  }
  .event-card-media{
    min-height:96px;
  }
  #main .event-card h3{
    font-size:16px;
  }
}
@media screen and (max-width:520px){
  .event-section{
    margin-bottom:23px;
  }
  .event-section-header{
    align-items:flex-start;
    gap:10px;
  }
  #main .event-section-header h2{
    font-size:21px;
  }
  .event-section-header p:last-child{
    font-size:12px;
  }
  .event-card{
    gap:8px 10px;
    grid-template-areas:"date content" "media content";
    grid-template-columns:58px minmax(0,1fr);
    min-height:0;
  }
  .event-card-date{
    min-height:72px;
  }
  .event-card-date strong{
    font-size:24px;
  }
  .event-card-media{
    height:52px;
    min-height:52px;
  }
  .event-card-placeholder{
    font-size:0;
    padding:3px;
  }
  .event-card-placeholder-icon{
    height:34px;
    margin:0;
    width:34px;
  }
  .event-card-placeholder-icon img{
    height:20px;
    width:20px;
  }
  .event-card-content{
    align-self:start;
  }
  .event-card-heading{
    display:block;
    margin-bottom:6px;
  }
  .event-status{
    display:inline-block;
    margin-bottom:5px;
  }
  .event-card-schedule,
  .event-card-location{
    font-size:12px;
  }
  .event-listing-pagination{
    display:block;
    padding:12px;
  }
  .event-listing-position{
    margin-bottom:9px;
    text-align:center;
  }
  .event-listing-pagination-actions{
    display:block;
  }
  .event-listing-more,
  .event-listing-previous{
    display:flex;
    margin:7px 0 0;
    width:100%;
  }
  .event-listing-complete{
    text-align:center;
  }
}
