.home_products {
  padding: 11.95rem 0 6.6rem;
}
.home_products .flex {
  margin-top: 5.2rem;
}
.home_products .flex .lt {
  flex: 1;
  width: 100%;
  max-width: 35.7rem;
}
.home_products .flex .rt {
  width: 67.70833333%;
}
.home_products .home_products_swiper {
  overflow: hidden;
  border-radius: 5.3rem 5.3rem 0 0;
}
.home_products .home_products_swiper .item {
  display: block;
  height: 100%;
}
.home_products .home_products_swiper .item:hover img {
  transform: scale(1.03);
}
.home_products .home_products_swiper .img {
  border-radius: 5.3rem;
  padding-bottom: 44.20512821%;
}
.home_products .home_products_swiper .info {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 2rem;
  margin-top: 3.5rem;
}
.home_products .home_products_swiper .info .tcon {
  padding-bottom: 0.4rem;
}
.home_products .home_products_swiper .info .title {
  font-size: 3.4rem;
  font-weight: 500;
  color: #252525;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}
.home_products .home_products_swiper .info .desc {
  font-size: 1.7rem;
  line-height: 1.61294118;
  opacity: 0.8;
  max-width: 64.9rem;
  margin-top: 2.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}
.home_products .home_products_swiper .info .btn {
  gap: 0.8889em;
  padding: 0 3rem;
}
.home_products .nav {
  padding-top: 1rem;
}
.home_products .nav .nav_item {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 2rem;
  line-height: 1.2555;
  font-weight: 500;
  color: #423d56;
  --radius: 2.3rem;
  --w: 10.7rem;
  margin-bottom: 4.8rem;
}
.home_products .nav .nav_item::before {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  left: calc(var(--w) / 2);
  content: '';
  z-index: -1;
  background-color: #f8f8f8;
  border-radius: var(--radius);
  transition: all 0.3s;
}
.home_products .nav .nav_item .icon {
  position: relative;
  z-index: 2;
  width: var(--w);
  height: var(--w);
  border-radius: 50%;
  background-color: #fff;
  border: 3px solid var(--primary);
  transition: all 0.3s;
  transform: scale(0.90384615);
  margin: -1.1rem 0;
}
.home_products .nav .nav_item .icon img {
  transform: scale(0.61386139);
}
.home_products .nav .nav_item span {
  display: block;
  flex: 1;
  padding: 1.7rem 2.1rem 1rem;
}
.home_products .nav .nav_item.active,
.home_products .nav .nav_item:hover {
  color: #fff;
  --radius: 2.6rem;
}
.home_products .nav .nav_item.active::before,
.home_products .nav .nav_item:hover::before {
  background-color: var(--primary);
}
.home_products .nav .nav_item.active .icon,
.home_products .nav .nav_item:hover .icon {
  transform: scale(1);
}
.home_products .nav .nav_item.active {
  margin-bottom: 5.7rem;
}
.home_products .nav .nav_item.active span {
  padding-top: 0.9rem;
}
.home_products .nav .nav_item:last-child {
  margin-bottom: 0;
}
.home_products .btn_i {
  margin-top: 10.8rem;
}
.home_resources {
  background-color: var(--bg);
  padding: 10.8rem 0 9.5rem;
}
.home_resources .head {
  padding-bottom: 1.1rem;
}
.home_resources .nav {
  max-width: 100%;
  border-radius: var(--radius);
  background-color: #fff;
  border: 1px solid var(--border);
  --radius: 2.8rem;
  padding: 0.7rem;
  min-width: 30.21%;
}
.home_resources .nav .nav_list {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}
.home_resources .nav .nav_list::before {
  position: absolute;
  z-index: -1;
  width: var(--w);
  height: var(--h);
  left: var(--l);
  top: var(--t);
  content: '';
  background-color: var(--primary);
  border-radius: calc(var(--radius) * 0.75);
  transition: all 0.3s;
}
.home_resources .nav .nav_item {
  font-size: 1.7rem;
  color: #6b6580;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: calc(var(--radius) * 0.75);
  line-height: 1.5;
  padding: 0.4853em 1.1765em;
}
.home_resources .nav .nav_item:hover {
  background-color: rgba(136, 125, 173, 0.1);
}
.home_resources .nav .nav_item.active {
  color: #fff;
}
.home_resources .swiper_box {
  display: none;
}
.home_resources .swiper_box.active {
  display: block;
}
.home_resources .home_resources_swiper {
  margin-top: 3.9rem;
}
.home_resources .swiper_con {
  position: static;
  margin-top: 6.5rem;
}
.home_resources .swiper_con .btn {
  gap: 0.722em;
  padding: 0 2.95rem;
}
.home_resources .swiper_btns.middle {
  top: 42.5%;
}
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .home_products .nav .nav_item {
    --w: 9rem;
  }
}
@media screen and (max-width: 768px) {
  .home_products {
    padding: 50px 0;
  }
  .home_products .flex {
    margin-top: 30px;
  }
  .home_products .home_products_swiper {
    border-radius: 10px 10px 0 0;
  }
  .home_products .home_products_swiper .img {
    border-radius: 10px;
  }
  .home_products .home_products_swiper .info {
    margin-top: 20px;
  }
  .home_products .home_products_swiper .info .tcon {
    padding: 0;
  }
  .home_products .home_products_swiper .info .title {
    font-size: 18px;
  }
  .home_products .home_products_swiper .info .desc {
    font-size: 14px;
    line-height: 1.5;
    margin-top: 10px;
  }
  .home_products .home_products_swiper .info .btn {
    gap: 0.6em;
    padding: 0 20px;
  }
  .home_products .nav {
    padding: 0;
  }
  .home_products .nav .nav_item {
    margin-bottom: 20px;
    --w: 60px;
    --radius: 10px;
    font-size: 14px;
  }
  .home_products .nav .nav_item .icon {
    margin: -5px 0;
  }
  .home_products .nav .nav_item span {
    padding: 10px 12px;
  }
  .home_products .nav .nav_item.active {
    --radius: 10px;
    margin-bottom: 20px;
  }
  .home_products .btn_i {
    margin-top: 30px;
  }
  .home_resources {
    padding: 50px 0;
    overflow: hidden;
  }
  .home_resources .head {
    padding: 0;
  }
  .home_resources .nav {
    min-width: unset;
    padding: 5px;
    --radius: 22px;
  }
  .home_resources .nav .nav_list {
    gap: 8px;
    overflow-x: auto;
    flex-wrap: nowrap;
    white-space: nowrap;
    border-radius: var(--radius);
  }
  .home_resources .nav .nav_list::-webkit-scrollbar {
    display: none;
  }
  .home_resources .nav .nav_item {
    font-size: 14px;
  }
  .home_resources .home_resources_swiper {
    margin-top: 30px;
    overflow: unset;
  }
  .home_resources .swiper_con {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }
  .home_resources .swiper_con .swiper_btns.middle {
    width: auto;
    padding: 0;
    margin: 0;
  }
  .home_resources .swiper_con .btn {
    gap: 0.6em;
    padding: 0 20px;
  }
}
@media screen and (max-width: 576px) {
  .home_products .flex .rt {
    width: 100%;
  }
  .home_products .flex .lt {
    max-width: unset;
  }
  .home_products .nav .nav_list {
    width: calc(100% + 40px);
    padding: 5px 20px;
    margin: 0 -20px;
    flex-wrap: nowrap;
    gap: 20px;
    overflow-x: auto;
    display: flex;
  }
  .home_products .nav .nav_list::-webkit-scrollbar {
    display: none;
  }
  .home_products .nav .nav_item {
    margin: 0;
    white-space: nowrap;
  }
  .home_products .nav .nav_item.active {
    margin: 0;
  }
  .home_products .home_products_swiper .info {
    grid-template-columns: 1fr;
  }
  .home_products .home_products_swiper .info .btn {
    width: max-content;
  }
}
