@media only screen and (max-width: 768px) {
  .event-page__main-title {
    font-size: 24px;
    margin-bottom: 0;
  }
}
@media screen and (max-width: 500px) {
  #calendar-container-calendar {
    display: none;
  }
  .calendar__dates-btn_container {
    flex-direction: column;
    display: none;
  }
  .calendar__dates-btn_container_mobile {
    display: block;
    width: 100%;
  }
  .calendar__dates-list {
    width: 100%;
  }
  .btn__add-to-fav,
  .btn__subscribe-to-tg {
    width: 100%;
    margin-bottom: 15px;
  }
  .event-page__top {
    flex-direction: column;
    margin-bottom: 15px;
  }
  /* .event-page__main-title{
        font-size: 33px;
        line-height: 42px;
    } */

  .event__type-item {
    font-size: 16px;
  }
  .dates-item__upper,
  .dates-item__bottom {
    flex-direction: column;
  }
  .dates-item__title {
    font-size: 24px;
    line-height: 32px;
  }
  .dates-item__upper .dates-item__type {
    -webkit-order: 1;
    -ms-flex-order: 1;
    order: 1;
  }
  .dates-item__upper .dates-item__title {
    -webkit-order: 2;
    -ms-flex-order: 2;
    order: 2;
  }
  .dates-item__type.oflineType,
  .dates-item__type.onlineType {
    margin-left: 10px;
    display: none;
  }
  .dates-item__type-container {
    margin-bottom: 14px;
  }
  .dates-item__time,
  .dates-item__location,
  .dates-item__link {
    width: 100%;
    text-align: left;
  }
  .event-page__title {
    font-size: 24px;
  }
  .event-page__text span {
    font-size: 20px;
    line-height: 26px;
  }
  .calendar__view-switcher {
    display: none;
  }
}
@media screen and (max-width: 380px) {
}
