.event_container_108 {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start; /* prevent the last row from stretching */
  margin: 20px auto;
  max-width: 1200px;
  box-sizing: border-box;
}

.event_container_108 .event_grid_item {
  flex: 0 0 calc((100% - 40px) / 3); /* 3 per row with 20px gaps */
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08),
              0 8px 20px rgba(0, 0, 0, 0.06);
padding: 0 0 20px 0;
  box-sizing: border-box;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
    flex-direction: column;
    justify-content: space-between;
        overflow: hidden;
}

.event_container_108 .event_grid_item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12),
              0 12px 24px rgba(0, 0, 0, 0.1);
}

/* Responsive: 2 per row */
@media (max-width: 900px) {
  .event_container_108 .event_grid_item {
    flex: 0 0 calc((100% - 20px) / 2);
  }
}

/* Responsive: 1 per row */
@media (max-width: 600px) {
  .event_container_108 .event_grid_item {
    flex: 0 0 100%;
  }
}



.event_date_section{
   height: 200px; 
}

.event_date_section span{
    font-size: 12px;
    display: inline-block;
    background: #4AAFCB;
    color: #fff;
    padding: 3px 7px;
    border-radius: 5px;
    margin-top: 15px;
}

.event_grid_item div{
padding:5px 20px;
font-size:14px;
color:#004F6E;
}

.event_grid_item label{
    font-size: 12px;
    color: #004F6E;
    display: block !important;
    margin-top: 10px;

}


.event_title h3{
 color:#004F6E;   
 font-size:18px;
 font-weight: 600;
}


.event_type_inner,.event_delievery{
width:35%;
display: inline-block;
padding: 0 !important;
}

.event_start_date{
   color:#004F6E; 
}

.event_type span{
    display: inline-block;
    font-size: 12px;
    background-color: #e6eef1;
    padding: 5px;
    border-radius: 5px;
    margin-top: 5px;
}

.event_border{
height: 1px;
    background: #e1e1e1;
    padding: 0 !important;
    width: calc(100% - 40px);
    margin:10px auto;
}

.event_date_section{
   background-size:cover !important;
   background-repeat: no-repeat;
   background-position: center center !important; 
}



.event_read_more a{
    display: block;
    color: #fff !important;
    background-color: #004F6E;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 30px;
    text-transform: uppercase;
}
