.home_products {
  background-color: var(--bg);
  padding: 14.9rem 0 12.3rem;
}
.home_products p {
  max-width: 57.2rem;
  margin-top: 3.7rem;
  letter-spacing: 0.008rem;
}
.home_products .nav {
  margin-top: 6rem;
}
.home_products .nav .nav_item {
  background-color: #e2e2ed;
}
.home_products .list {
  margin-top: 4.2rem;
  display: none;
}
.home_products .list.active {
  display: block;
}
.home_products .list ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(35rem, 100%), 1fr));
  gap: 3.5rem 1.78571429%;
}
.home_products p.center:has(.btn) {
  max-width: unset;
  margin-top: 5.7rem;
}
.home_products p.center:has(.btn) .btn {
  gap: 1.2rem;
}
/* .home_cases {
  padding: 9.6rem 0 11.3rem;
}
.home_cases .head {
  gap: 0 2rem;
}
.home_cases .head .line {
  width: 100%;
}
.home_cases .btn_line {
  margin-top: -1px;
}
.home_cases p {
  margin-top: 3.1rem;
}
.home_cases .list {
  margin-top: 4.7rem;
}
.home_cases .list ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem 2.85714286%;
}
.home_cases .list .active .item .syedittext {
  transform: translateY(0);
}
.home_cases .list .active .item .syedittext .desc {
  opacity: 1;
}
.home_cases .list .active .item .btn_circle {
  background-color: #fff;
}
.home_cases .list .active .item .btn_circle::after {
  filter: unset;
}
.home_cases .list .active .item .img::before {
  opacity: 0;
}
.home_cases .list .active .item .img::after {
  opacity: 1;
}
.home_cases .item {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 1.6rem;
}
.home_cases .item:hover img {
  transform: scale(1.02);
}
.home_cases .item .img {
  padding-bottom: 51.47058824%;
}
.home_cases .item .img::before,
.home_cases .item .img::after {
  position: absolute;
  width: 100%;
  height: 26.6%;
  left: 0;
  bottom: 0;
  content: '';
  pointer-events: none;
  z-index: 2;
  background-image: linear-gradient(to top, var(--title) 5.4%, transparent);
  opacity: 0.81;
  transition: all 0.3s;
}
.home_cases .item .img::after {
  height: 100%;
  background-image: linear-gradient(to right, rgba(1, 0, 128, 0.94), transparent);
  opacity: 0;
}
.home_cases .item .info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  max-height: 100%;
  gap: 2rem;
  padding: 3.9705882% 5.8823529% 3.9705882% 5.7352941%;
}
.home_cases .item .syedittext {
  flex: 1;
  color: #fff;
  transition: all 0.4s;
  transform: translateY(calc(100% - var(--h)));
  padding-bottom: 0.8rem;
  overflow-y: auto;
  padding-right: 1rem;
}
.home_cases .item .syedittext .title {
  font-size: 3.4rem;
  font-weight: 600;
  padding-bottom: 0.8rem;
  letter-spacing: 0.02rem;
}
.home_cases .item .syedittext .desc {
  font-size: 2rem;
  line-height: 3rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 46.2rem;
  transition: all 0.3s;
  opacity: 0;
  margin-top: 1rem;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}
.home_cases .item .btn_circle {
  flex-shrink: 0;
  align-self: flex-end;
} */
@media screen and (max-width: 768px) {
  .home_products {
    padding: 50px 0;
  }
  .home_products .head {
    display: block;
  }
  .home_products .nav {
    margin-top: 20px;
  }
  .home_products .list {
    margin-top: 10px;
  }
  .home_products .list ul {
    display: flex;
    width: calc(100% + 40px);
    padding: 20px;
    margin: 0 -20px;
    gap: 20px;
    overflow-x: auto;
  }
  .home_products .list ul::-webkit-scrollbar {
    display: none;
  }
  .home_products .list li {
    flex: 0 0 282px;
  }
  .home_products p.center:has(.btn) {
    margin-top: 20px;
  }
  .home_products p.center:has(.btn) .btn {
    gap: 10px;
  }
  /* .home_cases {
    padding: 50px 0;
  }
  .home_cases .head {
    gap: 20px;
    align-items: center;
  }
  .home_cases .head p {
    margin: 0;
  }
  .home_cases .list {
    margin-top: 30px;
  }
  .home_cases .list ul {
    width: calc(100% + 40px);
    margin: 0 -20px 0;
    padding: 0 20px;
    display: flex;
    overflow-x: auto;
  }
  .home_cases .list ul::-webkit-scrollbar {
    display: none;
  }
  .home_cases .list ul li {
    flex: 0 0 320px;
  }
  .home_cases .item {
    border-radius: 10px;
  }
  .home_cases .item .img::before {
    height: 100%;
  }
  .home_cases .item .info {
    padding: 20px;
    gap: 10px;
  }
  .home_cases .item .info .syedittext {
    padding-bottom: 0;
    transform: translateY(0);
  }
  .home_cases .item .info .title {
    font-size: 18px;
    letter-spacing: unset;
    padding: 0;
  }
  .home_cases .item .info .desc {
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: unset;
    margin-top: 10px;
    opacity: 1;
  } */
}
