.card__wrapper.flickity:not(.flickity-enabled) {
  opacity: 0;
  transition: opacity 0.3s ease;
  visibility: hidden;
  height: 120px;
}
#content--case-study .card .heading {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
}
#content--case-study .card .heading span {
  display: initial;
}

#content--case-study .card .company {
  width: 100%;
}

#content--case-study .card .logo {
  flex-shrink: 0;
}

#content--case-study .card .name-wrapper {
  width: calc(100% - 110px);
}

#content--case-study .card .name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  /* width: 100%; */
  overflow: hidden;
  text-overflow: ellipsis;
}

#content--case-study .card .type {
  /* width: 100%; */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media screen and (min-width: 768px) {
  #content--case-study .card .type {
    font-size: 10px;
  }
}

#content--case-study .card {
  display: grid;
  /* height: 100%; */
  min-height: 100%;
}

#content--case-study .card .heading {
  min-height: 5em;
}

#content--case-study .card__inner {
  flex-wrap: nowrap;
  height: 100%;
  min-height: unset;
}
@media all and (max-width: 767px) {
  #content--case-study .card__inner {
    /* min-height: calc(430 / 390 * 100vw); */
    padding-bottom: calc(12 / 390 * 100vw);
  }
}
@media all and (min-width: 768px) {
  #content--case-study .card__inner {
    /* min-height: 450px; */
    padding-bottom: 12px;
  }
}
#content--case-study .card .pct {
  margin-top: auto;
}
#content--case-study .card .pct img {
  aspect-ratio: 290 / 163;
  object-fit: cover;
}
#content--case-study .card .logo img {
  width: 100%;
  height: 100%;
  max-width: 100px;
  max-height: 50px;
  object-fit: contain;
}
#content--case-study .card__inner .more {
  position: initial;
}
@media all and (min-width: 768px) {
  #content--case-study .card__inner .more {
    padding-top: 16px;
  }
}
