.events-main {
  max-width: 1740px;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}

.events-main__text-top {
  margin-bottom: 50px;
}

.events-main__text-bottom {
  margin-top: 50px;
}

.events-main__items {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}

.events-main__items_item {
  width: 50%;
  margin-bottom: 30px;
  padding-left: 15px;
  padding-right: 15px;
}

.events-main__items_item_inner {
  display: flex;
  height: 100%;
  padding-top: 40px;
  padding-bottom: 40px;
  padding-left: 50px;
  padding-right: 50px;
  border: 1px solid #bfbfbf;
  text-decoration: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.events-main__items_item_inner:hover .events-main__items_item_right_title span {
  background-image: none !important;
}

.events-main__items_item_left {
  display: flex;
  flex-direction: column;
  max-width: 250px;
  width: 100%;
  margin-right: 20px;
}

.events-main__items_item_left_date {
  flex: none;
  display: flex;
  width: max-content;
  flex-direction: column;
  margin-bottom: 25px;
}

.events-main__items_item_left_date_date {
  font-size: 150px;

  color: #4e4e51;
  text-transform: uppercase;
  line-height: 0.8;
}

.events-main__items_item_left_date_month {
  font-size: 36px;

  color: #4e4e51;
  text-transform: uppercase;
  line-height: 1.5;
  text-align: center;
}

.events-main__items_item_left_info {
  display: flex;
  flex-direction: column;
}

.events-main__items_item_left_info_status {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  font-size: 18px;

  color: #3f3b37;
  line-height: 1.2;
}

.events-main__items_item_left_info_status i {
  flex: none;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 22px;
  height: 22px;
  margin-right: 7px;
  background-repeat: no-repeat;
  background-position: center;
}

.events-main__items_item_left_info_status.online i {
  background-image: url(/themes/images/events-online.png);
}

.events-main__items_item_left_info_status.offline i {
  background-image: url(/themes/images/events-offline.png);
}

.events-main__items_item_left_info_city {
  display: flex;
  align-items: center;
  font-size: 18px;

  color: #3f3b37;
  line-height: 1.2;
}

.events-main__items_item_left_info_city i {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 22px;
  height: 28px;
  margin-right: 7px;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url(/themes/images/events-location.png);
}

.events-main__items_item_right {
  max-width: 365px;
  width: 100%;
  margin-left: auto;
}

.events-main__items_item_right_title {
  margin-bottom: 35px;
  font-size: 26px;

  color: #000;
  text-transform: uppercase;
  line-height: 1.308;
}

.events-main__items_item_right_title span {
  background-image: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.7),
      rgba(0, 0, 0, 0.7));
  background-position: 0 1.15em;
  background-repeat: repeat-x;
  background-size: 1px 1px;
}

.events-main__items_item_right_text {
  font-size: 16px;

  color: rgba(0, 0, 0, 0.5);
  line-height: 1.5;
}

.events-main__items_item.white .events-main__items_item_left_date_date {
  color: #fff;
}

.events-main__items_item.white .events-main__items_item_left_date_month {
  color: #fff;
}

.events-main__items_item.white .events-main__items_item_left_info_status {
  color: #fff;
}

.events-main__items_item.white .events-main__items_item_left_info_city {
  color: #fff;
}

.events-main__items_item.white .events-main__items_item_right_title {
  color: #fff;
}

.events-main__items_item.white .events-main__items_item_right_title span {
  background-image: linear-gradient(to bottom,
      rgba(255, 255, 255, 0.7),
      rgba(255, 255, 255, 0.7));
}

.events-main__items_item.white .events-main__items_item_right_text {
  color: rgba(255, 255, 255, 0.5);
}

.events-main__items_item.white .events-main__items_item_left_info_status.offline i {
  background-image: url(/themes/images/events-offline-white.png);
}

.events-main__items_item.white .events-main__items_item_left_info_status.online i {
  background-image: url(/themes/images/events-online-white.png);
}

.events-main__items_item.white .events-main__items_item_left_info_city i {
  background-image: url(/themes/images/events-location-white.png);
}

