/* 字体回退机制 */
    @font-face {
      font-family: 'Noto Sans SC';
      font-style: normal;
      font-weight: 400;
      font-display: swap;
      src: local('Noto Sans SC'), local('NotoSansSC-Regular');
    }
    
    :root {
      --primary: #3B82F6;
      --primary-light: #EFF6FF;
      --secondary: #64748B;
      --dark: #1E293B;
      --light: #F8FAFC;
      --success: #5d91d1;
      --warning: #86acdd;
      --danger: #EF4444;
    }
    
    body {
      font-family: 'Noto Sans SC', sans-serif;
      color: var(--dark);
      background-color: #FFFFFF;
      line-height: 1.6;
    }
    
    /* 关键路径CSS优先加载 */
    .navbar {
      background-color: transparent;
      padding: 20px 0;
      position: sticky;
      top: 0;
      width: 100%;
      z-index: 1000;
    }
    
    .navbar-brand img {
      height: auto;
      width: auto;
      max-height: 50px;
    }

    .navbar-brand {
      margin-right: 40px;
      color: #3B82F6 !important;
    }

    .nav-link {
      color: #2563EB !important;
      font-weight: 700;
      padding: 8px 20px;
      font-size: 16px;
      margin-right: 10px;
    }

    .nav-link:hover {
      color: #1D4ED8 !important;
      opacity: 0.8;
    }

    .nav-link.active {
      color: #2563EB !important;
      font-weight: 700;
    }

    .btn-login {
      background-color: var(--primary);
      color: white !important;
      border-radius: 4px;
      padding: 10px 24px;
      font-weight: 500;
      font-size: 16px;
      text-decoration: none;
    }

    .btn-login:hover {
      background-color: #1D4ED8 !important;
      color: white !important;
    }

    .navbar-toggler {
      border-color: #3B82F6 !important;
    }

    .navbar-toggler-icon {
      background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(59, 130, 246, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
    }

    .navbar-toggler:focus {
      box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25) !important;
    }

    .navbar-collapse {
      background: rgba(102, 126, 234, 0.1) !important;
      border-radius: 8px;
      margin-top: 10px;
      padding: 15px;
    }
    
    .news-section {
      padding: 80px 0;
      background-color: #f8fafc;
    }
    
    .news-card {
      background-color: white;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 5px 15px rgba(0,0,0,0.05);
      transition: all 0.3s ease;
      margin-bottom: 30px;
      height: 100%;
      display: flex;
      flex-direction: column;
    }
    
    .news-image {
      width: 100%;
      height: 240px;
      object-fit: cover;
      position: relative;
    }
    
    .news-image::after {
      content: "\F4E4"; /* Bootstrap Icon - newspaper */
      font-family: "bootstrap-icons";
      position: absolute;
      bottom: 10px;
      right: 10px;
      font-size: 24px;
      color: rgba(255,255,255,0.8);
      background-color: rgba(59, 130, 246, 0.6);
      width: 40px;
      height: 40px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    }
    
    .news-content {
      padding: 25px;
      flex-grow: 1;
      display: flex;
      flex-direction: column;
    }
    
    .news-meta {
      display: flex;
      align-items: center;
      margin-bottom: 15px;
      color: var(--secondary);
      font-size: 14px;
    }
    
    .news-meta .category {
      background-color: var(--primary-light);
      color: var(--primary);
      padding: 4px 10px;
      border-radius: 4px;
      font-weight: 500;
      margin-right: 15px;
    }
    
    .news-meta .date {
      display: flex;
      align-items: center;
    }
    
    .news-meta .date i {
      margin-right: 5px;
    }
    
    .news-title {
      font-size: 22px;
      font-weight: 600;
      margin-bottom: 15px;
      line-height: 1.4;
    }
    
    .news-excerpt {
      color: var(--secondary);
      margin-bottom: 20px;
      flex-grow: 1;
    }
    
    .news-link {
      color: var(--primary);
      font-weight: 500;
      display: inline-flex;
      align-items: center;
      text-decoration: none;
    }
    
    .news-link i {
      margin-left: 5px;
      transition: transform 0.3s ease;
    }
    
    .news-link:hover i {
      transform: translateX(3px);
    }
    
    .featured-news {
      margin-bottom: 50px;
    }
    
    .featured-news .news-card {
      flex-direction: row;
      height: auto;
    }
    
    .featured-news .news-image {
      width: 50%;
      height: 350px;
    }
    
    .featured-news .news-content {
      width: 50%;
    }
    
    .featured-news .news-title {
      font-size: 28px;
    }
    
    .featured-news .news-excerpt {
      font-size: 16px;
    }

    .featured-news-image {
      width: 50%;
      height: 350px;
      object-fit: cover;
    }

    .login-modal-image {
      max-height: 200px;
    }
    
    /* 添加不同类别新闻的图标 */
    .featured-news-image::after {
      content: "\F4FA"; /* 技术图标 - lightning */
    }

    .pagination-container {
      margin-top: 50px;
      display: flex;
      justify-content: center;
    }
    
    .page-link {
      color: var(--primary);
      border-radius: 4px;
      margin: 0 5px;
    }
    
    .page-item.active .page-link {
      background-color: var(--primary);
      border-color: var(--primary);
    }
    
    @media (max-width: 991px) {
      .navbar {
        background-color: white;
        padding: 10px 0;
        position: sticky;
        top: 0;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        z-index: 1000;
      }

      .navbar-brand {
        margin-right: 0;
      }

      .navbar-brand img {
        max-height: 40px;
      }

      .navbar-toggler {
        border: none;
        padding: 0.25rem 0.5rem;
        margin-left: auto;
      }

      .navbar-toggler:focus {
        box-shadow: none;
        outline: none;
      }

      .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.55)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        width: 1.5em;
        height: 1.5em;
      }

      .navbar-collapse {
        background-color: white !important;
        padding: 1rem;
        border-radius: 0.5rem;
        margin-top: 0.5rem;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      }

      .btn-login {
        margin-top: 1rem;
        display: block;
        text-align: center;
      }

      .nav-link {
        padding: 12px 20px;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        font-weight: 700 !important;
      }

      .nav-link:last-child {
        border-bottom: none;
      }

      .featured-news .news-card {
        flex-direction: column;
      }
      
      .featured-news .news-image,
      .featured-news .news-content {
        width: 100%;
      }
      
      .featured-news .news-image {
        height: 240px;
      }
    }
    
    /* 响应式调整 */
    @media (max-width: 768px) {
      .news-header h1 {
        font-size: 28px;
      }
      
      .news-header p {
        font-size: 16px;
      }
      
      .news-section {
        padding: 60px 0;
      }
    }

