@media (max-width: 480px) {
  .mobile-480 {
    display: none;
  }

  .sidebar {
    display: block;
    order: 2;
  }

  .social-widget,
  .sidebar__news {
    display: none;
  }

  .banner .banner__img{
    width: 100%;
  }

  .main-container {
    flex-direction: column;
  }

  .main-posts {
    margin: 0;
  }

  .search__input {
    display: none;
  }

  .form__input,
  .form__textarea {
    border: 1px solid #ddd;
  }

  .footer__wrapper {
    flex-direction: column;
    width: 100%;
  }

  .footer__logo {
    display: none;
  }

  .footer__socials {
    margin: 0 0 26px 0;
  }

  .socials__link {
    padding: 0 20px;
  }

  .footer__copyright {
    text-align: center;
  }

  .subtitle {
    font-size: 22px;
    line-height: 26px;
  }

  .main-posts__block-title {
    font-size: 16px;
  }

  .records__item {
    margin: 0 10px 0 0;
  }

  .news-slider {
    margin: 0 0 20px 0;
  }

  .news-slider__title,
  .news-slider__main .news-slider__title {
    font-size: 16px;
    line-height: 18px;
  }

  .news-slider__content,
  .news-slider__main .news-slider__content {
    padding: 15px;
  }

  .main-calendar {
    min-height: 255px;
  }

  .main-calendar__container {
    padding: 5px 0;
  }

  .main-calendar__top-filters {
    margin: 0 0 10px 0;
  }

  .main-calendar__arrows {
    display: none;
  }

  .main-calendar__content {
    padding: 0 10px;
  }

  .main-calendar .tns-nav button {
    width: 6px;
    height: 6px;
    margin: 3px;
  }

  .main-calendar__dots,
  .main-calendar .tns-nav {
    padding: 15px 0;
  }

  .main-calendar__matches-item {
    display: flex !important;
  }

  .main-calendar__match {
    width: 50%;
    height: auto;
    padding: 0 10px;
  }

  .main-calendar__match:first-child {
    margin: 0;
  }

  .main-calendar__match:first-child:after {
    display: block;
    bottom: unset;
    right: -2px;
    width: 1px;
    height: 100%;
    left: unset;
    top: 0;
  }

  .main-calendar__match-top__stage {
    display: none;
  }

  .main-calendar__match-team__name {
    padding: 0 6px;
  }

  .tabs__navigation {
    margin: 0 0 20px 0;
  }

  .filters-group {
    margin: 0 0 20px 0;
  }

  .news-item__title,
  .album-item__title,
  .video-item__title,
  .contacts__info-title {
    font-size: 20px;
    line-height: 24px;
  }

  .media__list,
  .main-albums .media__list,
  .main-videos .media__list,
  .search-all__news .media__list {
    grid-template-columns: 1fr;
    grid-column-gap: unset;
    grid-row-gap: 10px;
  }

  .media__item--big,
  .main-videos .media__item--big {
    grid-column: unset;
    grid-row: unset;
  }

  .media__link {
    display: flex;
    align-items: center;
  }

  .media__picture {
    margin: 0 10px 0 0;
    width: 44%;
    flex-shrink: 0;
  }

  .main-albums .media__picture,
  .main-videos .media__picture {
    margin: 0 10px 0 0;
  }

  .media__item--big .media__picture {
    width: 100%;
    margin: 0;
  }

  .media__signature {
    margin: 0 0 5px 0;
  }

  .media__type,
  .media__date {
    margin: 0 5px 0 0;
  }

  .tags,
  .categories {
    flex-direction: column;
  }

  .tags__title,
  .categories__title {
    margin: 0 0 10px 0;
  }

  .tag__item,
  .categories__item {
    margin: 0 10px 10px 0;
  }

  .album-item__description {
    margin: 0 0 20px 0;
  }

  .contacts__content {
    padding: 0 0 20px 0;
  }

  .contacts__map iframe {
    height: 250px;
  }

  .contacts__item {
    flex-direction: column;
    margin: 0 0 10px 0;
  }

  .contacts__item-text {
    margin: 0 0 10px 0;
  }

  .head {
    padding: 40px 0;
    margin: 0 0 20px 0;
  }

  .head__container {
    min-height: unset;
  }

  .head__title {
    font-size: 24px;
    line-height: 24px;
  }

  .about__title {
    margin: 20px 0;
  }

  .about__text {
    font-size: 14px;
    line-height: 18px;
  }

  .about__text p {
    margin: 0 0 16px 0;
  }

  .stadiums__link {
    max-width: 100%;
  }

  .stadiums {
    margin: 0;
  }

  .persons__img {
    width: 100px;
    height: 100px;
  }

  .persons__content {
    height: auto;
    padding: 0;
  }

  .persons__bottom {
    padding: 14px 0 0 0;
  }

  .persons__title {
    font-size: 16px;
    line-height: 20px;
    margin: 0 0 5px 0;
  }

  .persons__img {
    margin: 0 10px 0 0;
  }

  .banner--match {
    display: block;
  }

  .match {
    padding: 25px 0 0 0;
  }

  .match__main {
    margin: 0;
    background: linear-gradient(to top, rgba(170, 22, 44, 0.85) 106px, transparent 106px, transparent);
  }

  .match__tournament {
    font-size: 24px;
    line-height: 26px;
  }

  .match__date {
    font-size: 13px;
    line-height: 14px;
  }

  .match__score {
    width: 100px;
  }

  .match__score-container {
    padding: 10px 5px;
    height: 105px;
  }

  .match__score-main {
    font-size: 28px;
  }

  .match__team {
    width: calc((100% - 120px) / 2);
    justify-content: flex-end;
  }

  .match__title {
    flex-grow: unset;
    font-size: 14px;
    line-height: 16px;
    height: 34px;
    align-items: unset;
  }

  .match__picture {
    width: 60px;
    height: 60px;
    padding: 3px;
    margin: 0 0 5px 0;
  }

  .events__wrapper {
    flex-direction: column;
    align-items: flex-end;
  }

  .events__list--right .events__wrapper {
    align-items: flex-start;
  }

  .events__icon {
    margin: 0 6px 0 0;
  }

  .events__list--right .events__icon {
    margin: 0 0 0 6px;
  }

  .events__player-name {
    font-size: 12px;
    line-height: 14px;
    margin: 0 6px 0 0;
  }

  .events__wrapper .events__player-name {
    max-height: unset;
    display: block;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: calc((100vw - 80px)/2);
  }

  .events__list--right .events__player-name {
    margin: 0 0 0 6px;
  }

  .events__block--best .events__player-img {
    display: none;
  }

  .events__block {
    margin: 0 0 20px 0;
  }

  .events__item {
    padding: 0;
  }

  .events__icon {
    width: 20px;
    height: 20px;
  }

  .events__minutes {
    /*order: -1;*/
    font-weight: 400;
    font-size: 12px;
    margin: 0 6px 0 0;
  }

  .events__list--right .events__minutes {
    margin: 0 0 0 6px;
  }

  .match-stats__item {
    margin: 0 0 10px 0;
  }

  .match-stats__title {
    font-size: 14px;
    line-height: 16px;
    margin: 0 0 5px 0;
  }

  .match-stats__number {
    width: 30px;
    font-size: 14px;
  }

  .structure {
    margin: 0 0 15px 0;
  }

  .structure--match-trainers,
  .structure--match-personal,
  .structure--match-recent-matches,
  .structure--match-season-stats {
    margin: 0 0 40px 0;
  }

  .structure__top {
    margin: 0 0 10px 0;
  }

  .structure__img,
  .structure__unit--right .structure__img {
    width: 40px;
    height: 40px;
    margin: 0;
  }

  .structure__number {
    width: 30px;
    font-size: 14px;
  }

  .structure__events .structure__event .structure__icon {
    width: 22px;
    /* height: 18px; */
  }

  .structure__item {
    height: 65px;
  }

  .structure__name {
    font-size: 14px;
    line-height: 16px;
  }

  .history__item {
    padding: 5px 10px;
  }

  .match-vote__indicator {
    flex-direction: column;
    justify-content: center;
  }

  .match-vote__team-img {
    order: -1;
    margin: 0 0 10px 0;
  }

  .match-vote__team-name {
    text-align: center;
    padding: 0 5px;
  }

  .match-vote__number {
    width: 40px;
  }

  .match-personal__team-img {
    display: none;
  }

  .match-personal__part--right .match-personal__team-name,
  .match-personal__team-name {
    margin: 0;
    text-align: center;
  }

  .match-personal__part--right .match-personal__team,
  .match-personal__team {
    justify-content: center;
  }

  .match-personal__part {
    padding: 0 5px;
  }

  .match-personal__text {
    margin: 0 0 5px 0;
  }

  .match-personal__middle-number {
    font-size: 40px;
    line-height: 40px;
  }

  .match-trainers__number {
    font-size: 16px;
    width: 30px;
  }

  .top {
    flex-wrap: wrap;
  }

  .top__form {
    width: 100%;
  }

  .filters__item:not(:last-child) {
    margin: 0;
  }

  .filters__item {
    width: 100%;
  }

  .tournament-tables {
    margin: 0 0 20px 0;
  }

  .tabs__item {
    flex-grow: 1;
  }

  .tabs--border .tabs__item {
    margin: 0 10px;
  }

  .inner-menu {
    margin-right: unset !important;
  }

  .inner-menu .tabs__item {
    margin: 0;
    width: 100%;
    flex-basis: unset;
  }

  .inner-menu__item {
    display: none;
  }

  .inner-menu__item--active,
  .inner-menu--open .inner-menu__item,
  .inner-menu .tabs__item--active {
    display: block;
  }

  .inner-menu .tabs__item--active {
    order: -1;
  }

  .inner-menu .tabs__link {
    position: relative;
  }

  .inner-menu .tabs__item--active .tabs__link:after {
    content: "";
    position: absolute;
    border: 5px solid transparent;
    border-top: 5px solid var(--white);
    right: 30px;
    top: 50%;
    margin-top: -2px;
  }

  .inner-menu--open .tabs__item--active .tabs__link:after {
    transform: rotate(180deg);
    transition: 0.2s;
    margin-top: -7px;
  }

  .teams {
    padding: 0 0 20px 0;
  }

  .tabs--tournament .tabs__navigation {
    width: calc(100% + 10px);
  }

  .calendar__img {
    display: none;
  }

  .calendar__top {
    font-size: 16px;
    line-height: 20px;
    padding: 0 0 20px 0;
  }

  .calendar__place-text {
    padding: 0 5px;
  }

  .tournament-statistics__variable {
    /* width: 50px; */
    width: 75px;
  }

  .filters__button {
    margin: 0 auto;
  }

  .stadium__contacts {
    font-size: 14px;
    line-height: 20px;
  }

  .stadium__map,
  .school-contacts__map {
    height: 250px !important;
  }

  .stadium__text {
    margin: 0 0 20px 0;
  }

  .tournaments__dates {
    margin: 0 0 10px 0;
  }

  .tournaments__title {
    font-size: 18px;
    line-height: 20px;
  }

  .composition {
    margin: 0 0 20px 0;
  }

  .documents__title {
    font-size: 14px;
    line-height: 16px;
  }

  .profile {
    margin: 0 0 20px 0;
  }

  .profile__title {
    font-size: 22px;
    line-height: 24px;
  }

  .profile__subtitle {
    font-size: 16px;
    line-height: 18px;
    margin: 0 0 14px 0;
  }

  .profile--referee .profile__property {
    width: 124px;
  }

  .profile--staff .profile__property {
    width: 115px;
  }

  .table-referee__variable {
    width: 40px;
    padding: 5px 3px;
  }

  .news-item__content {
    overflow-x: scroll;
  }

  .partners__main {
    padding: 30px 0 0 0;
  }

  .partners__text {
    font-size: 14px;
    line-height: 18px;
  }

  .total-count__item {
    height: 90px;
  }

  .total-count__value {
    font-size: 30px;
    line-height: 36px;
  }

  .total-count__position {
    margin: 0 0 5px 0;
  }

  .rewards {
    margin: 0 0 10px 0;
  }

  .rewards__list {
    flex-direction: column;
  }

  .rewards__item {
    width: 100%;
    margin: 0 0 20px 0;
  }

  .margin-bottom {
    margin: 0 0 20px 0;
  }

  .rewards__title {
    font-size: 18px;
    line-height: 22px;
  }

  .beskov-top {
    margin: 0 0 20px 0;
  }

  .beskov-top__title {
    font-size: 22px;
    line-height: 24px;
    margin: 0 0 14px 0;
  }

  .beskov-top__text {
    margin: 0 0 14px 0;
  }

  .beskov-services__button-text {
    display: none;
  }

  .beskov-services__button {
    width: 40px;
    padding: 0 10px;
    box-sizing: border-box;
  }

  .beskov-services__download-icon {
    right: 12px;
  }

  .table--big .table__head .table__cell {
    font-size: 12px;
    line-height: 14px;
  }

  .beskov-services,
  .beskov-seminars,
  .coaches,
  .documents {
    padding-bottom: 20px;
  }

  .beskov-programs {
    margin-bottom: 20px;
  }

  .beskov-programs__link {
    font-size: 14px;
    line-height: 16px;
  }

  .reviews {
    margin-bottom: 20px;
  }

  .form__content,
  .beskov-program,
  .beskov-curriculums,
  .beskov-director,
  .bests {
    margin-bottom: 20px;
  }

  .beskov-about__description {
    font-size: 14px;
    line-height: 16px;
  }

  .beskov-about__description p {
    margin: 0 0 10px 0;
  }

  .committees__main {
    flex-direction: column;
  }

  .committees__photo {
    margin: 0 0 10px 0;
  }

  .committees__main .committees__text {
    font-size: 20px;
    line-height: 22px;
  }

  .committees__main .committees__position {
    font-size: 16px;
    line-height: 18px;
  }

  .committees__item {
    flex-direction: column;
    padding: 10px 15px;
  }

  .committees__post-text,
  .committees__text {
    padding: 0;
    font-size: 16px;
  }

  .partners__item {
    width: calc((100% - 10px)/2);
    margin: 0 10px 0 0;
  }

  .teams__picture {
    display: none;
  }

  .teams__item {
    width: 100%;
  }

  .composition__title {
    font-size: 16px;
    line-height: 18px;
  }

  .main-content .banner {
    width: 100vw;
    margin-left: -15px;
  }

  .bests__title {
    font-size: 22px;
    line-height: 24px;
  }

  .bests__name {
    font-size: 18px;
    line-height: 20px;
  }

  .tabs-main__navigation {
    display: flex;
    justify-content: space-between;
  }

  .tabs-main__pane {
    display: none;
    width: 100%;
  }

  .tabs__pane--active {
    display: block;
  }

  .main-container--with-sidebar,
  .tabs-main {
    width: 100%;
  }

  .tabs-main > .tabs__item,
  .tabs-main > .tabs__navigation .tabs__item:last-child {
    width: calc(50% - 5px);
    margin-right: unset;
    flex-grow: unset;
  }

  .sidebar {
    width: 100%;
  }

  .social-widget iframe,
  .social-widget div {
    width: 100% !important;
  }

  .sort-header span::after {
    right: -7px;
  }

  .header__hamburger {
    margin: 0 0 0 5px;
  }

  .main {
    margin: 20px 0 0 0;
  }

  .main-calendar,
  .match-wrapper,
  .head,
  .figure-head,
  .beskov-top,
  .profile,
  .news-item {
    margin-top: -20px !important;
  }

  .footer__list {
    column-count: 2;
  }

  .brigades__list,
  .stadiums__list,
  .tournaments__list,
  .teams__list {
    grid-template-columns: 1fr;
    grid-column-gap: unset;
    grid-row-gap: 10px;
  }

  .brigades__link,
  .stadiums__link,
  .tournaments__link {
    flex-direction: row;
  }

  .stadiums__link,
  .tournaments__link {
    align-items: center;
  }

  .brigades__picture,
  .stadiums__picture,
  .tournaments__picture {
    width: 40%;
    flex-shrink: 0;
  }

  .tournaments__picture {
    margin: 0 10px 0 0;
  }

  .stadiums__picture {
    margin: 0 10px 0 0;
  }

  .stadiums__icon {
    display: none;
  }

  .match-season-stats__item--title {
    display: none;
  }

  .match-season-stats__title {
    width: 180px;
    padding: 0 15px;
  }

  .match-season-stats__value {
    margin: 0;
  }

  .schools__content {
    padding: 10px;
    align-items: flex-start;
    text-align: left;
  }

  .schools__title {
    margin: 5px 0;
    font-size: 14px;
    line-height: 18px;
  }

  .schools__text {
    margin: 3px 0;
  }

  .stats__wrapper {
    border-radius: 5px;
  }

  .table-stats__mobile {
    display: block;
  }

  .table-stats__desktop {
    display: none;
  }

  .table-stats .table-stats__name {
    width: 24%;
  }

  .table-stats .table__row:last-child .table__cell {
    padding: 6px 9px 12px;
  }

  .table-stats .table__row:last-child .table-stats__name {
    padding: 6px 9px 12px 18px;
  }

  .full-stats__list {
    padding: 0;
  }

  .button--loadmore {
    margin-top: 20px;
  }

  .match-personal__team-name {
    height: 32px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
  }

  .transfer {
    gap: 20px;
  }

  .picker {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
    max-width: 100%;
    gap: 5px;
  }

  .matches__content {
    gap: 15px;
  }

  .matches__texts {
    font-size: 20px;
    line-height: 24px;
  }

  .matches__sum {
    font-size: 16px;
    line-height: 20px;
  }

  .calendar__wrapper {
    width: calc(100% - 50px)
  }

  .calendar__info {
    width: 50px;
  }

  .calendar--page .calendar__team {
    width: calc((100% - 60px)/2);
    height: 60px;
  }

  .calendar--page .calendar__score {
    width: 60px;
    height: 60px;
  }

  .main-calendar__top-title:before {
    top: 7px;
    width: 30px;
    height: 30px;
    right: 0;
  }

  .match__score.beach_footbal_score .match__score-container {
    height: auto;
  }

  .match__score.beach_footbal_score .match__list {
    display: flex;
    flex-direction: column;
  }

  .match__score.beach_footbal_score .match__score-container {
    height: auto;
  }

  .match__score.beach_footbal_score .match__list {
    display: flex;
    flex-direction: column;
  }

    /* 58094 */
    .scroll-table {
        margin-inline: -15px;
    }
    .tournament-statistics .table__cell:nth-of-type(4) {
        width: 40px;
    }
    .tournament-statistics .table__cell:nth-of-type(5) {
      width: 45px;
    }
    .tournament-statistics .table__cell:nth-of-type(6) {
      width: 60px;
    }
    .tournament-statistics .table__cell:nth-of-type(7) {
      width: 70px;
    }
    .tournament-statistics .table__cell:nth-of-type(10) {
      width: 60px;
    }
    .tournament-statistics .table__cell:nth-of-type(n+11) {
      width: 50px;
    }
    .tournament-statistics .top .min-games__filters {
      width: 100%;
    }
    /* 58094 */

  /* 60982 - новый календарь */
  .game__text-right {
    flex-direction: column-reverse;
    align-items: flex-end;
    align-self: start;
  }

  .game__text-left {
    flex-direction: column;
    align-items: flex-start;
    align-self: start;
  }

  .game__team {
    gap: 4px;
  }
  /* 60982 */

  /* task 68180 start */
  .documents__nav {
    font-size: 14px;
  }

  .documents__nav-head,
  .documents__nav-link {
    padding: 10px;
  }

  .documents__nav-head::after {
    width: 20px;
    height: 20px;
  }
  /* task 68180 end */

  /* 62582: статистика турнира по турам */
  .tournament-stat__input {
    max-width: 30px;
  }

  .tournament-stats__table-series-cell {
    font-size: 12px;
  }
  /* 62582 */
}

