/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family:
    'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', 'Noto Sans SC',
    sans-serif;
  color: #333;
  background: #f7f5f5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-width: 320px;
}

a {
  text-decoration: none;
  color: inherit;
}
ul,
ol {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

/* ===== 顶部工具栏 ===== */
.top-bar {
  background: #f2f1f1;
  font-size: 13px;
  padding: 5px 0;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar-left {
  display: flex;
  gap: 10px;
}
.top-bar-left .welcome {
  color: #e60012;
}
.top-bar-left .action a {
  padding: 0 10px;
  color: #797979;
}
.top-bar-left .action a:not(:first-child) {
  border-left: 1px solid #ccc;
}
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-bar-right .btn-link {
  background: #a42117;
  padding: 0 12px;
  border-radius: 20px;
  font-size: 12px;
  height: 30px;
  display: flex;
  align-items: center;
}

.top-bar-right .btn-link a {
  color: #fff;
  display: flex;
  padding: 0 10px;
}

.top-bar-right a:not(:first-child) {
  position: relative;
}
.top-bar-right a:not(:first-child):before {
  content: '';
  position: absolute;
  top: 50%;
  left: -1px;
  transform: translateY(-50%);
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.6);
}

/* ===== Header & Logo ===== */
.main-header {
  /* background: #fff; */
  background: linear-gradient(to bottom, #fef8ec, #fdf1e3);
}

.header-inner {
  display: flex;
  align-items: center;
  padding: 15px 15px;
  background-image: url('../images/header-bg.png');
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: 78% auto;
}

.logo {
  padding: 40px 0;
}
.logo img {
  max-height: 100px;
}

/* ===== 主导航 ===== */
.main-nav {
  background: #a42117;
  position: relative;
}

.main-nav.sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  justify-content: space-between;
}

.nav-menu li {
  display: block;
}

.nav-menu a {
  display: block;
  padding: 0 16px;
  color: #fff;
  font-size: 18px;
  line-height: 56px;
  transition: all 0.25s;
  white-space: nowrap;
  position: relative;
}

.nav-menu li:hover a,
.nav-menu li.active a {
  background: #c41e2a;
}

.nav-menu a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  right: 20%;
  height: 2px;
  background: #ffd700;
}

/* 二级菜单 */
.nav-menu li.has-submenu {
  position: relative;
}

.nav-menu li.has-submenu > a::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 6px;
  vertical-align: middle;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid rgba(255, 255, 255, 0.7);
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 170px;
  background: #a42117;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  border-radius: 0 0 4px 4px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.25s ease;
  z-index: 200;
}

.submenu li {
  width: 100%;
}

.submenu a {
  display: block;
  padding: 10px 18px;
  font-size: 16px;
  line-height: 1.5;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
  transition: all 0.2s;
}

.submenu li:last-child a {
  border-bottom: none;
}

.submenu a:hover {
  background: #c41e2a;
  color: #fff;
}

.nav-menu li.has-submenu:hover > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-search {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  margin-left: 10px;
}
.nav-search form {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-search input {
  border: none;
  background: transparent;
  color: #333;
  padding: 0 10px;
  font-size: 14px;
  height: 36px;
  line-height: 36px;
  width: 140px;
  outline: none;
}

.nav-search input::placeholder {
  color: rgba(0, 0, 0, 0.3);
}

.search-btn {
  border: none;
  background: rgba(255, 255, 255, 0.2);
  color: #333;
  padding: 6px 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-btn svg {
  width: 16px;
  height: 16px;
}

/* 移动端菜单按钮 */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}
.main-body {
  margin-top: 20px;
}
/* ===== 学习思想库 + Hero ===== */
.hero-section {
  background: #f8f5f5;
  padding: 0 0 20px;
}

.think-tank-bar {
  background: #fbf0e3;
  display: flex;
  align-items: center;
}

.think-tank-title {
  background: #f8e6d1;
  padding: 20px;
  width: 100%;
  max-width: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.think-tank-title img {
  max-width: 250px;
}
.think-tank-list {
  flex: 1;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8%;
}
.think-tank-list li {
  width: 45%;
  overflow: hidden;
}
.think-tank-list li a {
  display: block;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  font-size: 14px;
  line-height: 30px;
  color: #e73f4e;
  padding-left: 15px;
  position: relative;
}
.think-tank-list li a::before {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  content: '';
  display: block;
  width: 2px;
  height: 2px;
  background-color: #e73f4e;
}

.hero-content {
  display: flex;
  gap: 20px;
  margin-top: 15px;
}

/* 左侧轮播 */
.hero-slider {
  flex: 1;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  min-height: 320px;
}

.slider-wrapper {
  position: relative;
  height: 100%;
}

.slider-item {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  transition: opacity 0.5s;
}

.slider-item.active {
  opacity: 1;
}

.slider-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.slider-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
}

.slider-img a {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  height: 100%;
}

.slider-img .image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.slider-caption {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 20px;
}

.slider-caption h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
}

