/* --- CSS 变量 / 设计令牌 --- */
:root {
  /* 主色调 */
  --primary: #2563eb;
  --primary-light: #3b82f6;
  --primary-dark: #1e40af;
  --primary-gradient: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #2563eb 100%);
  
  /* 强调色 - 琥珀橙 */
  --accent: #f59e0b;
  --accent-light: #fbbf24;
  --accent-dark: #d97706;
  --accent-gradient: linear-gradient(135deg, #f59e0b 0%, #fbbf24 50%, #f59e0b 100%);
  
  /* 中性色 */
  --bg-body: #f0f2f5;
  --bg-white: #ffffff;
  --bg-light: #f8f9fc;
  --bg-card: rgba(255, 255, 255, 0.92);
  
  /* 文字色 */
  --text-primary: #1a1a2e;
  --text-secondary: #4a4a6a;
  --text-muted: #8a8aaa;
  --text-light: #ffffff;
  
  /* 边框与阴影 */
  --border-light: rgba(37, 99, 235, 0.08);
  --border-card: rgba(37, 99, 235, 0.06);
  --shadow-sm: 0 2px 8px rgba(37, 99, 235, 0.06);
  --shadow-md: 0 4px 20px rgba(37, 99, 235, 0.1);
  --shadow-lg: 0 8px 40px rgba(37, 99, 235, 0.14);
  --shadow-xl: 0 16px 60px rgba(37, 99, 235, 0.18);
  --shadow-card-hover: 0 12px 36px rgba(37, 99, 235, 0.16);
  
  /* 圆角 */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  /* 动画 */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* 布局 */
  --container-width: 1280px;
  --header-height: 110px;
  --nav-height: 56px;
}

/* --- 全局重置 --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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


/* --- 文本选中颜色 --- */
::selection {
  background: var(--accent-light);
  color: var(--text-primary);
}

body {
  font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- 容器 --- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}


/* --- 头部区域 --- */
.header {
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo-area {
  display: flex;
  align-items: center;
}

.logo-area img {
  height: 96px;
  width: auto;
  padding: 8px 0;
}

.header-slogan {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--text-secondary);
}

.header-slogan .slogan-text {
  text-align: right;
  line-height: 1.5;
}

.header-slogan .slogan-main {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 2px;
}

.header-slogan .slogan-sub {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.header-slogan .slogan-divider {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--accent), transparent);
}

.header-slogan .slogan-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05));
  border: 1px solid rgba(245, 158, 11, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-slogan .slogan-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--accent);
}


/* --- 导航栏 --- */
.navbar {
  background: rgba(37, 99, 235, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
  border-bottom: 3px solid var(--accent-light);
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: var(--nav-height);
  gap: 0;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.nav-item {
  position: relative;
}

.nav-item a {
  display: flex;
  align-items: center;
  height: var(--nav-height);
  padding: 0 36px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all var(--transition-normal);
  position: relative;
}

.nav-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--accent-gradient);
  border-radius: 3px 3px 0 0;
  transition: width var(--transition-normal);
}

.nav-item a:hover,
.nav-item a.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.nav-item a:hover::after,
.nav-item a.active::after {
  width: 60%;
}

/* 下拉子菜单 */
.nav-item .dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 32px -8px rgba(37, 99, 235, 0.25), 0 2px 6px rgba(37, 99, 235, 0.1);
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  padding: 8px 0;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.8);
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown a {
  display: block;
  padding: 8px 0;
  margin: 4px 8px;
  border-radius: 6px;
  text-align: center;
  color: var(--text-secondary);
  font-size: 14px;
  height: auto;
  letter-spacing: 0;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.dropdown a::after {
  display: none;
}

.dropdown a:hover {
  color: var(--primary);
  background: rgba(37, 99, 235, 0.08);
  transform: scale(1.03);
}

/* --- 横幅轮播 --- */
.hero-banner {
  position: relative;
  overflow: hidden;
  height: 290px;
}

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

.banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.banner-slide.active {
  opacity: 1;
}

.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 轮播叠加信息 */
.banner-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 60px 0 40px;
  background: linear-gradient(to top, rgba(15, 36, 64, 0.85), transparent);
  z-index: 10;
}

.banner-overlay .container {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.banner-title {
  color: #fff;
}

.banner-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.banner-title p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
}

