﻿/*-----global CSS 清除浏览默认样式-----*/
* {
  margin: 0;
  padding: 0;
}
body {
  font-family: Microsoft YaHei, SimHei, SimSun, Arial, Helvetica, sans-serif;
  font-size: 14px;
}
li {
  list-style: none;
}
a {
  text-decoration: none;
  color: #333;
  transition: color .5s;
  -moz-transition: color .5s; /* Firefox 4 */
  -webkit-transition: color .5s; /* Safari and Chrome */
  -o-transition: color .5s; /* Opera */
}
a:hover {
  text-decoration: none;
  color: #d83064;
}
img {
  border: none;
  vertical-align: bottom;
  display: inline-block;
}
h1 {
  font-size: 16px;
}
h2 {
  font-size: 14px;
}
h3 {
  font-size: 14px;
}
.fl {
  float: left;
}
.fr {
  float: right;
}
.mb10 {
  margin-bottom: 10px;
}
.mb15 {
  margin-bottom: 15px;
}
.mb30 {
  margin-bottom: 30px;
}
.mr10 {
  margin-right: 10px;
}
.fb {
  font-weight: bold;
}
.no_margin {
  margin-bottom: 0;
}
.clear {
  overflow: hidden;
  zoom: 1;
}
/* 全局样式重置与基础设置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Microsoft Yahei", "SimHei", sans-serif;
}
body {
  color: #333;
  line-height: 1.6;
}
.container {
  max-width: 1236px;
  margin: 0 auto;
  padding: 0 20px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
.more-btn {
  width: 86px;
  height: 27px;
  border-radius: 20px;
  background: #fee9c4;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #A21F2C;
  font-size: 14px;
  float: right;
}
.more-btn::after {
  content: ">>";
  margin-left: 5px;
  font-size: 12px;
}
.onlyMoreBtn {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 76px;
}
/* 轮播基础样式 */
.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 4px;
}
.carousel-inner {
  display: flex;
  transition: transform 0.5s ease;
  height: 100%;
}
.carousel-item {
  position: relative;
  flex: 0 0 100%;
}
/* 头部banner样式 */
.header-banner {
width: 100%;

  padding: 40px 0;
  text-align: center;
  overflow: hidden;
}
.banner-logo {
  position: absolute;
  top: 20px;
  left: 50px;
  width: 120px;
}
.banner-title {
  font-size: 48px;
  color: #885224;
  font-weight: bold;
  margin-bottom: 15px;
  letter-spacing: 2px;
}
.banner-subtitle {
  font-size: 20px;
  color: #a06c38;
  margin-bottom: 10px;
}
.banner-tip {
  font-size: 16px;
  color: #b87d44;
  background-color: rgba(255, 255, 255, 0.6);
  padding: 5px 20px;
  display: inline-block;
  border-radius: 20px;
}
/* 领航之声模块 */
.leader-voice {
  z-index: 111;
  margin-top: -288px;
}
.module-title {
  font-size: 28px;
  color: #885224;
  text-align: center;
  margin-bottom: 56px;
  position: relative;
}
.module-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  margin: 10px auto 0;
}
.voice-wrap {
  display: flex;
  width: 1236px;
  height: 500px;
  background: url("../img/bg.png") top center no-repeat;
  gap: 35px;
  align-items: flex-start;
  font-size: 18px;
  padding-top: 60px;
  padding-left: 40px;
}
.voice-img {
  flex: 0 0 50%;
  border-radius: 4px;
  overflow: hidden;
}
.voice-list {
  flex: 0 0 40%;
}
.voice-list h3 {
  font-size: 22px;
  color: #885224;
  margin-bottom: 10px;
}
.voice-list ul {
  list-style: none;
}
.carousel-item img {
  width: 670px;
  height: 380px;
}
.voice-list li {
  font-size: 18px;
  color: #555;
  margin-bottom: 8px;
  padding-left: 18px;
  position: relative;
  line-height: 34px;
}
.voice-list li::before {
  content: "◆";
  position: absolute;
  left: 0;
  color: #db1a1a;
  font-size: 16px;
  top: 0px;
}
/* 悦读空间模块 */
.reading-space {
  padding: 40px 0;
  background: url("../img/bg2.png") top center no-repeat;
  height: 812px;
}
.book-tabs {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-bottom: 40px;
  padding: 20px;
}
.mbook {
  margin: 70px auto 40px;
  width: 188px;
}
.book-tab {
  padding: 8px 56px;
  background-color: #feda9b;
  border-radius: 20px;
  font-size: 18px;
  color: #885224;
  cursor: pointer;
  transition: all 0.3s;
}
.book-tab.active {
  background-color: #a21f2c;
  color: #fff;
}
.book-list {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}
.book-item {
  width: 236px;
  text-align: center;
  display: none; /* 默认隐藏 */
}
.book-item.show {
  display: block; /* 显示当前分类 */
}
.book-img {
  height: 258px;
  object-fit: cover;
  margin-bottom: 10px;
  border-radius: 4px;
  }
