.case__list {
  display: grid;

  --items-count: 3;
  grid-template-columns: repeat(var(--items-count), 1fr);
  
  row-gap: 24px;
  column-gap: 1.5rem;
  .case__item {
    border: 1px solid var(--Stroke, rgba(230, 233, 242, 1));
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    .case__image {
      position: relative;
      overflow: hidden;
      border-radius: 20px 20px 0 0;
      padding-bottom: 55%;
      mask-image: -webkit-radial-gradient(circle, white 100%, black 100%);
      -webkit-mask-image: -webkit-radial-gradient(
        circle,
        white 100%,
        black 100%
      );

      .case-img {
        position: absolute;
        top: 0;
        left: 0;
        object-fit: cover;
        width: 100%;
        height: 100%;
        transition: transform 0.5s ease;
        transform: scale3d(1, 1, 1);
        will-change: transform;
      }
      .case__label {
        position: absolute;
        top: 24px;
        left: 24px;
        width: 128px;
        height: 64px;
        padding: 12px 16px 12px 16px;
        border-radius: 8px;
        background: var(--White, rgba(255, 255, 255, 1));
        img {
          width: 100%;
        }
      }
    }
    .case__info {
      padding: 24px;
      display: flex;
      gap: 20px;
      flex-wrap: wrap;
      justify-content: space-between;
      gap: 24px;
      flex-direction: column-reverse;
      flex: 1;
      .case__title {
        width: 100%;
        font-family: Inter;
        font-weight: 600;
        font-style: Semi Bold;
        font-size: 18px;
        leading-trim: NONE;
        line-height: 28px;
        letter-spacing: 0%;
      }
      .case-tags {
        width: 100%;
        display: flex;
        justify-content: left;
        flex-wrap: wrap;
        width: 100%;
        gap: 6px;
        .case-tag:not(.case-tag--current) {
          cursor: pointer;
        }
        .case-tag--current {
          cursor: ;
        }
        .case-tag {
          border-radius: 48px;
          opacity: 1;
          padding: 5px 12px;

          text-decoration: none;
          color: rgba(51, 51, 56, 1);
          font-family: Inter;
          font-weight: 400;
          font-size: 13px;
          line-height: 20px;
          a {
            text-decoration: none;
            color: rgba(51, 51, 56, 1);
          }
        }
        .case-tag-bisnes {
          background: var(--Grey, rgba(237, 240, 247, 1));
        }
        .case-tag-tasks {
          box-shadow: inset 0 0 0 1px rgba(150, 154, 165, 0.24);
        }
        .case-tag-bisnes:hover {
          background: var(--Stroke, rgba(230, 233, 242, 1));
        }
        .case-tag-tasks:hover {
          background: var(--Light_grey_hover, rgba(240, 242, 248, 1));
        }
      }
    }
  }
  .case__item:hover {
    .case-img {
      transform: scale3d(1.1, 1.1, 1.1);
    }
  }
  .bg-case-img {
    position: relative;
    overflow: hidden;
    background-size: cover;
    transition: transform 0.5s ease;
    background-position: center;
    .case__image {
      .case-img {
        display: none;
      }
    }
    .case__info {
      .case__title {
        color: var(--White, #ffffff);
        z-index: 1;
      }
      .case-tags {
        .case-tag-bisnes {
          backdrop-filter: blur(16px);
          background: none;
          color: var(--White, #ffffff);
          a {
            color: var(--White, #ffffff);
          }
        }

        .case-tag-tasks {
          border: 1px solid #ffffff3d;
          background: none;
          color: var(--White, #ffffff);
          a {
            color: #ffffff;
          }
          z-index: 1
        }
        .case-tag-bisnes {
          background: #ffffff3d;
          backdrop-filter: blur(16px);
        }
        .case-tag-tasks {
          box-shadow: inset 0 0 0 1px rgba(150, 154, 165, 0.24);
        }
        .case-tag-bisnes:hover {
          background: rgba(255, 255, 255, 0.32);
        }
        .case-tag-tasks:hover {
          background: rgba(255, 255, 255, 0.12);
        }
      }
    }
  }
  .bg-case-img::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: inherit;
    transition: inherit;
    z-index: 0;
  }

  .bg-case-img:hover::before {
    transform: scale(1.1);
  }
}
.mainscreen.mainscreen--main.mainscreen--narrow .mainscreen__body {
  padding-top: 80px;
  padding-bottom: 136px;
}
#cases .casess{
  margin-top: clamp(calc(var(--g16-mobile) * -1), 2vw, calc(var(--g9-desktop) * -1));
}
.mainscreen__element.mainscreen__share.share.regular-text{
  gap:8px;
}
@media (max-width: 767px) {
  .case__list {
    row-gap: 16px;
    .case__item {
      .case__info {
        padding: 20px;
        .case-tags {
          .case-tag {
            padding: 5px 8px;
            font-size: 12px;
          }
        }
      }
    }
  }
  
}
.mainscreen__title-and-description_container {
  display: none;
}
@media (max-width: 992px) {
    .case__list {
        --items-count: 2;
    }
}
@media (max-width: 601px) {
    .case__list {
        --items-count: 1;
    }
}