/* 轮播指示器 */
.banner-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  align-items: center;
  z-index: 10;
}

.banner-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 2px solid transparent;
}

.banner-dot.active {
  background: var(--accent);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.2);
}

/* 轮播箭头 */
.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.banner-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.banner-arrow svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

.banner-arrow.prev {
  left: 24px;
}

.banner-arrow.next {
  right: 24px;
}

/* --- 快捷导航条 --- */
.quick-nav {
  position: relative;
  z-index: 50;
  margin-top: -40px;
  margin-bottom: 40px;
}

.quick-nav-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.quick-nav-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 28px;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-card);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.quick-nav-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.quick-nav-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.quick-nav-icon svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

.quick-nav-icon.gold {
  background: var(--accent-gradient);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.quick-nav-text h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.quick-nav-text p {
  font-size: 13px;
  color: var(--text-muted);
}

/* --- 区块标题组件 --- */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
  position: relative;
}

.section-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 6em;
  height: 2px;
  background: var(--accent-gradient);
  border-radius: 2px;
}

.section-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-primary);
  position: relative;
}

.section-more {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--primary-light);
  font-weight: 500;
  padding: 6px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.section-more:hover {
  color: var(--primary);
  background: rgba(37, 99, 235, 0.06);
}

.section-more svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: transform var(--transition-fast);
}

.section-more:hover svg {
  transform: translateX(4px);
}

/* --- 内容区域 --- */
.main-content {
  padding: 0 0 60px;
}

/* 两栏布局 */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

/* 三栏布局 */
.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* --- 卡片组件 --- */
.card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-card);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.card-body {
  padding: 28px;
}



/* --- 图片展示区 --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 36, 64, 0.7), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-overlay span {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}


/* --- 页脚 --- */
.footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 40px;
}

.footer-brand h3 {
  font-size: 22px;
  color: #fff;
  margin-bottom: 12px;
  font-weight: 700;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 20px;
}


.footer-col h4 {
  font-size: 16px;
  color: #fff;
  margin-bottom: 20px;
  font-weight: 600;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul li a:hover {
  color: var(--accent-light);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  fill: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item span {
  font-size: 14px;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 13px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
}

.footer-bottom a:hover {
  color: var(--accent-light);
}

/* --- 面包屑导航 --- */
.breadcrumb-section {
  background: url('../images/banner2.jpg') center/cover no-repeat;
  padding: 48px 0;
  position: relative;
  overflow: hidden;
}

.breadcrumb-section::before {
  display: none;
}

.breadcrumb-inner {
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6), 0 1px 3px rgba(0, 0, 0, 0.4);
}

.breadcrumb-title {
  font-size: 28px;
  color: #fff;
  font-weight: 700;
  margin-bottom: 10px;
}

.breadcrumb-path {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

.breadcrumb-path a {
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition-fast);
}

.breadcrumb-path a:hover {
  color: var(--accent-light);
}

.breadcrumb-path .separator {
  color: rgba(255, 255, 255, 0.3);
}

.breadcrumb-path .current {
  color: var(--accent-light);
}

/* --- 列表页布局 --- */
.list-page {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  padding: 40px 0 60px;
}

/* 侧边栏 */
.sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 20px);
  align-self: start;
}

.sidebar-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-card);
  overflow: hidden;
  margin-bottom: 24px;
}

.sidebar-card-header {
  background: var(--primary-gradient);
  padding: 18px 24px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar-card-header svg {
  width: 18px;
  height: 18px;
  fill: var(--accent-light);
}

.sidebar-nav {
  padding: 8px 0;
}

.sidebar-nav-item {
  display: flex;
  align-items: center;
  padding: 12px 24px;
  font-size: 14px;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  border-left: 3px solid transparent;
}

.sidebar-nav-item:hover,
.sidebar-nav-item.active {
  color: var(--primary);
  background: var(--bg-light);
  border-left-color: var(--accent);
  font-weight: 500;
}

.sidebar-nav-item svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  margin-right: 10px;
}

/* 列表内容区 */
.list-content {
  min-width: 0;
}

/* 列表项 - 大卡片式 */
.list-card {
  display: flex;
  gap: 24px;
  padding: 24px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-card);
  margin-bottom: 20px;
  transition: all var(--transition-normal);
  cursor: pointer;
}

