/* facebook-events-feed.css */
.events-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.event-item {
  display: flex;
  flex-direction: row;
  padding: 20px;
  color: #fff;
}

.event-image {
  width: 25%;
  max-width: 100%;
  overflow: hidden;
  border-radius: 10px;
}

.event-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.event-details {
  width: 50%;
  margin-left: 20px;
  display: flex;
  flex-direction: column;
}

.event-start-time {
  font-weight: 700;
}

#fb-events .event-details h3 {
  color: #fff;
}

#fb-events .event-details a {
  margin-top: 20px;
  text-decoration: none;
  color: #fff;
  font-weight: bold;
}

.event-details a:hover {
  text-decoration: underline;
}

/* Media query for screens 1024px and below */
@media (max-width: 1024px) {
  .event-item {
    flex-direction: column;
  }

  .event-image,
  .event-details {
    width: 100%;
    margin-left: 0;
  }

  .event-details {
    margin-top: 20px;
  }
}
