/* Адаптивні надбудови до legacy-верстки (app.css). */

@media (max-width: 1080px) {
  .categories__item {
    width: 23%;
  }
  .home__about {
    height: auto;
    padding-bottom: 40px;
  }
}

@media (max-width: 760px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .header__inner {
    flex-wrap: wrap;
    gap: 10px;
    padding: 0 16px;
    box-sizing: border-box;
  }
  .header__search {
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
    order: 3;
    height: 44px;
  }
  .header__search_input {
    width: 0;
    flex: 1 1 auto;
    min-width: 0;
  }
  .header__search_btn {
    flex: 0 0 auto;
    padding: 0 14px;
  }
  .content {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .categories__items {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .categories__item {
    width: auto !important;
    margin: 0 !important;
    height: auto;
    min-height: 160px;
    padding-bottom: 14px;
  }
  .categories__title h1 {
    font-size: 26px;
    line-height: 1.2;
  }
  .performers__items {
    flex-wrap: wrap;
  }
  .profile__data_info-block {
    display: block;
  }
  .profile__data_info-item {
    margin-bottom: 6px;
  }
  .bottom {
    padding: 32px 16px 24px;
  }
  .bottom__row {
    flex-direction: column;
    gap: 24px;
  }
  .bottom__row-col {
    width: 100% !important;
  }
}

@media (max-width: 420px) {
  .categories__item {
    width: 100%;
    min-height: 0;
  }
}
