/* WC Events Carousel styles, aligned with Figma */
.wc-events-carousel { margin: 0 auto; position: relative; }
.wc-events-carousel__heading { text-align: center; font-weight: 700; letter-spacing: .02em; margin: 0 0 24px; }
.wc-events-carousel .wc-events-swiper { overflow: hidden !important; }
/* When dots are outside, add bottom space so card shadows aren't clipped */
.swiper-container-wrap-dots-outside .wc-events-swiper { padding-bottom: 22px !important; }
/* Give slides a little breathing room for shadow spread */
.wc-events-carousel .swiper-slide { padding-bottom: 6px; }
.wc-events-carousel .swiper-slide { height: auto; display: flex; justify-content: center; }

/* Card */
.wc-event-card {
  width: 378.67px;
  /* Allow card to grow so footer CTA is visible */
  height: auto;
  background: #F7F7F7; /* Wild Sand */
  box-shadow: 3px 3px 4px rgba(0, 0, 0, 0.08); /* Shadow S */
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Image area */
.wc-event-card__image { min-height: 220px; position: relative; height: 220px; background: #eaeaea; border-top-left-radius: 10px; border-top-right-radius: 10px; overflow: hidden; }
.wc-event-card__image img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; border-top-left-radius: 10px; border-top-right-radius: 10px; }

/* Badges row */
.wc-event-card__badges {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 10px;
  height: 22px; padding: 0; margin: 12px 16px 0; /* align with inner padding */
}
.wc-event-card__badge-list { display: flex; gap: 10px; align-items: center; }
.wc-event-card__badge {
  display: inline-flex; align-items: center; padding: 4px 12px; height: 22px;
  font-size: 12px; line-height: 14px; letter-spacing: -0.27px; font-weight: 400;
  color: #FFFFFF; background: #0068A0; border-radius: 0; /* no rounded corners */
}
.wc-event-card__badge--format { background: #FFDC5D; color: #434960; margin-left: auto; }

/* Content body */
.wc-event-card__body { padding: 16px; display: flex; flex-direction: column; gap: 0; /* Let content define height */ height: auto; }
.wc-event-card__row { display: flex; align-items: center; gap: 4px; padding: 6px 0; color: #000; }
.wc-event-card__row svg { width: 18px; height: 18px; flex: none; color: #111; }
.wc-event-card__row span { font-size: 15.5px; line-height: 18px; letter-spacing: -0.27px; }

/* Footer CTA */
.wc-event-card__footer { padding: 0 16px 16px; margin-top: auto; }
.wc-event-card__link { position: relative; padding-left: 22px; height: 24px; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; text-transform: uppercase; font-size: 14px; font-weight: 600; color: #281E6B; border-radius: 50px; }
.wc-event-card__link::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 0; height: 0; border-left: 10px solid #009FE3; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.wc-event-card__link:hover { text-decoration: underline; }
.wc-event-card__link:hover { text-decoration: underline; }

/* Navigation and pagination */
.wc-events-carousel .swiper-button-prev,
.wc-events-carousel .swiper-button-next { position: absolute; color: #6b6b6b; width: 34px; height: 34px; border-radius: 999px; background: #fff; top: 50%; transform: translateY(-50%); z-index: 5; }
.swiper-container-wrap-arrows-inside .wc-events-swiper .swiper-button-prev { left: 0; }
.swiper-container-wrap-arrows-inside .wc-events-swiper .swiper-button-next { right: 0; }
/* Outside arrows sit relative to the wrapper */
.swiper-container-wrap-arrows-outside .swiper-button-prev.wc-nav-outside { left: -20px; }
.swiper-container-wrap-arrows-outside .swiper-button-next.wc-nav-outside { right: -20px; }
.wc-events-carousel .swiper-button-prev:after,
.wc-events-carousel .swiper-button-next:after { font-size: 14px; }
.wc-events-carousel .swiper-pagination-bullets .swiper-pagination-bullet { width: 10px; height: 10px; background: #cfd3d7; opacity: 1; }
.wc-events-carousel .swiper-pagination-bullet-active { background: #2a79d2; }

/* Bullet styles per spec */
.swiper-pagination-bullet {
  background-color: #d0d0d0 !important; /* light gray */
  opacity: 1 !important;
  transition: background-color 0.3s ease;
  height: 16px;
  width: 16px;
  border-style: solid;
  border-width: 0px;
  border-color: #009FE3; /* blue border */
  background: #FFFFFF; /* white background for some instances */
}
.swiper-pagination-bullet:hover {
  background-color: #009FE3 !important; /* blue on hover */
  border-color: #009FE3;
}
.swiper-pagination-bullet.swiper-pagination-bullet-active {
  background-color: #009FE3 !important; /* active blue */
  width: 16px;
  height: 16px;
}
.wc-pagination-outside { text-align: center; margin-top: 16px; width: 100%; }
/* Force outside pagination to be a normal flow element, not absolutely positioned */
.swiper-container-wrap-dots-outside .wc-pagination-outside {
  position: static !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  margin-top: 16px !important;
}
.wc-events-carousel--dots-outside .wc-pagination-outside { margin-top: 16px; }

/* Mirror EAEL wrapper classes for toggling */
.swiper-container-wrap-dots-outside .wc-events-swiper .swiper-pagination { display: none !important; }
.swiper-container-wrap-dots-inside .wc-pagination-outside { display: none !important; }
.swiper-container-wrap-dots-inside .wc-events-swiper .swiper-pagination { display: block !important; }
.swiper-container-wrap-arrows-outside .wc-events-swiper .swiper-button-prev,
.swiper-container-wrap-arrows-outside .wc-events-swiper .swiper-button-next { display: none !important; }
.swiper-container-wrap-arrows-inside .wc-nav-outside { display: none !important; }
.elementor-element-ed72f73 .swiper-pagination-bullet {
  background-color: #d0d0d0 !important; /* light gray */
  opacity: 1 !important;
  transition: background-color 0.3s ease;
}
.elementor-element-ed72f73 .swiper-pagination-bullet:hover {
  background-color: #009FE3 !important; /* blue hover */
}
.elementor-element-ed72f73 .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background-color: #009FE3 !important; /* active blue */
}

@media (max-width: 1024px) {
  .wc-event-card__row { font-size: 15px; }
}
@media (max-width: 767px) {
  .wc-events-carousel__heading { margin-bottom: 16px; }
  .wc-event-card { width: 100%; max-width: 378.67px; height: auto; }
  .wc-event-card__body { height: auto; }
}
