/* 全局样式重置和基础设置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Microsoft YaHei", Arial, sans-serif;
  color: #333;
  background: url("../images/pc/newbj.jpg") no-repeat top center;
  background-color: #fbd9ac;
  background-size: cover;
}

.ell {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.clear {
  display: block !important;
  float: none !important;
  clear: both;
  overflow: hidden;
  width: auto !important;
  height: 0 !important;
  margin: 0 auto !important;
  padding: 0 !important;
  font-size: 0;
  line-height: 0;
}

.top {
  width: 100%;
  height: auto;
  display: block;
  float: left;
}

.main {
  max-width: 1828px;
  width: 95%;
  margin: 0 auto;
}

.title {
  width: 100%;
  height: 135px;
  background-repeat: no-repeat;
  background-position: center center;
}

.title1 {
  background-image: url("../images/pc/title_bj1.png");
  margin-bottom: 40px;
  margin-top: -150px;
  position: relative;
  z-index: 9;
}

.title2 {
  background-image: url("../images/pc/title_bj2.png");
  margin-top: 60px;
  margin-bottom: 60px;
}

.title3 {
  background-image: url("../images/pc/title_bj3.png");
  margin-top: 60px;
  margin-bottom: 60px;
}

.footer {
  width: 100%;
  height: 90px;
}

.boxs_t {
  display: flex;
  /* 启用Flex布局 */
  gap: 3%;
  /* 列之间的间距 */
  width: 100%;
  /* 占满父容器宽度 */
  padding: 0;
  /* 移除内边距 */
  box-sizing: border-box;
  /* 不需要设置固定高度，让容器自动适应内容 */
}

.box_t {
  flex: 1;
  /* 三列等宽分配空间 */
  /* 移除height: auto，或保持默认即可 */
  /* background: #f0f0f0; */
  /* 背景色，方便观察 */
  box-sizing: border-box;
  /* background: linear-gradient(to bottom, #fff2d1, #ffd594); */
  /* border: 1px solid #ee8c83; */
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position: relative;
}

.box_tbj {
  background-image: url("../images/pc/t_bj.png");
}

.box_cbj {
  background-image: url("../images/pc/c_bj.png");
}

.box_fbj {
  background-image: url("../images/pc/f_bj.png");
}

/* 
.box_t2 {
  background: #fff7f0;
} */

.box_title {
  width: 228px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;

  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: url("../images/pc/box_bj.png") no-repeat center center;
  background-size: 100% 100%;

  font-family: "PingFang SC";
  font-style: normal;
  font-weight: 400;
  font-size: 28px;

  color: #ffffff;
  text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: 500;
}

.box_title2 {
  top: 0;
}

.box_title img {
  width: auto;
  height: 38px;
  margin-right: 12px;
}

.book-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 5%;
  padding: 60px 7% 10px;
  justify-items: center;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.book-container .book-item {
  flex: 0 0 calc(28%);
  /* 50%宽度减去一半gap间距 */
}


.book-container2 {
  /* grid-template-columns: repeat(2, 1fr); */
  /* gap: 10px 8%; */
  padding: 60px 7% 10px;
}

.book-container2_2 {

  padding: 20px 7% 10px;
}

.book-container2_2 .book-item {
  flex: 0 0 calc(28%);
}

.book-container2 .book-item {
  flex: 0 0 calc(28%);
}

.book-container2_1 .book-item {
  flex: 0 0 calc(90%);
}

.book-containert3 .book-item {
  flex: 0 0 calc(34%);
}

.top2_1 .book-item {
  flex: 0 0 calc(90%);
}


.top2_2 .book-item {
  flex: 0 0 calc(90%);
}

.top2_3 .book-item {
  flex: 0 0 calc(45%);
}

.top3_1,
.top3_1_2 {
  justify-content: space-between;
  padding: 30px 20% 10px;
}

.top3_2_1 {
  padding: 30px 11% 10px;
}

.top3_2 {
  padding: 30px 11% 10px;
}

.top3_1 .book-item,
.top3_1_2 .book-item {
  flex: 0 0 calc(45%);
}

.top3_2_1 .book-item {
  flex: 0 0 calc(86%);
}

.top3_2 .book-item {
  flex: 0 0 calc(40%);
}



.book-container4 .book-item {
  flex: 0 0 calc(45%);
}


.book-container3 {
  /* grid-template-columns: repeat(3, 1fr);
  gap: 10px 5%; */
  padding: 60px 2% 10px;
}


.book-container4 {
  /* grid-template-columns: repeat(2, 1fr);
  gap: 20px 8%; */
  padding: 10px 7% 10px;
}

