/*解决方案详情页*/
/*详情页头部*/
header.main nav.main .main-container {
  height: 132px;
}

header.main.jjfa nav.main {
  border-bottom: none;
}


header.main nav.main {
  background-color: #F7F7F7;
}

header.main .nav-list {
  text-align: center;
}

header.main.jjfa .content p {
  margin-top: 18px;
  font-weight: 400;
  font-size: 19px;
  color: #272727;
}

header.main .nav-list li {
  height: 75px;
  font-weight: 400;
  font-size: 16px;
  color: #272727;
  margin: 0 20px;
  width: 85px;
}

nav.main ul li:hover {
  border-bottom: 2px solid #DC0014;
}


header.main .main-container.content {
  background-image: url('../../images/educationNew/cpfa-bj1.png');
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 519px;
  padding-top: 126px;

}


header.main .main-container p {
  margin: 18px auto 46px auto;
}



header.main .bottom-btn-list li {
  width: 130px;
}

header.main .bottom-btn-list {
  background-color: rgba(0, 0, 0, 0.1);
position: sticky;
width: 100%;
top: 130px;
}

header.main .content h1 {
  font-size: 48px;
  color: #FFFFFF;
  margin-bottom: 0px;
}

header.main.content-center .main-container p {
  width: 1040px;
  font-size: 23px;
  color: #FFFFFF;
  margin-top: 32px;
  margin-bottom: 54px;
  text-align: center;
  height: 59px;
  line-height: 35px;
}

header .more-button {
  width: 161px;
  height: 58px;
  background: #DC0014;
  font-size: 21px;
  color: #FFFFFF;
  margin-top: 0px;
  margin-bottom: 58px;
}

header.main.content-center {
  height: auto;
}

.nav-content-layout nav .primary-menu>li {
  width: 197px;
}

/*方案内容*/
.article-content strong {
  color: #000000;
  font-weight: bold;
}

/*右侧的内容展示*/

main .case-content-container .primary-container figure {
  position: relative;
  width: 790px;
  margin: 0;
}

main .case-content-container .primary-container figcaption {
  background-color: #e5301f;
  width: 577px;
  height: 357px;
  position: absolute;
  top: 47.5px;
  right: -96px;
}

main .case-content-container .primary-container figcaption .inner-container {
  width: 429px;
}

main .case-content-container .primary-container figcaption h1 {
  text-align: left;
  font-size: 25px;
  color: #ffffff;
  margin: 0;
}

main .case-content-container .primary-container figcaption .underline {
  width: 43px;
  height: 2px;
  background-color: #ffffff;
  margin: 21px 0 27px 0;
}

main .case-content-container .primary-container figcaption p {
  font-size: 15px;
  color: #ffffff;
  line-height: 30px;
}

/*自定义*/

main .red-bg {
  margin-top: 200px;
}

.nav-content-layout .case-content-container {
  padding-left: 65px;
}

.nav-content-layout .case-content-container .primary-container {
  margin: 0;
}


/*解决方案案例*/
.solution-success-case {
  height: 274px;
  width: 100%;
  border: 1px solid #cfcfcf;
}

.solution-success-case .content {
  min-height: 123px;
  justify-content: start;
}

.solution-success-case .split-line {
  height: 113px;
  background-color: #cfcfcf;
  width: 1px;
  margin: 0 49px;
}

.solution-success-case .case-img {
  width: 123px;
  height: 123px;
  margin-left: 60px;
}

.solution-success-case .txt {
  display: flex;
  flex-direction: column;
  width: 537px;
}

.solution-success-case .txt .txt-title {
  font-size: 20px;
  color: #353230;
  font-weight: 400;
}

.solution-success-case .txt .txt-content {
  color: #686868;
  font-size: 15px;
  line-height: 30px;
  margin-top: ;
width: 100%; /* 占满父容器宽度 */
  word-wrap: break-word; /* 自动换行 */
  overflow-wrap: break-word; /* 兼容更多浏览器 */
}

/*成功案例*/
.cgla-pic-container {
  width: 1200px;
  margin-top: 54px;
}

.cgla-pic-item {
  height: 123px;
  width: 123px;
  margin-right: 24px;
}

.cgla-pic-item:first-of-type {
  margin-left: 60px;
}


/* 固定导航栏 */
/* 创建新的粘性上下文 */
header.main {
  position: relative;
}

header.main nav.main {
  position: fixed; /* 改为fixed定位 */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #F7F7F7;
}


/* 为body内容增加上边距，避免被固定导航栏遮挡 */
body {
  padding-top: 132px; /* 等于导航栏的高度 */
}



/* 确保锚点跳转时内容可见 */
#fags, #fanr, #yyjz, #cgal {
  scroll-margin-top: 100px; /* 根据导航栏实际高度调整 */
}

/* 响应式调整 */
@media (max-width: 768px) {
  header.main nav.main {
    position: relative; /* 小屏幕上取消固定 */
  }
  
  #fags, #fanr, #yyjz, #cgal {
    scroll-margin-top: 0;
  }
}