@media (max-width: 425px) {
  /* 62582: статистика турнира по турам */
  .tournament-stat__tour-stat-item {
    font-size: 12px;
    line-height: 0.9;
  }

  .tournament-stat__tour-stat-item:last-child {
    min-height: max-content;
  }

  .tournament-stat__goals-title {
    display: block;
  }

  .tournament-stat__goals {
    grid-template-columns: repeat(8, 1fr);
  }

  .tournament-stat__extra-time {
    display: none;
  }

  .tournament-stat__goals {
    height: max-content;
    padding: 16px 0;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--light);
    width: 100%;
  }

  .tournament-stat__goals-extra-times {
    display: flex;
    width: 100%;
  }

  .tournament-stat__goals-desktop {
    display: none;
  }

  .tournament-stat__goals-mobile {
    display: grid;
  }
  /* 62582 */
}

@media (max-width: 400px) {
  .mobile-400 {
    display: none;
  }

  .main-calendar {
    min-height: 291px;
  }

  .main-calendar__top-filters {
    grid-template-columns: 1fr;
    grid-column-gap: unset;
  }

  .main-calendar__top-filters__item,
  .tabs--team-stats,
  .tabs--group .tabs__navigation,
  .tabs--group {
    width: auto;
    margin: 0;
  }

  .main-calendar__top-title {
    width: 140px;
  }

  .league__header {
    margin: 0;
    width: 100%;
  }

  .tabs--documents .tabs__item,
  .tabs--brigades .tabs__item,
  .tabs--team-stats .tabs__item {
    max-width: unset;
  }

  .tabs--documents .tabs__navigation,
  .tabs--brigades .tabs__navigation,
  .tabs--team-stats .tabs__navigation,
  .tabs--player-stats  .tabs__navigation {
    flex-direction: column;
  }

  .beskov-programs__buttons {
    flex-direction: column;
  }

  .beskov-programs__button {
    width: 100%;
    margin: 0 0 10px 0;
  }

  .partners--bottom .partners__link {
    margin: 5px;
  }

  .top__link--league {
    margin: 0;
  }

  .game-stats-row__team {
    gap: 8px;
  }

  .mobile-games-stats__team-name {
    word-break: break-all;
  }
}

@media (max-width: 375px) {
  /* 62582: статистика турнира по турам */
  .tournament-stat__team-form .tournament-stat__filters {
    flex-wrap: wrap;
  }

  .tournament-stat__min-games {
    justify-content: space-between;
  }

  .tournament-stat__input {
    max-width: 100%;
  }
  /* 62582 */
}

@media (max-width: 374px) {
  .mobile-374 {
    display: none;
  }

  .results-top .tabs__item,
  .tabs--beskov .tabs__item {
    width: calc(50% - 10px);
  }

  .media__title {
    font-size: 12px;
    line-height: 16px;
    max-height: 62px;
  }

  .match-season-stats .history__score {
    display: none;
  }

  .schools__text {
    display: none;
  }

  /* 60982 - новый календарь */
  .game__team-logo {
    width: 28px;
    height: 28px;
  }

  .game__score-wrapper {
    min-width: 38px;
  }

  .game__teams {
    align-items: start;
  }

  .game__score-wrapper {
    align-self: center;
  }

  .game__no-events-text {
    font-size: 14px;
  }

  .game__dropdown {
    padding: 4px;
  }
  /* 60982 */
}