.slider-caption p {
  font-size: 13px;
  opacity: 0.85;
}

.slider-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: 0.3s;
}

.dot.active {
  background: #fff;
}

.slider-prev,
.slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  border: none;
  width: 36px;
  height: 50px;
  cursor: pointer;
  font-size: 18px;
  z-index: 2;
  transition: 0.3s;
}

.slider-prev:hover,
.slider-next:hover {
  background: rgba(0, 0, 0, 0.5);
}

.slider-prev {
  left: 0;
  border-radius: 0 4px 4px 0;
}
.slider-next {
  right: 0;
  border-radius: 4px 0 0 4px;
}

/* 右侧新闻 */
.hero-news {
  flex: 1;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
}

.news-tabs {
  display: flex;
  border-bottom: 1px solid #dedcdc;
  position: relative;
  padding-bottom: 2px;
}

.news-tab-btn {
  padding: 8px 10px 10px 20px;
  cursor: pointer;
  font-size: 16px;
  color: #3d3d3d;
  background: #f8e6d1;
  border: none;
  position: relative;
  margin-right: 10px;
  border-radius: 2px 0 0 0;
  z-index: 0;
}
.news-tab-btn:after {
  content: '';
  display: block;
  position: absolute;
  right: -25px;
  bottom: 0;
  width: 50px;
  height: 100%;
  background-color: #f8e6d1;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  z-index: -1;
}
.news-tab-btn.active {
  background: #a42117;
  color: #fff;
  z-index: 1;
}
.news-tab-btn.active:after {
  background-color: #a42117;
}

.more-link {
  display: none;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: #999;
}

.more-link.active {
  display: block;
}

.more-link:hover {
  color: #c41e2a;
}

.news-tab-content {
  display: none;
  padding: 10px 15px 10px 10px;
}
.news-tab-content.active {
  display: block;
}

.news-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed #eee;
  font-size: 16px;
}

.news-list li:last-child {
  border-bottom: none;
}

.news-list li a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #444;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  flex: 1;
  position: relative;
  padding-left: 10px;
}

.news-list li a:hover {
  color: #c41e2a;
}
.news-list li a::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 2px;
  height: 2px;
  background-color: #6b6a6a;
  border-radius: 50%;
}

.news-date {
  color: #999;
  font-size: 12px;
  flex-shrink: 0;
  margin-left: 10px;
}

/* ===== 专题横幅 ===== */
.banners-row {
  display: flex;
  gap: 20px;
}

.banner-card {
  flex: 1;
  transition: 0.3s;
}
.banner-card img {
  width: 100%;
}

.banner-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.banner-red {
  background: linear-gradient(90deg, #c41e2a 0%, #a01822 100%);
}

.banner-gold {
  background: linear-gradient(90deg, #c4953a 0%, #a07020 100%);
  color: #fff;
}

.banner-icon {
  font-size: 20px;
}

/* ===== 信息内容区 ===== */
.info-section {
  padding: 20px 0;
  background: #f8f5f5;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.info-card {
  /* background: #fff; */
  border-radius: 4px;
  overflow: hidden;
}

.info-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 2px;
  border-bottom: 1px solid #dedcdc;
}

.info-header h3 {
  padding: 8px 10px 10px 20px;
  font-size: 16px;
  font-weight: 500;
  background: #a42117;
  color: #fff;
  border: none;
  position: relative;
  margin-right: 10px;
  border-radius: 2px 0 0 0;
  z-index: 0;
}
.info-header h3::after {
  content: '';
  display: block;
  position: absolute;
  right: -25px;
  bottom: 0;
  width: 50px;
  height: 100%;
  background-color: #a42117;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  z-index: -1;
}

.info-header .more {
  font-size: 14px;
  color: #999;
}

.info-header .more:hover {
  color: #c41e2a;
}

.info-list {
  padding: 10px 15px 10px 10px;
}

.info-list li {
  padding: 8px 0;
  border-bottom: 1px dashed #eee;
  font-size: 16px;
}

.info-list li:last-child {
  border-bottom: none;
}

.info-list li a {
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: #444;
  overflow: hidden;
  /* height: 40px; */
  line-height: 26px;
  text-overflow: ellipsis;
  position: relative;
  padding-left: 10px;
}
.info-list li a::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 0;
  /* transform: translateY(-50%); */
  width: 2px;
  height: 2px;
  background-color: #6b6a6a;
  border-radius: 50%;
}

