
.news-section {
    background-color: #f8f9fa;
    padding: 60px 0;
    font-family: 'Arial', sans-serif;
}

.news-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.news-wrapper {
    text-align: center;
}

.news-main-title {
    font-size: 36px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.news-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

.news-more-btn {
    display: inline-block;
    padding: 10px 30px;
    background-color: #1890ff;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 16px;
    margin-bottom: 40px;
    transition: background-color 0.3s;
}

.news-more-btn:hover {
    background-color: #40a9ff;
}

.news-categories {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 30px;
}

.news-category {
    flex: 0 0 calc(33.333% - 20px);
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.news-category h4 {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    font-weight: 600;
}

.news-category h4 img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-item {
    margin-bottom: 12px;
    position: relative;
    padding-left: 15px;
}

.news-item:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #1890ff;
}

.news-link {
    color: #666;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s;
}

.news-link:hover {
    color: #1890ff;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .news-category {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .news-main-title {
        font-size: 28px;
    }
    
    .news-subtitle {
        font-size: 16px;
    }
    
    .news-categories {
        flex-direction: column;
    }
    
    .news-category {
        flex: 0 0 100%;
        margin-bottom: 20px;
    }
}
.navbar-nav .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-family: 'Helvetica Neue', Arial, sans-serif; /* 企业级字体 */
  font-size: 0.875rem; /* 14px 基准 */
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); /* 微妙的缓动效果 */
  border: 1px solid transparent;
  cursor: pointer;
  box-sizing: border-box;
}

/* 企业蓝主色（控制台/用户中心/登录） */
.btn-enterprise {
  background-color: #1a73e8; /* Google Material Design 企业蓝 */
  color: #ffffff;
  border-color: #1a73e8;
}

/* 次级色（注册） */
.btn-secondary {
  background-color: transparent;
  color: #1a73e8;
  border: 1px solid #1a73e8;
}

/* 悬停状态（统一逻辑） */
.btn-enterprise:hover,
.btn-secondary:hover {
  opacity: 0.9; /* 简洁的透明度变化 */
  transform: translateY(-1px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* 激活状态（点击反馈） */
.btn-enterprise:active,
.btn-secondary:active {
  opacity: 0.85;
  transform: translateY(0);
  box-shadow: none;
}

/* 禁用状态（可选） */
.btn-enterprise:disabled,
.btn-secondary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* 按钮间距（响应式适配） */
.navbar-nav-last-item {
  display: flex;
  gap: 0.5rem; /* 按钮间距 */
}

/* 特殊场景覆盖（根据你的条件渲染） */
.navbar-nav a[href="/register"] {
  background-color: transparent;
  color: #1a73e8;
  border-color: #1a73e8;
}

.navbar-nav a[href="/login"],
.navbar-nav a[href="/service"] {
  background-color: #1a73e8;
  color: #ffffff;
  border-color: #1a73e8;
}