﻿.indexWrap .ad-box {
  margin: 0 1.6rem;
}
.indexWrap .category {
  margin: 2.4rem;
}
.indexWrap .category .topTitle {
  margin-bottom: 1.6rem;
  color: #333;
  font-size: 22px;
  font-style: normal;
  font-weight: 700;
  line-height: 130%;
}
.indexWrap .category .itemList {
  display: grid;
}
.indexWrap .category .itemList .item {
  border: 1px solid #F2F2F2;
  margin-inline-start: -1px;
  margin-top: -1px;
  padding: 2rem 1.4rem;
}
.indexWrap .category .itemList .item a {
  display: flex;
  align-items: center;
}
.indexWrap .category .itemList .item img {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  border: 1px solid #F2F2F2;
}
.indexWrap .category .itemList .item .itemTitle {
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 1.6rem;
  color: #333333;
  margin: 0 0.8rem;
  -webkit-line-clamp: 2;
  word-break: break-word;
}
.indexWrap .category .itemList .item:hover {
  background-color: #F0F7FF;
}
.indexWrap .category .itemList .item:hover .itemTitle {
  color: #0186FF;
}
.indexWrap .categoryTotal {
  margin: 1.2rem 0;
}
.indexWrap .cateList {
  padding: 1.2rem 2.4rem;
}
.indexWrap .cateList .topTitle {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.indexWrap .cateList .topTitle .title {
  color: #333;
  font-size: 22px;
  font-style: normal;
  font-weight: 700;
  line-height: 130%;
}
.indexWrap .cateList .topTitle .more {
  display: flex;
  align-items: center;
}
.indexWrap .cateList .topTitle .more .moreText {
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 2.6rem;
  color: #0186FF;
}
.indexWrap .cateList .topTitle .more svg {
  width: 1.4rem;
  height: 1.4rem;
}
.indexWrap .cateList .itemList {
  display: grid;
  margin: 1.6rem 0;
}
.indexWrap .cateList .itemList .item {
  flex: 0;
  border: 1px solid #F2F2F2;
  margin-inline-start: -1px;
  margin-top: -1px;
  padding: 2.4rem 0;
}
.indexWrap .cateList .itemList .item a {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.indexWrap .cateList .itemList .item .itemImg {
  width: 10.4rem;
  height: 10.4rem;
  border-radius: 2rem;
  border: 1px solid #f2f2f2;
}
.indexWrap .cateList .itemList .item .itemTitle {
  width: 100%;
  font-weight: 500;
  font-size: 1.6rem;
  line-height: 2rem;
  color: #3D332D;
  margin: 0.8rem;
  text-align: center;
}
.indexWrap .cateList .itemList .item .itemDescribe {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.indexWrap .cateList .itemList .item .itemDescribe .star img {
  width: 2rem;
  height: 2rem;
}
.indexWrap .cateList .itemList .item .itemDescribe .score {
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.4rem;
  color: #FFA940;
  padding: 0 0.4rem;
}
.indexWrap .cateList .itemList .item:hover {
  background-color: #F0F7FF;
}
.indexWrap .cateList .itemList .item:hover .itemTitle {
  color: #0186FF;
}
@media only screen and (max-width: 767px) {
  .indexWrap .categoryTotal {
    margin: 0.8rem 0;
  }
  .indexWrap .category {
    margin: 0.8rem 1.6rem;
  }
  .indexWrap .category .topTitle {
    font-size: 2rem;
    margin-bottom: 0.8rem;
  }
  .indexWrap .category .itemList {
    grid-template-columns: repeat(2, calc((100% - 0rem) / 2));
  }
  .indexWrap .category .itemList .item {
    border: 0;
    padding: 0.8rem;
  }
  .indexWrap .category .itemList .item .itemTitle {
    -webkit-line-clamp: 1;
    word-break: break-all;
  }
  .indexWrap .category .itemList .item:hover {
    border-radius: 2rem;
  }
  .indexWrap .cateList {
    padding: 0;
    /* 隐藏滚动条 */
  }
  .indexWrap .cateList .topTitle {
    padding: 1.45rem 1.6rem;
  }
  .indexWrap .cateList .topTitle .title {
    font-size: 2rem;
  }
  .indexWrap .cateList .itemList::-webkit-scrollbar {
    display: none;
    /* Chrome Safari */
  }
  .indexWrap .cateList .itemList {
    display: flex;
    overflow-x: scroll;
    width: 100%;
    /* 隐藏滚动条 */
    scrollbar-width: none;
    /* firefox */
    -ms-overflow-style: none;
    /* IE 10+ */
    margin: 0 0.8rem;
  }
  .indexWrap .cateList .itemList .item {
    border: 0;
    padding: 0.4rem 0.4rem;
    border-radius: 0.8rem;
  }
  .indexWrap .cateList .itemList .item .itemTitle {
    height: 4rem;
    font-size: 1.4rem;
    margin: 0.4rem 0;
    word-break: break-word;
    -webkit-line-clamp: 2;
    text-align: start;
  }
  .indexWrap .cateList .itemList .item .itemImg {
    width: 8rem;
    height: 8rem;
    border-radius: 1.6rem;
  }
}
@media only screen and (min-width: 768px) and (max-width: 1366px) {
  .indexWrap .pcFirstAd {
    padding-top: 1.6rem;
  }
  .indexWrap .category .itemList {
    grid-template-columns: repeat(4, calc((100% - 0rem) / 4));
  }
  .indexWrap .cateList .itemList {
    grid-template-columns: repeat(4, calc((100% - 0rem) / 4));
  }
}
@media only screen and (min-width: 1367px) {
  .wrap .indexWrap .ad-box {
    margin: 0 2.4rem;
  }
  .wrap .indexWrap .pcFirstAd {
    padding-top: 2.4rem;
  }
  .wrap .indexWrap .category .itemList {
    grid-template-columns: repeat(6, calc((100% - 0rem) / 6));
  }
  .wrap .indexWrap .cateList .itemList {
    grid-template-columns: repeat(4, calc((100% - 0rem) / 4));
  }
}