.book-container5 .book-item {
  flex: 0 0 calc(25%);
}

.book-item {
  text-align: center;
  cursor: pointer;
  flex: 0 0 calc(50% - 10px);
  /* 50%宽度减去一半gap间距 */
}

.book-item img {
  width: 100%;
  height: auto;
  border: 2px solid #d8ac46;
  box-sizing: border-box;
}

.book-item:hover img {
  border: 2px solid #b42227;
}

.book-item p {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  margin-top: 5px;
  font-size: 13px;
  line-height: 20px;
  color: #333333;
  min-height: 40px;
}


.book-container4 .book-item p {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  margin-top: 5px;
  font-size: 15px;
  line-height: 20px;
  color: #333333;
  min-height: 50px;
}

.book-item:hover p {
  color: #b42227;
}

.box_l {
  width: 33%;
  float: left;
  margin: 0 1% 0 1%;
  /* padding: 0 2.5% 0 0; */
}

.box_c {
  width: 19.2%;
  float: left;
}

.box_r {
  width: 43%;
  float: right;
  margin: 0 2% 0 0;
}


.box_lm {
  width: 100%;
}

.box_l_title {
  width: auto;
  margin: 70px 0 -30px 10%;
  float: left;
  border-bottom: 4px solid #fddfcd;
  line-height: 30px;
}

.box_l_title2 {
  margin: -20px 0 0 10%;
}


.box_l_title3 {
  margin: 70px 0 0 15%;
}

.box_l_title4 {
  margin: 20px 0 0 15%;
}

.box_l_title5 {
  margin: 70px 0 0 15%;
}

.box_l_title6 {
  margin: 0px 0 0 15%;
}

.box_l_title img {
  width: auto;
  height: 25px;
  margin: 0 -5px -10px 0;
  display: block;
  float: left;
}

.box_l_title span {
  font-size: 20px;
  color: #843508;
  margin: 0 -5px -10px 10px;
  display: block;
  float: left;
}

.box_l_title2_3 {
  margin: 70px 0 -30px 6%;
}

.f_banner {
  width: 86%;
  height: auto;
  display: block;
  margin: 60px 7% 0px;
  position: relative;
}

.f_banner .img {
  width: 100%;
  height: auto;
}

.f_banner .i {
  position: absolute;
  top: 0;
  right: 0;
  width: 22%;
  height: auto;
}

.f_banner_title {
  width: 86%;
  height: auto;
  font-size: 16px;
  color: #333333;
  margin: 10px 7% 10px;
  float: left;
  position: relative;
  text-align: center;

}

.v_box {
  width: 86%;
  margin: 60px 7% 20px;
  background: #8f191e;
  position: relative;
  float: left;
  padding: 0 0 20px;
  height: 90%;
  box-sizing: border-box;
}

.v_box_bj {
  width: 100%;
  height: auto;
  float: left;
}

.v_box_name {
  width: 100%;
  height: auto;
  font-size: 30px;
  color: #cfb184;
  margin: 10px 0 20px;
  float: left;
  position: relative;
  text-align: center;
}

.v_box_main {
  background: #b52e2e;
  width: 80%;
  margin: 0 10% 0;
  padding: 20px;
  float: left;
  box-sizing: border-box;
  font-size: 16px;
  line-height: 26px;
  color: #cfb184;
  position: relative;
}

.v_box_main p {
  /* 首行缩进 */
  text-indent: 2em;
}

.v_box_main span {
  width: 100%;
  height: auto;
  display: block;
  float: left;
}




/* 轮播卡片样式 */
.swiper-slide {
  width: 78%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}


/* 非活跃卡片的缩小效果 */
.swiper-slide:not(.swiper-slide-active) {
  transform: scale(0.9);
  /* 缩小15% */
}

/* 解决边缘卡片显示不完整问题 */
.swiper-wrapper {
  padding: 10px 0;
}


.top1_1 a:nth-child(7) {
  /* margin-left: 8%; */
}

.top1_1_2 {
  gap: 10px 10%;
  padding: 0px 10% 10px;
}

.top1_1_2 .book-item p {
  margin: 0px 0 10px;
}


.top1_3 {
  gap: 10px 5%;
  padding: 60px 5% 10px;
}

.top1_3 .book-item p {
  margin: 0px 0 10px;
}

.tsg {
  width: 100%;
  text-align: center;
  font-size: 14px;
  color: #000000;
  margin: -10px 0 20px;
}

.tsw {
  width: auto;
  height: 30px;
  line-height: 30px;
  border-radius: 100px;
  margin: 10px 10px -50px 0;
  padding:0 10px;
  background: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  color: #525252;
  display: block;
  float: right;
  position: relative;
  z-index: 9;
}

