/* 新增的两个并行模块样式 */
.content-modules {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  padding-right: 120px;
  background: #fff;
  margin: 0 auto;
  /* max-width: 1600px; */
  width: 76%;
  box-sizing: border-box;
  gap: 20px;
  align-items: flex-start;
}

@media screen and (max-width: 1199px) {
  .content-modules {
    width: 1040px;
  }
}

/* 左侧轮播图样式 */
.carousel-module {
  width: 50%;
  position: relative;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.carousel-wrapper {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-slide {
  flex: 0 0 100%;
  display: none;
  position: relative;
}

.carousel-slide.active {
  display: block;
}

.carousel-slide img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.carousel-description {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(242, 242, 242, 0.9);
  color: #333;
  padding: 15px;
  text-align: center;
  z-index: 1;
}

.carousel-description p {
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
}

.carousel-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
  box-sizing: border-box;
  pointer-events: none;
}

.carousel-controls button {
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  pointer-events: auto;
}

.carousel-controls button:hover {
  background: rgba(0, 0, 0, 0.7);
  transform: scale(1.1);
}

.carousel-indicators {
  position: absolute;
  bottom: 60px;
  bottom: 20px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.carousel-indicators .indicator {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s;
}

.carousel-indicators .indicator.active {
  background: white;
}

/* 右侧新闻列表样式 */
.news-module {
  width: 50%;
  background: #f8f8f8;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  height: 400px;
  display: flex;
  flex-direction: column;
}

.news-tabs {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.tab-buttons {
  display: flex;
  background: #f5f5f5;
  border-radius: 8px 8px 0 0;
  padding: 0;
  flex-shrink: 0;
}

.tab-btn {
  flex: 1;
  padding: 15px 20px;
  border: none;
  background: #5BC0F8;
  cursor: pointer;
  font-size: 16px;
  color: #fff;
  position: relative;
  transition: all 0.3s;
  text-align: center;
  border-right: 1px solid rgba(51, 51, 51, 0.3);
}

.tab-btn:last-child {
  border-right: none;
}

.tab-btn:hover {
  background: #4682B4;
  color: #fff;
}

.tab-btn.active {
  background: #004597;
  color: #fff;
  font-weight: bold;
  border-right: none;
}

.tab-btn.active + .tab-btn {
  border-left: none;
}

.tab-btn:first-child {
  border-top-left-radius: 8px;
}

.tab-btn:last-child {
  border-top-right-radius: 8px;
}

.tab-content {
  flex: 1;
  overflow-y: auto;
  height: calc(100% - 50px);
}

.tab-pane {
  display: none;
  padding: 20px 20px;
  height: 100%;
  box-sizing: border-box;
}

.tab-pane.active {
  display: block;
}

/* 右侧 */


.news-list {
  padding: 2px 0;
  position: relative;
  min-height: 200px;
  padding-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.news-item {
  margin-bottom: 0;
  display: flex;
  align-items: center;
  height: 22px;
  padding-left: 15px;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.news-item a {
  color: #333;
  text-decoration: none;
  font-size: 13px;
  line-height: 22px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  position: relative;
}

.news-item a {
  color: #333;
  text-decoration: none;
  flex: 1;
  margin-right: 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.3s;
}

.news-item:hover a {
  color: #004597;
}

.newslist-item {
  margin-bottom: 0;
  display: flex;
  align-items: center;
  padding: 0;
  height: 22px;
  padding-left: 15px;
}

.newslist-item a {
  color: #333;
  text-decoration: none;
  font-size: 15px;
  line-height: 22px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  position: relative;
}

.news .newslist-item a  {
  padding-left: 25px;
}

.news .newslist-item a:before {
  content: "•";
  position: absolute;
  left: 8px;
  top: 0;
  line-height: 22px;
  color: #666;
  font-size: 12px;
}

.newslist-item a:hover {
  color: #1e50a2;
}

.news-item a:hover {
  color: #1e50a2;
}

.more-content-btn {
  position: absolute;
  bottom: -10px;
  right: 20px;
  padding: 0 8px;
  background: transparent;
  border: none;
  background-color: rgba(242, 242, 242, 0.9);
  color: #666;
  font-size: 12px;
  cursor: pointer;
  text-decoration: none;
}

.more-content-btn:hover {
  color: #1e50a2;
}

.more-content-btn::after {
  margin-left: 5px;
}

/* 上面动态新闻 */

.media-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0 80px; 
}

.media-items .news-item {
  flex: 1 1 50%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  white-space: nowrap;
}


.media-list {
  height: 100%;
  overflow-y: auto;
}

.media-list::-webkit-scrollbar {
  width: 6px;
}

.media-list::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.media-list::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 3px;
}

.media-list::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.media-section {
  margin-bottom: 5px;
  padding: 0;
}

.media-section:last-child {
  margin-bottom: 0;
}

.media-title {
  font-size: 20px;
  font-weight: 400;
  font-family: "PingFang SC", "Microsoft YaHei Light", "Helvetica Neue", Arial, sans-serif;
  color: #4682B4;
  margin-bottom: 10px;
  padding: 0 0 10px 0;
  text-align: left;
  margin-left: 32px;
}

.media-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 80px;
  padding: 0;
  max-width: 100%;
  margin: 0;
  padding-left: 32px;
}

.media-items .news-item {
  padding: 12px 0;
  text-align: left;
}

.media-items .news-item a {
  color: #333;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
}

.media-items .news-item a:hover {
  color: #004597;
}

.media-section-title {
  color: #004597;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
  padding: 0 20px;
} 


.industry-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 20px;
  padding: 0;
  max-width: 100%;
  margin: 0;
  padding-left: 32px;
}

