/* 基础样式重置 */
.container {
  width: 100%;
}

/* 轮播图样式 */
.carousel {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
  margin: 0 auto;
}

.carousel-container {
  position: absolute;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}

.carousel-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 指示器样式 */
.carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.indicator.active {
  background-color: #fff;
}

/* 箭头按钮样式 */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-color: rgba(0, 0, 0, 0.3);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease, background-color 0.3s ease;
  z-index: 10;
}

.carousel:hover .carousel-arrow {
  opacity: 1;
}

.carousel-arrow:hover {
  background-color: rgba(0, 0, 0, 0.5);
}

.carousel-arrow.prev {
  left: 20px;
}

.carousel-arrow.next {
  right: 20px;
}

.rankingAndBrand {
  max-width: 1240px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  margin: 25px auto 0px auto;
}

.newRanking {
  background: #fff;
  padding: 20px;
  border-radius: 8px 8px 8px 8px;
  max-width: 840px;
  width: 840px;
}

.newRankingTitle {
  padding: 20px 0px;
  border-bottom: 1px solid #dddddd;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
}

.newRankingTitle h2 {
  font-weight: 800;
  font-size: 24px;
  color: #475569;
  line-height: 28px;
  text-align: left;
  font-style: normal;
  text-transform: none;
}

.newRankingTitle a {
  font-weight: 500;
  font-size: 16px;
  color: #999999;
  line-height: 28px;
  font-style: normal;
  text-transform: none;
  text-decoration: none;
}

.rankingItem {
  width: 800px;
  height: 200px;
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 20px;
  overflow: hidden;
  transition: background-size 0.5s ease;
  position: relative;
  cursor: pointer;
  border-radius: 8px;
}

.srback1 {
  background-image: url("../images/ranking11111.png");
}

.srback2 {
  background-image: url("../images/ranking22222.png");
}
.rankingItemUn {
  position: relative;
  width: 800px;
  height: 120px;
  background: #e4e9ee;
  border-radius: 8px 8px 8px 8px;
  cursor: no-drop;
  margin-top: 20px;
  transition: all 0.3s ease;
}
.rankingItemUn:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transform: translateY(-3px);
}
.Unreleased {
  position: absolute;
  top: 0px;
  left: 33px;
  width: 100px;
  height: auto;
}
.rankingItemUn-box {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0px 95px 0px 33px;
  height: 120px;
}
.rankingItemUn-title {
  font-weight: 500;
  font-size: 20px;
  color: #9fabc4;
  line-height: 28px;
  text-align: left;
  font-style: normal;
  text-transform: none;
}
.rankingItemUn-img {
  width: 113px;
  height: auto;
}
.rankingItem:hover {
  background-size: 102% 102%;
}

