.agenda-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.agenda-title {
    color: #ffffff !important;
    margin-left: 72px;
}

.event-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-self: center;
  border-left: 6px solid #000;
  background-color: rgba(255, 255, 255, 0.1); /* léger fond si besoin */
  margin-bottom: 1.5rem;
  border-radius: 10px;
  overflow: hidden;
}

.event-date {
  min-width: 80px;
  text-align: center;
  padding: 1rem;
  background-color: #212529;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-day {
  font-size: 1.8rem;
  font-weight: bold;
  text-transform: uppercase;
}

.event-details {
  flex: 1;
  padding: 1.5rem;
  color: white;
}

.event-type {
  font-size: 1.8rem !important;
  font-weight: bold !important;
  margin-bottom: 0.5rem !important;
  color: #000 !important;
}

.event-location {
  font-size: 1rem;
  color: #e0e0e0;
}

/* Blur effet texte */
.text-blur-box {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 12px;
}

/* Responsive fallback si trop petit écran */
/* 📱 Mobile (portrait) jusqu'à 576px */
@media screen and (max-width: 576px) {
  .agenda-title {
    font-size: 1.5rem;
    margin-left: 0;
    text-align: center;
  }

  .event-card {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
  }

  .event-date {
    width: 100%;
    border-left: none;
    border-top: 6px solid #000;
    justify-content: center;
    padding: 0.75rem;
  }

  .event-day {
    font-size: 1.4rem;
  }

  .event-details {
    padding: 1rem;
    text-align: center;
  }

  .event-type {
    font-size: 1.4rem !important;
  }

  .event-location {
    font-size: 0.9rem;
  }
}

/* 📱 Tablette (paysage ou portrait) entre 577px et 991px */
@media screen and (min-width: 577px) and (max-width: 991px) {
  .agenda-title {
    font-size: 1.8rem;
    margin-left: 30px;
  }

  .event-card {
    flex-direction: row;
    padding: 1rem;
  }

  .event-date {
    min-width: 70px;
    padding: 0.75rem;
  }

  .event-day {
    font-size: 1.6rem;
  }

  .event-type {
    font-size: 1.5rem !important;
  }

  .event-location {
    font-size: 0.95rem;
  }
}
