/* 免费cms模板 */
/* 精品与原创网站模板提供商，一站式建站 */
/* 免费模板下载：Www.mianfeicms.Com */
/* 网站建设公司：Www.gezhancn.Com */
/* QQ：1259880070  */


:root {
  /* 主色调 - 蓝色 */
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --primary-foreground: #ffffff;

  /* 辅助色 - 橙色 */
  --secondary: #ea580c;
  --secondary-dark: #c2410c;
  --secondary-foreground: #ffffff;

  /* 中性色 */
  --background: #f8fafc;
  --foreground: #1e293b;
  --card: #ffffff;
  --card-foreground: #1e293b;
  --muted: #f1f5f9;
  --muted-foreground: #64748b;
  --border: #e2e8f0;

  /* 深色页脚 */
  --footer-bg: #1a2332;

  /* 圆角 */
  --radius: 4px;
  --radius-lg: 8px;

  /* 阴影 */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

ul,
ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

/* ========================================
   通用容器
======================================== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ========================================
   顶部信息栏
======================================== */
.top-bar {
  background-color: var(--primary);
  color: var(--primary-foreground);
  font-size: 14px;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-bar-right {
  display: none;
}

@media (min-width: 768px) {
  .top-bar-right {
    display: block;
  }
}

/* ========================================
   主导航
======================================== */
.main-header {
  background-color: var(--card);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}

.main-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  height: 48px;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

.logo-text h1 {
  font-size: 20px;
  font-weight: bold;
  color: var(--foreground);
}

.logo-text p {
  font-size: 12px;
  color: var(--muted-foreground);
}

.main-nav {
  display: none;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  display: block;
  padding: 8px 16px;
  font-weight: 500;
  color: var(--foreground);
  border-radius: var(--radius);
  transition: all 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary);
  background-color: var(--muted);
}

.header-cta {
  display: none;
}

.header-cta .btn-secondary {
  padding: 10px 24px;
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--foreground);
}

.mobile-menu-btn svg {
  width: 24px;
  height: 24px;
}

@media (min-width: 1024px) {
  .main-nav {
    display: block;
  }

  .header-cta {
    display: block;
  }

  .mobile-menu-btn {
    display: none;
  }
}

/* 移动端菜单 */
.mobile-menu {
  display: none;
  border-top: 1px solid var(--border);
  padding: 16px;
  background-color: var(--card);
}

.mobile-menu.active {
  display: block;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-menu a {
  display: block;
  padding: 12px 16px;
  color: var(--foreground);
  border-radius: var(--radius);
  transition: background-color 0.2s ease;
}

.mobile-menu a:hover {
  background-color: var(--muted);
}

.mobile-menu .btn-secondary {
  display: block;
  text-align: center;
  margin-top: 16px;
  padding: 12px 24px;
  color: var(--card);
}

/* ========================================
   按钮样式
======================================== */
.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: var(--radius);
  font-weight: 500;
  text-align: center;
  transition: all 0.2s ease;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--secondary-foreground);
}

.btn-secondary:hover {
  background-color: var(--secondary-dark);
}