.info-list li a:hover {
  color: #c41e2a;
}

.list-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ccc;
  flex-shrink: 0;
}

/* 投诉举报卡片 */
.complaint-card {
  border-top: 2px solid #a42117;
  border-left: 1px solid #dedcdc;
  border-right: 1px solid #dedcdc;
  border-bottom: 1px solid #dedcdc;
  background-image: url('../images/complaint-bg.png');
  background-repeat: no-repeat;
  background-size: 80% auto;
  background-position: right bottom;
}
.complaint-card .complaint-header {
  display: flex;
  align-items: center;
  justify-content: center;
}
.complaint-card .complaint-header h3 {
  padding: 20px;
  font-size: 21px;
  font-weight: 700;
  color: #a42117;
  border: none;
  position: relative;
  margin-right: 10px;
  border-radius: 2px 0 0 0;
  z-index: 0;
}
.complaint-card .complaint-body {
  padding: 20px 40px 100px 28px;
}

.complaint-phone {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

.complaint-phone label,
.complaint-item label {
  font-size: 16px;
  color: rgba(122, 121, 121, 1);
  width: 90px;
}

.phone-num {
  font-size: 22px;
  font-weight: 700;
  color: #a42117;
  letter-spacing: 1px;
}

.complaint-item {
  font-size: 16px;
  margin-bottom: 8px;
  line-height: 1.5;
  display: flex;
  align-items: center;
}

.complaint-item span {
  color: rgb(25, 25, 25, 1);
  flex: 1;
}

/* ===== 图片掠影 ===== */
.gallery-section {
  padding: 40px 0;
  background: #f8f4ec;
}

.section-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  gap: 20px;
}

.section-tabs .gallery-tab-btn {
  display: flex;
  align-items: center;
  font-size: 21px;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  background: transparent;
  padding: 0;
  position: relative;
}
.section-tabs .gallery-tab-btn::after {
  position: absolute;
  content: '';
  display: block;
  left: 0;
  right: 0;
  width: 100%;
  bottom: -10px;
  height: 2px;
  background-color: transparent;
  clip-path: none;
}
.section-tabs .gallery-tab-btn.active {
  background-color: transparent;
  position: relative;
  font-weight: 700;
  color: #c41e2a;
}
.section-tabs .gallery-tab-btn.active::after {
  background-color: #c41e2a;
}
.gallery-tab-content {
  display: none;
}
.gallery-tab-content.active {
  display: block;
}
.gallery-slider {
  position: relative;
  overflow: hidden;
}

.gallery-wrapper {
  display: flex;
  gap: 15px;
  will-change: transform;
}

.gallery-item {
  flex: 0 0 calc(20% - 12px);
  min-width: 180px;
}