.selectRanking {
  width: 89px;
  height: 32px;
  border-radius: 4px 4px 4px 4px;
  border: 1.5px solid #fff;
  font-weight: 500;
  font-size: 14px;
  color: #fff;
  font-style: normal;
  text-transform: none;
  position: absolute;
  top: 130px;
  left: 40px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.selectRanking:hover {
  background: #fff;
  color: #2563eb;
}

.rankingItem:hover .selectRanking {
  background: #fff;
  color: #2563eb;
}

.brandList {
  max-width: 380px;
  width: 380px;
  background: #ffffff;
  border-radius: 8px 8px 8px 8px;
  padding: 27px 20px;
}

.moerRanking {
  width: 134px;
  height: 36px;
  background: #ffffff;
  border-radius: 4px 4px 4px 4px;
  border: 1.5px solid #2563eb;
  font-weight: 500;
  font-size: 16px;
  color: #2563eb;
  line-height: 16px;
  font-style: normal;
  text-transform: none;
  text-align: center;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin: 20px auto 0px auto;
}

.moerRanking:hover {
  background-color: #2563eb;
  color: #fff;
}

.brandSearch {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  border-radius: 4px 4px 4px 4px;
  border: 1px solid #dddddd;
  margin-top: 20px;
  padding: 0px 10px;
}

.brandSearch img {
  width: 18px;
  height: 18px;
}

.brandSearch input {
  border: none;
}
.brandListBox {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
}

.brandItem {
  width: 100%;
  padding: 20px 0px;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  border-bottom: 1px solid #eeeeee;
}
.brandItem:last-child {
  margin-right: 0;
}
.brandItem-logo {
  width: 61px;
  height: 64px;
  border-radius: 4px 4px 4px 4px;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
}

.brandItemInfo {
  margin-left: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

.brandItem-title {
  font-weight: 500;
  font-size: 20px;
  color: #000000;
  line-height: 20px;
  font-style: normal;
  text-transform: none;
}

.brandItem-tips {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
}

.brandItem-tip {
  padding: 5px;
  background: #eeeeee;
  border-radius: 4px 4px 4px 4px;
  font-weight: 400;
  font-size: 13px;
  color: #999999;
  line-height: 13px;
  text-align: center;
  font-style: normal;
  text-transform: none;
  margin-right: 12px;
}

.news {
  width: 1240px;
  margin: 25px auto 0px auto;
  background: #fff;
  padding: 20px;
  border-radius: 8px 8px 8px 8px;
}

.newsTitle {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  padding: 20px 0px;
  border-bottom: 1px solid #dddddd;
}

.newsTitle h2 {
  font-weight: 800;
  font-size: 24px;
  color: #475569;
  line-height: 28px;
  text-align: left;
  font-style: normal;
  text-transform: none;
}

.newsTitle a {
  font-weight: 500;
  font-size: 16px;
  color: #999999;
  line-height: 28px;
  font-style: normal;
  text-transform: none;
  text-decoration: none;
}

.newListAndLineTime {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-top: 20px;
}

.newList {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
}

.newItem {
  width: 386px;
  margin-right: 20px;
  transition: all 0.3s ease;
  cursor: pointer;
  padding-bottom: 5px;
}

.newItem:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transform: translateY(-3px);
  background: #eee;
}

.newItem:hover .newTitle {
  color: #2563eb;
}

.newBanner {
  width: 386px;
  height: 210px;
  border-radius: 8px 8px 8px 8px;
  overflow: hidden;
}

.newTitle {
  font-weight: 700;
  font-size: 16px;
  color: #475569;
  line-height: 22px;
  text-align: left;
  font-style: normal;
  text-transform: none;
  margin-top: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-left: 7px;
}

.newTime {
  font-weight: 400;
  font-size: 14px;
  color: #666666;
  line-height: 20px;
  text-align: left;
  font-style: normal;
  text-transform: none;
  margin-top: 5px;
  padding-left: 7px;
}

/* 文字超出三行省略样式 */
.newInfo {
  font-weight: 400;
  font-size: 14px;
  color: #999999;
  text-align: left;
  font-style: normal;
  text-transform: none;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5;
  /* 确保行高合适 */
  max-height: 4.5em;
  /* 3行 × 1.5行高 */
  margin-top: 5px;
  padding-left: 7px;
}

.timeLine {
  width: 387px;
  background: url(../images/timeLineBanner.png);
  background-size: 100% 100%;
  background-position: center center;
  background-repeat: no-repeat;
  border-radius: 8px 8px 8px 8px;
  border: 1px solid #eeeeee;
  padding: 0px 30px 20px 30px;
}

.timeLineItem {
  padding-top: 10px;
  padding-bottom: 12px;
  cursor: pointer;
}

.timeLineItem:hover .tltTitle {
  color: #2563eb;
}

.tltTitle {
  font-weight: 700;
  font-size: 16px;
  color: #475569;
  line-height: 16px;
  text-align: left;
  font-style: normal;
  text-transform: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 24px;
}

.tltTime {
  font-weight: 400;
  font-size: 14px;
  color: #666666;
  line-height: 14px;
  text-align: left;
  font-style: normal;
  text-transform: none;
  margin-top: 10px;
}

.books {
  width: 1240px;
  margin: 25px auto 0px auto;
  background: #fff;
  padding: 20px;
  border-radius: 8px 8px 8px 8px;
}

.booksTitle {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  padding: 20px 0px;
  border-bottom: 1px solid #dddddd;
}

.booksTitle h2 {
  font-weight: 800;
  font-size: 24px;
  color: #475569;
  line-height: 28px;
  text-align: left;
  font-style: normal;
  text-transform: none;
}

.booksTitle a {
  font-weight: 500;
  font-size: 16px;
  color: #999999;
  line-height: 28px;
  font-style: normal;
  text-transform: none;
  text-decoration: none;
}

.bookList {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  padding: 40px 0px 20px 0px;
}

.bookItem {
  width: 180px;
  height: 270px;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  margin-right: 50px;
}

.bookItem:last-child {
  margin-right: 0;
}

.bookItem:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transform: translateY(-3px);
}

