.main-box {
  padding-bottom: 100px;
  background-color: #fff;
  min-width: 1920px;
  position: relative;
  font-family: 宋体, 微软雅黑, "Microsoft YaHei";
}
.header-img {
  position: relative;
  z-index: 1;
}
.header-img img {
  width: 100%;
}
.content-box {
  position: relative;
  z-index: 2;
}
.footer-img {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 600px;
  z-index: 0;
}
.footer-img img {
  width: 100%;
  height: 100%;
}
.dfw {
  width: 1200px;
  margin: 0 auto;
}

/* ============================== 样式分割线 ========================== */

/* 轮播图区域样式 */
.carousel-section {
  width: 1200px;
  margin: 40px auto 0;
  padding: 30px 0;
}

.carousel-container {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.carousel-left {
  flex: 0 0 648px;
}

.carousel-wrapper {
  position: relative;
  width: 648px;
  height: 430px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.carousel-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  position: relative;
}

.carousel-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30px;
  background: rgba(0, 0, 0, 0.6);
  color: rgba(255, 255, 255, 0.6);
  padding: 0 20px;
  display: flex;
  align-items: center;
}

.carousel-caption h3 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 60%;
  margin: 0;
  font-size: 12px;
  font-weight: normal;
  line-height: 1.2;
}

.carousel-indicators {
  position: absolute;
  bottom: 8px;
  right: 20px;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.indicator {
  width: 15px;
  height: 15px;
  border: none;
  background: #999;
  cursor: pointer;
  transition: background 0.3s ease;
  color: #fff;
}

.indicator.active {
  background: #ff8800;
}

/* 轮播图右侧稿件列表样式 */
.carousel-right {
  flex: 1;
  min-height: 430px;
}

.article-list-container {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  height: 100%;
}

.article-item {
}

.article-item:last-child {
  border-bottom: none;
}

/* 第一条特殊样式 */
.first-article {
  border-bottom: 1px dashed #e0e0e0;
  padding-bottom: 10px;
  padding-top: 10px;
}

.first-article-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.first-article-title h3 {
  margin: 0;
  font-size: 18px;
  font-weight: bold;
  color: #333;
  line-height: 1.4;
}

.first-article-link h3 {
  color: #0a9c78;
}

.first-article-link:hover h3 {
  text-decoration: underline;
}

.first-article-details {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 15px;
}

.first-article-text {
  margin: 0;
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  flex: 1;
  text-indent: 2em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100px;
}

.first-article-detail-link {
  color: #0051a4;
  text-decoration: none;
  font-size: 12px;
  font-weight: bold;
  white-space: nowrap;
}

.first-article-detail-link:hover {
  text-decoration: underline;
}

/* 后续稿件列表项样式 */
.article-item-content {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 30px;
  margin-bottom: 8px;
}

.article-item-left {
  flex: 0 0 auto;
}

.article-item-icon {
  object-fit: contain;
}

.article-item-right {
  flex: 1;
  height: 30px;
  line-height: 30px;
  display: flex;
  align-items: center;
}

.article-item-link {
  color: #147;
  font-size: 16px;
  text-decoration: none;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  display: block;
}

.article-item-link:hover {
  color: #c00;
  text-decoration: underline;
}

/* 兵支书区域样式 */
.bingzhishu-section {
  width: 1200px;
  margin: 0 auto;
  padding: 30px 0;
}

.bingzhishu-container {
  width: 1000px;
  margin: 0 auto;
  display: flex;
  gap: 30px;
}
.bingzhishu-img {
  display: block;
  margin-bottom: 30px;
}
.bingzhishu-left {
  flex: 0 0 auto;
  display: flex;
  gap: 20px;
}

.bingzhishu-image-item {
  overflow: hidden;
}

.bingzhishu-image-link {
  text-decoration: none;
  display: block;
}

.bingzhishu-image-wrapper {
  position: relative;
  width: 285px;
  height: 210px;
}

.bingzhishu-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.bingzhishu-image-link:hover .bingzhishu-image {
  transform: scale(1.05);
}

.bingzhishu-image-title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30px;
  background-color: #525252;
  color: #fff;
  font-size: 14px;
  text-align: center;
  line-height: 30px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bingzhishu-right {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-template-rows: repeat(auto-fill, 45px);
}

.bingzhishu-item {
  height: 45px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.bingzhishu-item-icon {
  flex: 0 0 auto;
}

.bingzhishu-icon {
  width: 6px;
  height: 11px;
  display: block;
}

.bingzhishu-item-title {
  flex: 1;
  overflow: hidden;
}

.bingzhishu-item-link {
  color: #333;
  text-decoration: none;
  font-size: 16px;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bingzhishu-item-link:hover {
  text-decoration: underline;
}

/* 奋进新征程区域样式 */
.new-journey-section {
  margin-top: 40px;
}

/* 标题图片样式 */
.new-journey-title-img {
  margin-bottom: 30px;
  text-align: center;
}

.new-journey-title-image {
  max-width: 100%;
  height: auto;
}

/* 稿件列表样式 - Grid布局 */
.new-journey-list {
  width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* 稿件项样式 */
.new-journey-item {
  width: 485px;
  height: 270px;
  background-color: #e6e6e8;
  padding: 15px;
  box-sizing: border-box;
  overflow: hidden;
}

/* 内容容器样式 */
.new-journey-item-content-wrapper {
  width: 100%;
}

/* 图片样式 - 浮动实现文字环绕 */
.new-journey-item-image {
  width: 250px;
  height: 150px;
  float: left;
  margin-right: 15px;
  margin-bottom: 10px;
}

/* 标题样式 */
.new-journey-item-title {
  margin: 0;
  margin-bottom: 10px;
}

.new-journey-item-title a {
  color: #1d1d1d;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
}

/* 详细内容样式 */
.new-journey-item-content {
  color: #000000;
  font-size: 14px;
  line-height: 1.6;
  text-align: justify;
}

.new-journey-item-content a {
  color: #c13b14;
  text-decoration: none;
  margin-left: 5px;
}

.new-journey-item-content a:hover {
  text-decoration: underline;
}

/* ============================== 轮播图2样式 ========================== */

/* 轮播图2区域样式 */
.carousel2-section {
  margin-top: 40px;
}

/* 轮播图2容器样式 */
.carousel2-wrapper {
  position: relative;
  width: 1024px;
  margin: 0 auto;
}

/* 轮播图2幻灯片容器 */
.carousel2-slides {
  position: relative;
  width: 100%;
}

/* 轮播图2幻灯片项 */
.carousel2-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.carousel2-slide.active {
  opacity: 1;
  position: relative;
}

/* 轮播图2图片样式 */
.carousel2-image {
  width: 1024px;
  height: auto;
  display: block;
}

/* 轮播图2指示器样式 */
.carousel2-indicators {
  position: absolute;
  bottom: 10px;
  right: 10px;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.carousel2-indicator {
  width: 15px;
  height: 15px;
  border: none;
  background: #999;
  cursor: pointer;
  transition: background 0.3s ease;
  color: #fff;
}

.carousel2-indicator.active {
  background: #ff8800;
}
