
/* Hero */
.event-hero {
  background: linear-gradient(90deg, #1d4ed8, #0ea5e9);
  color: #fff;
  padding: 60px 20px;
  text-align: center;
  border-radius: 0 0 20px 20px;
}

.event-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.event-hero p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Event Cards */
.event-list {
  /*display: grid;*/
  /*grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));*/
  /*gap: 24px;*/
  /*margin: 40px auto;*/
  
  
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px; /* space between cards */
  
}
.event-img {
    height: 200px;
    overflow: hidden;
}
.event-card {
  /*background: #fff;*/
  /*border-radius: 16px;*/
  /*overflow: hidden;*/
  /*box-shadow: 0 10px 25px rgba(0,0,0,0.08);*/
  /*display: flex;*/
  /*flex-direction: column;*/
  /*transition: transform 0.3s;*/
  /*width:33.3%;*/
  
  /*box-shadow: 0 10px 25px rgba(0,0,0,0.08);*/
  
    border: 1px solid #ccc;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s ease-in-out;
  
}

.event-card:hover {
  transform: translateY(-5px);
}

.event-img img {
  width: 100%;
  height: auto;
  display: block;
}

.event-content {
  padding: 20px;
}

.event-content h2 {
  font-size: 1.4rem;
  margin: 0 0 10px;
  color: #1e293b;
}

.event-meta {
  font-size: 0.95rem;
  color: #475569;
  margin-bottom: 12px;
}

.event-desc {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #334155;
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(90deg, #f97316, #fb923c);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.btn-primary:hover {
  background: linear-gradient(90deg, #ea580c, #f97316);
}@media (max-width: 991px) {
    .event-card {
    width: 100%;
}

}