/* -------------------------------------------------
   3.11. Event Listings
   ------------------------------------------------- */
/* === Grid Layout === */
.sifency-event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

/* === Event Card === */
.sifency-event-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
}

/* Hover Effect */
.sifency-event-item:hover {
  border-color: var(--sifency-addons-themecolor);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.sifency-event-item.odd-item {
  border-left: 5px solid var(--sifency-addons-themecolor);
}

.sifency-event-item.even-item {
  border-left: 5px solid #6c757d;
}

/* === Content Area === */
.sifency-event-item__content {
  flex-grow: 1;
  margin-right: 20px;
}

/* Title */
.sifency-event-item__title {
  margin: 0 0 12px;
  font-size: 1.5em;
  font-weight: 600;
  line-height: 1.3;
}

/* Metadata (Date & Location) */
.sifency-event-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 0.9em;
  font-weight: 500;
  color: #6c757d;
}

.sifency-event-item__date::before {
  content: '📅';
  margin-right: 8px;
  opacity: 0.8;
}

.sifency-event-item__location::before {
  content: '📍';
  margin-right: 8px;
  opacity: 0.8;
}

/* Description */
.sifency-event-description {
  margin-top: 15px;
  font-size: 1em;
  line-height: 1.6;
  color: #495057;
}

/* === Button === */
.sifency-event-item__button-wrap {
  display: flex;
  align-items: center;
}

.sifency-event-item__button {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 25px;
  background: #f8f9fa;
  color: var(--sifency-addons-themecolor);
  border-radius: 5px;
  transition: all 0.3s ease;
}

.sifency-event-item:hover .sifency-event-item__button {
  background: var(--sifency-addons-themecolor);
  color: #fff;
}
