/* Modern Event Card Styles - overrides theme */
.eem-event-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin: 40px auto;
  max-width: 1200px;
}
.eem-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s, box-shadow 0.18s;
  min-height: 480px;
}
.eem-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 8px 32px rgba(25, 118, 210, 0.13);
}
.eem-card-image {
  width: 100%;
  height: 220px;
  max-height: 220px;
  min-height: 220px;
  object-fit: cover;
  object-position: center;
  background: #f0f0f0;
  display: block;
  border-bottom: 1px solid #f0f0f0;
}
.eem-card h3 {
  font-size: 1.6em;
  color: #3a4a3f;
  margin: 20px 0 0 0;
  padding: 0 24px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.eem-card p {
  margin: 10px 0 0 0;
  padding: 0 24px;
  color: #444;
  font-size: 1.08em;
}
.eem-card p strong {
  color: #1976d2;
}
.eem-card:last-child {
  margin-bottom: 0;
}
.eem-card-content-flex {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}
.eem-card-description {
  height: 60px;
  max-height: 60px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  white-space: normal;
  margin-bottom: 0;
}
.eem-paynow-btn {
  background: linear-gradient(90deg, #43b97f 0%, #1976d2 100%) !important;
  color: #fff !important;
  font-weight: 600;
  font-size: 1.13em;
  border: none;
  border-radius: 0 0 18px 18px;
  padding: 18px 0 16px 0;
  box-shadow: 0 -2px 12px rgba(25, 118, 210, 0.04);
  text-align: center;
  transition: background 0.18s, color 0.18s;
  cursor: pointer;
  letter-spacing: 0.01em;
  text-decoration: none;
}
.eem-paynow-btn:hover, .eem-paynow-btn:focus {
  background: linear-gradient(90deg, #1976d2 0%, #43b97f 100%) !important;
  color: #fff !important;
}
.eem-card-horizontal {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  display: flex;
  align-items: stretch;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  background-size: cover;
  background-position: center;
}
.eem-card-horizontal .eem-event-card-img,
.eem-card-image-wrap { display: none !important; }
.eem-card-overlay {
  position: absolute;
  left: 0; top: 0; height: 100%; width: 100%;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  opacity: 1;
  transition: opacity 0.3s ease;
  z-index: 2;
  padding: 30px;
  pointer-events: auto;
}
.eem-card-horizontal:hover .eem-card-overlay {
  opacity: 0.8;
}
.eem-card-overlay-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  flex: 1;
  max-width: 60%;
}
.eem-card-horizontal .eem-card-overlay-content {
  /* Removed red border for debugging */
}
.eem-card-subtitle {
  font-size: 1.1em;
  font-weight: 400;
  letter-spacing: 0.04em;
  opacity: 0.85;
}
.eem-card-title {
  font-size: 2em;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1px;
}
.eem-card-desc {
  font-size: 1.1em;
  font-weight: 400;
  opacity: 0.9;
}
.eem-card-arrow-btn {
  position: absolute;
  right: 30px;
  bottom: 30px;
  background: white;
  color: #333;
  border-radius: 50%;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2em;
  font-weight: bold;
  z-index: 3;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  text-decoration: none;
  transition: background 0.18s, color 0.18s;
}
.eem-card-arrow-btn:hover {
  background: #1976d2;
  color: #fff;
}
.eem-card-horizontal .eem-card-title {
  font-size: 1.8em !important;
  font-weight: 700 !important;
  color: #fff !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  margin-bottom: 8px !important;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5) !important;
  text-align: left !important;
}
.eem-card-horizontal .eem-card-desc {
  font-size: 1.1em !important;
  font-weight: 400 !important;
  color: #fff !important;
  opacity: 0.9 !important;
  margin-top: 0 !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5) !important;
  text-align: left !important;
  line-height: 1.4 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  white-space: normal !important;
}

/* Vertical card styles */
.eem-card-vertical {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: stretch;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.eem-card-vertical:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 6px 32px rgba(25,118,210,0.13);
}

.eem-card-vertical .eem-card-overlay {
  align-items: flex-start;
  justify-content: flex-end;
  padding: 24px;
}

.eem-card-vertical .eem-card-overlay-content {
  max-width: 100%;
}

.eem-card-vertical .eem-card-title {
  font-size: 1.4em !important;
  font-weight: 700 !important;
  color: #fff !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  margin-bottom: 8px !important;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5) !important;
  text-align: left !important;
}

.eem-card-vertical .eem-card-desc {
  font-size: 1em !important;
  font-weight: 400 !important;
  color: #fff !important;
  opacity: 0.9 !important;
  margin-top: 0 !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5) !important;
  text-align: left !important;
  line-height: 1.4 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  white-space: normal !important;
}
@media (max-width: 700px) {
  .eem-event-cards {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .eem-card {
    min-height: 380px;
  }
  .eem-card-image {
    height: 180px;
  }
} 