/* Make the mobile slider chevron (als-prev) visible */
.als-prev {
    color: white !important;
    background-color: transparent !important;
    opacity: 1 !important;
    z-index: 9999 !important;
    font-size: 28px !important;
    width: 40px;
    height: 40px;
}

/* Optional: add a white border or background glow to help see it */
.als-prev::before {
    content: "\2039"; /* Unicode left-pointing angle quote */
    color: white !important;
    font-size: 36px;
    position: absolute;
    top: 0;
    left: 0;
}
/* Make the right-side slider chevron white too */
.als-next {
    color: white !important;
    background-color: transparent !important;
    opacity: 1 !important;
    z-index: 9999 !important;
    font-size: 28px !important;
    width: 40px;
    height: 40px;
}

/* Optional: add visible icon using ::before if needed */
.als-next::before {
    content: "\203A"; /* Unicode right-pointing angle quote */
    color: white !important;
    font-size: 36px;
    position: absolute;
    top: 0;
    left: 0;
}

/* ========== Cleaned-Up Styling for Upcoming Events Gadget ========== */

/* Main Container */
.WaGadgetUpcomingEvents {
  max-width: 100%;
  box-sizing: border-box;
  padding: 10px;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Ensure Table Content Wraps Properly */
.WaGadgetUpcomingEvents table {
  width: 100% !important;
  table-layout: auto !important;
}

.WaGadgetUpcomingEvents td,
.WaGadgetUpcomingEvents th {
  white-space: normal !important;
  word-break: break-word;
  padding: 6px 8px !important;
}

/* Event Title (Heading) */
.WaGadgetUpcomingEvents .gadgetStyleBody ul li .title a {
  font-size: 18px !important;
  font-weight: bold !important;
  font-family: Lato, sans-serif !important;
  color: #2B2C6C !important; /* FFC Blue */
  text-decoration: none !important;
  transition: color 0.3s ease;
}

/* Hover Effect – FFC Gold */
.WaGadgetUpcomingEvents .gadgetStyleBody ul li .title a:hover {
  color: #F4C542 !important; /* FFC Gold */
}

/* Date and Location (Content) */
.WaGadgetUpcomingEvents.gadgetStyleNone ul li .date,
.WaGadgetUpcomingEvents.gadgetStyleNone ul li .location {
  font-size: 16px !important;
  font-style: normal !important;
  font-weight: normal !important;
  font-family: Lato, sans-serif !important;
  color: #000 !important;
}

/* ========== Mobile Adjustments ========== */
@media screen and (max-width: 768px) {
  .WaGadgetUpcomingEvents .gadgetStyleBody ul li .title a {
    font-size: 17px !important;
  }

  .WaGadgetUpcomingEvents.gadgetStyleNone ul li .date,
  .WaGadgetUpcomingEvents.gadgetStyleNone ul li .location {
    font-size: 15px !important;
  }

  .WaGadgetUpcomingEvents td,
  .WaGadgetUpcomingEvents th {
    padding: 4px 6px !important;
  }
}

  }
}

/* ====== FFC Event Card Styling ====== */

.WaGadgetEvents .boxOuterContainer {
  background-color: #ffffff;
  border: 2px solid #2B2C6C;
  border-radius: 12px;
  padding: 25px 20px;
  margin: 20px auto;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  max-width: 1000px;
  font-family: Lato, sans-serif;
  transition: transform 0.2s ease;
}

.WaGadgetEvents .boxOuterContainer:hover {
  transform: scale(1.01);
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

/* ====== Event Title ====== */
.WaGadgetEvents h4.boxHeaderTitle a {
  color: #2B2C6C !important;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none !important;
  display: block;
  margin-bottom: 10px;
}

.WaGadgetEvents h4.boxHeaderTitle a:hover {
  color: #F5A623 !important;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}

/* ====== Date, Location, Content Text ====== */
.WaGadgetEvents .boxContentOuterContainer .boxContentContainer {
  font-size: 17px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 10px;
}

/* ====== Register Button ====== */
.WaGadgetEvents a.WaGadgetEventRegisterButton {
  background-color: #2B2C6C !important;
  color: #ffffff !important;
  font-weight: bold;
  font-size: 16px;
  font-family: Lato, sans-serif;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  margin-top: 10px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.WaGadgetEvents a.WaGadgetEventRegisterButton:hover {
  background-color: #F5A623 !important;
  color: #2B2C6C !important;
}

/* ====== Decorative Divider ====== */
.WaGadgetEvents .boxContentContainer:before {
  content: "";
  display: block;
  margin-bottom: 12px;
  height: 2px;
  width: 50px;
  background-color: #F5A623;
  margin-left: auto;
  margin-right: auto;
}

/* ====== Clean Layout ====== */
.WaGadgetEvents .boxHeaderOuterContainer {
  padding: 0;
  margin: 0;
  border: none;
}

/* ====== MOBILE RESPONSIVE ====== */
@media (max-width: 600px) {
  .WaGadgetEvents .boxOuterContainer {
    padding: 18px 15px;
    margin: 15px 10px;
    border-radius: 8px;
  }

  .WaGadgetEvents h4.boxHeaderTitle a {
    font-size: 20px;
  }

  .WaGadgetEvents .boxContentOuterContainer .boxContentContainer {
    font-size: 15px;
    line-height: 1.6;
  }

  .WaGadgetEvents a.WaGadgetEventRegisterButton {
    font-size: 15px;
    width: 100%;
    padding: 10px 0;
    box-sizing: border-box;
  }
}