.list-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.list-card-thumb {
  width: 240px;
  height: 160px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
}

.list-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.list-card:hover .list-card-thumb img {
  transform: scale(1.05);
}

.list-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.list-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.list-card-tag {
  padding: 4px 12px;
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
}

.list-card-time {
  font-size: 13px;
  color: var(--text-muted);
}

.list-card-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--transition-fast);
}

.list-card:hover .list-card-title {
  color: var(--primary-light);
}

.list-card-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 分页器 */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
}

.page-btn {
  min-width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--text-secondary);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: all var(--transition-fast);
  padding: 0 4px;
}

.page-btn:hover {
  color: var(--primary);
  border-color: var(--primary-light);
  background: rgba(37, 99, 235, 0.04);
}

.page-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.page-btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.page-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* --- 详情页 --- */
.detail-page {
  padding: 40px 0 60px;
}

.detail-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0;
}

.detail-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-card);
  overflow: hidden;
}

.detail-header {
  padding: 40px 48px 28px;
  border-bottom: 1px solid var(--border-light);
}

.detail-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 16px;
}

.detail-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.detail-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-muted);
}

.detail-meta-item svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.detail-body {
  padding: 36px 48px 48px;
}

.detail-body p {
  font-size: 16px;
  line-height: 2;
  color: var(--text-secondary);
  margin-bottom: 16px;
  text-indent: 2em;
}

.detail-body img {
  border-radius: var(--radius-md);
  margin: 24px auto;
  max-width: 100%;
  box-shadow: var(--shadow-sm);
}

.detail-body h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 36px 0 18px;
  padding: 10px 18px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.06), transparent);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.detail-body h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 28px 0 12px;
  padding-left: 12px;
  border-left: 3px solid var(--primary-light);
}

.detail-body blockquote {
  margin: 24px 0;
  padding: 20px 24px;
  background: var(--bg-light);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-secondary);
  font-style: italic;
}

.detail-body blockquote p {
  text-indent: 0;
  margin-bottom: 0;
}

.detail-body ul, .detail-body ol {
  margin: 16px 0;
  padding-left: 2em;
  color: var(--text-secondary);
  line-height: 2;
}

.detail-body li {
  margin-bottom: 6px;
}

.detail-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}

.detail-body th, .detail-body td {
  padding: 10px 14px;
  border: 1px solid var(--border-light);
  text-align: left;
}

.detail-body th {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
}

.detail-body tr:nth-child(even) td {
  background: var(--bg-light);
}

/* 上下篇导航 */
.detail-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}

.detail-nav-item {
  padding: 20px 24px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  border: 1px solid var(--border-light);
}

.detail-nav-item:hover {
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
}

.detail-nav-item.disabled {
  opacity: 0.5;
  pointer-events: none;
}

.detail-nav-item.next {
  text-align: right;
}

.detail-nav-label.next {
  justify-content: flex-end;
}

.detail-summary {
  text-indent: 2em;
  margin-top: 32px;
  font-weight: 500;
  color: var(--text-primary);
}

.detail-nav-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.detail-nav-label svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.detail-nav-title {
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/* --- 动画效果 --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease-out both;
}

.animate-fadeIn {
  animation: fadeIn 0.5s ease-out both;
}

.animate-slideInLeft {
  animation: slideInLeft 0.6s ease-out both;
}

/* 滚动触发动画 */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.6s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- 返回顶部按钮 --- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 999;
  border: none;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--accent-dark);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

/* --- 响应式适配 --- */
@media (max-width: 1024px) {
  .quick-nav-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .two-col {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .list-page {
    grid-template-columns: 1fr;
  }
  
  .sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
    --nav-height: 48px;
  }
  
  .hero-banner {
    height: 200px;
  }
  
  .container {
    padding: 0 16px;
  }
  
  .nav-list {
    overflow-x: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
  }
  
  .nav-item a {
    padding: 0 16px;
    font-size: 14px;
    white-space: nowrap;
  }
  
  .quick-nav-inner {
    grid-template-columns: 1fr;
  }
  
  .three-col {
    grid-template-columns: 1fr;
  }
  
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .list-card {
    flex-direction: column;
  }
  
  .list-card-thumb {
    width: 100%;
    height: 200px;
  }
  
  .detail-header,
  .detail-body {
    padding: 24px;
  }
  
  .detail-title {
    font-size: 20px;
  }
  
  .detail-nav {
    grid-template-columns: 1fr;
  }
  
  .banner-overlay .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  /* 焦点新闻区 */
  .focus-layout {
    grid-template-columns: 1fr;
  }

  /* 双栏通知公告 */
  .dual-section {
    grid-template-columns: 1fr;
  }

  /* 三栏区块 */
  .triple-section {
    grid-template-columns: 1fr;
  }

  /* 党旗飘飘 */
  .party-grid {
    grid-template-columns: 1fr;
  }

  /* 统计条 */
  .stats-bar {
    flex-wrap: wrap;
    gap: 16px;
  }
}

