.cph-cases {
  background-color: #f8f7f5;
  position: relative;
  --padding-block: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1 1 100%;
}
.cph-cases .case-tags {
  line-height: 1;
  letter-spacing: -0.01em;
  display: inline-block;
}
.cph-cases .case-tags li:last-child:after {
  content: none;
}
.cph-cases #filter,
.cph-cases h2 {
  opacity: 0;
}
.cph-cases .intro {
  position: relative;
  margin-top: 10vh;
  margin-bottom: 10vh;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  width: 100%;
  --height: 0;
}
.cph-cases .intro h2 {
  max-width: 1220px;
  margin: auto;
  padding-left: 24px;
  padding-right: 24px;
  width: 100%;
  font-size: 44px;
  line-height: 44px;
  color: #121137;
  margin-bottom: 0.45em;
}
@media screen and (max-width: 519px) {
  .cph-cases .intro h2 {
    font-size: 34px;
    padding-top: 0.5em;
  }
}
.cph-cases .intro::before {
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: var(--height);
  position: absolute;
  background-color: #f8f7f5;
}
@media screen and (max-width: 480px) {
  .cph-cases .intro {
    position: sticky;
    top: 0;
  }
}
.cph-cases .cases {
  width: 100%;
  background-color: white;
}
.cph-cases .cases .max-width {
  padding-top: 10vh;
  padding-bottom: 10vh;
  padding-left: 24px;
  padding-right: 24px;
  max-width: 1220px;
  margin: auto;
}
.cph-cases .cases .cases-wrapper {
  width: calc(100% + var(--padding-block));
  margin-left: calc(var(--padding-block) / -2);
  row-gap: max(7vh, 16px);
  display: flex;
  flex-wrap: wrap;
}
.cph-cases .cases .case {
  opacity: 0;
  flex-basis: calc(25% - 32px);
  margin-inline: 16px;
}
.cph-cases .cases a,
.cph-cases .cases img {
  width: 100%;
}
@media screen and (max-width: 1280px) {
  .cph-cases .cases .cases-wrapper {
    width: calc(100% + 20px);
    margin-left: -10px;
  }
  .cph-cases .cases .case {
    flex-basis: calc(25% - 20px);
    margin-right: 10px;
    margin-left: 10px;
  }
}
@media screen and (max-width: 1024px) {
  .cph-cases .cases .case {
    flex-basis: calc(33.3333333333% - 24px);
    flex-basis: calc(33.3333333333% - 20px);
  }
}
@media screen and (max-width: 640px) {
  .cph-cases .cases .case {
    flex-basis: calc(50% - 20px);
  }
  .cph-cases .cases .case .case-client {
    font-size: 14px;
    margin-bottom: 4px;
  }
  .cph-cases .cases .case .case-project {
    font-size: 12px;
    margin-bottom: 0;
  }
  .cph-cases .cases .case .case-tags li {
    font-size: 10px;
  }
}
.cph-cases #filter {
  padding-left: 24px;
  padding-right: 24px;
  margin-inline: auto;
  padding-bottom: 16px;
  max-width: fit-content;
  width: 100%;
  list-style: none;
  display: flex;
  overflow: scroll;
  user-select: none;
  scrollbar-width: none;
}
.cph-cases #filter::-webkit-scrollbar {
  display: none;
}
.cph-cases #filter li {
  line-height: 1;
  font-size: 20px;
  color: rgba(40, 52, 60, 0.5);
  cursor: pointer;
  font-weight: 400;
  white-space: nowrap;
  letter-spacing: -0.02em;
  transition: color 120ms;
}
.cph-cases #filter li:hover {
  color: #28343c;
}
.cph-cases #filter li.selected {
  color: #28343C;
  font-weight: 600;
}
.cph-cases #filter li:after {
  content: "/";
  margin: 0 0.5em;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.5);
}
.cph-cases #filter li:last-child:after {
  display: none;
}
.cph-cases .case-transition {
  transition-timing-function: ease;
  transition-duration: 0.6s;
  transition-delay: 0.173913s;
  transition-property: transform, opacity;
}
.cph-cases .case-transition--show {
  display: block;
  visibility: visible;
  opacity: 1;
  transform: translate(0, 0);
}
.cph-cases .case-transition--hide {
  display: none;
  visibility: hidden;
  opacity: 0;
  transform: translate(0, -30%);
}
.cph-cases .work-description {
  list-style: none;
  font-size: 1rem;
  line-height: 160%;
}
@media screen and (max-width: 420px) {
  .cph-cases #filter li {
    font-size: 14px;
  }
}

/*# sourceMappingURL=cases.css.map */
