main .bg {
  background-color: #f5f6f9;
}
main .bg .root {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 28px 0;
}
main .bg .root .main {
  display: flex;
  flex-direction: column;
}
main .bg .root .main .banner {
  display: flex;
  flex-direction: column;
  width: 967px;
}
main .bg .root .main .banner .bottom {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  margin-top: 20px;
}
main .bg .root .main .banner .bottom .item {
  position: relative;
  border-radius: 4px;
  cursor: pointer;
}
main .bg .root .main .banner .bottom .item img {
  width: 300px;
  height: 148px;
  object-fit: cover;
}
main .bg .root .main .banner .bottom .item .fg {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px 20px;
}
main .bg .root .main .banner .bottom .item .fg .title {
  font-size: 18px;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: 0px;
  color: #fff;
}
main .bg .root .main .banner .bottom .item .fg .desc {
  font-size: 14px;
  font-weight: 400;
  line-height: 17px;
  letter-spacing: 0px;
  color: #fff;
  margin-top: 13px;
}
main .bg .root .main .swiper-container {
  position: relative;
  height: 300px;
  cursor: pointer;
}
main .bg .root .main .swiper-container .swiper-slide {
  font-size: 18px;
  background: #fff;
  /* Center slide text vertically */
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}
main .bg .root .main .swiper-container .swiper-slide .swiper-slide-page {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}
main .bg .root .main .swiper-container .swiper-slide .swiper-slide-page > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
main .bg .root .main .swiper-container .swiper-slide .swiper-slide-page .txt {
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: absolute;
  width: 100%;
  height: 100%;
}
main .bg .root .main .swiper-container .swiper-slide .swiper-slide-page .b-title {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0em;
  color: #fff;
  margin-bottom: 15px;
  margin-left: 70px;
}
main .bg .root .main .swiper-container .swiper-slide .swiper-slide-page .b-desc {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0em;
  color: #fff;
  margin-left: 70px;
}
main .bg .root .main .swiper-pagination-bullet {
  background-color: white;
  width: 30px;
  height: 2px;
}
main .bg .root .main .tabs {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 33px;
  margin: 20px 0;
}
main .bg .root .main .tabs .tab .title {
  font-size: 16px;
  font-weight: 400;
  line-height: 19px;
  letter-spacing: 0px;
  color: #000;
}
main .bg .root .main .tabs .tab .title.selected,
main .bg .root .main .tabs .tab .title:hover {
  color: #0d6af4;
  cursor: pointer;
}
main .bg .root .main .contain-main .grid {
  display: none;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: repeat(auto, minmax(171px, max-content));
  gap: 20px;
  row-gap: 20px;
}
main .bg .root .main .contain-main .grid .item {
  display: flex;
  flex-direction: column;
  padding: 0 3.4px;
  border-radius: 4px;
}
main .bg .root .main .contain-main .grid .item .img {
  width: 222px;
  height: 144px;
  border-radius: 4px;
  transition: all 0.35s ease-in-out;
  object-fit: cover;
}
main .bg .root .main .contain-main .grid .item .title {
  width: 200px !important;
  font-size: 14px;
  font-weight: 400;
  line-height: 17px;
  letter-spacing: 0px;
  color: #333;
  margin: 13px 0;
}
main .bg .root .main .contain-main .grid .item .bottom-row {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}
main .bg .root .main .contain-main .grid .item .bottom-row .youshe {
  border-radius: 4px;
  background: #e1e4f3;
  padding: 3px 6px;
  margin-right: 10px;
}
main .bg .root .main .contain-main .grid .item .bottom-row .desc {
  font-size: 12px;
  font-weight: 400;
  line-height: 14px;
  letter-spacing: 0px;
  color: #a9adc1;
  margin-right: 10px;
  margin-left: 5px;
}
main .bg .root .main .contain-main .grid .item:hover {
  cursor: pointer;
  box-shadow: 0 3px 10px #0003;
}
main .bg .root .main .contain-main .grid .item:hover .img {
  transform: scale(1.02);
}
main .bg .root .main .contain-main .grid:nth-of-type(1) {
  display: grid;
}
main .bg .root .sider {
  width: 238px;
  margin-left: 20px;
}
main .bg .root .sider .hot {
  padding: 10px;
  background-color: #fff;
}
main .bg .root .sider .hot .head {
  display: flex;
  align-items: center;
  margin-bottom: 13px;
}
main .bg .root .sider .hot .head .dot {
  width: 8px;
  height: 8px;
  opacity: 1;
  background: #eb2f96;
  margin-right: 10px;
  border-radius: 4px;
}
main .bg .root .sider .hot .divider {
  width: 100%;
  height: 1px;
  opacity: 1;
  background: #eff0fb;
}
main .bg .root .sider .hot .col {
  display: flex;
  flex-direction: column;
}
main .bg .root .sider .hot .col .item {
  display: flex;
  flex-direction: column;
  padding: 5px;
  margin-top: 10px;
  cursor: pointer;
}
main .bg .root .sider .hot .col .item .img {
  width: 182px;
  height: 120px;
  object-fit: cover;
  border-radius: 4px;
  transition: all 0.35s ease-in-out;
}
main .bg .root .sider .hot .col .item .item:hover .img {
  transform: scale(1.02);
}
main .bg .root .sider .hot .col .item .title {
  font-size: 14px;
  font-weight: 400;
  line-height: 17px;
  letter-spacing: 0px;
  color: #000;
  margin: 5px 0;
}
@media screen and (max-width: 768px) {
  main {
    margin-bottom: 3.75rem;
  }
  main .bg {
    background-color: white;
  }
  main .bg .root {
    width: 100%;
    padding-top: 0;
    padding-bottom: 0.625rem;
  }
  main .bg .root .main {
    width: 100%;
  }
  main .bg .root .main .banner {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  main .bg .root .main .banner .top {
    margin-bottom: 0.625rem;
  }
  main .bg .root .main .banner .top .swiper-container {
    position: relative;
    height: 21.25rem;
    cursor: pointer;
  }
  main .bg .root .main .banner .top .swiper-container .swiper-slide {
    width: 100%;
    background: #fff;
    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
  }
  main .bg .root .main .banner .top .swiper-container .swiper-slide .swiper-slide-page {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
  }
  main .bg .root .main .banner .top .swiper-container .swiper-slide .swiper-slide-page > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  main .bg .root .main .banner .top .swiper-container .swiper-slide .swiper-slide-page .txt {
    top: 3.375rem;
    left: 3.125rem;
    display: flex;
    flex-direction: column;
    justify-content: start;
    position: absolute;
    width: 23.25rem;
    height: 100%;
  }
  main .bg .root .main .banner .top .swiper-container .swiper-slide .swiper-slide-page .b-title {
    font-family: PingFangSC-Semibold;
    font-size: 1.875rem;
    font-weight: normal;
    line-height: 2.193rem;
    letter-spacing: 0px;
    margin-bottom: 1.25rem;
    margin-left: 0px;
  }
  main .bg .root .main .banner .top .swiper-container .swiper-slide .swiper-slide-page .b-desc {
    font-family: '苹方-简-常规';
    font-size: 1.375rem;
    font-weight: normal;
    line-height: 2.308rem;
    letter-spacing: 0px;
    color: #ffffff;
    margin-left: 0;
  }
  main .bg .root .main .banner .top .swiper-pagination-bullet {
    background-color: white;
    width: 1.875rem;
    height: 0.125rem;
    border-radius: initial;
  }
  main .bg .root .main .banner .bottom {
    display: flex;
    align-items: center;
    gap: 0px;
    margin-top: 0;
    padding: 0 0.625rem;
  }
  main .bg .root .main .banner .bottom .item {
    position: relative;
    border-radius: 0.25rem;
    cursor: pointer;
  }
  main .bg .root .main .banner .bottom .item img {
    width: 15rem;
    height: 8.125rem;
    object-fit: cover;
  }
  main .bg .root .main .banner .bottom .item .fg {
    position: absolute;
    left: 1.25rem;
    right: 0;
    top: 4.25rem;
    bottom: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0;
  }
  main .bg .root .main .banner .bottom .item .fg .title {
    font-size: 1.5rem;
    font-weight: normal;
    line-height: 1.755rem;
    letter-spacing: 0px;
    color: #ffffff;
  }
  main .bg .root .main .banner .bottom .item .fg .desc {
    display: none;
  }
  main .bg .root .main .tabs {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0px;
    margin: 3.75rem 0 0;
    padding: 0 1.875rem 0;
    border-bottom: 0.125rem solid #dee4eb;
  }
  main .bg .root .main .tabs .tab .title {
    position: relative;
    font-family: '苹方-简-常规';
    font-size: 1.875rem;
    font-weight: 500;
    line-height: 2.193rem;
    letter-spacing: 0px;
    padding-bottom: 1.25rem;
    color: #1d2129;
  }
  main .bg .root .main .tabs .tab .title.selected,
  main .bg .root .main .tabs .tab .title:hover {
    color: #0d6af4;
    cursor: pointer;
  }
  main .bg .root .main .tabs .tab .title.selected::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0.375rem;
    background: #295eef;
    border-top-left-radius: 0.625rem;
    border-top-right-radius: 0.625rem;
  }
  main .bg .root .main .contain-main .grid {
    display: none;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    column-gap: 1.875rem;
    row-gap: 2.5rem;
    padding: 0 1.875rem;
    margin-top: 1.875rem;
  }
  main .bg .root .main .contain-main .grid .item {
    width: 20.625rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
    border-radius: 0.25rem;
  }
  main .bg .root .main .contain-main .grid .item .img {
    width: 20.625rem;
    height: 11.5rem;
    border-radius: 0.25rem;
    transition: all 0.35s ease-in-out;
  }
  main .bg .root .main .contain-main .grid .item .title {
    width: 100% !important;
    margin: 0;
    margin-top: 1.25rem;
    font-family: ' 苹方-简-常规';
    font-size: 1.875rem;
    font-weight: normal;
    line-height: 2.193rem;
    letter-spacing: 0px;
    color: #1d2129;
  }
  main .bg .root .main .contain-main .grid .item .bottom-row {
    display: none;
  }
  main .bg .root .main .contain-main .grid .item:hover .img {
    transform: scale(1);
  }
  main .bg .root .main .contain-main .grid:nth-of-type(1) {
    display: grid;
  }
}
