.cases-block .title {
  text-align: center;
}
.cases-block .case {
  display: flex;
  flex-direction: column;
  padding: 30px;
  gap: 30px;
  border-radius: 10px;
  border: 1px solid var(--stroke-secondary);
  background: var(--fourth);
}
.cases-block .case__text {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-align: end;
}
.cases-block .case__text__img {
  display: flex;
  width: 100%;
  max-width: 200px;
  height: 80px;
  border: 1px solid var(--stroke-secondary);
  border-radius: 10px;
  user-select: none;
  overflow: hidden;
  flex-shrink: 0;
}
.cases-block .case__text__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.case__desc * {
  margin: 0;
}
.case__desc {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.case__desc__value * {
  line-height: 145%;
}
.case__desc__value {
  display: flex;
  flex-direction: column;
}
.case__desc__value.hidden {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  transition: all 0.3s ease-in;
}
#cases-content .read-more-btn {
  display: none;
}
#cases-content .case__desc__value.hidden {
  display: flex;
}
#cases-content .case__desc__value *:not(:last-of-type) {
  margin-bottom: 10px;
}
.cases-block .read-more-btn {
  width: fit-content;
  cursor: pointer;
  font-weight: 500;
  line-height: 100%;
  text-align: right;
  color: var(--head-primary);
  transition: all 0.3s ease-in;
}
.cases-block .read-more-btn:hover {
  color: var(--primary);
}

@media (max-width: 992px) {
  .cases-block .case {
    padding: 20px;
    gap: 20px;
  }
}
@media (max-width: 860px) {
  .cases-block .case {
    gap: 10px;
  }
  .cases-block .case__text__img {
    height: 60px;
    max-width: 170px;
  }
  .case__desc {
    gap: 10px;
  }
}

@media (max-width: 420px) {
  .cases-block .case__text__img {
    height: 45px;
    max-width: 125px;
  }
}
/* @media (max-width: 380px) {
  .cases-block .case__desc {
    font-size: 12px;
  }
} */
