#recommendations {
  padding: 40px;
  color: #630000;
}

#recommendations h1 {
  text-align: center;
  font-size: 40px;
  margin-bottom: 32px;
  color: #880015;
}

#recommendations h3 {
  font-size: 20px;
  color: #af1f2f;
}

#recommendations .event-info h3 {
  color: #630000;
  font-weight: bold;
}

#recommendations-layout {
  display: flex;
  gap: 24px;
}

#event-container {
  flex: 2;
  font-size: 20px;
}

#upcoming-events {
  flex: 0.5;
}

.event-card {
  display: flex;
  gap: 16px;
  padding: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid #2a2a2a;
  cursor: pointer;
  align-items: center;
}

.event-card:hover {
  background-color: var(--hover);
  transition: 0.3s ease-in;
}

.event-card img {
  height: 250px;
  width: 40%;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 1;
}
.event-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 200px;
  flex: 1;
}

.event-info p.event-description {
  color: rgb(90, 76, 76);
}

.event-type {
  color: white;
  font-size: 15px;
  padding: 2px 8px;
  border-radius: 4px;
  width: fit-content;
  background-color: var(--main);
}

.event-info h3 {
  font-size: 30px;
  font-weight: 600;
  color: #ffffff;
}

.event-info p {
  font-size: 20px;
  color: #7f7f7f;
}

@media (max-width: 768px) {
  .event-card {
    flex-direction: column;
  }

  .event-card img {
    width: 100%;
    height: 200px;
  }

  #recommendations {
    padding: 16px;
  }
  #recommendations-layout {
    flex-direction: column;
  }
}
