/* Conteneur global */
.overview-wrapper {
  display: flex;
  min-height: 100vh;
  font-family: Georgia, serif;
}

/* Colonne gauche */
.overview-left {
  background-color: #d6d1cd;
  padding: 3em 2em;
  width: 35%;
}

.overview-left h2 {
  font-size: 3em;
  margin-bottom: 1em;
  text-align: left;
}

/* Colonne droite */
.overview-right {
  width: 65%;
  padding: 3em 4em;
}

.overview-right h1 {
  font-size: 5em;
  text-align: right;
  margin-bottom: 0.5em;
  font-family: 'Amatic SC', serif;
  font-weight: 800;
  margin: 0!important;
}

.overview-right h2 {
  font-size: 3em;
  text-align: right;
  margin-top: 1em;
  margin-bottom: 2em;
  border-bottom: 1px solid #aaa;
  padding-bottom: 0.5em;
}

/* Cartes */
.session-card {
  background-color: #f5f5f5;
  border: 1px solid #ccc;
  padding: 1.2em;
  margin-bottom: 2em;
}

.session-card h2 {
  font-size: 2em;
  margin-bottom: 0.4em;
}

.session-card p {
  font-size: 0.9em;
  margin: 0.5em 0;
  text-align: justify;
}

.session-card img {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  margin-bottom: 0.1em;
  border-radius: 4px;
}

/* Badge avec couleur dynamique */
.badge {
  display: inline-block;
  margin-top: 0.8em;
  color: white;
  padding: 6px 12px;
  font-size: 0.8em;
  font-weight: bold;
  border-radius: 4px;
  font-family: 'Raleway', sans-serif;
  font-weight: bold;
}

.dateAt{
  font-weight: bold;
}

.pageTitle.planner h1{
  display: none;
}

@media (max-width: 992px) {
  .pageTitle.planner h1{
    display: block;
  }

  .overview-wrapper{
    flex-direction: column;
  }

  .overview-left {
    width: 100%;
    padding: 0!important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 2em;
  }

  .overview-right {
    width: 100%;
    padding: 0!important;
    margin: 0!important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .overview-right h1{
    display: none;
  }

  .overview-right h2, .overview-left h2{
    text-align: center;
    border-bottom: none;
    padding-bottom: 0!important;
    margin-bottom: 0.5em;
  }

  .session-card {
    width: 80%;
  }

}