.cases {
   background-color: #fff;

   &__wrapper {
   }

   &__body {
   }

   &__title {
      margin-bottom: 16px;

      @include _Tablet {
         margin-bottom: 24px;
      }

      @include _XSDesktop {
         margin-bottom: 32px;
      }

      @include _Desktop {
         margin-bottom: 24px;
      }

      @include _HDesktop {
         margin-bottom: 32px;
      }
   }

   &__descr {
      margin-bottom: 24px;

      @include _XSDesktop {
         margin-bottom: 32px;
      }
   }

   &__tabs {
      .tabs-nav {
         @include _Tablet {
            max-width: 680px;
         }

         @include _Desktop {
            max-width: 100%;
         }
      }
   }

   &__content {
      position: relative;
   }

   &__list {
      display: grid;
      position: relative;
      > *:nth-child(n + 5) {
         display: none;
      }

      @include _Tablet {
         grid-template-columns: repeat(2, 1fr);

         > *:nth-child(5),
         > *:nth-child(6) {
            display: block;
         }

         > *:nth-child(n + 7) {
            display: none;
         }
      }

      @include _XSDesktop {
         grid-template-columns: repeat(3, 1fr);
         > *:nth-child(n + 5) {
            display: block;
         }

         > *:nth-child(n + 10) {
            display: none;
         }
      }
   }

   &__item {
   }

   &__link {
      justify-content: center;
      font-size: rem(12);

      margin-top: 32px;

      @include _HDesktop {
         margin-top: 30px;
      }

      @include _HDesktop {
         font-size: rem(14);
      }
   }

   &__pagination {
      margin-top: 16px;

      display: flex;
      justify-content: center;

      // min-width: 576px
      @include _SLMobile {
      }

      // min-width: 768px
      @include _Tablet {
         display: none;
      }

      // min-width: 992px
      @include _Laptop {
      }

      // min-width: 1024px
      @include _XSDesktop {
      }

      // min-width: 1200px
      @include _Desktop {
      }

      // min-width: 1400px
      @include _LDesktop {
      }

      // min-width: 1600px
      @include _HDesktop {
      }
   }
}

.cases-page {
   padding: 30px 0 60px;

   // min-width: 768px
   @include _Tablet {
      padding: 40px 0 70px;
   }

   // min-width: 1200px
   @include _Desktop {
      padding: 40px 0 60px;
   }

   // min-width: 1600px
   @include _HDesktop {
      padding: 60px 0 100px;
   }
}

.block_cases {
   background-color: #fff;
}
