.reviews-card {
   &__wrapper {
      background: #000000;
      padding: 16px;
   }

   &__body {
      display: grid;
      gap: 16px;

      @include _Tablet {
         gap: 40px;
         grid-template-columns: 230px 1fr;
      }

      @include _Desktop {
         gap: 40px;
         grid-template-columns: 227px 1fr;
      }

      @include _HDesktop {
         gap: 56px;
         grid-template-columns: 305px 1fr;
      }
   }

   &__img {
      position: relative;
      display: block;
      aspect-ratio: 13 / 19;
      max-width: 42%;

      @include _Tablet {
         margin-bottom: 0px;
         aspect-ratio: 5/7;
         max-width: 100%;
      }

      img {
         width: 100%;
         height: 100%;
         object-fit: cover;
      }
   }

   &__loupe {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      transition: transform 0.3s ease;

      .reviews-card__img:hover & {
         transform: translate(-50%, -50%) scale(1.1);

         @include _Tablet {
            transform: scale(1.1);
         }
      }

      @include _Tablet {
         top: auto;

         bottom: 4px;
         left: 4px;
         transform: translate(0, 0);
      }

      @include _Desktop {
         bottom: 8px;
         left: 8px;
      }

      @include _HDesktop {
         bottom: 4px;
         left: 4px;
      }
   }

   &__content {
   }

   &__title {
      margin-bottom: 16px;

      @include _Tablet {
         margin: 16px 0 24px;
      }

      @include _HDesktop {
         margin: 40px 0 32px;
      }
   }

   &__client {
      margin-bottom: 24px;
      color: cl("accent");

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

   &__text {
      color: #ffffff99;
      margin-bottom: 24px;
      display: -webkit-box;
      -webkit-box-orient: vertical;
      overflow: hidden;
      transition: max-height 0.3s ease;
      max-height: 1000px;

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

   &__show-more {
      display: flex;
      gap: 8px;
      align-items: center;

      @include _HDesktop {
         gap: 16px;
      }

      .arrow-link__arrow {
         flex: 0 0 40px;
         height: 40px;

         @include _HDesktop {
            flex: 0 0 45px;
            height: 45px;
         }
      }

      .arrow-link__text {
         font-size: 12px;

         @include _HDesktop {
            font-size: 14px;
         }
      }
   }
}

.reviews-card:not(.active) .reviews-card__text {
   -webkit-line-clamp: 7;
}

.reviews-card.active .reviews-card__text {
   -webkit-line-clamp: unset;
}
