.cases_list {
  padding-bottom: 12rem;
}
.cases_list .case_grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.4rem;
  margin-top: 6.31rem;
}
.cases_list .case_item {
  position: relative;
  display: block;
  height: 49.26rem;
  overflow: hidden;
  border-radius: 1.89rem;
  color: #fff;
  background-color: #050505;
}
.cases_list .case_item .label {
  position: absolute;
  left: 4.01rem;
  top: 3.79rem;
  z-index: 3;
  padding: 0px 1.69rem;
  border-radius: 10rem;
  font-weight: 380;
  font-size: 1.4rem;
  line-height: 4.1rem;
  white-space: nowrap;
  background-color: var(--primary);
}
.cases_list .case_item .detail {
  position: absolute;
  inset: 0px;
  z-index: 1;
  padding: 10.3rem 4.12rem 0px;
  border-radius: 1.89rem;
  border: 2px solid rgba(255, 255, 255, 0.21);
  background-color: rgba(35, 49, 79, 0.93);
}
.cases_list .case_item h3 {
  font-weight: 450;
  font-size: 2.8rem;
  line-height: 3.7rem;
  transition: color 0.3s;
}
.cases_list .case_item:hover h3 {
  color: var(--primary);
}
.cases_list .case_item .detail p {
  max-width: 36rem;
  margin-top: 1.72rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 380;
  font-size: 1.6rem;
  line-height: 2.6rem;
}
.cases_list .case_item .stats {
  position: absolute;
  left: 4.12rem;
  bottom: 3.6rem;
  display: flex;
}
.cases_list .case_item .stats li {
  width: 16.84rem;
}
.cases_list .case_item .stats strong {
  display: block;
  color: var(--primary);
  font-weight: 450;
  font-size: 3rem;
  line-height: 3.9rem;
  white-space: nowrap;
}
.cases_list .case_item .stats span {
  display: block;
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 380;
  font-size: 1.4rem;
  line-height: 1.9rem;
}
.cases_list .case_item .thumb {
  position: absolute;
  right: 3.2rem;
  bottom: 2.26rem;
  width: 22.87rem;
  height: 18.07rem;
  overflow: hidden;
  border-radius: 1.27rem;
}
.cases_list .case_item .thumb img {
  pointer-events: none;
}
.cases_list .case_item:hover .thumb img {
  transform: scale(1.05);
}

@media screen and (min-width: 769px) and (max-width: 1220px) {
  .cases_list .case_item {
    height: 46rem;
  }
  .cases_list .case_item .detail {
    padding: 8.4rem 2.4rem 0px;
  }
  .cases_list .case_item .label {
    left: 2.4rem;
    top: 2.4rem;
  }
  .cases_list .case_item .detail p {
    max-width: 28rem;
  }
  .cases_list .case_item .stats {
    left: 2.4rem;
  }
  .cases_list .case_item .stats li {
    width: 13rem;
  }
  .cases_list .case_item .stats strong {
    font-size: 2.4rem;
    line-height: 3.2rem;
  }
  .cases_list .case_item .thumb {
    width: 16rem;
    height: 12.6rem;
  }
}

@media screen and (max-width: 768px) {
  .cases_list {
    padding-bottom: 40px;
  }
  .cases_list .case_grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 24px;
  }
  .cases_list .case_item {
    height: 360px;
    border-radius: 12px;
  }
  .cases_list .case_item .label {
    left: 16px;
    top: 16px;
    padding: 0px 10px;
    font-size: 11px;
    line-height: 26px;
  }
  .cases_list .case_item .detail {
    padding: 60px 16px 0px;
    border-radius: 12px;
  }
  .cases_list .case_item h3 {
    font-size: 18px;
    line-height: 1.4;
  }
  .cases_list .case_item .detail p {
    max-width: none;
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.6;
  }
  .cases_list .case_item .stats {
    left: 16px;
    bottom: 18px;
  }
  .cases_list .case_item .stats li {
    width: 80px;
  }
  .cases_list .case_item .stats strong {
    font-size: 20px;
    line-height: 1.3;
  }
  .cases_list .case_item .stats span {
    margin-top: 2px;
    font-size: 11px;
  }
  .cases_list .case_item .thumb {
    right: 16px;
    bottom: 16px;
    width: 110px;
    height: 90px;
    border-radius: 8px;
  }
}
