/* CGS Core: event lists, the /past-events/ UI polish. Moved whole from WPCode CSS snippet 25094989 (CGS Past Events UI Polish, site wide header) on 2026-10-29. assets.php prints it at wp_head 10, where WPCode printed the snippet, so past.css (wp_head 210) still wins every tie. */
/* Past Events Page - Content Margins */
.page-id-25094970 #main-content .et_pb_text_inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 30px;
}

/* Event item hover effect */
.cgs-event-item {
  padding: 25px 15px !important;
  border-radius: 8px;
  transition: background 0.2s ease;
}
.cgs-event-item:hover {
  background: #f8f9fa;
}

/* Title hover */
.cgs-event-item h3 a:hover {
  color: #002855 !important;
}

/* Filter pill hover */
.cgs-pe-pill {
  transition: all 0.2s ease;
}
.cgs-pe-pill:hover {
  opacity: 0.85;
}
.cgs-pe-pill-inactive:hover {
  background: #d0d0d0;
  color: #222;
}

/* Pagination styling */
.page-id-25094970 .page-numbers {
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  display: inline-block;
  background: #e8e8e8;
  color: #333;
  transition: all 0.2s ease;
  margin: 0 3px;
}
.page-id-25094970 .page-numbers:hover {
  background: #d0d0d0;
}
.page-id-25094970 .page-numbers.current {
  background: #002855;
  color: #fff;
}
.page-id-25094970 .page-numbers.prev,
.page-id-25094970 .page-numbers.next {
  background: #002855;
  color: #fff;
}
.page-id-25094970 .page-numbers.prev:hover,
.page-id-25094970 .page-numbers.next:hover {
  background: #001a3a;
  color: #fff;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .page-id-25094970 #main-content .et_pb_text_inner {
    padding: 0 15px;
  }
}

/* Task 21: Fix light blue/gray header bar on Past Events page */
.page-id-25094970.et_secondary_nav_enabled #page-container #top-header {
  background-color: #fff !important;
}

/* Task 24: Add spacing between filter buttons */
.cgs-pe-pill {
  margin: 4px 5px !important;
}

/* Task 23: Button animations - filter pills */
.cgs-pe-pill {
  transition: all 0.25s ease;
  transform: translateY(0);
}
.cgs-pe-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 40, 85, 0.15);
}
.cgs-pe-pill-active:hover {
  box-shadow: 0 3px 8px rgba(0, 40, 85, 0.25);
}

/* Task 23: Button animations - pagination */
.page-id-25094970 .page-numbers {
  transition: all 0.25s ease;
  transform: translateY(0);
}
.page-id-25094970 .page-numbers:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Task 23: Button animations - event card hover */
.cgs-event-item {
  transition: all 0.3s ease;
  transform: translateY(0);
}
.cgs-event-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}