.usefull-event {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.usefull-event__item {
  background-color: var(--bg-gray);
  min-height: 297px;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.usefull-event__chips {
  font-size: 12px;
  font-weight: 700;
  line-height: 14.4px;
  color: white;
  background: rgba(2, 2, 2, 0.6);
  padding: 5px 12px;
  position: absolute;
  top: 20px;
  left: 20px;
  border-radius: 30px;
  pointer-events: none;
}

.usefull-event__text-block {
  padding: 25px;
  pointer-events: none;
}

.usefull-event__title {
  font-size: 16px;
  font-weight: 600;
  line-height: 19.2px;
}

.usefull-event__image {
  width: 100%;
  height: 48vw;
  max-height: 250px;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.history__date {
  font-size: 12px;
  font-weight: 700;
  line-height: 14.4px;
  margin-top: 40px;
  color: var(--main-red);
}

@media screen and (min-width: 768px) {
  .usefull-event {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .usefull-event__item {
    min-height: 326px;
  }
  .usefull-event__text-block {
    padding: 25px 30px;
  }
  .usefull-event__title {
    font-size: 18px;
    line-height: 19.8px;
  }
  .usefull-event__image {
    height: 206px;
  }
}

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