.edu-events {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.edu-events__item {
  background-color: white;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border-radius: 10px;
  gap: 20px;
}

.edu-events__dates {
  font-size: 14px;
  font-weight: 700;
  line-height: 18.2px;
  color: var(--main-red);
}

.edu-events__title {
  font-size: 16px;
  font-weight: 600;
  line-height: 19.2px;
  margin-top: 15px;
}

.edu-events__button {
  font-size: 14px;
  font-weight: 700;
  line-height: 18.2px;
  padding: 12px 24px;
}

@media screen and (min-width: 768px) {
  .edu-events {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .edu-events__item {
    padding: 30px;
    min-height: 238px;
  }
  .edu-events__dates {
    font-size: 16px;
    font-weight: 600;
    line-height: 19.2px;
  }
  .edu-events__button {
    font-size: 16px;
    font-weight: 700;
    line-height: 16px;
    padding: 14px 24px;
  }
  .edu-events__title {
    font-size: 18px;
    line-height: 19.8px;
  }
}

@media screen and (min-width: 1200px) {
  .edu-events {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
  }
}
