.card__wrapper.flickity:not(.flickity-enabled) {
  opacity: 0;
  transition: opacity 0.3s ease;
  visibility: hidden;
  height: 120px;
}

@media screen and (min-width: 768px) {
  #content--case-study .card__wrapper {
    aspect-ratio: auto;
    max-height: none;
  }
}

#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 .company {
  width: 100%;
}

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

#content--case-study .card .name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: calc(14 / 390 * 100vw);
}
@media screen and (min-width: 768px) {
  #content--case-study .card .name {
    font-size: 16px;
  }
}

#content--case-study .card .type {
  width: inherit;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#content--case-study .card {
  display: grid;
  /* height: 100%; */
  min-height: 100%;
}
#content--case-study .card__inner {
  flex-wrap: nowrap;
  height: 100%;
}
@media all and (max-width: 767px) {
  #content--case-study .card__inner {
    /* min-height: calc(490 / 390 * 100vw); */
    padding-bottom: calc(12 / 390 * 100vw);
  }
}
@media all and (min-width: 768px) {
  #content--case-study .card__inner {
    /* min-height: 455px; */
    padding: 12px 24px;
  }
}

#content--case-study .card .pct img {
  aspect-ratio: 264/149;
  object-fit: cover;
}
#content--case-study .card .company {
  gap: 15px;
}
#content--case-study .card .logo {
  height: auto;
  margin-bottom: initial;
}
#content--case-study .card .logo img {
  width: 100%;
  height: 50px;
  max-width: 100px;
  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;
  }
}