.reading-guide {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
}
.guide-text {
  font-size: 16px;
  color: #171717;
  background: url(../img/pic22.jpg.png) left top no-repeat;
  height: 78px;
  width: 807px;
  line-height: 78px;
  padding-left: 206px;
}
.guide-btn {
  font-size: 14px;
}
/* 活动矩阵模块 */
.activity-matrix {
  padding: 40px 0;
}
.matrix-wrap {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.matrix-item {
  flex: 1;
  min-width: 300px;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  
  border: 1px solid #e3e3e3;
}
.matrix-item h3 {
  align-items: center;
  display: flex; /* 开启弹性布局 */
  justify-content: center; /* 水平居中 */
  align-items: center; /* 垂直居中 */
  margin-top: -32px;
  text-align: center;
}
.matrix-item ul {
  list-style: none;
}
.matrix-item li {
  font-size: 16px;
  color: #555;
  margin-bottom: 8px;
  padding-left: 15px;
  position: relative;
  margin-top: 12px;
  border-bottom: solid 1px #dedede;
  padding-bottom: 12px;
}
.matrix-item li::before {
  content: "●";
  position: absolute;
  left: 0;
  color: #f0b720;
  font-size: 12px;
  top: 6px;
}
/* 成果掠影模块 */
.achievement {
  background: url("../img/20171108025935493.jpg") top center no-repeat;
  width: 100%;
  height: 809px;
  position: relative;
}
.achievement-img {
  max-width: 800px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
}
/* 页脚样式 */
.footer {
  background: url("../img/ft-bg.jpg") top center no-repeat;
  height: 161px;
  color: #fff;
  text-align: center;
  font-size: 22px;
  line-height: 160px;
}
/* 响应式适配 */
@media (max-width: 768px) {
  .banner-title {
    font-size: 32px;
  }
  .banner-logo {
    position: static;
    margin: 0 auto 20px;
  }
  .voice-wrap {
    flex-direction: column;
  }
  .voice-img, .voice-list {
    flex: 100%;
  }
  .matrix-wrap {
    flex-direction: column;
  }
  .book-item {
    width: 120px;
  }
  .book-img {
    height: 160px;
  }
}
.header-banner {
  background: url("../img/banner.jpg") top center no-repeat;
background-size: 100% auto; 

  height: 1136px;
}
/* ====================== 领航之声轮播 增强样式 ====================== */
/* 轮播容器相对定位 */
#leaderCarousel {
  position: relative;
}
/* 左右箭头 */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: rgba(255, 113, 66, 0.99);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  font-size: 22px;
  transition: background 0.3s;
line-height: 22px;
}
.carousel-arrow:hover {
  background: rgba(0, 0, 0, 0.6);
}
.arrow-left {
  left: 10px;
}
.arrow-right {
  right: 10px;
}
.carousel-caption {
  bottom: 0px;
  position: sticky;
  width: 100%;
  left: 50%;
  margin-top: -60px;
  padding: 12px 15px;
  background: rgba(0, 0, 0, 0.4) !important; /* 加深并强制生效 */
  color: #fff;
  font-size: 18px;
  text-align: center;
  z-index: 100;
  box-sizing: border-box;
}
.carousel-item img {
  border-radius: 10px;
}
.brief {
  color: #616161;
  font: 14px / 25px "microsoft yahei";
  height: 62px;
  margin-bottom: 10px;
  overflow: hidden;
  text-indent: 2em;
  border-bottom: solid 1px #dedede;
}
.brief a {
  color: brown;
}
/* 成果掠影 - 三张同时显示 + 中间大两边小 + 无限循环轮播 */
.achievement-img {
  max-width: 1100px;
  position: relative;
  padding-top: 143px;
}
#achievementCarousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}
#achievementCarousel .carousel-inner {
  display: flex;
  align-items: center;
  transition: transform 0.6s ease;
  gap: 12px;
}
#achievementCarousel .carousel-item {
  flex: 0 0 15%;
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
  transition: none !important; /* 去掉缩放动画 */

}
#achievementCarousel .carousel-item.active {
  flex: 0 0 70%;
  height: 560px;
}
#achievementCarousel .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* 箭头 */
.achv-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  background: #ff7a45;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  z-index: 99;
}
.achv-arrow:hover {
  background: #ff6620;
}
.achv-left {
  left: 10px;
}
.achv-right {
  right: 10px;
}

