body {
  background: #f6f9fc;
}

/* 行业动态页面顶部横幅样式 */
.industry-trends-header {
  position: relative;
  width: 100%;
  height: 400px;
  background: url(../images/Industrytrendsheaderbg.png) no-repeat center center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #ffffff;
  padding-top: 21px !important;
  margin-bottom: 0;
}

.layout-footer {
  margin-top: 119px;
}

.layout-header-container {
  background-color: #2f65c4;
}

.news-list-section {
  margin-top: 50px;
}

.news-list-title {
  display: flex !important;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 20px;
}

.news-list-title h3 {
  font-family: Alibaba PuHuiTi 2;
  font-weight: normal;
  font-size: 30px !important;
  color: #100f0f;
  margin-bottom: 0 !important;
}

.news-list-title a {
  font-family: Alibaba PuHuiTi 2;
  font-weight: normal;
  font-size: 16px !important;
  color: #505765;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.center-dynamic-title a {
  font-family: Alibaba PuHuiTi 2;
  font-weight: normal;
  font-size: 16px !important;
  color: #505765;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.center-dynamic-title .more-img {
  margin-left: 10px !important;
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.news-list-title .more-img {
  margin-left: 10px !important;
  width: 18px;
  height: 18px;
  object-fit: contain;
}

/* 1920分辨率响应式设计 */
@media (min-width: 1900px) {
  .industry-wrap {
    padding: 0 360px 0;
  }
}

.header-breadcrumb {
  font-size: 14px;
  opacity: 0.9;
}

.header-breadcrumb a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.header-breadcrumb a:hover {
  color: #ffefd0;
}

.breadcrumb-separator {
  margin: 0 8px;
  opacity: 0.7;
}

.header-title {
  text-align: center;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.header-title h1 {
  font-family: YouSheBiaoTiHei;
  font-weight: 400;
  font-size: 80px;
  color: #ffffff;
  background: linear-gradient(0deg, #ffefd0 0%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 新闻列表模块样式 */
.news-list-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 21px;
}

.news-card {
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  padding: 25px 20px;
  background: #ffffff;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  display: block;
}

.news-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.news-category {
  width: 80px;
  height: 30px;
  background: #e94141;
  font-family: Alibaba PuHuiTi 2;
  font-weight: normal;
  font-size: 14px;
  color: #ffffff;
  line-height: 28px;
  text-align: center;
}

.news-title {
  font-size: 16px;
  font-weight: 600;
  color: #333333;
  line-height: 1.4;
  margin: 14px 0 16px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: Alibaba PuHuiTi 2;
  font-weight: normal;
  font-size: 18px;
  color: #333333;
  line-height: 27px;
  height: 54px;
}

.news-image-wrapper {
  width: 100%;
  height: 206px;
  overflow: hidden;
  margin-bottom: 16px;
  border-radius: 6px;
}

.news-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-card:hover .news-image {
  transform: scale(1.05);
}

.news-excerpt {
  margin-bottom: 16px;
  height: 206px;
  background: #fbfbfb;
  border: 1px solid #f3f3f3;
  padding: 24px;
}

.news-excerpt p {
  font-size: 14px;
  color: #666666;
  line-height: 1.6;
  margin: 0;
  font-family: Alibaba PuHuiTi 2;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-list-official .news-official {
  margin-bottom: 16px;
  height: 206px;
  background: #fbfbfb;
  border: 1px solid #f3f3f3;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.news-list-official .news-official .news-official-title-container {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.news-list-official .news-official-title-container .line {
  width: 100%;
  height: 3px;
  background: #e00205;
}

.news-list-official .news-official-title-container .line1 {
  width: 100%;
  height: 1px;
  background: #e00205;
  margin-top: 1px;
}

.news-list-official .news-official .news-official-biaohao {
  font-family: Source Han Serif CN;
  font-weight: bold;
  font-size: 12px;
  color: #736a69;
  line-height: 28px;
  margin-bottom: 0;
  margin-top: 17px;
  margin-left: auto;
}

.news-list-official .news-official .news-official-title {
  font-family: Source Han Serif CN;
  font-weight: bold;
  font-size: 24px;
  color: #e00205;
  line-height: 28px;
  margin-bottom: 15px;
}

.news-date {
  font-family: Alibaba PuHuiTi 2;
  font-weight: normal;
  font-size: 14px;
  color: #737373;
  line-height: 28px;
}

.news-list-official .news-category {
  background-color: #3b74e7;
}

/* 响应式设计 */
/* 大屏幕 1440px-1919px */
@media (min-width: 1440px) and (max-width: 1880px) {
  .industry-wrap {
    padding: 0 200px 0;
  }
}

/* 中等屏幕 1200px-1439px */
@media (min-width: 1200px) and (max-width: 1439px) {
  .industry-wrap {
    padding: 0 100px 0;
  }
}

/* 平板 768px-1199px */
@media (min-width: 768px) and (max-width: 1199px) {
  .industry-wrap {
    padding: 0 40px 0;
  }

  .header-title h1 {
    font-size: 40px;
  }

  .news-list-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

/* 手机 480px-767px */
@media (min-width: 480px) and (max-width: 767px) {
  .industry-wrap {
    padding: 0 20px 0;
  }

  .header-title h1 {
    font-size: 32px;
  }

  .news-list-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .news-image-wrapper {
    height: 180px;
  }
}

/* 小手机 320px-479px */
@media (max-width: 479px) {
  .industry-wrap {
    padding: 0 15px 0;
  }

  .header-title h1 {
    font-size: 28px;
  }

  .news-list-container {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .news-image-wrapper {
    height: 160px;
  }

  .news-title {
    font-size: 14px;
  }

  .news-excerpt p {
    font-size: 13px;
    -webkit-line-clamp: 3;
  }
}

/* 中心动态模块样式 */
.center-dynamic-section {
  margin-top: 50px;
}

.center-dynamic-title {
  display: flex !important;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 20px;
}

.center-dynamic-title h3 {
  font-family: Alibaba PuHuiTi2;
  font-weight: normal;
  font-size: 30px !important;
  color: #100f0f;
  margin-bottom: 0 !important;
}

.center-dynamic-content {
  display: flex;
  gap: 30px;
  align-items: stretch;
  height: 445px;
  /* 设置明确的高度 */
}

/* Swiper轮播图样式 */
.swiper-container {
  flex: 1;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.swiper-slide {
  position: relative;
}

.swiper-slide-content {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.swiper-image-wrapper {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.swiper-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.swiper-slide:hover .swiper-image {
  transform: scale(1.05);
}

.swiper-navigation {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  pointer-events: none;
}

.swiper-button-prev,
.swiper-button-next {
  width: 40px !important;
  height: 40px !important;
  background: #3b74e7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: all;
  transition: all 0.3s ease;
  border: none;
  font-size: 18px;
  color: #333;
  background-image: url(../images/right.png);
  background-size: 20px 20px;
  background-repeat: no-repeat;
  background-position: center;
}

.swiper-button-disabled {
  background-color: rgba(0, 0, 0, 0.1);
}

.swiper-button-prev {
  transform: rotate(180deg);
}

.swiper-button-prev::before {
  content: "";
}

.swiper-button-next::before {
  content: "";
}

.swiper-button-next:after,
.swiper-rtl .swiper-button-prev:after {
  content: "" !important;
}

.swiper-button-prev:after,
.swiper-rtl .swiper-button-next:after {
  content: "" !important;
}

.swiper-caption {
  background: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 0 0 8px 8px;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.swiper-caption h4 {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
  margin: 0;
  font-family: Alibaba PuHuiTi2;
  font-weight: normal;
  font-size: 18px;
  color: #ffffff;
}

/* 右侧新闻列表样式 */
.news-sidebar {
  width: 350px;
  height: 100%;
  background: #ffffff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.news-sidebar-item {
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

.news-sidebar-item:last-child {
  border-bottom: none;
}

.news-sidebar-item.featured {
  background: #f8f9fa;
  margin: -20px -20px 0 -20px;
  padding: 20px;
  border-radius: 8px 8px 0 0;
}

.news-sidebar .news-link {
  text-decoration: none;
  color: inherit;
  display: block;
  padding: 0;
  height: auto !important;
  background-color: transparent !important;
  margin-bottom: 0;
}

.news-sidebar .news-link:hover {
  background: transparent !important;
  box-shadow: inherit !important;
}

.news-sidebar .news-link:hover .news-sidebar-title {
  color: #7491f6;
  font-weight: 600;
}

.news-sidebar-title {
  font-family: Alibaba PuHuiTi 2;
  font-size: 16px;
  font-weight: 400;
  color: #333333;
  line-height: 1.4;
  margin: 0 0 0 0;
  transition: color 0.15s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  will-change: color;
}

.news-sidebar-item.featured .news-sidebar-title {
  font-size: 18px;
  color: #7491f6;
  margin: 0 0 0 0;
}

.news-sidebar-excerpt {
  font-family: Alibaba PuHuiTi2;
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0;
  max-height: 0;
  transition: opacity 0.2s ease, max-height 0.2s ease;
  will-change: opacity, max-height;
  font-family: Alibaba PuHuiTi 2;
  font-weight: normal;
  font-size: 14px;
  color: #999999;
  margin-top: 19px;
  display: none;
}

/* 只有第一个新闻项（featured）的摘要默认显示 */
.news-sidebar-item.featured .news-sidebar-excerpt {
  opacity: 1;
  max-height: 100px;
  min-height: 70px;
  display: -webkit-box;
}

/* hover时显示对应新闻项的摘要 */
.news-sidebar-item:hover .news-sidebar-excerpt {
  opacity: 1;
  min-height: 70px;
  max-height: 100px;
}

/* 使用CSS类控制hover效果，提高性能 */
.news-sidebar.hovering .news-sidebar-item.featured .news-sidebar-title {
  color: inherit;
}

.news-sidebar-item.active .news-sidebar-title {
  color: #7491f6 !important;
  font-weight: 400 !important;
}

.news-sidebar-item.active .news-sidebar-excerpt {
  opacity: 1;
  min-height: 70px;
  max-height: 100px;
}

/* 当有hover时，隐藏所有非激活项的摘要 */
.news-sidebar.hovering .news-sidebar-excerpt {
  opacity: 0;
  max-height: 0;
  display: none;
}

/* 激活项的摘要始终显示 */
.news-sidebar.hovering .news-sidebar-item.active .news-sidebar-excerpt {
  opacity: 1;
  max-height: 100px;
  display: -webkit-box;
}

/* 响应式设计 - 中心动态模块 */
@media (max-width: 1199px) {
  .center-dynamic-content {
    flex-direction: column;
    gap: 20px;
    height: auto;
    /* 在小屏幕上使用自动高度 */
  }
  .core-solution-content{
    width: calc(100% - 40px); 
  }

  .news-sidebar {
    width: 100%;
    height: auto;
    /* 在小屏幕上使用自动高度 */
  }

  .swiper-container {
    height: 300px;
  }
}

@media (max-width: 767px) {
  .industry-trends-header {
    display: none;
  }
  .core-solution-content{
    width: calc(100% - 30px); 
  }

 
  .center-dynamic-section{
    margin-top: 20px;
  }
  .swiper-container {
    height: 250px;
  }

  .swiper-caption h4 {
    font-size: 16px;
  }

  .news-sidebar-title {
    font-size: 14px;
  }

  .news-sidebar-item.featured .news-sidebar-title {
    font-size: 16px;
  }
}