/* ========================================
   首页新布局组件
   ======================================== */

/* 标题竖条装饰 */
.section-title-bar {
  width: 4px;
  height: 22px;
  background: linear-gradient(to bottom, var(--primary), var(--primary-light));
  border-radius: 2px;
  flex-shrink: 0;
}

.section-title-bar.bar-accent {
  background: linear-gradient(to bottom, var(--accent), var(--accent-light));
}

/* --- 焦点新闻区块 --- */
.focus-section {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-card);
  margin-top: 28px;
  margin-bottom: 20px;
}

.focus-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* 焦点图文幻灯 */
.focus-slider {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 340px;
}

.focus-slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.focus-slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  pointer-events: none;
}

.focus-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.focus-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 箭头按钮 - hover显示 */
.focus-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  opacity: 0;
  transition: all var(--transition-normal);
}

.focus-slider:hover .focus-arrow {
  opacity: 1;
}

.focus-arrow:hover {
  background: rgba(0, 0, 0, 0.6);
}

.focus-arrow svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

.focus-prev { left: 10px; }
.focus-next { right: 10px; }

/* 指示点 */
.focus-dots {
  position: absolute;
  bottom: 14px;
  right: 16px;
  display: flex;
  gap: 6px;
  z-index: 10;
}

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

.focus-dot.active {
  background: #fff;
  transform: scale(1.2);
}

.focus-main-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 48px 24px 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: #fff;
}

.focus-main-info h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 6px;
}

.focus-main-info p {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 焦点新闻右侧列表 */
.focus-list {
  display: flex;
  flex-direction: column;
}

.focus-list-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 12px;
  border-bottom: 1px dashed var(--border-light);
  transition: all var(--transition-fast);
  border-radius: var(--radius-sm);
}

.focus-list-item:last-child {
  border-bottom: none;
}

.focus-list-item:hover {
  background: var(--bg-light);
}

.focus-list-item:hover .focus-list-text h4 {
  color: var(--primary);
}

.focus-list-date {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.focus-list-date .day {
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.focus-list-date .month {
  font-size: 11px;
  opacity: 0.8;
}

.focus-list-text {
  flex: 1;
  min-width: 0;
}

.focus-list-text h4 {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.5;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--transition-fast);
}


/* --- 双栏通知区块 --- */
.dual-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}

.dual-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-card);
}

/* 通知列表样式 */
.notice-list {
  display: flex;
  flex-direction: column;
}

.notice-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--border-light);
  transition: all var(--transition-fast);
}

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

.notice-item:hover {
  padding-left: 6px;
}

.notice-item:hover .notice-title {
  color: var(--primary);
}

.notice-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.notice-title {
  flex: 1;
  font-size: 14px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color var(--transition-fast);
}

.notice-date {
  flex-shrink: 0;
  font-size: 13px;
  color: var(--text-muted);
}

/* 图片新闻网格 */
.pic-news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.pic-news-item {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.pic-news-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.pic-news-item img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.pic-news-item:hover img {
  transform: scale(1.05);
}

.pic-news-item span {
  padding: 10px 12px;
  font-size: 13px;
  color: var(--text-secondary);
  background: var(--bg-light);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* --- 数据统计横条 --- */
.stats-bar {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-lg);
  padding: 36px 48px;
  margin-bottom: 28px;
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.25);
}

.stats-bar .stat-number {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.stats-bar .stat-number span {
  font-size: 18px;
  font-weight: 400;
  opacity: 0.7;
}

.stats-bar .stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  margin-top: 6px;
  text-align: center;
}

.stats-bar-item {
  text-align: center;
}

.stats-bar-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
}

/* --- 三栏新闻区块 --- */
.triple-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 28px;
}

