/* 全局重置与基础规范 */
html,
body {
  margin: 0;
  padding: 0;
}

html {
  font-family:
    "PingFang SC", "Lantinghei SC", "Microsoft YaHei", "微软雅黑",
    "Segoe UI", "Roboto", "Helvetica Neue", Helvetica, Arial, "宋体", sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  min-width: 1280px;
  background: #ffffff;
  color: #1a1f24;
  font: 16px/1.5 "PingFang SC", "Lantinghei SC", "Microsoft YaHei", Helvetica, Arial, sans-serif;
  overflow-x: hidden;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

img {
  border: 0;
  vertical-align: middle;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: #1a1f24;
  text-decoration: none;
  transition: color 0.2s ease;
}

a,
a:hover,
a:focus,
a:active,
a:visited {
  outline: 0 !important;
  border: 0;
  box-shadow: none !important;
  text-decoration: none;
}

a img {
  border: 0;
  outline: 0;
}

/* 布局公共容器 */
.wrap {
  width: 1280px;
  margin: 0 auto;
}

.clear::before,
.clear::after {
  display: table;
  content: "";
}

.clear::after {
  clear: both;
}

/* 动效与微交互 */
.img-hover {
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.img-hover:hover {
  opacity: 0.92;
}

/* 多行文本截断 */
.clamp-2,
.clamp-2 a {
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.clamp-3,
.clamp-3 a {
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

/* 列表圆点规范 */
.dot-list li {
  position: relative;
  overflow: hidden;
  padding-left: 40px;
  border-bottom: 1px dashed #f3debe;
}

.dot-list li::before {
  position: absolute;
  top: 50%;
  left: 20px;
  width: 5px;
  height: 5px;
  margin-top: -2px;
  overflow: hidden;
  background: #df281b;
  border-radius: 50%;
  content: "";
}

/* ==========================================================================
   1. 顶部主视觉 Hero Banner
   ========================================================================== */
.hero {
  width: 100%;
  overflow: hidden;
  background: #8b0000;
}

.hero-desktop {
  position: relative;
  left: 50%;
  width: 2000px;
  margin-left: -1000px;
}

.hero-desktop img {
  display: block;
  width: 2000px;
  max-width: none;
}

/* ==========================================================================
   2. 首屏焦点图与头条新闻区
   ========================================================================== */
.lead-section {
  width: 100%;
  padding: 58px 0 0;
  overflow: hidden;
  background-color: #ffffff;
  background-image: linear-gradient(180deg, #fffade 0%, rgba(255, 255, 255, 0) 46%);
}

/* 焦点轮播容器 */
.focus-slider {
  float: left;
  width: 734px;
  height: 413px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border-radius: 2px;
}

.focus-slider .swiper-container {
  width: 734px;
  height: 413px;
  position: relative;
  overflow: hidden;
}

.focus-slider .swiper-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.focus-slider .swiper-slide {
  width: 734px;
  height: 413px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.focus-slider .swiper-slide>a,
.focus-slider .swiper-slide>a img {
  display: block;
  width: 734px;
  height: 413px;
  object-fit: cover;
}

.focus-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 58px;
  padding: 24px 20px 0;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.85) 100%);
  z-index: 5;
}

.focus-caption a {
  display: block;
  overflow: hidden;
  color: #ffffff;
  font-size: 18px;
  line-height: 28px;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.focus-slider .swiper-pagination {
  position: absolute;
  right: 14px;
  bottom: 12px;
  left: auto;
  width: auto;
  z-index: 10;
  display: flex;
  gap: 6px;
  align-items: center;
}

.focus-slider .swiper-pagination-bullet {
  display: inline-block;
  width: 9px;
  height: 9px;
  background: #ffffff;
  opacity: 0.7;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.focus-slider .swiper-pagination-bullet-active {
  background: #d74339;
  opacity: 1;
  width: 22px;
  border-radius: 5px;
}

/* 头条右侧新闻列表 */
.lead-news {
  float: left;
  width: 517px;
  margin-left: 29px;
}

.lead-news li {
  display: flex;
  height: 69px;
  align-items: center;
  border-bottom: 1px dashed #f3debe;
  padding: 0 12px;
  transition: background-color 0.25s ease, padding-left 0.25s ease;
}

.lead-news li:first-child {
  border-top: 1px dashed #f3debe;
}

.lead-news li a,
.lead-news li span {
  color: #1a1f24;
  font-size: 18px;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  width: 100%;
}

.lead-news li:hover {
  background: #f8edcf;
  padding-left: 18px;
}

.lead-news li:hover a {
  color: #cf2015;
}

/* ==========================================================================
   3. 公共栏目标题栏样式 (带物理粗体字重 + title_bg左右重复背景)
   ========================================================================== */
.section-heading {
  width: 100%;
  height: 95px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 35px;
  background-image: url("../images/title_bg.png");
  background-repeat: repeat-x;
  background-position: left center;
  background-size: auto 95px;
  box-sizing: border-box;
}

.section-heading-text {
  font-family: "FZXBSJW", "方正小标宋_GBK", "FZXiaoBiaoSong-B05S", "STZhongsong", "华文中宋", "Source Han Serif CN", "Songti SC", "SimSun", serif;
  font-weight: 700;
  font-size: 34px;
  line-height: 1.25;
  letter-spacing: 2px;
  padding: 4px 0;
  color: #c55007;
  background: linear-gradient(180deg, #f58844 0%, #c55007 45%, #a83d00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  transform: translateY(8px);
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s ease, filter 0.2s ease;
  user-select: none;
}

.section-heading-text:hover {
  opacity: 0.9;
  filter: brightness(1.1);
  text-decoration: none;
}

/* ==========================================================================
   4. 栏目一：走好新时代长征路
   ========================================================================== */
.journal-section {
  position: relative;
  width: 100%;
  background-color: #ffffff;
  background-image: url("../images/05_dkzs_bg.webp");
  background-position: top center;
  background-repeat: no-repeat;
  background-size: 2000px auto;
  overflow: visible;
}

.journal-section .wrap {
  padding-top: 80px;
}

.journal-content {
  position: relative;
  z-index: 1;
}

.journal-grid {
  width: 1280px;
  margin-top: 20px;
}

.journal-feature-row {
  width: 1280px;
  overflow: hidden;
}

.journal-feature {
  display: flex;
  float: left;
  width: 626px;
  height: 150px;
  padding: 10px 0 14px;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px dashed #f3debe;
}

.journal-feature:nth-child(2n) {
  margin-left: 28px;
}

.journal-feature-pic {
  display: block;
  flex: 0 0 225px;
  width: 225px;
  height: 126px;
  overflow: hidden;
  border-radius: 2px;
}

.journal-feature-pic img {
  display: block;
  width: 225px;
  height: 126px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.journal-feature:hover .journal-feature-pic img {
  transform: scale(1.04);
}

.journal-feature-title {
  width: 373px;
  margin-left: 28px;
  overflow: hidden;
  font-size: 20px;
  line-height: 1.45;
}

.journal-feature-title a:hover {
  color: #cf2015;
}

/* ==========================================================================
   5. 栏目二 & 三：长征故事 / 理论研究
   ========================================================================== */
.spirit-theory-section {
  padding: 78px 0 72px;
  background: #ffffff;
}

.panel {
  float: left;
  width: 626px;
  overflow: hidden;
}

.panel-right {
  float: right;
}

.panel-list {
  padding-top: 8px;
}

.panel-list li {
  display: flex;
  height: 68px;
  align-items: center;
  border-bottom: 1px dashed #f3debe;
  transition: background-color 0.2s ease;
}

.panel-list li a,
.panel-list li span {
  width: 100%;
  font-size: 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.panel-list li:hover a {
  color: #cf2015;
}

/* ==========================================================================
   6. 栏目四：媒体视频
   ========================================================================== */
.media-section {
  width: 100%;
  padding-bottom: 60px;
  overflow: hidden;
  background: #ffffff;
}

.media-cards {
  width: 1280px;
  margin-top: 16px;
}

.media-card {
  float: left;
  width: 408px;
  height: 322px;
  margin-right: 28px;
  overflow: hidden;
  background: #fff6df;
  border-radius: 3px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.media-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.media-card-last {
  margin-right: 0;
}

.media-card-pic,
.media-card-pic img {
  display: block;
  width: 408px;
  height: 230px;
}

.media-card-pic img {
  object-fit: cover;
}

.media-card-title {
  min-height: 92px;
  padding: 16px 24px;
  overflow: hidden;
  font-size: 20px;
  line-height: 1.25;
}

.media-card-title a:hover {
  color: #cf2015;
}

/* ==========================================================================
   7. 悬浮辅助组件 (返回顶部)
   ========================================================================== */
.backtop {
  position: fixed;
  right: 32px;
  bottom: 40px;
  z-index: 99;
  width: 48px;
  height: 48px;
  background: #d92317;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(217, 35, 23, 0.4);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease;
}

.backtop.show {
  opacity: 1;
  visibility: visible;
}

.backtop:hover {
  transform: translateY(-4px);
  background: #b51a10;
  box-shadow: 0 6px 18px rgba(217, 35, 23, 0.55);
}

.backtop svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}