@media (max-width: 1500px) {
  .container {
    padding: 0 24px;
  }
}

@media (max-width: 1300px) {
  .home__main_item.tags {
    max-width: 260px;
  }

  .home__main_add_wrapper {
    max-width: 260px;
  }

  .home__main_item.panel {
    max-width: 200px;
  }
}

@media (max-width: 1000px) {
  .home__main_items {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .home__main_item.panel {
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
    padding: 0;
    max-width: 100%;
    position: static;
    background-color: transparent;
    -webkit-box-shadow: none;
    box-shadow: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 24px;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-bottom: 8px;
  }

  .home__main_panel_item {
    border-bottom: none;
    padding-bottom: 0;
    padding-top: 0;
  }

  .home__header_items {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .home__header_wrapper {
    margin-bottom: 32px;
  }

  .home__main_item.tags {
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
    max-width: 100%;
    height: auto;
    position: static;
  }

  .home__main_btn {
    display: none;
  }

  .home__main_item.content {
    -webkit-box-ordinal-group: 4;
    -ms-flex-order: 3;
    order: 3;
  }

  .home__main_image_wrapper img {
    height: 430px;
  }

  .no-mobile {
    display: none !important;
  }

  .home__main_add_wrapper {
    display: none;
  }

  .home__main_add_wrapper.mobile {
    display: block !important;
    position: static;
    max-width: 100%;
    width: 100%;
  }
}

@media (max-width: 500px) {
  .container {
    padding: 0 16px;
  }

  .home__main_items {
    gap: 16px;
  }

  .home__main_tags_title {
    font-size: 16px;
  }

  .home__main_desk {
    font-size: 14px;
  }

  .home__main_image_wrapper img {
    height: 180px;
  }

  .home__main_trend_icons {
    display: flex;
  }

  .home__main_title_icon {
    display: none;
  }

  .home__main_trend_wrapper {
    margin-bottom: 16px;
  }

  .home__main_trend {
    margin-bottom: 0;
  }

  .home__main_desk_full {
    font-size: 14px;
  }

  .home__main_item.content {
    gap: 16px;
  }
  .home__main_tags_block a:nth-child(n + 11) {
    display: none;
}
}
