

/* Start:/local/templates/personazhi/components/bitrix/news.list/events/style.css?17629520591566*/
.events {
  padding: 140px 0 50px;
}

.title.events__title {
  margin-bottom: 60px;
}

.events__container {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 25px;
}

.events__container::-webkit-scrollbar {
  width: 0;
}

.event-item {
  text-decoration: none;
  width: 380px;
  height: auto;
  aspect-ratio: 1/1;
  border-radius: 16px;
  transition: .3s ease-in;
}

.event-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.event-item:hover {
  box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.15);
}

.event-item:active {
  box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.25);
}

@media (max-width: 990px) {
  .events {
    padding: 110px 0 35px;
    overflow: hidden;
  }

  .events__title {
    margin-bottom: 30px;
  }

  .events__scroll .container-inner {
    padding-right: 0;
  }

  .events__content {
    overflow: auto;
    padding-right: 50px;
  }

  .events__content::-webkit-scrollbar {
    width: 0;
  }

  .events__container {
    gap: 16px;
    width: max-content;
  }

  .event-item {
    width: calc(100% / 3);
    border-radius: 8px;
  }

  .event-item img {
    border-radius: 8px;
  }
}

@media(max-width: 800px) {
  .events__container {
    width: 791px;
  }
}

@media(max-width: 640px) {
  .events {
    padding: 80px 0 10px;
  }

  .events__title {
    margin-bottom: 20px;
  }

  .events__content {
    padding-right: 20px;
  }

  .events__container {
    gap: 10px;
    width: 767px;
  }
}
/* End */
/* /local/templates/personazhi/components/bitrix/news.list/events/style.css?17629520591566 */
