/* colors */
/* easing bezier */
/* layout vars */
/* CASE ARCHIVE MODULE */
@media screen and (min-width : 48em) {
  .case-archive {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
  }
}
.case-archive a:not(.read-more) {
  color: inherit;
  text-decoration: none;
  display: block;
}

.case-archive-card {
  background-color: white;
  box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  transition: transform 0.2s cubic-bezier(0.45, 0, 0.55, 1), box-shadow 0.2s cubic-bezier(0.45, 0, 0.55, 1);
  position: relative;
  margin-bottom: 30px;
}
@media screen and (min-width : 48em) {
  .case-archive-card {
    flex-basis: calc((100% - 30px) / 2);
    margin-bottom: initial;
  }
}
@media screen and (min-width : 68.75em) {
  .case-archive-card {
    flex-basis: calc((100% - 120px) / 3);
  }
}
.case-archive-card h3 {
  font-weight: 600;
  font-size: 1rem;
  padding-right: 30px;
  margin-bottom: 60px;
}
.case-archive-card .case-client {
  position: absolute;
  bottom: 15px;
  color: #878F94;
}
.case-archive-card .image-wrapper {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  aspect-ratio: 100/60;
  overflow: hidden;
}
.case-archive-card .image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.45, 0, 0.55, 1);
}
.case-archive-card .text-wrapper {
  padding: 15px;
}
.case-archive-card:hover {
  transform: translateY(-10px);
  box-shadow: 0px 12px 15px 0px rgba(0, 0, 0, 0.12);
}
.case-archive-card:hover img {
  transform: scale(1.15);
}

.case-archive-card.first {
  background-color: transparent;
  box-shadow: none;
}
@media screen and (min-width : 48em) {
  .case-archive-card.first {
    flex-basis: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 90px;
  }
}
.case-archive-card.first .case-client {
  font-weight: 700;
  color: #38454A;
}
.case-archive-card.first h3 {
  color: #005DAF;
  font-size: 2rem;
  margin-bottom: 0.5em;
  line-height: 1.2;
}
@media screen and (min-width : 48em) {
  .case-archive-card.first .text-wrapper, .case-archive-card.first .image-wrapper {
    flex-basis: calc((100% - 30px) / 2);
  }
}
.case-archive-card.first .image-wrapper {
  border-radius: 20px;
}
.case-archive-card.first .text-wrapper {
  padding: 30px 0;
}
.case-archive-card.first:hover {
  transform: none;
}
.case-archive-card.first .case-client {
  position: relative;
}
