/*@media screen and (max-width: 1400px) {*/
/*  .container {*/
/*    max-width: 900px;*/
/*  }*/

/*}*/

@media screen and (max-width: 1023px) {
  .container {
    padding: 0 35px;
    max-width: 1023px;
  }

  .header {
    top: 20px;
  }

  .section__title {
    font-size: 24px;
    line-height: 120%;
    margin: 0;
  }

  .navigation__menu,
  .navigation__tools {
    display: none;
  }

  .header__logo-wrapper {
    margin-right: 20px;
  }

  /*.logo img {
    width: 75%;
  }*/

  .welcome {
    padding-top: 280px;
    padding-bottom: 20px;
    background-position: center top;
  }

  .welcome__list {
    flex-wrap: wrap;
  }

  .welcome__title {
    width: 100%;
    font-size: 24px;
  }

  .welcome__text {
    width: 100%;
  }

  .section__wrapper {

    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
  }

  .advertisement {

    margin-top: 48px;
  }

  .advertisement__list--slider {

    max-width: 100%;
  }

  .advertisement .carousel__track {
    width: 95%;
    flex-direction: column;
    align-items: center;
  }

  .advertisement__slide {

    margin-bottom: 15px;
  }

  .news {
    margin-top: 48px;
  }

  .news__list {
    grid-template-columns: 1fr;
  }

  .news__img {
    max-width: 100%;
    height: auto;
  }

  .sources {
    margin-top: 48px;
  }

  .sources__wrapper {
    /* display: flex;
    flex-direction: column; */
    grid-template-areas: "rector rector rector"
      "dvgups dvgups dvgups"
      "smi smi smi"
      "soc soc soc";
    grid-auto-rows: auto;
    grid-template-rows: 1fr;
  }

  .sources__block {
    width: 100%;
  }

  .sources__block--rector {
    padding-bottom: 120px;
  }
  .sources__block--soc {
    padding-bottom: 120px;
    justify-content: start;
    background-position: right bottom;
    background-size: auto;
  }

  .sources__block--dvgups {
    padding-bottom: 230px;
  }

  .sources__block--dvgups::before{
    background-image: url(../icon/ellipse-gradient-mob.svg);
  }

  .sources__block--soc::before {
    background-image: url(../icon/ellipse-gradient-mob.svg);
  }

  .sources__block-wrapper::before {
    background-position: center 90%;
  }

  .sources__list-social {
    margin-top: 20px;
    padding-bottom: 80px;
  }

  .events {
    border-top: 48px;
  }

  .events__list {
    grid-template-columns: 1fr;
  }

  .events__link {
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
  }

  .video {
    margin-top: 48px;
  }

  .video__list {
    grid-template-columns: 1fr;
  }

  .video__preview {
    width: 100%;
  }

  .articles {
    margin-top: 48px;
  }

  .articles__list {
    grid-template-columns: 1fr;
  }

  .articles__item {
    width: 100%;
    height: auto;
  }

  .articles__item--img {
    background-size: cover;
    background-repeat: no-repeat;
  }

  .contacts {
    margin-top: 48px;
  }

  .contacts__list {
    grid-template-columns: 1fr;
  }

  .contacts__item {
    width: 100%;
  }

  .footer {
    margin-top: 68px;
    padding-bottom: 20px;
  }

  .footer__top {
    margin-bottom: 0;
    flex-direction: column;
  }

  .footer__col-name {
    position: relative;
    font-weight: 600;
    font-size: 20px;
    line-height: 120%;
    transition: 0.4s;
  }

  .footer__col-name::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    background-repeat: no-repeat;
    background-image: url(../icon/arrow-down.svg);
    width: 12px;
    height: 6px;
    transition: transform 0.3s;
  }

  .active.footer__col-name::after {
    transform: translateY(-50%) rotate(180deg);
  }

  .footer__col {
    margin-bottom: 20px;
    max-width: none !important;
  }

  .footer__col--logo {
    order: -1;
    text-align: center;
    width: 75%;
    margin: 0 auto;
    margin-bottom: 40px;
  }

  .footer__col-body {
    /* display: none; */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
  }

  .footer__middle {
    padding-bottom: 0;
  }

  .footer__middle .footer__col-body{
    height: auto;
    max-height: 300px;
  }

  .footer__col--logo .footer__title--small {
    margin-top: 10px;
  }

  .footer__bottom {
    text-align: center;
    flex-direction: column;
  }

  .footer__bottom .title {
    margin: 0;
    margin-bottom: 15px;
  }
}

@media screen and (max-width: 450px) {
  .container {
    padding: 0 15px;
  }
}