.triple-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-card);
  transition: all var(--transition-normal);
}

.triple-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* 简洁新闻列表 */
.simple-news-list {
  display: flex;
  flex-direction: column;
}

.simple-news-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--border-light);
  font-size: 14px;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  line-height: 1.5;
}

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

.simple-news-list a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.sn-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-light);
  flex-shrink: 0;
}

/* 新闻摘要 */
.focus-list-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========================================
   党旗飘飘特色栏目
   ======================================== */
.party-section {
  margin-bottom: 28px;
}

/* 红色标题栏 */
.party-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #b91c1c, #dc2626);
  padding: 14px 24px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.party-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}

.party-header-left svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

.party-header-left span {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
}

.party-more {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  transition: color var(--transition-fast);
}

.party-more:hover {
  color: #fff;
}

.party-more svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* 图文卡片网格 */
.party-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 16px;
  background: var(--bg-light);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

/* 大卡片 */
.party-card {
  display: block;
  transition: all var(--transition-normal);
}

.party-card-main {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.party-card-main .party-card-img {
  height: 240px;
  overflow: hidden;
}

.party-card-main .party-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.party-card-main:hover .party-card-img img {
  transform: scale(1.05);
}

.party-card-main .party-card-body {
  padding: 20px 24px;
}

.party-card-main .party-card-body h4 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.5;
  margin-bottom: 8px;
  transition: color var(--transition-fast);
}

.party-card-main:hover h4 {
  color: #dc2626;
}

.party-card-main .party-card-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
}

.party-card-date {
  font-size: 12px;
  color: var(--text-muted);
}

/* 右侧4个小卡片 2x2网格 */
.party-card-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
}

.party-card-sm {
  display: flex;
  flex-direction: column;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.party-card-sm .party-card-img {
  height: 110px;
  overflow: hidden;
}

.party-card-sm .party-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.party-card-sm:hover .party-card-img img {
  transform: scale(1.08);
}

.party-card-sm .party-card-body {
  padding: 10px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.party-card-sm .party-card-body h4 {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--transition-fast);
}

.party-card-sm:hover h4 {
  color: #dc2626;
}

.party-card-sm .party-card-date {
  font-size: 11px;
  margin-top: 4px;
}


/* --- 简洁页脚 --- */
.footer-simple {
  background: var(--primary-gradient);
  color: rgba(255, 255, 255, 0.7);
  padding: 28px 0;
  margin-top: 40px;
  text-align: center;
}

.footer-info {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 14px;
  margin-bottom: 12px;
}

.footer-info span:first-child {
  font-weight: 600;
  color: #fff;
}

.footer-sep {
  color: rgba(255, 255, 255, 0.25);
  margin: 0 4px;
}

.footer-copy {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-copy a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
}

.footer-copy a:hover {
  color: #fff;
}

/* 推荐内容图文样式 */
.sidebar-recommend-pic {
  padding: 15px;
  background-color: #fff;
}
.recommend-pic-item {
  display: block;
  margin-bottom: 20px;
  text-decoration: none;
  transition: transform 0.3s;
}
.recommend-pic-item:hover {
  transform: translateY(-2px);
}
.recommend-pic-item .pic-wrap {
  width: 100%;
  height: 120px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 10px;
}
.recommend-pic-item .pic-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.recommend-pic-item:hover .pic-wrap img {
  transform: scale(1.05);
}
.recommend-pic-item .pic-title {
  font-size: 14px;
  color: #333;
  line-height: 1.4;
  text-align: center;
}
.recommend-pic-item:hover .pic-title {
  color: #2563eb;
}
/* NPO.png*/
.footer-flex-layout {
  display: flex;
  justify-content: center; /* 保持内容整体在页面水平居中 */
  align-items: center;     /* 关键：让左边文字和右边图标上下垂直居中对齐 */
  gap: 30px;               /* 文字与右侧图标之间的间距，可根据需要调整 */
  position: relative;
}

/* 确保文字部分内部依然保持居中对齐 */
.footer-text-group {
  text-align: center;
}

/* 针对手机端等小屏幕的兼容优化（响应式） */
@media (max-width: 768px) {
  .footer-flex-layout {
    flex-direction: column; /* 屏幕太小时，图标自动掉到文字下方 */
    gap: 15px;
  }
}