/* ========================================
   Events Page Styles
   Mama Africa Pendo
======================================== */

/* Event Card Styles */
.event-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 24px;
}
.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}
.event-card .thumb {
  position: relative;
  overflow: hidden;
}
.event-card .thumb img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.event-card:hover .thumb img {
  transform: scale(1.05);
}
.event-card .date-badge {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: #eb6424;
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
}
.event-card .date-badge .day {
  font-size: 22px;
  line-height: 1;
  display: block;
}
.event-card .date-badge .month {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.event-card .type-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.event-card .content {
  padding: 20px;
}
.event-card .location {
  color: #666;
  font-size: 13px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.event-card .location i {
  color: #eb6424;
}
.event-card h5 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.4;
}
.event-card h5 a {
  color: #4c5739;
  text-decoration: none;
  transition: color 0.3s;
}
.event-card h5 a:hover {
  color: #eb6424;
}
.event-card .excerpt {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
}
.event-card .view-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #eb6424;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: gap 0.3s;
}
.event-card .view-btn:hover {
  gap: 10px;
}

/* Sidebar Styles */
.events-sidebar {
  position: sticky;
  top: 100px;
}
.sidebar-widget {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.sidebar-widget h5 {
  color: #4c5739;
  font-size: 18px;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #eb6424;
  display: inline-block;
}
.status-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.status-btn {
  padding: 10px 18px;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  border: none;
}
.status-btn.active {
  background: #eb6424;
  color: #fff;
}
.status-btn:not(.active) {
  background: #f5f5f5;
  color: #666;
}
.status-btn:not(.active):hover {
  background: #eb6424;
  color: #fff;
}
.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.category-list li {
  margin-bottom: 8px;
}
.category-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-radius: 8px;
  color: #555;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s;
  background: #f8f8f8;
}
.category-list a:hover,
.category-list a.active {
  background: rgba(235, 100, 36, 0.1);
  color: #eb6424;
}
.category-list .count {
  background: #eb6424;
  color: #fff;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
}
.type-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.type-tag {
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}
.type-tag:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}
.cta-widget {
  background: linear-gradient(135deg, #eb6424 0%, #c49353 100%);
  text-align: center;
  color: #fff;
}
.cta-widget h5 {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.3);
}
.cta-widget p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
}
.cta-widget .cta-btn {
  display: inline-block;
  background: #fff;
  color: #eb6424;
  padding: 12px 28px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}
.cta-widget .cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* Pagination */
.pagination-wrapper {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}
.events-pagination {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.events-pagination a,
.events-pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}
.events-pagination a {
  background: #fff;
  color: #4c5739;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}
.events-pagination a:hover {
  background: #eb6424;
  color: #fff;
}
.events-pagination .current {
  background: #eb6424;
  color: #fff;
}
.events-pagination .disabled {
  background: #f5f5f5;
  color: #ccc;
  cursor: not-allowed;
}

/* No Events */
.no-events {
  text-align: center;
  padding: 60px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.no-events i {
  font-size: 60px;
  color: #ddd;
  margin-bottom: 20px;
}
.no-events h4 {
  color: #4c5739;
  margin-bottom: 10px;
}
.no-events p {
  color: #888;
}

/* Section Header */
.events-header {
  margin-bottom: 30px;
}
.events-header h3 {
  color: #4c5739;
  margin: 0 0 5px;
}
.events-header p {
  color: #888;
  margin: 0;
}

/* Events Section Background */
.events-section {
  background: #f9f9f9;
}