.events-main__button {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.events-main__button a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 260px;
  height: 50px;
  background: #000;
  border-radius: 40px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 1.5px;
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.events-main__button a:hover {
  background: #ff6127;
}

.events-main__category {
  display: flex;
  flex-direction: column;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 50px;
  padding-left: 0px;
  padding-right: 0px;
}

.events-main__category_title {
  font-size: 20px;
  font-weight: 600;
  color: rgb(0, 0, 0);
  line-height: 1.6;
}

.events-main__category_items {
  display: flex;
  flex-wrap: wrap;
  margin-top: 15px;
  padding-bottom: 20px;
  border-bottom: 1px solid #9f9d9b;
}

.events-main__category_items_item {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 10px;
  margin-bottom: 10px;
  font-size: 16px;
  color: #000;
}

.events-main__category_items_item a {
  display: flex;
  width: 100%;
  height: 100%;
  padding: 7px 38px;
  text-decoration: none;
  color: #000;
  border-radius: 40px;
  background: #fff;
  border: 1px solid #d7d7d7;
  transition: 0.2s;
}

.events-main__category_items_item a:hover {
  border: 1px solid #fc6d38;
  background: #fc6d38;
  color: #fff;
}

.events-main__category_items_item.active a {
  border: 1px solid #fc6d38;
  background: #fc6d38;
  color: #fff;
}

.events-main__category_link {
  margin-left: auto;
  margin-top: 10px;
}

.events-main__category_link a {
  display: flex;
  align-items: center;
  font-size: 16px;

  color: rgb(64, 149, 193);
  line-height: 2;
  text-decoration: none;
}

@media (max-width: 1023px) {
  .events-main__category_items_item {
    width: 100%;
    margin-bottom: 10px;
    margin-right: 0;
    font-size: 14px;
  }
}

@media (max-width: 1535px) {
  .events-main__items_item_left_date_date {
    font-size: 140px;
  }

  .events-main__items_item_left_date_month {
    font-size: 30px;
  }

  .events-main__items_item_right_title {
    font-size: 22px;
  }

  .events-main__items_item_right_text {
    font-size: 15px;
  }
}

@media (max-width: 1535px) {
  .events-main__items_item_left {
    max-width: 240px;
  }

  .events-main__items_item_left_date_date {
    font-size: 100px;
  }

  .events-main__items_item_left_date_month {
    font-size: 24px;
  }

  .events-main__items_item_right_title {
    font-size: 24px;
  }

  .events-main__items_item_right_text {
    font-size: 14px;
  }

  .events-main__items_item_left_info_status {
    font-size: 16px;
  }

  .events-main__items_item_left_info_city {
    font-size: 16px;
  }
}

@media (max-width: 1439px) {
  .events-main__items_item_left {
    max-width: 220px;
  }
}

@media (max-width: 1365px) {
  .events-main__items_item_inner {
    padding-left: 35px;
    padding-right: 35px;
  }

  .events-main__items_item_left {
    max-width: 200px;
  }

  .events-main__items_item_left_date_date {
    font-size: 100px;
  }

  .events-main__items_item_left_date_month {
    font-size: 24px;
  }

  .events-main__items_item_right_title {
    font-size: 22px;
  }

  .events-main__items_item_right_text {
    font-size: 14px;
  }

  .events-main__items_item_left_info_status {
    font-size: 16px;
  }

  .events-main__items_item_left_info_city {
    font-size: 16px;
  }
}

@media (max-width: 1279px) {
  .events-main__items {
    max-width: 785px;
    flex-direction: column;
    margin-left: auto;
    margin-right: auto;
  }

  .events-main__items_item_left {
    width: 100%;
    max-width: 100%;
  }

  .events-main__items_item {
    width: 100%;
    padding: 0;
  }
}

@media (max-width: 767px) {
  .events-main__items_item_inner {
    flex-direction: column;
    padding-left: 25px;
    padding-right: 25px;
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .events-main__items_item_left {
    margin-bottom: 40px;
  }

  .events-main__items_item_left_date {
    flex-direction: row;
    align-items: flex-end;
  }

  .events-main__items_item_left_date_date {
    font-size: 40px;
    margin-right: 7px;
  }

  .events-main__items_item_left_date_month {
    line-height: 0.9;
  }

  .events-main__items_item_left_info_status {
    font-size: 14px;
    line-height: 1;
  }

  .events-main__items_item_left_info_city {
    font-size: 14px;
    line-height: 1;
  }

  .events-main__items_item_left_info_status i {
    width: 15px;
    height: 15px;
    background-size: 15px 15px;
  }

  .events-main__items_item_left_info_city i {
    width: 15px;
    height: 21px;
    background-size: 15px 21px;
  }

  .events-main__items_item_right_title {
    margin-bottom: 20px;
    font-size: 18px;
  }

  .events-main__button {
    margin-top: 10px;
  }

  .events-main__button a {
    width: 200px;
    height: 45px;
    font-size: 14px;
  }
}

/* events-item */
.events-item {
  max-width: 1480px;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}

.events-item-content {
  display: flex;
  padding-bottom: 100px;
  /* border-bottom: 1px solid #aaaaaa; */
}

.events-item__left {
  position: sticky;
  top: 130px;
  display: flex;
  align-self: flex-start;
  flex: none;
  flex-direction: column;
  max-width: 410px;
  width: 100%;
  padding-right: 50px;
  padding-bottom: 15px;
}

.events-item__left_date {
  display: flex;
  flex-direction: column;
  font-family: "DaysOne-Regular";
  font-weight: normal;
  color: #743917;
}

.events-item__left_date {
  flex: none;
  display: flex;
  width: max-content;
  flex-direction: column;
  margin-bottom: 25px;
}

.events-item__left_date_date {
  font-size: 100px;
  color: #743917;
  text-transform: uppercase;
  line-height: 0.8;
}

.events-item__left_date_month {
  font-size: 36px;

  color: #743917;
  text-transform: uppercase;
  line-height: 1.5;
}

.events-item__left_info {
  display: flex;
  flex-direction: column;
}

.events-item__left_info_status {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  font-size: 18px;

  color: #3f3b37;
  line-height: 1.2;
}

.events-item__left_info_status i {
  flex: none;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 22px;
  height: 22px;
  margin-right: 7px;
  background-repeat: no-repeat;
  background-position: center;
}

.events-item__left_info_status i {
  background-image: url(/themes/images/events-online.png);
}

.events-item__left_info_status i {
  background-image: url(/themes/images/events-offline.png);
}

.events-item__left_info_city {
  display: flex;
  align-items: center;
  font-size: 18px;

  color: #3f3b37;
  line-height: 1.2;
}

.events-item__left_info_city i {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 22px;
  height: 28px;
  margin-right: 7px;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url(/themes/images/events-location.png);
}

.events-item__left_button {
  margin-top: 0px;
}

.events-item__left_button a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 50px;
  background: #000;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 1.5px;
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
  border-radius: 20px;
}

.events-item__left_button a:hover {
  background: #ff6127;
}

.events-item__right_title {
  margin-bottom: 40px;
  font-size: 50px;
  font-weight: normal;
  color: #252525;
  text-transform: uppercase;
  line-height: 1;
  font-family: "DaysOne-Regular";
}

.events-item__right_title h1 {
  font-weight: inherit;
  font-size: inherit;
  color: inherit;
  padding: inherit;
  margin: inherit;
}

.events-item__right_text1 {
  margin-bottom: 50px;
  font-size: 26px;

  color: #000;
  line-height: 1.231;
}

.events-item__right_photo {
  margin-bottom: 80px;
}

.events-item__right_photo img {
  max-width: 100%;
  height: auto;
  vertical-align: top;
}

.events-item__right_text2 {
  margin-bottom: 70px;
  font-size: 18px;

  color: #000;
  line-height: 1.666;
}

.events-item__right_text2 p {
  margin: 0;
  margin-bottom: 20px;
}

.events-item__right_gallery {
  margin-bottom: 50px;
}

.events-item-other {
  margin-top: 80px;
}

.events-item-other__title {
  margin-bottom: 50px;
  font-size: 40px;
  color: #3f3b37;
  text-transform: uppercase;
  line-height: 1.35;
}

@media (max-width: 1535px) {
  .events-item__right_title {
    font-size: 45px;
  }
}

@media (max-width: 1365px) {
  .events-item__left {
    max-width: 360px;
  }

  .events-item__left_date_date {
    font-size: 110px;
  }

  .events-item__left_date_month {
    font-size: 28px;
  }

  .events-item__left_info_status {
    font-size: 16px;
  }

  .events-item__left_info_city {
    font-size: 16px;
  }

  .events-item__right_title {
    font-size: 42px;
  }

  .events-item-other__title {
    font-size: 32px;
  }
}

@media (max-width: 1279px) {
  .events-item__right_title {
    font-size: 32px;
  }

  .events-item__right_text1 {
    font-size: 21px;
  }
}

@media (max-width: 1023px) {
  .events-item-content {
    flex-direction: column;
  }

  .events-item__left {
    order: 2;
    position: relative;
    top: 0;
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
    padding: 0;
    padding-top: 70px;
    border-top: 1px solid #aaaaaa;
  }

  .events-item__left_date {
    flex-direction: row;
    align-items: flex-end;
    max-width: 400px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .events-item__left_date_date {
    font-size: 60px;
    line-height: 1.2;
    margin-right: 7px;
  }

  .events-item__left_date_month {
    line-height: 2;
  }

  .events-item__left_info {
    max-width: 400px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .events-item__left_button {
    max-width: 400px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .events-item__left_button a {
    width: 100%;
    height: 45px;
    letter-spacing: 1.5px;
    font-size: 14px;
  }

  .events-item__right_text1 {
    line-height: 1.45;
  }
}

@media (max-width: 767px) {
  .events-item-content {
    padding-bottom: 50px;
  }

  .events-item__right_title {
    font-size: 30.4px;
  }

  .events-item__right_text1 {
    font-size: 18px;
  }

  .events-item__right_text2 {
    font-size: 16px;
  }

  .events-item__right_photo {
    margin-bottom: 40px;
  }

  .events-item__left {
    padding-top: 30px;
  }

  .events-item__left_date_date {
    font-size: 40px;
    line-height: 1.4;
  }

  .events-item-other {
    margin-top: 50px;
  }

  .events-item-other__title {
    font-size: 21px;
  }
}

@media (max-width: 479px) {
  .events-item__right_title {
    font-size: 22.5px;
  }
}

.events-main__past {
  margin-top: 50px;
}

.events-main__past .events-item-other__title a {
  text-decoration: none;
}

.events-main-nav__past {
  display: flex;
  align-items: center;
  margin-top: 50px;
}

.events-main-nav__past img {
  margin-right: 10px;
}

/* main events */
.main-events {
  margin-top: 135px;
  margin-bottom: 135px;
}

.main-events-block {
  display: flex;
  flex-direction: column;
}

.main-events-header {
  display: flex;
  align-items: flex-end;
  margin-bottom: 60px;
}

.main-events-header__title {
  margin-right: 60px;
  font-size: 50px;
  color: #3f3b37;
  text-transform: uppercase;
  line-height: 0.9;
}

.main-events-header__title a {
  color: #3f3b37;
  text-decoration: none;
}

.main-events-header__link {
  font-size: 18px;
  color: rgb(0, 0, 0);
  line-height: 1.4;
  margin-right: 15px;
}

.main-events-header__link a {
  text-decoration: none;
  color: #000;
  border-bottom: 1px solid #000;
}

.main-events-header__link a:hover {
  border-bottom: 1px solid transparent;
}

.main-events-items {
  display: flex;
  flex-wrap: wrap;
  /* gap: 60px; */
  margin-left: -20px;
  margin-right: -20px;
}

.main-events-items2 {
  display: flex;
  flex-wrap: wrap;
  /* gap: 60px; */
  margin-left: -20px;
  margin-right: -20px;
}

.main-events-item {
  display: flex;
  flex-direction: column;
  width: 33.3333%;
  text-decoration: none;
  padding-left: 20px;
  padding-right: 20px;
  margin-bottom: 40px;
}

.main-events-item__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 40px;
  overflow: hidden;
}

.main-events-item__photo {
  position: relative;
  height: 340px;
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
  flex: none;
}

.main-events-item.border .main-events-item__photo {
  border-left: 1px solid #9f9d9b;
  border-right: 1px solid #9f9d9b;
  border-top: 1px solid #9f9d9b;
}

.main-events-item__date {
  display: flex;
  flex-direction: column;
  width: max-content;
  padding: 40px;
}

.main-events-item__date_date {
  margin-bottom: 15px;
  font-size: 90px;
  color: #000;
  text-transform: uppercase;
  line-height: 0.8;
  font-family: "DaysOne-Regular";
  font-weight: normal;
}

.main-events-item__date_month {
  font-size: 37px;
  color: #000;
  text-transform: uppercase;
  line-height: 0.8;
  margin-left: 3px;
}

.main-events-item__photo.white .main-events-item__date_date,
.main-events-item__photo.white .main-events-item__date_month {
  color: #fff;
}

.main-events-item__info {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 35px 40px;
  border-left: 1px solid #d7d7d7;
  border-right: 1px solid #d7d7d7;
  border-bottom: 1px solid #d7d7d7;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  background: #fff;
  transition: 0.2s;
}

.main-events-item__inner:hover .main-events-item__info {
  background: #d7d7d7;
}

.main-events-item__text {
  margin-bottom: 30px;
  font-size: 24px;
  color: rgb(0, 0, 0);
  line-height: 1.2;
}

.main-events-item__text p {
  margin-top: 0;
}

.main-events-item__adress {
  display: flex;
  align-items: center;
  font-size: 18px;
  color: #000;
  line-height: 1.2;
  margin-top: auto;
}

.main-events-item__adress i {
  flex: none;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 20px;
  height: 26px;
  margin-right: 15px;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url("/themes/images/events-location-black.png");
}

.page-events {
  gap: 0;
  flex-wrap: wrap;
  margin-left: -20px;
  margin-right: -20px;
}

.page-events .main-events-item {
  width: 33.3333%;
  padding-left: 20px;
  padding-right: 20px;
}

.page-events .main-events-item__inner {
  text-decoration: none;
}

.page-events .main-events-item__inner.border .main-events-item__photo {
  border-left: 1px solid #9f9d9b;
  border-right: 1px solid #9f9d9b;
  border-top: 1px solid #9f9d9b;
}

@media (max-width: 1535px) {
  /* .main-events-items {
    gap: 20px;
  } */

  .page-events {
    gap: 0;
  }

  .main-events-item__photo {
    height: 320px;
  }

  .main-events-item__date_date {
    font-size: 70px;
  }

  .main-events-item__date_month {
    font-size: 30px;
  }

  .main-events-item__text {
    font-size: 18px;
  }
}

@media (max-width: 1365px) {
  .main-events-item__info {
    padding: 25px;
  }

  .main-events-item__photo {
    height: 280px;
  }

  .main-events-item__date_date {
    font-size: 60px;
  }

  .main-events-item__date_month {
    font-size: 25px;
  }

  .main-events-item__text {
    font-size: 18px;
  }

  .main-events-item__adress {
    font-size: 15px;
  }
}

@media (max-width: 1279px) {
  .main-events-item__photo {
    height: 250px;
  }

  .main-events-item__date {
    padding: 20px;
  }

  .main-events-item__date_date {
    font-size: 60px;
  }

  .main-events-item__date_month {
    font-size: 21px;
  }

  .main-events-item__text {
    font-size: 16px;
  }

  .main-events-item__adress {
    font-size: 14px;
  }

  .main-events-item__adress i {
    width: 13px;
    height: 17px;
    background-size: cover;
  }

  .page-events {
    gap: 0;
    margin-left: -10px;
    margin-right: -10px;
  }

  .page-events .main-events-item {
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media (max-width: 1023px) {
  .main-events-block {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .main-events-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-events-header__title {
    font-size: 32px;
    margin-bottom: 10px;
  }

  .main-events-items {
    flex-direction: column;
  }

  .main-events-items2 {
    flex-direction: column;
  }

  .main-events-item {
    width: 100%;
  }

  .page-events {
    flex-direction: row;
  }

  .page-events .main-events-item {
    width: 50%;
  }
}

@media (max-width: 767px) {
  .main-events {
    margin-top: 50px;
    margin-bottom: 50px;
  }

  .main-events-header__title {
    margin-bottom: 15px;
    font-size: 24px;
  }

  .main-events-item__date_date {
    font-size: 50px;
  }

  .main-events-item__date_month {
    font-size: 18px;
  }

  .main-events-header__link {
    margin-bottom: 10px;
    font-size: 14px;
  }

  .page-events .main-events-item {
    width: 100%;
    margin-bottom: 20px;
  }
}