.agenSC-evenements {
  display: grid;
  gap: 1rem;
  margin: 2rem 0;
}
.agenSC-carte {
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
  border: 1px solid #1e3a5f; 
  transition: all .3s ease;
  overflow: hidden;
  position: relative;
  background: white;
}
.agenSC-lien_global {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.agenSC-lien_global:hover {
  text-decoration: none;
  color: inherit;
}
.agenSC-lien_global:hover .agenSC-carte {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
  background-color: rgba(0, 0, 0, .05);
}
.agenSC-carte-desactivee {
  opacity: .8;
  filter: grayscale(.5);
  border-color: #757575; 
}
.agenSC-carte-desactivee .agenSC-miniature img {
  filter: grayscale(.9);
}
.agenSC-carte-annulee {
  opacity: .8;
  border-color: #b71c1c; 
  border-width: 1px;
  background: repeating-linear-gradient(
    45deg,
    rgba(183, 28, 28, 0.05),
    rgba(183, 28, 28, 0.05) 10px,
    rgba(183, 28, 28, 0.03) 10px,
    rgba(183, 28, 28, 0.03) 20px
  );
}
.agenSC-carte-annulee .agenSC-dates {
  background: linear-gradient(135deg, #b71c1c 0%, #7f0000 100%); 
}
.agenSC-carte-annulee .agenSC-jour-semaine,
.agenSC-carte-annulee .agenSC-mois {
  color: rgba(255, 255, 255, 0.95); 
}
.agenSC-carte-annulee .agenSC-jour-mois {
  color: #ffccbc;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .5); 
}
.agenSC-carte-annulee .agenSC-titre {
  text-decoration: line-through;
  color: #424242; 
}
.agenSC-carte-annulee .agenSC-miniature {
  background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
}
.agenSC-carte-annulee .agenSC-miniature img {
  filter: grayscale(.8) opacity(.7);
}
.agenSC-contenu {
  display: flex;
  min-height: 100px;
  align-items: stretch;
}
.agenSC-dates {
  flex: 0 0 140px;
  background: linear-gradient(135deg, #036 0%, #1570c0 50%, #036 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .75rem;
}
.agenSC-bloc-dates {
  text-align: center;
}
.agenSC-comparaison-dates {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
}
.agenSC-date-seule {
  display: flex;
  justify-content: center;
}
.agenSC-colonne-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 50px;
}
.agenSC-jour-semaine {
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95); 
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: .2rem;
}
.agenSC-jour-mois {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffd54f; 
  line-height: 1;
  margin-bottom: .15rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .3);
}
.agenSC-mois {
  font-size: .9rem;
  color: rgba(255, 255, 255, 0.95); 
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: .5px;
}
.agenSC-fleche {
  color: #ffd54f; 
  display: flex;
  align-items: center;
  justify-content: center;
}
.agenSC-infos {
  flex: 1;
  padding: .75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.agenSC-titre {
  margin: 0 0 .4rem 0;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.3;
  color: #0d1b2a; 
  font-variant: small-caps;
}
.agenSC-horaires {
  margin: 0 0 .3rem 0;
  color: #1e3a5f;
  font-style: oblique 5deg;
  font-weight: 400;
  font-size: .9rem;
}
.agenSC-info_desactive {
  font-style: italic;
  color: #1e88e5;
  font-size: .8rem;
  margin: -.2rem 0 .5rem 0;
  font-weight: 400;
  background: rgba(30, 136, 229, 0.1);
  padding: .2rem .5rem;
  border-radius: 3px;
  display: inline-block;
}
.agenSC-info_annule {
  font-style: italic;
  color: #b71c1c; 
  font-size: .85rem;
  margin: -.2rem 0 .5rem 0;
  font-weight: 600;
  background: rgba(183, 28, 28, 0.1);
  padding: .2rem .5rem;
  border-radius: 3px;
  display: inline-block;
  border-left: 3px solid #b71c1c;
}
.agenSC-lieu {
  margin: 0 0 .2rem 0;
  color: #0d1b2a; 
  font-weight: 600;
}
.agenSC-organisateur {
  margin: 0;
  color: #00457c;
  font-weight: 500;
}
.agenSC-miniature {
  flex: 0 0 140px;
  padding: .75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fafafa 0%, #e0e0e0 100%);
}
.agenSC-miniature img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
.agenSC-vide {
  text-align: center;
  padding: 1.5rem;
  color: #1e88e5;
  font-style: italic;
  background: #f8fafc;
  border-radius: 6px;
  border: 1px solid #e1e8ed;
}
.agenSC-lien_global:focus .agenSC-carte {
  outline: 3px solid #0056b3;
  outline-offset: 2px;
}
.agenSC-carte-annulee::before {
  content: "🚫 Annulé";
  position: absolute;
  top: 10px;
  right: 10px;
  background: #b71c1c;
  color: white;
  padding: 3px 8px;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: bold;
  z-index: 2;
  pointer-events: none;
}
@media screen and (max-width: 768px) {
  .agenSC-contenu {
    min-height: auto;
  }
  .agenSC-dates {
    flex: 0 0 70px;
  }
  .agenSC-date-seule {
    flex-direction: row;
    justify-content: center;
  }
  .agenSC-comparaison-dates {
    flex-direction: column;
    gap: .2rem;
  }
  .agenSC-colonne-date {
    flex-direction: row;
    gap: .3rem;
    min-width: auto;
    justify-content: center;
  }
  .agenSC-jour-mois {
    font-size: 1.4rem;
  }
  .agenSC-fleche {
    transform: rotate(90deg);
  }
  .agenSC-fleche svg {
    transform: scale(1, 2);
  }
  .agenSC-titre {
    text-align: center;
  }
  .agenSC-jour-semaine,
  .agenSC-horaires,
  .agenSC-lieu,
  .agenSC-organisateur,
  .agenSC-miniature {
    display: none;
  }
  .agenSC-info_desactive,
  .agenSC-info_annule {
    text-align: center;
    display: block;
    margin: .5rem 0;
  }
  .agenSC-carte-annulee::before {
    top: 5px;
    right: 5px;
    font-size: 0.6rem;
    padding: 2px 5px;
  }
}