.pc {
  display: block !important;
}

.phone {
  display: none !important;
}

a {
  text-decoration: none;
}

/* 响应式设计 - 平板设备 */
@media (max-width: 1024px) {
  body {
    font-family: "Microsoft YaHei", Arial, sans-serif;
    color: #333;
    background: url("../images/phone/bj.jpg") no-repeat top center;
    background-color: #fbd9ac;
    background-size: cover;
  }

  .main {
    width: 100%;
    margin: 0 auto;
    opacity: 0;
  }

  .title {
    width: 86%;
    margin: 0 7%;
    height: 80px;
    background-size: 100% auto;
    margin-bottom: 0 !important;
  }


  /* .title {
  width: 100%;
  height: 135px;
  background-repeat: no-repeat;
  background-position: center center;
} */

  .title1 {
    background-image: url("../images/phone/title_bj1.png");
    margin-bottom: 40px;
    margin-top: -30px;
  }

  .title2 {
    background-image: url("../images/phone/title_bj2.png");
    margin-top: 0px;
    margin-bottom: 60px;
  }

  .title3 {
    background-image: url("../images/phone/title_bj3.png");
    margin-top: 0px;
    margin-bottom: 60px;
  }


  .box_tbj {
    background-image: url("../images/phone/t_bj.png");
  }

  .box_cbj {
    background-image: url("../images/phone/c_bj.png");
  }

  .box_fbj {
    background-image: url("../images/phone/f_bj.png");
  }


  .book-container {
    gap: 10px 5%;
    padding: 50px 5% 10px;
  }

  .book-item p {
    margin: 0;
    font-size: 13px;
    line-height: 17px;
    min-height: 34px;
    -webkit-line-clamp: 2;
  }

  .stop2_3 {
    gap: 10px 4%;
    padding: 60px 0% 10px;
  }

  .stop2_3 .book-item p {
    -webkit-line-clamp: 3;
    min-height: 21px;
    margin: 0px 0;
  }


  .footer {
    width: 100%;
    height: 20px;
  }


  .v_box_name {
    font-size: 14px;
    margin: 0px 0 5px;
  }

  /* 
  .v_box_main {
    font-size: 13px;
    line-height: 17px;
    padding: 10px;
    width: 90%;
    margin: 0 5%;

  }

  .v_box_main span {
    font-size: 13px;
    line-height: 17px;
  } */

  .book-container4 {
    padding: 5px 5% 10px;
  }

  .box_l_title {
    margin: 50px 0 -30px 10%;
  }

  .stop1_3 .book-item p {
    margin: 3px 0 5px;
  }

  .stop1_1_2 {
    gap: 10px 10%;
    padding: 0px 10% 20px;
  }

  .stop1_1_2 .book-item p {
    margin: 0px 0 0px;
  }

  .box_l_title2 {
    margin: -10px 0 0 10%;
  }

  .book-container2 {
    /* grid-template-columns: repeat(2, 1fr); */
    /* gap: 10px 8%; */
    padding: 20px 7% 10px;
  }

  .stop2_1 .book-item {
    flex: 0 0 calc(88%);
  }

  .stop2_2 .book-item {
    flex: 0 0 calc(44%);
  }



  .stop3_1,
  .stop3_1_2 {
    justify-content: space-between;
    padding: 50px 20% 10px;
  }

  .stop3_2_1 {
    padding: 40px 11% 10px;
    float: left;
  }

  .box_l_title6 {
    margin: -10px 0 -10px 10%;
  }

  .stop3_2 {
    padding: 30px 11% 10px;
  }

  .stop3_1 .book-item,
  .stop3_1_2 .book-item {
    flex: 0 0 calc(40%);
  }

  .stop3_2_1 .book-item {
    flex: 0 0 calc(86%);
  }

  .stop3_2 .book-item {
    flex: 0 0 calc(40%);
  }

  .stop1_2 {
    padding: 45px 5% 10px;
  }

  .stop2_3 {
    padding-bottom: 15px;
  }

  .box_l_title4 {
    margin: 10px 0 -40px 15%;
  }

  /* .v_box_bj {
    width: 80%;
    margin: 0 10%;
    height: auto;
    float: left;
  } */

  .tsw{
    zoom: .6;
  }
  .box_title{
    zoom:.7;
  }

  .boxs_t {
    flex-direction: column;
  }

  .phone {
    display: block !important;
  }

  .pc {
    display: none !important;
  }
}

/* 响应式设计 - 手机设备 */
@media (max-width: 768px) {}