#listaEventosPresencial {
    display: flex !important;
    flex-direction: row;
    gap: 25px;
    flex-wrap: wrap; 
    justify-content: center;
}

/* Estilo para el contenedor general */
.evento-item { 
    display: flex;
    flex: 1 1 30%; 
    max-width: 30%;
    align-items: center;
}

.fecha-curso {
    display: flex;
    width: 100%;
    align-items: stretch; 
    height: 100%; 
}

.fecha-comienzo-curso, .fecha-inscripcion {
    display: flex;
    flex-direction: column; 
      align-items: center;
    justify-content: center; 
    padding: 20px;
    height: 100%; 
}

.fechanumero {
    color: #fff;
    font-weight: 600;
    font-size: 44px;
    line-height: 50px;
    margin: 0; 
}

.fechames {
    color: #fff;
    font-weight: 600;
    font-size: 22px;
    margin: 0; 
}

.fecha-limite-inscripcion, .fecha-prontopago {
    color: #000;
    font-size: 18px;
}

#listaEventosPresencial .fecha-comienzo-curso {
    background-color: #000;
    flex: 0 0 40%; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    height: 100%;
}

.fecha-inscripcion {
    background: #F9F7F4;
    flex: 0 0 60%; 
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  justify-content: center;
    padding: 20px;
    height: 100%;
}

p.fecha-pasada-inscripcion {
    color: #000;
    font-size: 16px;
}

@media only screen and (max-width : 1024px) {
.evento-item {
    flex: auto;
    max-width: 50%;
  }
  
 @media only screen and (max-width : 768px) {
.evento-item {
    max-width: 100%;
  }
   
   .fecha-curso{
       flex-direction: column;
   }