.gallery-img {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 4px;
  overflow: hidden;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.gallery-caption {
  text-align: center;
  font-size: 16px;
  color: #666;
  margin-top: 8px;
}

.gallery-prev,
.gallery-next {
  position: absolute;
  top: 35%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  border: none;
  width: 32px;
  height: 48px;
  cursor: pointer;
  font-size: 16px;
  z-index: 2;
  transition: 0.3s;
}

.gallery-prev:hover,
.gallery-next:hover {
  background: rgba(0, 0, 0, 0.5);
}

.gallery-prev {
  left: 0;
  border-radius: 0 4px 4px 0;
}
.gallery-next {
  right: 0;
  border-radius: 4px 0 0 4px;
}

/* ===== 底部链接区 ===== */
.link-section {
  background: #fff;
  padding: 25px 0;
  border-top: 1px solid #ddd;
}
.link-section .link-tabs {
  display: flex;
  border-bottom: 1px solid #ddd;
}
.link-section .link-tabs .link-tab-btn {
  color: #666;
  padding: 10px;
  margin: 0;
  font-size: 16px;
  cursor: pointer;
  position: relative;
}
.link-section .link-tabs .link-tab-btn:after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background-color: transparent;
  z-index: 0;
}
.link-section .link-tabs .link-tab-btn.active {
  color: #333;
  font-weight: 700;
}
.link-section .link-tabs .link-tab-btn.active::after {
  background-color: #a42117;
}
.link-section .link-tab-content {
  display: none;
}
.link-section .link-tab-content.active {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding: 30px 10px;
}
.link-section .link-tab-content a {
  font-size: 14px;
  color: #666;
  transition: 0.2s;
}

.link-section .link-tab-content a:hover {
  color: #c41e2a;
}

/* ===== Footer ===== */
.main-footer {
  background: #8b010d;
  color: rgba(255, 255, 255, 0.62);
  padding: 25px 0;
  font-size: 16px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 100%;
}

.footer-info p {
  line-height: 1.8;
}

.footer-badges {
  display: flex;
  gap: 10px;
}

.badge {
  width: 50px;
  height: 60px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

/* ===== 返回顶部 ===== */
.back-to-top {
  position: fixed;
  bottom: 40px;
  right: 30px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #c41e2a;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.3s;
  box-shadow: 0 4px 12px rgba(196, 30, 42, 0.3);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #a42117;
}

/* ===== 列表页 ===== */
.breadcrumb-bar {
  background: #f7f5f5;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #999;
}

.breadcrumb a {
  color: #666;
  transition: 0.2s;
}

.breadcrumb a:hover {
  color: #c41e2a;
}

.breadcrumb .sep {
  color: #ccc;
  font-size: 12px;
}

.breadcrumb .current {
  color: #999;
}

.list-page {
  padding: 30px 0 40px;
  background: #f7f5f5;
}

.list-page-inner {
  display: flex;
  gap: 25px;
  align-items: flex-start;
}

/* 左侧边栏 */
.sidebar {
  width: 220px;
  flex-shrink: 0;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #eee;
}

.sidebar-title {
  background: #a42117;
  color: #fff;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  padding: 17px 10px;
  letter-spacing: 2px;
}

.sidebar-menu {
  padding: 10px 0;
}

.sidebar-menu li {
  border-bottom: 1px dashed #eee;
}

.sidebar-menu li:last-child {
  border-bottom: none;
}

.sidebar-menu a {
  display: block;
  padding: 14px 20px 14px 16px;
  font-size: 15px;
  color: #555;
  transition: 0.25s;
  position: relative;
  text-align: center;
}

.sidebar-menu a:hover {
  color: #c41e2a;
  background: #fef5f5;
}

.sidebar-menu a.active {
  color: #c41e2a;
  background: #fef5f5;
  font-weight: 500;
}

.sidebar-menu a.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #c41e2a;
}

/* 右侧内容 */
.content-main {
  flex: 1;
  min-width: 0;
  background: #fff;
  border-radius: 4px;
  padding: 12px 30px 30px;
  border: 1px solid #eee;
}

.content-header {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #c41e2a;
}

.page-title {
  font-size: 22px;
  font-weight: 700;
  color: #c41e2a;
  letter-spacing: 1px;
}

.article-list {
  margin-bottom: 30px;
}

.article-list li {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px dashed #eee;
  font-size: 15px;
}

.article-list li:last-child {
  border-bottom: none;
}

.article-time {
  color: #fff;
  background-color: #c41e2a;
  font-size: 14px;
  min-width: 80px;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 8px 0 0 8px;
  padding: 10px 0;
}
.article-time .date {
  font-size: 20px;
  font-weight: 500;
}
.article-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 90%;
}
.article-title {
  display: inline-block;
  /* max-width: 90%; */
  color: #333;
  line-height: 1.6;
  transition: 0.2s;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.article-title:hover {
  color: #c41e2a;
}
.article-views {
  font-size: 14px;
  color: #999;
}
/* 分页 */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding-top: 10px;
}

