.upcoming-events-carousel-wrapper {
  position: relative;
  width: 100%;
}

.upcoming-events-swiper {
  width: 100%;
  padding-bottom: 50px;
}
.upcoming-events-carousel-wrapper .swiper-slide {
  background-color: #f9f9f9;
  box-shadow: inset 0 0 1px 1px #f09e25;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  overflow: hidden;
  display: block;
}

.event-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}
.event-content {
  padding: 1rem;
}
.upcoming-events-carousel-wrapper .swiper-button-next,
.upcoming-events-carousel-wrapper .swiper-button-prev {
  top: 40%;
  color: #000;
}
.swiper-pagination-bullet-active {
  background: #000 !important;
}
.upcoming-events-carousel-wrapper .swiper-button-next:after,
.upcoming-events-carousel-wrapper .swiper-button-prev:after {
  font-size: 22px;
}
.event-title {
  font-size: 18px;
  font-weight: 700;
  color: #040504;
  transition: all 0.85s ease;

  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  height: 89px;
}

.event-date {
  color: #f09e25;
  font-weight: 500;
  font-size: 14px;
}

.event-host {
  font-size: 12px;
  color: #888;
  margin-bottom: 15px;
}

.event-location {
  font-size: 12px;
  color: #666;
  margin-bottom: 10px;
}

.event-capacity {
  font-size: 12px;
  color: #999;
  text-align: right;
}

.loading-placeholder {
  text-align: center;
  padding: 40px 20px;
}

.loading-spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #000;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 2s linear infinite;
  margin: 0 auto 20px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.swiper-button-next,
.swiper-button-prev {
  color: #000;
}

.swiper-pagination-bullet-active {
  background: #000;
}

.no-events {
  text-align: center;
  padding: 40px 20px;
  color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
  .event-card {
    padding: 15px;
  }

  .event-image {
    height: 150px;
  }

  .event-title {
    font-size: 16px;
  }
}