.btn-outline {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

/* ========================================
   404 错误页
======================================== */
.news-list-main .error-page {
  max-width: 640px;
  margin: 80px auto;
  padding: 40px 32px;
  background-color: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.error-page .error-code {
  font-size: 72px;
  font-weight: 800;
  line-height: 1;
  color: var(--primary);
  letter-spacing: 4px;
  margin-bottom: 12px;
}

.error-page .error-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 12px;
}

.error-page .error-desc {
  font-size: 15px;
  color: var(--muted-foreground);
  margin-bottom: 6px;
}

.error-page .error-tip {
  font-size: 14px;
  color: var(--muted-foreground);
  margin-bottom: 24px;
}

.error-page .error-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.error-page .btn {
  min-width: 140px;
}

@media (max-width: 768px) {
  .news-list-main .error-page {
    margin: 40px auto;
    padding: 28px 20px;
  }

  .error-page .error-code {
    font-size: 52px;
  }

  .error-page .error-title {
    font-size: 20px;
  }
}

/* ========================================
   Hero轮播区域
======================================== */
.hero {
  position: relative;
  height: 500px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero {
    height: 600px;
  }
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  display: flex;
  align-items: center;width: 100%; height: 100%;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide-1 {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.hero-slide-2 {
  background: linear-gradient(135deg, #2c5282 0%, #1a365d 100%);
}

.hero-slide-3 {
  background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
}

/* 装饰圆圈 */
.hero-decoration {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  pointer-events: none;
}

.hero-decoration .circle {
  position: absolute;
  border: 1px solid white;
  border-radius: 50%;
}

.hero-decoration .circle-1 {
  width: 256px;
  height: 256px;
  top: 80px;
  right: 80px;
}

.hero-decoration .circle-2 {
  width: 192px;
  height: 192px;
  bottom: 80px;
  left: 80px;
}

.hero-decoration .circle-3 {
  width: 128px;
  height: 128px;
  top: 50%;
  right: 33%;
}

.hero-content {
  position: relative;
  z-index: 10;
  color: white;
  max-width: 640px;
  padding: 0 16px;
}

.hero-content .subtitle {
  font-size: 18px;
  margin-bottom: 8px;
  opacity: 0.8;
}

@media (min-width: 768px) {
  .hero-content .subtitle {
    font-size: 20px;
  }
}

.hero-content h2 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 24px;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .hero-content h2 {
    font-size: 48px;
  }
}

@media (min-width: 1024px) {
  .hero-content h2 {
    font-size: 56px;
  }
}

.hero-content .description {
  font-size: 18px;
  margin-bottom: 32px;
  opacity: 0.9;
  line-height: 1.8;
}

@media (min-width: 768px) {
  .hero-content .description {
    font-size: 20px;
  }
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* 轮播导航按钮 */
.hero-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: background-color 0.2s ease;
  z-index: 20;
}

.hero-nav-btn:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.hero-nav-btn.prev {
  left: 16px;
}

.hero-nav-btn.next {
  right: 16px;
}

.hero-nav-btn svg {
  width: 24px;
  height: 24px;
}

/* 轮播指示器 */
.hero-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 20;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  transition: background-color 0.2s ease;
}

.hero-dot.active {
  background-color: white;
}

/* ========================================
   服务区域
======================================== */
.services {
  padding: 64px 0;
  background-color: var(--background);
}

@media (min-width: 768px) {
  .services {
    padding: 96px 0;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 30px;
  font-weight: bold;
  color: var(--foreground);
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .section-header h2 {
    font-size: 36px;
  }
}

.section-header p {
  color: var(--muted-foreground);
  max-width: 640px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card {
  background-color: var(--card);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: box-shadow 0.2s ease;
}

.service-card:hover {
  box-shadow: var(--shadow-md);
}

.service-icon {
  width: 64px;
  height: 64px;
  background-color: rgba(37, 99, 235, 0.1);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: all 0.2s ease;
}

.service-card:hover .service-icon {
  background-color: var(--primary);
}

.service-icon svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
  transition: color 0.2s ease;
}

.service-card:hover .service-icon svg {
  color: white;
}

.service-card h3 {
  font-size: 20px;
  font-weight: bold;
  color: var(--foreground);
  margin-bottom: 12px;
}

.service-card>p {
  font-size: 14px;
  color: var(--muted-foreground);
  margin-bottom: 16px;
  line-height: 1.6;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--foreground);
}

.service-features li::before {
  content: "";
  width: 6px;
  height: 6px;
  background-color: var(--secondary);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ========================================
   关于我们 / 统计区域
======================================== */
.about {
  padding: 64px 0;
  background-color: var(--muted);
}

@media (min-width: 768px) {
  .about {
    padding: 96px 0;
  }
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-card {
  background-color: var(--card);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.stat-card svg {
  width: 40px;
  height: 40px;
  color: var(--primary);
  margin: 0 auto 12px;
}

.stat-card .value {
  font-size: 30px;
  font-weight: bold;
  color: var(--foreground);
  margin-bottom: 4px;
}

.stat-card .label {
  font-size: 14px;
  color: var(--muted-foreground);
}

/* 服务内容表格 */
.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 1024px) {
  .about-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

.about-card {
  background-color: var(--card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.about-card-header {
  padding: 16px 24px;
  font-weight: bold;
  font-size: 18px;
}

.about-card-header.primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.about-card-header.secondary {
  background-color: var(--secondary);
  color: var(--secondary-foreground);
}

.about-card-body {
  padding: 24px;
}

.about-section {
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.about-section:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.about-section h4 {
  font-weight: bold;
  color: var(--foreground);
  margin-bottom: 12px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  background-color: var(--muted);
  color: var(--muted-foreground);
  padding: 4px 12px;
  border-radius: var(--radius);
  font-size: 14px;
}

/* ========================================
   经营范围区域
======================================== */
.scope {
  padding: 64px 0;
  background-color: var(--background);
}

@media (min-width: 768px) {
  .scope {
    padding: 96px 0;
  }
}

.scope-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .scope-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .scope-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.scope-card {
  background-color: var(--card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: box-shadow 0.2s ease;
}

.scope-card:hover {
  box-shadow: var(--shadow-md);
}

.scope-card-header {
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 14px;
}

.scope-card-header.bg-1 {
  background-color: var(--primary);
}

.scope-card-header.bg-2 {
  background-color: #2c5282;
}

.scope-card-header.bg-3 {
  background-color: #285e61;
}

.scope-card-header.bg-4 {
  background-color: var(--secondary);
}

.scope-card-header.bg-5 {
  background-color: #553c9a;
}

.scope-card-header.bg-6 {
  background-color: #744210;
}

.scope-card-header.bg-7 {
  background-color: #1a365d;
}

.scope-card-header.bg-8 {
  background-color: #276749;
}

.scope-card-body {
  padding: 16px;
}

.scope-card-body p {
  font-size: 14px;
  color: var(--muted-foreground);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 提示信息 */
.scope-tips {
  margin-top: 48px;
  background-color: var(--muted);
  border-radius: var(--radius-lg);
  padding: 24px;
}

@media (min-width: 768px) {
  .scope-tips {
    padding: 32px;
  }
}

.scope-tips-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .scope-tips-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.scope-tips h3 {
  font-weight: bold;
  color: var(--foreground);
  margin-bottom: 12px;
}

.scope-tips p {
  font-size: 14px;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* ========================================
   新闻资讯区域
======================================== */
.news {
  padding: 64px 0;
  background-color: var(--muted);
}

@media (min-width: 768px) {
  .news {
    padding: 96px 0;
  }
}

.news-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 48px;
}

.news-header h2 {
  font-size: 30px;
  font-weight: bold;
  color: var(--foreground);
  margin-bottom: 8px;
}

@media (min-width: 768px) {
  .news-header h2 {
    font-size: 36px;
  }
}

.news-header>p {
  color: var(--muted-foreground);
}

.news-more {
  display: none;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 500;
}

.news-more:hover {
  color: var(--primary-dark);
}

.news-more svg {
  width: 16px;
  height: 16px;
}

@media (min-width: 768px) {
  .news-more {
    display: flex;
  }
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .news-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.news-card {
  background-color: var(--card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease;
}

.news-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  transition: transform 0.2s ease;
}

.news-card-inner {
  display: flex;
}

.news-card-date {
  width: 85px;
  flex-shrink: 0;
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.news-card-date .day {
  font-size: 24px;
  font-weight: bold;
}

.news-card-date .month {
  font-size: 12px;
  opacity: 0.8;
}

.news-card-content {
  padding: 16px;
  flex: 1;
}

.news-card-tag {
  display: inline-block;
  font-size: 12px;
  color: var(--primary);
  background-color: rgba(37, 99, 235, 0.1);
  padding: 2px 8px;
  border-radius: var(--radius);
  margin-bottom: 8px;
}

.news-card h3 {
  font-weight: 600;
  font-size: 16px;
  color: var(--foreground);
  margin-bottom: 8px;
  transition: color 0.2s ease;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card:hover h3 {
  color: var(--primary);
}

.news-card p {
  font-size: 14px;
  color: var(--muted-foreground);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-more-mobile {
  display: block;
  text-align: center;
  margin-top: 32px;
}

.news-more-mobile a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 500;
}

@media (min-width: 768px) {
  .news-more-mobile {
    display: none;
  }
}

/* ========================================
   服务支持区域
======================================== */
.support {
  padding: 64px 0;
  background-color: var(--primary);
  color: var(--primary-foreground);
}

@media (min-width: 768px) {
  .support {
    padding: 96px 0;
  }
}

.support .section-header h2 {
  color: white;
}

.support .section-header p {
  color: rgba(255, 255, 255, 0.8);
}

.support .section-header .highlight {
  font-size: 18px;
  font-weight: 500;
  margin-top: 16px;
  color: white;
}

.support-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .support-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.support-card {
  text-align: center;
  padding: 24px;
  border-radius: var(--radius-lg);
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
}

.support-card-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.support-card-icon svg {
  width: 40px;
  height: 40px;
}

.support-card h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 12px;
}

.support-card p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

/* ========================================
   联系我们区域
======================================== */
.contact {
  padding: 64px 0;
  background-color: var(--background);
}

@media (min-width: 768px) {
  .contact {
    padding: 96px 0;
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact-info h2 {
  font-size: 30px;
  font-weight: bold;
  color: var(--foreground);
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .contact-info h2 {
    font-size: 36px;
  }
}

.contact-info>p {
  color: var(--muted-foreground);
  margin-bottom: 32px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(37, 99, 235, 0.1);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.contact-item h3 {
  font-weight: bold;
  color: var(--foreground);
  margin-bottom: 4px;
}

.contact-item .phone {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary);
}

.contact-item p {
  font-size: 14px;
  color: var(--muted-foreground);
}

/* 二维码 */
.contact-qrcode {
  margin-top: 32px;
  padding: 24px;
  background-color: var(--muted);
  border-radius: var(--radius-lg);
}

.contact-qrcode h3 {
  font-weight: bold;
  color: var(--foreground);
  margin-bottom: 16px;
}

.qrcode-list {
  display: flex;
  gap: 24px;
}

.qrcode-item {
  text-align: center;
}

.qrcode-placeholder {
  width: 96px;
  height: 96px;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--muted-foreground);
}

.qrcode-item p {
  font-size: 14px;
  color: var(--muted-foreground);
  margin-top: 8px;
}

/* 咨询表单 */
.contact-form-wrapper {
  background-color: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  padding: 24px;
}

@media (min-width: 768px) {
  .contact-form-wrapper {
    padding: 32px;
  }
}

.contact-form-wrapper h3 {
  font-size: 20px;
  font-weight: bold;
  color: var(--foreground);
  margin-bottom: 24px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 8px;
}

.form-group label .required {
  color: #ef4444;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--background);
  color: var(--foreground);
  transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
  resize: none;
  min-height: 120px;
}

.contact-form .btn-primary {
  width: 100%;
  padding: 12px;
}

/* ========================================
   页脚
======================================== */
.footer {
  background-color: var(--footer-bg);
  color: #9ca3af;
}

.footer-main {
  padding: 48px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.friendlink{
  display: flex;
  justify-content:start;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1280px;
  margin: 0px auto 40px auto;
  padding: 0 10px 15px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
  .friendlink{
     display: none;
   }
}

.friendlink span{
  margin: 0 10px;
  font-size: 14px;
}

.friendlink a:hover{
  color: white;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand .logo-icon {
  width: 40px;
  height: 40px;
  font-size: 16px;
}

.footer-brand .logo-text h3 {
  font-size: 18px;
  font-weight: bold;
  color: white;
}

.footer-brand>p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-qrcode {
  width: 80px;
  height: 80px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.footer-section h3 {
  font-size: 18px;
  font-weight: bold;
  color: white;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-section ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-section a {
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-section a:hover {
  color: white;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 14px;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-contact-item p {
  margin-bottom: 2px;
}

.footer-contact-item .highlight {
  color: white;
  font-weight: 500;
}

/* 版权信息 */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 0;
}

.footer-bottom .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #6b7280;
}

@media (min-width: 768px) {
  .footer-bottom .container {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-bottom a {
  transition: color 0.2s ease;
}

.footer-bottom a:hover {
  color: white;
}

/* ========================================
   新闻列表页
======================================== */
.page-header {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 64px 0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 16px;
}

.breadcrumb a:hover {
  color: white;
}

.breadcrumb svg {
  width: 16px;
  height: 16px;
}

.page-header h1 {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .page-header h1 {
    font-size: 36px;
  }
}

.h1-span {
  font-size: 20px;
  font-weight: 600;
  opacity: 0.8;
  margin-left: 10px;
}

.page-header p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 640px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 新闻列表主体 */
.news-list-main {
  padding: 48px 0;
  background-color: var(--background);
}

.filter-bar {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filter-btn {
  display: flex;
}

.filter-btn a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--foreground);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
  text-decoration: none;
}

.filter-btn:hover a {
  background: rgba(26, 26, 26, 0.05);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.filter-btn.active a {
  background: var(--primary);
  color: var(--card);
  border-color: var(--card);
}

.news-list-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 1024px) {
  .news-list-layout {
    grid-template-columns: 3fr 1fr;
  }
}

/* 新闻列表项 */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.news-list-item {
  background-color: var(--card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: box-shadow 0.2s ease;
}

.news-list-item:hover {
  box-shadow: var(--shadow-md);
}

.news-list-item-inner {
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .news-list-item-inner {
    flex-direction: row;
  }
}

.news-list-item-date {
  flex-shrink: 0;
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .news-list-item-date {
    width: 112px;
  }
}

.news-list-item-date .day {
  font-size: 30px;
  font-weight: bold;
}

.news-list-item-date .month {
  font-size: 14px;
  opacity: 0.8;
}

.news-list-item-content {
  padding: 24px;
  flex: 1;
}

.news-list-item-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.news-list-item-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
}

.news-list-item-meta svg {
  width: 12px;
  height: 12px;
}

.news-list-item-tag {
  color: var(--primary);
  background-color: rgba(37, 99, 235, 0.1);
  padding: 2px 8px;
  border-radius: var(--radius);
}

.news-list-item-time {
  color: var(--muted-foreground);
}

.news-list-item h2 {
  font-size: 20px;
  font-weight: bold;
  color: var(--foreground);
  margin-bottom: 12px;
  transition: color 0.2s ease;
}

.news-list-item:hover h2 {
  color: var(--primary);
}

.news-list-item p {
  color: var(--muted-foreground);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-list-item .read-more {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  color: var(--primary);
  font-weight: 500;
}

.news-list-item:hover .read-more {
  text-decoration: underline;
}

/* 分页 */
.pagination {
  margin-top: 4rem;
}

.pagination-ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.pagination-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--foreground);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  font-family: inherit;
}

.pagination-btn:hover:not(:disabled) {
  background: rgba(26, 26, 26, 0.05);
  color: var(--foreground);
}

.pagination-btn.active {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

.pagination-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.pagination-ellipsis {
  color: rgba(26, 26, 26, 0.4);
  padding: 0 0.5rem;
}

/* Mobile: 分页自适应 */
@media (max-width: 640px) {
  .pagination {
    margin-top: 2rem;
  }

  .pagination-ul {
    gap: 0.25rem;
    flex-wrap: wrap;
    /* 太多页时自动换行 */
  }

  .pagination-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 0.5rem;
    font-size: 0.8125rem;
    /* 字号稍微小一点 */
  }

  .pagination-ellipsis {
    padding: 0 0.25rem;
    font-size: 0.8125rem;
  }
}

/* 侧边栏 */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-card {
  background-color: var(--card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.sidebar-card-header {
  padding: 16px;
  font-weight: bold;
}

.sidebar-card-header.primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.sidebar-card-header.secondary {
  background-color: var(--secondary);
  color: var(--secondary-foreground);
}

.sidebar-card-body {
  padding: 16px;
}

.category-list li {
  margin-bottom: 8px;
}

.category-list li:last-child {
  margin-bottom: 0;
}

.category-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: var(--radius);
  color: var(--foreground);
  transition: background-color 0.2s ease;
}

.category-list a:hover {
  background-color: var(--muted);
}

.category-list .count {
  font-size: 14px;
  color: var(--muted-foreground);
}

.hot-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hot-list li a {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hot-list .num {
  width: 24px;
  height: 24px;
  background-color: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  flex-shrink: 0;
}

.hot-list .title {
  font-size: 14px;
  color: var(--foreground);
  transition: color 0.2s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hot-list li:hover .title {
  color: var(--primary);
}

/* 侧边栏联系卡片 */
.sidebar-contact {
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
}

.sidebar-contact h3 {
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 8px;
}

.sidebar-contact p {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 16px;
}

.sidebar-contact .phone {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 16px;
}

/* ========================================
   新闻详情页
======================================== */
.article {
  background-color: var(--card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.article-header {
  padding: 24px;
  border-bottom: 1px solid var(--border);
}

@media (min-width: 768px) {
  .article-header {
    padding: 32px;
  }
}

.article-header h1 {
  font-size: 24px;
  font-weight: bold;
  color: var(--foreground);
  margin-bottom: 16px;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .article-header h1 {
    font-size: 30px;
  }
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: var(--muted-foreground);
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.article-meta svg {
  width: 16px;
  height: 16px;
}

.article-body {
  padding: 24px;
}

@media (min-width: 768px) {
  .article-body {
    padding: 32px;
  }
}

.article-content h2 {
  font-size: 24px;
  font-weight: 500;
  color: var(--foreground);
  margin-top: 24px;
  margin-bottom: 12px;
}

.article-content h3 {
  font-size: 18px;
  font-weight: 500;
  color: var(--foreground);
  margin-top: 24px;
  margin-bottom: 12px;
}

.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin-top: 24px;
  margin-bottom: 40px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.article-content p {
  color: var(--muted-foreground);
  line-height: 1.8;
  margin-bottom: 16px;
}

.article-content iframe {
  max-width: 100%;
  height: 400px;
  border-radius: var(--radius);
  margin-top: 24px;
  margin-bottom: 40px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

@media screen and (max-width: 768px) {
  .article-content iframe {
    height: 260px;
  }
}

.article-content ul,
.article-content ol {
  padding-left: 20px;
  margin-bottom: 16px;
  color: var(--muted-foreground);
}

.article-content li {
  margin-bottom: 8px;
  list-style: disc;
}

.article-content ol li {
  list-style: decimal;
}

.article-footer {
  padding: 24px;
  border-top: 1px solid var(--border);
  background-color: rgba(241, 245, 249, 0.5);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

@media (min-width: 768px) {
  .article-footer {
    padding: 24px 32px;
  }
}

.article-footer-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted-foreground);
}

.article-footer-left button {
  width: 32px;
  height: 32px;
  background-color: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.article-footer-left button:hover {
  background-color: var(--primary);
  color: white;
}

.article-footer-left button svg {
  width: 16px;
  height: 16px;
}

.article-footer-right .tag {
  background-color: rgba(37, 99, 235, 0.1);
  color: var(--primary);
}

/* 上一篇/下一篇 */
.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
}

.article-nav-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.article-nav-item:hover {
  background-color: rgba(37, 99, 235, 0.1);
  transform: translateY(-2px);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.article-nav-item.next {
  text-align: right;
}

.article-nav-label {
  font-size: 14px;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.article-nav-title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

@media screen and (max-width: 768px) {
  .article-nav {
    grid-template-columns: 1fr;
  }
}
.ab_img img{ max-width:100% !important; height:auto !important;display:inline-block;}
.ab_img p{text-wrap: inherit !important;}
.ab_img p span{text-wrap: inherit !important;}
/* 免费cms模板新增分页样式 www.mianfeicms.com */
.pagebar { padding:20px; overflow:hidden; clear:both}
.pagebar .pagination {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}
.pagination a {
  background: #fff;
  border: 1px solid #ccc;
  color: #333;
  font-size: 12px;
  padding: 8px 10px;
  margin: 0 2px;
  border-radius: 3px; line-height:100%
}
.pagination span {
    color: #333;
    font-size: 12px;
    padding: 7px 2px;
    margin: 0 2px;
    border-radius: 3px;
}
.pagination a:hover {
  color: #333;
  border: 1px solid #333;
}
.pagination a.page-num-current {
  color: #fff;
  background: #333;
  border: 1px solid #333;
}
.pagination .st{ font-family:宋体}
.text-secondary{ text-align:center; padding:20px 0}
/* 相关文章 */
.related-articles {
  margin-top: 32px;
}

.related-articles h3 {
  font-size: 20px;
  font-weight: bold;
  color: var(--foreground);
  margin-bottom: 16px;
}

.related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.related-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  min-width: 0;
  background-color: var(--card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: box-shadow 0.2s ease;
}

@media screen and (max-width: 768px) {
  .related-item {
    display: grid;
    grid-template-columns: 64px 1fr;
  }
}

.related-item:hover {
  box-shadow: var(--shadow-md);
}

.related-item-date {
  width: 64px;
  height: 64px;
  background-color: rgba(37, 99, 235, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: bold;
  flex-shrink: 0;
}

.related-item-content {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.related-item h4 {
  font-weight: 500;
  color: var(--foreground);
  transition: color 0.2s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.related-item:hover h4 {
  color: var(--primary);
}

.related-item p {
  font-size: 14px;
  color: var(--muted-foreground);
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========================================
   返回顶部按钮
======================================== */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 32px;
  z-index: 120;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background-color: var(--primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-md);
  font-size: 14px;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background-color: var(--primary-dark);
}

.back-to-top-icon svg {
  display: block;
}

@media (max-width: 768px) {
  .back-to-top {
    right: 16px;
    bottom: 24px;
    padding: 8px 12px;
  }
}

/* ========================================
   SVG图标（内联）
======================================== */
.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: middle;
}

/* ========================================
   其它单页
======================================== */
.other-content {
  width: 85%;
  margin: 0 auto;
  padding: 30px;
  background-color: var(--card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.other-content img {
  display: block;
  margin: 30px auto;
}

.other-banner {
  background: var(--primary);
  border-radius: var(--radius-lg);
  margin: 0 auto !important;
}

.other-content h1 {
  font-size: 30px;
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 24px;
  margin-top: 30px;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .other-content h1 {
    font-size: 24px;
  }
}

.other-content p {
  font-size: 16px;
  color: var(--muted-foreground);
  padding: 10px 0;
  line-height: 2;
}

.other-content p strong {
  font-size: 18px;
  color: var(--muted-foreground);
}

@media screen and (max-width: 768px) {
  .other-main {
    padding: 0;
  }

  .other-container {
    width: 100%;
    padding: 0;
    border: none;
  }

  .other-content {
    width: 100%;
    padding: 20px;
    border: none;
  }

  .other-content p {
    padding: 8px 0;
  }
}