.page-num,
.page-next {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border-radius: 4px;
  font-size: 14px;
  color: #666;
  background: #f5f5f5;
  border: 1px solid #ddd;
  transition: 0.2s;
}

.page-num:hover,
.page-next:hover {
  background: #e8e8e8;
  color: #333;
}

.page-num.active {
  background: #a42117;
  color: #fff;
  border-color: #a42117;
}

.page-next {
  font-size: 16px;
  font-weight: 700;
}
/* ===== 内容页 ===== */
.content-info {
  padding: 30px 0;
  font-size: 15px;
  color: #444;
  line-height: 1.9;
  max-width: 920px;
  margin: 0 auto;
}
.content-info p {
  margin-bottom: 18px;
}

.content-info p:last-child {
  margin-bottom: 0;
}

.content-info img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  display: inline-block;
  margin: auto;
}
.no-result {
  text-align: center;
  padding: 60px 0;
  color: #999;
}
/* ===== 详情页 ===== */
.detail-page {
  padding: 30px 0 40px;
  background: #f7f5f5;
}
.article-detail {
  background: #fff;
  border-radius: 4px;
  padding: 35px 50px 40px;
  border: 1px solid #eee;
}

.article-detail-title {
  font-size: 26px;
  font-weight: 700;
  color: #c41e2a;
  text-align: center;
  line-height: 1.5;
  margin-bottom: 18px;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  font-size: 13px;
  color: #999;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.article-content {
  font-size: 15px;
  color: #444;
  line-height: 1.9;
  max-width: 920px;
  margin: 0 auto;
}

.article-content p {
  margin-bottom: 18px;
}

.article-content p:last-child {
  margin-bottom: 0;
}

.article-content img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  display: inline-block;
  margin: auto;
}

.article-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 35px;
  padding-top: 25px;
  border-top: 1px solid #eee;
}

.action-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #666;
  padding: 8px 18px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fafafa;
  transition: 0.2s;
  cursor: pointer;
}

.action-btn:hover {
  background: #f0f0f0;
  border-color: #ccc;
  color: #333;
}

.action-btn svg {
  flex-shrink: 0;
}

.close-btn:hover {
  color: #c41e2a;
  border-color: #c41e2a;
}

/*** 搜索页 ***/
.search-page {
  display: flex;
  padding: 20px 0;
}
.search-page .main {
  width: 80%;
}
.search-page .list ul li {
  margin: 10px 0;
  padding: 5px 0;
  border-bottom: 1px dotted #ccc;
}
.search-page .list ul :last-child {
  border-bottom: none;
}
.search-page .list ul .title {
  font-size: 18px;
  line-height: 1.25em;
}
/* .search-page .list ul .title a {
  color: #a42117;
} */
.search-page .list ul .description .text {
  max-height: 100px;
  line-height: 1.5em;
  display: -webkit-box;
  line-clamp: 4;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #666;
  margin: 10px 0;
}
.search-page .list ul .description .time {
  color: #999;
}
.search-page .list ul .title a em,
.search-page .list ul .description .text em {
  font-style: normal;
  color: #c00;
}
/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .main-header {
    background-size: cover;
  }
  .list-page-inner {
    flex-direction: column;
  }
  .sidebar {
    width: 100%;
  }
  .sidebar-menu {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
  }
  .sidebar-menu li {
    border-bottom: none;
    border-right: 1px dashed #eee;
    flex: 1;
  }
  .sidebar-menu li:last-child {
    border-right: none;
  }
  .sidebar-menu a {
    text-align: center;
    padding: 12px 10px;
  }
  .sidebar-menu a.active::before {
    display: none;
  }
  .content-main {
    width: 100%;
  }

  .hero-content {
    flex-direction: column;
  }
  .hero-news {
    width: 100%;
  }
  .hero-slider {
    min-height: 280px;
  }
  .slider-wrapper {
    height: 280px;
  }
  .gallery-item {
    flex: 0 0 calc(25% - 12px);
  }
}

