/* Conteneur en deux colonnes */
.two-column-layout {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  /* gap: 2rem; */
  background: #fff;
  /* padding: 1.5rem; */
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Image à gauche */
.event-image {
  /* flex: 1 1 300px; */
  max-width: 400px;
  border-radius: 12px;
  overflow: hidden;
  /* box-shadow: 0 4px 10px rgba(0,0,0,0.1); */
}

.event-image img {
  width: 50%;
  height: auto;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
  display: block;
  border-radius: 12px;
}

.event-image:hover img {
  transform: scale(1.05);
  filter: brightness(1.05) contrast(1.1);
}

/* Texte à droite */
.event-content {
  /* flex: 2 1 400px; */
}

.event-content h2 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.event-date {
  font-size: 0.95rem;
  color: #777;
  margin-bottom: 1rem;
}

.event-description p {
  font-size: 1rem;
  color: #444;
  margin-bottom: 1rem;
}

.sidebar-item {
  font-weight: 500;
  /* color: #0056d2; */
  cursor: pointer;
  transition: color 0.3s;
}

.sidebar-item:hover {
  color: #003ba3;
}

/* Responsive : pile image + texte sur petits écrans */
@media (max-width: 768px) {
  .two-column-layout {
    flex-direction: column;
    text-align: center;
  }

  .event-content {
    text-align: left;
  }
}