.cooperate {
  width: 1240px;
  margin: 25px auto 0px auto;
  background: #fff;
  padding: 20px;
  border-radius: 8px 8px 8px 8px;
}

.cooperateTitle {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  padding: 20px 0px;
  border-bottom: 1px solid #dddddd;
}

.cooperateTitle h2 {
  font-weight: 800;
  font-size: 24px;
  color: #475569;
  line-height: 28px;
  text-align: left;
  font-style: normal;
  text-transform: none;
}

.cooperateList {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cooperateItem {
  width: 20%;
  height: 50px;
  margin: 20px 0px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.cooperateItem img {
  width: 190px;
  height: auto;
}

.footerSlogan {
  width: 100%;
  margin-top: 76px;
}

.footerSlogan img {
  display: block;
  vertical-align: bottom;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* 响应式设计 */
@media (max-width: 1439px) and (min-width: 768px) {
  body {
    max-width: 768px;
    margin: 0px auto;
  }
  .header {
    flex-direction: column;
    padding: 10px;
  }

  .nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav li {
    margin: 5px;
  }

  .carousel {
    height: 200px;
  }

  .carousel-arrow {
    width: 30px;
    height: 30px;
    font-size: 18px;
  }

  .rankingAndBrand {
    max-width: 90%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    margin: 25px auto 0px auto;
  }

  .newRanking {
    background: #fff;
    padding: 20px;
    border-radius: 8px 8px 8px 8px;
    max-width: 100%;
    width: 100%;
  }

  .brandList {
    max-width: 100%;
    width: 100%;
    background: #ffffff;
    border-radius: 8px 8px 8px 8px;
    padding: 27px 20px;
    margin-top: 25px;
  }

  .brandItem {
    width: 32%;
    padding: 20px 0px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    border-bottom: 1px solid #eeeeee;
    margin: 0px 1.3365% 10px 0px;
  }

  .rankingItem {
    width: unset;
    height: unset;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 20px;
    overflow: hidden;
    transition: background-size 0.5s ease;
    position: relative;
    cursor: pointer;
    border-radius: 8px;
  }
  .rankingItemUn {
    position: relative;
    width: unset;
    height: unset;
    background: #e4e9ee;
    border-radius: 8px 8px 8px 8px;
    cursor: no-drop;
    margin-top: 20px;
    transition: all 0.3s ease;
  }
  .selectRanking {
    width: 89px;
    height: 32px;
    border-radius: 4px 4px 4px 4px;
    border: 1.5px solid #fff;
    font-weight: 500;
    font-size: 14px;
    color: #fff;
    font-style: normal;
    text-transform: none;
    position: absolute;
    top: 60%;
    left: 5%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    cursor: pointer;
  }
  .news {
    width: 90%;
    margin: 25px auto 0px auto;
    background: #fff;
    padding: 20px;
    border-radius: 8px 8px 8px 8px;
  }
  .newList {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .newListAndLineTime {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 20px;
    flex-wrap: wrap;
  }

  .newItem {
    width: 49%;
    margin-right: 0px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    padding-bottom: 5px;
  }
  .newBanner {
    width: 100%;
    height: unset;
    border-radius: 8px 8px 8px 8px;
    overflow: hidden;
  }

  .timeLine {
    width: 100%;
    background: url(../images/timeLineBanner.png);
    background-size: 100% 100%;
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 8px 8px 8px 8px;
    border: 1px solid #eeeeee;
    padding: 0px 30px 20px 30px;
  }
  .books {
    width: 90%;
    margin: 25px auto 0px auto;
    background: #fff;
    padding: 20px;
    border-radius: 8px 8px 8px 8px;
  }
  .bookList {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 40px 0px 20px 0px;
    flex-wrap: wrap;
  }
  .bookItem {
    width: 125px;
    height: unset;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-bottom: 20px;
  }
  .cooperate {
    width: 90%;
    margin: 25px auto 0px auto;
    background: #fff;
    padding: 20px;
    border-radius: 8px 8px 8px 8px;
  }

  .cooperateTitle {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    padding: 20px 0px;
    border-bottom: 1px solid #dddddd;
  }
  .cooperateItem {
    width: 20%;
    height: 50px;
    margin: 20px 0px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }
  .cooperateItem img {
    width: auto;
    height: 40px;
  }
}

@media (max-width: 767px) {
  body {
    max-width: 425px;
    margin: 0px auto;
  }
  .header {
    flex-direction: column;
    padding: 10px;
  }

  .nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav li {
    margin: 5px;
  }

  .carousel {
    height: 350px;
  }

  .carousel-arrow {
    width: 30px;
    height: 30px;
    font-size: 18px;
  }

  .rankingAndBrand {
    max-width: 90%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    margin: 25px auto 0px auto;
  }

  .newRanking {
    background: #fff;
    padding: 20px;
    border-radius: 8px 8px 8px 8px;
    max-width: 100%;
    width: 100%;
  }

  .brandList {
    max-width: 100%;
    width: 100%;
    background: #ffffff;
    border-radius: 8px 8px 8px 8px;
    padding: 27px 20px;
    margin-top: 25px;
  }

  .brandItem {
    width: 48%;
    padding: 20px 0px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    border-bottom: 1px solid #eeeeee;
    margin: 0px 1.3365% 0px 0px;
  }

  .brandItem-tip {
    padding: 5px;
    background: #eeeeee;
    border-radius: 4px 4px 4px 4px;
    font-weight: 400;
    font-size: 13px;
    color: #999999;
    line-height: 13px;
    text-align: center;
    font-style: normal;
    text-transform: none;
    margin-right: 3px;
  }
  .rankingItem {
    width: unset;
    height: unset;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 20px;
    overflow: hidden;
    transition: background-size 0.5s ease;
    position: relative;
    cursor: pointer;
    border-radius: 8px;
  }
  .rankingItemUn {
    position: relative;
    width: unset;
    height: unset;
    background: #e4e9ee;
    border-radius: 8px 8px 8px 8px;
    cursor: no-drop;
    margin-top: 20px;
    transition: all 0.3s ease;
  }
  .selectRanking {
    width: 75px;
    height: 22px;
    border-radius: 4px 4px 4px 4px;
    border: 1.5px solid #fff;
    font-weight: 500;
    font-size: 14px;
    color: #fff;
    font-style: normal;
    text-transform: none;
    position: absolute;
    top: 60%;
    left: 9.5%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    cursor: pointer;
  }
  .news {
    width: 90%;
    margin: 25px auto 0px auto;
    background: #fff;
    padding: 20px;
    border-radius: 8px 8px 8px 8px;
  }
  .newList {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .newListAndLineTime {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 20px;
    flex-wrap: wrap;
  }

  .newItem {
    width: 49%;
    margin-right: 0px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    padding-bottom: 5px;
  }
  .newBanner {
    width: 100%;
    height: unset;
    border-radius: 8px 8px 8px 8px;
    overflow: hidden;
  }

  .timeLine {
    width: 100%;
    background: url(../images/timeLineBanner.png);
    background-size: 100% 100%;
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 8px 8px 8px 8px;
    border: 1px solid #eeeeee;
    padding: 0px 30px 20px 30px;
  }
  .books {
    width: 90%;
    margin: 25px auto 0px auto;
    background: #fff;
    padding: 20px;
    border-radius: 8px 8px 8px 8px;
  }
  .bookList {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 40px 0px 20px 0px;
    flex-wrap: wrap;
  }
  .bookItem {
    width: 48%;
    height: unset;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-bottom: 20px;
    margin-right: unset;
  }
  .cooperate {
    width: 90%;
    margin: 25px auto 0px auto;
    background: #fff;
    padding: 20px;
    border-radius: 8px 8px 8px 8px;
  }

  .cooperateTitle {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    padding: 20px 0px;
    border-bottom: 1px solid #dddddd;
  }
  .cooperateItem {
    width: 50%;
    height: 55px;
    margin: 20px 0px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }
  .cooperateItem img {
    width: auto;
    height: 55px;
  }
}

.brandNameBox{
  width: 64px;
  height: 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: justify;
  text-align-last: justify;
  padding: 5px;
  font-size: 17px;
  line-height: 1.3;
  word-wrap: break-word;
  word-break: break-all;
  font-weight: bold;
  color:#fff;
}