.section--events{
  padding: 70px 0;
  background: #fff;
}

.events-grid2{
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 54px;
  align-items: stretch; 
}

.event-card{
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.event-card__media{
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: #f3f4f6;
  margin-bottom: 16px;
}

.event-card__img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.event-card__title{
  margin: 0 0 8px;
  line-height: 1.15;
  font-weight: 900;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;

  min-height: calc(1.15em * 2);
}

.event-card__title a{
  color: #111;
  text-decoration: none;
}

.event-card__title a:hover{
  text-decoration: underline;
}

.event-card__meta{
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
  margin-bottom: 12px;
  font-weight: 600;
  font-size: 14px;
  min-height: calc(1.4em * 2 + 6px); 
}

.event-card__meta-item{
  display: flex;
  align-items: center;
}

.event-card__icon{
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
  margin-left: 8px;
}

.event-card__excerpt{
  margin: 0 0 20px;
  color: #222;
  line-height: 1.7;
  max-width: 44ch;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;

  min-height: calc(1.7em * 3);
}

.event-card__arrow{
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid #0B1B71;
  color: #0B1B71;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.event-card__arrow:hover{
  transform: translateX(2px);
  background: #E9FEFF;
  border-color: #0B1B71;
}

@media (max-width: 1000px){
  .events-grid2{
    gap: 34px;
  }
}

@media (max-width: 900px){
  .events-grid2{
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