@media (max-width: 768px) {
  .top-bar {
    font-size: 12px;
    height: auto;
    padding: 6px 0;
  }
  .top-bar-inner {
    gap: 4px;
  }
  .top-bar-left .action {
    display: none;
  }

  .list-page {
    padding: 15px 0 25px;
  }
  .sidebar-menu {
    flex-direction: column;
  }
  .sidebar-menu li {
    border-right: none;
    border-bottom: 1px dashed #eee;
    width: 100%;
  }
  .sidebar-menu li:last-child {
    border-bottom: none;
  }
  .sidebar-menu a {
    text-align: left;
    padding: 12px 20px;
  }
  .content-main {
    padding: 20px 15px 25px;
  }
  .page-title {
    font-size: 18px;
  }
  .article-list li {
    align-items: flex-start;
    gap: 10px;
    padding: 12px 0;
  }
  .article-title {
    font-size: 14px;
    white-space: normal;
    line-height: 1.5;
  }
  .article-views {
    font-size: 12px;
  }
  .pagination {
    gap: 4px;
  }
  .page-num,
  .page-next {
    min-width: 30px;
    height: 30px;
    font-size: 13px;
    padding: 0 8px;
  }

  .detail-page {
    padding: 15px 0 25px;
  }
  .article-detail {
    padding: 25px 20px 30px;
  }
  .article-detail-title {
    font-size: 20px;
  }
  .article-meta {
    flex-wrap: wrap;
    gap: 10px 18px;
    font-size: 12px;
    margin-bottom: 20px;
    padding-bottom: 15px;
  }
  .article-content {
    font-size: 14px;
  }
  .article-content p {
    margin-bottom: 14px;
  }
  .article-img {
    margin: 18px auto;
  }
  .article-actions {
    margin-top: 25px;
    padding-top: 20px;
    gap: 12px;
  }
  .action-btn {
    padding: 6px 14px;
    font-size: 13px;
  }

  .header-inner {
    padding: 10px;
    background-position: center bottom;
    background-size: 100% auto;
  }
  .logo {
    padding: 5vw 0 15vw;
    width: 60vw;
    display: flex;
    justify-content: center;
    margin: 0 auto;
  }
  .logo img {
    max-width: 100%;
  }
  .main-nav {
    position: relative;
  }
  .nav-inner {
    height: auto;
    flex-wrap: wrap;
    padding: 8px 15px;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #a42117;
    flex-direction: column;
    z-index: 100;
    padding: 10px 0;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu li {
    width: 100%;
  }
  .nav-menu a {
    padding: 10px 20px;
    line-height: normal;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .nav-menu a.active::after {
    display: none;
  }

  .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 0;
    display: none;
    min-width: auto;
  }

  .nav-menu li.has-submenu.open > .submenu {
    display: block;
  }

  .submenu a {
    padding: 10px 20px 10px 36px;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    line-height: normal;
  }

  .submenu li:last-child a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .mobile-menu-toggle {
    display: flex;
  }
  .nav-search {
    flex:1;
    margin-left: auto;
    margin-right: 10px;
  }
  .nav-search input {
    width: 100%;
  }

  .think-tank-bar {
    flex-direction: column;
    text-align: center;
    gap: 4px;
  }
  .think-tank-list {
    padding: 10px 20px;
    width: 100%;
    gap: 0;
  }
  .think-tank-list li {
    width: 98%;
  }
  .banners-row {
    flex-direction: column;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item {
    flex: 0 0 calc(50% - 8px);
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .link-grid {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .logo-text h1 {
    font-size: 14px;
  }
  .logo-text p {
    font-size: 11px;
  }

  .hero-slider {
    min-height: 200px;
  }
  .slider-wrapper {
    height: 200px;
  }
  .slider-caption h3 {
    font-size: 15px;
  }
  .slider-caption p {
    font-size: 12px;
  }

  .news-tabs .news-tab-btn {
    padding: 8px 12px;
    font-size: 13px;
  }
  .news-list li {
    font-size: 12px;
  }

  .info-header h3 {
    font-size: 14px;
  }
  .info-list li {
    font-size: 12px;
  }

  .gallery-item {
    flex: 0 0 100%;
  }

  .phone-num {
    font-size: 18px;
  }
  .search-page {
    flex-direction: column;
    gap: 20px;
  }
  .search-page .main {
    width: 100%;
  }
}
