/* 行业动态页面样式 */

/* 主内容区 */
.main-content {
    background-color: #f8f9fa;
    min-height: calc(100vh - 200px);
}

/* 页面标题 */
.main-content h1 {
    color: #2c3e50;
    font-weight: 700;
}

/* 新闻分类导航 */
.news-categories .nav-pills .nav-link {
    color: #495057;
    border-radius: 20px;
    margin: 0 0.25rem;
    transition: all 0.3s ease;
}

.news-categories .nav-pills .nav-link.active {
    background-color: #007bff;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

.news-categories .nav-pills .nav-link:hover {
    background-color: rgba(0, 123, 255, 0.1);
    color: #007bff;
    transform: translateY(-2px);
}

/* 新闻项 */
.news-item {
    background-color: white;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.news-item:hover {
    border-color: #007bff;
}

.news-img {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    transition: all 0.3s ease;
}

.news-item:hover .news-img {
    background: linear-gradient(135deg, #0056b3 0%, #003d82 100%);
}

.news-meta .badge {
    font-size: 0.75rem;
    font-weight: 500;
}

.news-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.news-title a:hover {
    color: #007bff;
    text-decoration: underline;
}

.news-excerpt {
    font-size: 0.95rem;
    line-height: 1.6;
}

.news-footer .btn-outline-primary {
    transition: all 0.3s ease;
}

.news-footer .btn-outline-primary:hover {
    background-color: #007bff;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

/* 分页 */
.news-pagination .pagination .page-link {
    color: #007bff;
    border-radius: 20px;
    margin: 0 0.25rem;
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
}

.news-pagination .pagination .page-link:hover {
    background-color: rgba(0, 123, 255, 0.1);
    color: #0056b3;
    border-color: #007bff;
    transform: translateY(-2px);
}

.news-pagination .pagination .page-item.active .page-link {
    background-color: #007bff;
    border-color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .main-content {
        padding: 1rem 0;
    }
    
    .main-content h1 {
        font-size: 1.8rem;
    }
    
    .news-categories .nav-pills {
        flex-wrap: wrap;
    }
    
    .news-categories .nav-pills .nav-link {
        margin-bottom: 0.5rem;
    }
    
    .news-item {
        margin-bottom: 1.5rem;
    }
    
    .news-img {
        margin-bottom: 1rem;
    }
}

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

.news-item {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.news-item:nth-child(1) { animation-delay: 0.1s; }
.news-item:nth-child(2) { animation-delay: 0.2s; }
.news-item:nth-child(3) { animation-delay: 0.3s; }
.news-item:nth-child(4) { animation-delay: 0.4s; }
.news-item:nth-child(5) { animation-delay: 0.5s; }
.news-item:nth-child(6) { animation-delay: 0.6s; }