/* Header Styles */
.header-top {
    background: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
  }
  
  .header-top .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo-icons {
    display: flex;
    align-items: center;
  }
  
  .header-icons-right {
    display: flex;
    align-items: center;
    gap: 40px;
  }
  
  .header-logo {
    height: 60px;
  }
  
  .header-icon {
    height: 70px;
  }
  
  /* .header-main {
    background: #f5f5f5;
    padding: 20px 0;
  }
  
  .header-main .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
  } */
  
  .main-nav {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    margin: 0 100px;
  }
  
  .logo img {
    max-height: 60px;
  }
  
  .main-nav a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
  }
  * 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
}
.news-list{
background-color: #fff;
}
.news-list .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 80%;
}

/* Tab切换样式 */
.news-tabs {
    background: #fff;
    padding: 20px 0 0 0;
    border-bottom: 1px solid #eee;
}
.news-tabs .container{
    width: 80%;
    margin: 0 auto;
}
.tab-nav {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.tab-btn {
    padding: 10px 20px;
    background: #f5f5f5;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    color: #666;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background: #eee;
    color: #333;
}

.tab-btn.active {
    background: #ff6633;
    color: #fff;
}

/* 新闻列表样式 */
.news-list {
    padding: 40px 0;
}

.news-item {
    display: flex;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
}

.news-image {
    flex: 0 0 300px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    flex: 1;
    padding: 20px 30px;
    display: flex;
    flex-direction: column;
}

.news-title {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.news-desc {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 10px;
    line-height: 1.5;
    max-height: 4.5em;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #999;
    font-size: 14px;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
}

.pagination a {
    display: inline-block;
    padding: 8px 15px;
    background: #fff;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.pagination a.active {
    background: #ff6633;
    color: #fff;
}

.pagination a.disabled {
    background: #eee;
    color: #999;
    cursor: not-allowed;
}

.pagination a:not(.disabled):hover {
    background: #ff6633;
    color: #fff;
}

.pagination .prev-page,
.pagination .next-page {
    font-weight: bold;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .news-item {
        flex-direction: column;
    }

    .news-image {
        flex: none;
    }

    .news-image img {
        height: 200px;
    }

    .news-content {
        padding: 15px;
    }

    .news-title {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .pagination {
        flex-wrap: wrap;
    }

    .pagination a {
        padding: 6px 12px;
        font-size: 14px;
    }
}

/* 修改新闻标题链接样式 */
.news-title a {
    color: inherit; /* 继承父元素的颜色 */
    text-decoration: none; /* 移除下划线 */
}

.news-title a:hover {
    color: #666; /* 保持与 news-title 相同的悬停效果 */
}