footer {
      background-color: var(--primary);
      color: white;
      padding: 40px 0 20px;
    }
    
    footer h5 {
      font-weight: 600;
      margin-bottom: 20px;
    }
    
    footer ul {
      list-style: none;
      padding: 0;
    }
    
    footer ul li {
      margin-bottom: 10px;
    }
    
    footer a {
      color: rgba(255,255,255,0.8);
      text-decoration: none;
      font-size: 14px;
    }
    
    footer a:hover {
      color: white;
      text-decoration: underline;
    }
    
    .footer-bottom {
      border-top: 1px solid rgba(255,255,255,0.1);
      padding-top: 20px;
      margin-top: 40px;
      font-size: 14px;
      color: rgba(255,255,255,0.7);
    }
    
    /* 备案信息样式 */
    .beian-info {
      font-size: 12px;
      color: #ffffff;
      margin-top: 10px;
      padding-top: 10px;
      border-top: 1px solid #eee;
    }
    
    .beian-info p {
      margin-bottom: 0;
      font-size: 12px;
    }
    
    .beian-link {
      color: #ffffff;
      text-decoration: none;
      font-size: 12px;
    }
    
    .beian-link:hover {
      color: #ffffff;
      text-decoration: underline;
    }
    
    /* 新闻背景CSS类 - 将内联样式转为类 */
    .bg-news-product {
      background-color: #5d91d1;
      height: 240px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    .bg-news-industry {
      background-color: #729ed7;
      height: 240px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    .bg-news-user {
      background-color: #86acdd;
      height: 240px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    .bg-news-company {
      background-color: #9abae3;
      height: 240px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    .bg-news-industry-light {
      background-color: #aec8e8;
      height: 240px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    .bg-news-user-light {
      background-color: #c2d6ee;
      height: 240px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    /* 背景图标通用样式 */
    .news-image i {
      font-size: 64px;
      color: white;
    }
    
    .news-header {
      margin-bottom: 50px;
      text-align: center;
    }
    
    .news-header h1 {
      font-size: 36px;
      font-weight: 700;
      color: var(--dark);
      margin-bottom: 16px;
    }
    
    .news-header p {
      color: var(--secondary);
      font-size: 18px;
      max-width: 700px;
      margin: 0 auto;
    }
    
    .news-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }

/* 首页风格新闻页优化 */
body {
  background: #ffffff;
}

.news-section {
  background: #ffffff;
  padding: 56px 0 92px;
  position: relative;
  overflow: hidden;
}

.news-section::before {
  content: none;
}

.news-section .container {
  position: relative;
  z-index: 1;
}

.news-header {
  max-width: 900px;
  margin: 0 auto 48px;
  text-align: center;
}

.news-header::before {
  content: "NEWS CENTER";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 5px 14px;
  margin-bottom: 16px;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.news-header h1 {
  color: #1e293b;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 16px;
}

.news-header p {
  max-width: 760px;
  color: #64748b;
  font-size: 17px;
  line-height: 1.8;
}

.featured-news {
  margin-bottom: 42px;
}

.news-card {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
}

.news-card:hover {
  transform: translateY(-5px);
  border-color: #bfdbfe;
  box-shadow: 0 22px 52px rgba(37, 99, 235, 0.12);
}

.featured-news .news-card {
  min-height: 360px;
  border-color: #e2e8f0;
  background: #ffffff;
}

.featured-news .news-image,
.featured-news-image {
  min-height: 360px;
}

.featured-news .news-content {
  justify-content: center;
  padding: 34px 38px;
}

.featured-news .news-title {
  font-size: 30px;
  line-height: 1.28;
  letter-spacing: 0;
}

.news-content {
  padding: 24px;
}

.news-meta {
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.news-meta .category {
  border-radius: 999px;
  padding: 5px 12px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #2563eb;
  font-size: 12px;
  font-weight: 700;
  margin-right: 0;
}

.news-meta .date {
  color: #64748b;
  font-size: 13px;
}

.news-title {
  color: #1e293b;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0;
}

.news-excerpt {
  color: #64748b;
  font-size: 15px;
  line-height: 1.72;
}

.news-link {
  align-self: flex-start;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 4px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 14px;
  font-weight: 700;
}

.news-link:hover {
  background: #2563eb;
  color: #ffffff;
}

.news-image {
  background:
    linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.news-image::after {
  right: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  background-color: rgba(255, 255, 255, 0.18);
  color: rgba(37, 99, 235, 0.72);
}

.bg-news-product,
.bg-news-industry,
.bg-news-user,
.bg-news-company,
.bg-news-industry-light,
.bg-news-user-light {
  background: #eff6ff;
}

.bg-news-product {
  background: #f0f9ff;
}

.bg-news-user,
.bg-news-user-light {
  background: #f0fdfa;
}

.bg-news-company {
  background: #f8fafc;
}

.news-image i {
  font-size: 58px;
  color: #2563eb;
  opacity: 0.78;
  filter: none;
}

.pagination-container {
  margin-top: 26px;
}

.pagination {
  gap: 8px;
}

.page-link {
  min-width: 38px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px !important;
  border-color: #dbeafe;
  color: #2563eb;
  font-weight: 700;
}

.page-item.active .page-link,
.page-link:hover {
  background-color: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
}

footer {
  background: #3b82f6;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
}

.social-icons a:hover {
  background: rgba(255, 255, 255, 0.22);
  text-decoration: none;
}

@media (max-width: 991px) {
  .news-section {
    padding: 42px 0 72px;
  }

  .featured-news .news-content {
    width: 100%;
    padding: 26px;
  }

  .featured-news .news-image,
  .featured-news-image {
    width: 100%;
    min-height: 250px;
    height: 250px;
  }
}

@media (max-width: 768px) {
  .news-header {
    margin-bottom: 32px;
  }

  .news-header h1 {
    font-size: 32px;
  }

  .news-header p {
    font-size: 15px;
  }

  .news-content {
    padding: 20px;
  }

  .featured-news .news-title,
  .news-title {
    font-size: 20px;
  }
}
