.wp-block-lazyblock-event-list {
  /*margin: 100px 0;*/
  margin: 50px 0;
}

.event-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.event-item {
  display: flex;
  align-items: flex-start;
  color: inherit;
}

.event-item:hover,
.event-item:focus,
.event-item:active {
  opacity: 1;
}

.event-item:nth-child(even) {
  flex-direction: row-reverse;
}

.event-item-image {
  position: relative;
  width: 36%;
}

.event-item-image img {
  width: 100%;
}

.event-item-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 296px;
  background-color: #fff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
  padding: 80px 40px 40px;
  margin-top: 120px;
}

.event-item:nth-child(odd) .event-item-content {
  padding-left: 160px;
  margin-left: -120px;
}

.event-item:nth-child(even) .event-item-content {
  padding-right: 160px;
  margin-right: -120px;
}

html[lang="en-US"] .event-item-title {
  font-size: 28px;
}

.event-item-title {
  font-weight: 700;
  font-size: 30px;
  line-height: 1.26;
  margin-bottom: 0.5em;
}

.event-item-button {
  display: flex;
  justify-content: flex-end;
  margin-top: auto;
}

.event-item-button img {
  width: 28px;
}

@media screen and (max-width: 1280px) {
  .wp-block-lazyblock-event-list {
    margin: 40px 0;
  }

  .event-list {
    gap: 50px;
  }

  .event-item {
    align-items: center;
  }

  .event-item-image {
    width: 50%;
  }

  .event-item-content {
    min-height: unset;
    padding: 30px 30px;
    margin-top: 0;
  }

  .event-item:nth-child(odd) .event-item-content {
    padding-left: 50px;
    margin-left: -20px;
  }

  .event-item:nth-child(even) .event-item-content {
    padding-right: 50px;
    margin-right: -20px;
  }

  html[lang="en-US"] .event-item-title {
    font-size: 24px;
  }

  .event-item-title {
    font-size: 26px;
  }
}

@media screen and (max-width: 768px) {
  .event-item {
    flex-direction: column !important;
    align-items: flex-start;
  }

  .event-item-image {
    width: 95%;
  }

  .event-item:nth-child(odd) .event-item-image {
    margin-left: auto;
  }

  .event-item-content {
    padding: 200px 30px 30px !important;
    margin: -170px 0 0 !important;
  }
}