/* Start custom CSS for html, class: .elementor-element-6ce33a8 */.upcoming-events{
  padding: 90px 8%;
  background: #f4f7fb;
  font-family: 'Inter', sans-serif;
}

.events-header{
  text-align: center;
  max-width: 720px;
  margin: 0 auto 55px;
}

.events-header h2{
  font-size: 36px;
  color: #0b2a4a;
  margin-bottom: 10px;
}

.events-header p{
  font-size: 16px;
  color: #555;
}

/* GRID */
.events-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 35px;
}

/* CARD */
.event-card{
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: 0.35s;
}

.event-card:hover{
  transform: translateY(-8px);
  box-shadow: 0 22px 45px rgba(0,0,0,0.12);
}

/* IMAGE */
.event-img{
  width: 100%;
  height: 220px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eaf2ff;
  font-size: 60px;
}

.event-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* CONTENT */
.event-content{
  padding: 26px 24px;
}

.event-content h3{
  font-size: 20px;
  color: #0b2a4a;
  margin-bottom: 12px;
}

.event-content p{
  font-size: 15px;
  color: #333;
  line-height: 1.7;
  margin-bottom: 10px;
}

/* RESPONSIVE */
@media(max-width: 768px){
  .events-header h2{
    font-size: 28px;
  }

  .event-img{
    height: 200px;
  }
}/* End custom CSS */